/*
Theme Name: RPJ Base
Text Domain: acad-base
Description: Tema base de Red Pastoral Juvenil. La portada y su editor se gestionan con RPJ Portal.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}

/* ACAD nav repair: keep desktop navigation visible above tablet breakpoint. */
@media (min-width: 1261px) {
  .acad-react-page .header-main-navigation,
  .acad-react-page nav.header-main-navigation,
  .acad-react-page .acad-new-nav,
  nav.acad-new-nav { display: flex !important; visibility: visible !important; opacity: 1 !important; }
  .acad-react-page button[aria-label="Abrir menú"],
  .acad-react-page .acad-new-mobile-toggle,
  button.acad-new-mobile-toggle { display: none !important; }
}
@media (max-width: 1260px) {
  .acad-react-page .header-main-navigation,
  .acad-react-page .acad-new-nav,
  nav.acad-new-nav { display: none !important; }
  .acad-react-page button[aria-label="Abrir menú"],
  .acad-react-page .acad-new-mobile-toggle,
  button.acad-new-mobile-toggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; }
}

/* Logo oficial de RU en la placa de identidad del hero. */
body.page-id-788 .md-hero-top strong {
	width: 72px;
	min-width: 72px;
	height: 72px;
	padding: 4px;
	transform: none;
	border-radius: 12px;
	background: #fff url("https://acadcr.org/wp-content/uploads/2026/09/Logo-oficial-Red-Universitaria-Costa-Rica.jpg") center / contain no-repeat !important;
	color: transparent;
	font-size: 0;
	letter-spacing: 0;
	box-shadow: 0 8px 24px rgba(19, 36, 53, .14);
}
