/* === PAKAL self-hosted brand fonts (served from this site, no external Google request) === */
@font-face{font-family:'Outfit';font-style:normal;font-weight:400;font-display:fallback;src:url('/wp-content/uploads/fonts/outfit400.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:500;font-display:fallback;src:url('/wp-content/uploads/fonts/outfit500.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600;font-display:fallback;src:url('/wp-content/uploads/fonts/outfit600.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300;font-display:fallback;src:url('/wp-content/uploads/fonts/spacegrotesk300.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:fallback;src:url('/wp-content/uploads/fonts/spacegrotesk400.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:fallback;src:url('/wp-content/uploads/fonts/spacegrotesk500.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:fallback;src:url('/wp-content/uploads/fonts/spacegrotesk600.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:fallback;src:url('/wp-content/uploads/fonts/spacegrotesk700.woff2') format('woff2');}

:root {
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

/* Body / UI — Space Grotesk */
body,
p, .wp-block-paragraph, li, blockquote, figcaption, cite,
button, .wp-block-button__link, .wp-element-button,
input, select, textarea, .wp-block-search__input,
.wp-block-navigation, .wp-block-navigation-item, .wp-block-navigation-item__content {
  font-family: var(--font-body) !important;
}

/* Display / Headlines — Outfit Medium */
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.wp-block-site-title, .wp-block-site-title a,
.wp-block-post-title, .wp-block-post-title a,
.wp-block-query-title {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
}

/* Responsive nav: collapse to hamburger below 1024px */
@media (max-width: 1024px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .wp-block-navigation__responsive-container:not(.is-menu-open):not(.always-shown) { display: none !important; }
}

/* Hero headline (only x-large h1) — 50% larger than the x-large preset, kept responsive */
h1.wp-block-heading.has-x-large-font-size {
  font-size: clamp(1.875rem, 5vw, 3.9375rem) !important;
}

/* Fire Red button override — remove theme gradient so #FF3300 shows */
.wp-block-button__link[style*="ff3300" i] {
  background-image: none !important;
}
.wp-block-button__link[style*="ff3300" i]:hover {
  background-image: none !important;
  filter: brightness(0.92);
}

/* Teal solid button override — remove theme gradient so #02978A shows solid */
.wp-block-button__link[style*="02978a" i] {
  background-image: none !important;
}
.wp-block-button__link[style*="02978a" i]:hover {
  background-image: none !important;
  filter: brightness(0.92);
}

/* Gobernanza image mobile size — limit + center on phones */
@media (max-width: 781px) {
  .gob-image {
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .gob-image img { width: 100%; height: auto; }
}

/* Gobernanza columns mobile order — image first on phones */
@media (max-width: 781px) {
  .gob-cols { flex-direction: column-reverse !important; }
}