/**
 * FAN Design System — tokens + componentes del mockup (fan-html)
 * Usar junto a Elementor Site Settings o la plantilla page-redisenio-home.php
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --fan-verde: #1E5631;
  --fan-verde-prof: #11331C;
  --fan-dorado: #B98B2A;
  --fan-papel: #F7F4EC;
  --fan-grafito: #20231C;
  --fan-gris: #6B6F66;
  --fan-linea: #DAD6C7;
  --fan-musgo: #4C7A3D;
  --fan-ocre: #A6692B;
  --fan-azul: #2E6E8E;
  --fan-terra: #B5532E;
  --fan-wrap: 1180px;
  --fan-font-serif: 'Fraunces', Georgia, serif;
  --fan-font-sans: 'Public Sans', system-ui, sans-serif;
  --fan-font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  /* Controles (botones, inputs, chips): mismo radio del hero de inicio */
  --fan-radius-control: 4px;
}

/* Elementor globals helpers */
.elementor-kit-fan,
body.fan-redisenio,
body.fan-page-quienes,
.fan-page {
  --e-global-color-primary: var(--fan-verde);
  --e-global-color-secondary: var(--fan-verde-prof);
  --e-global-color-accent: var(--fan-dorado);
  --e-global-color-text: var(--fan-grafito);
  background: var(--fan-papel);
  color: var(--fan-grafito);
  font-family: var(--fan-font-sans);
  line-height: 1.6;
}

/* Títulos de sección: misma serif del Home (Fraunces) */
body.fan-page-quienes h1,
body.fan-page-quienes h2,
body.fan-redisenio h1,
body.fan-redisenio h2 {
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-weight: 600;
}

/*
 * El kit Elementor (Site Settings) fuerza text-transform:capitalize en h1–h6.
 * En el rediseño las oraciones deben respetar el copy (con / la / y / el / de en minúscula).
 * Los eyebrows/botones siguen con uppercase propio (.fan-eyebrow, .fan-btn, etc.).
 */
body.fan-redisenio {
  --e-global-typography-67ace4e-text-transform: none;
  --e-global-typography-3f3e88c-text-transform: none;
  --e-global-typography-83a0a2f-text-transform: none;
  --e-global-typography-be86681-text-transform: none;
  --e-global-typography-94485de-text-transform: none;
  --e-global-typography-cbcd450-text-transform: none;
}

body.fan-redisenio h1,
body.fan-redisenio h2,
body.fan-redisenio h3,
body.fan-redisenio h4,
body.fan-redisenio h5,
body.fan-redisenio h6,
body.fan-redisenio .elementor-heading-title,
body.fan-redisenio .fan-historia-title,
body.fan-redisenio .fan-historias-title,
body.fan-redisenio .fan-historia-timeline-title,
body.fan-redisenio .fan-page-hero-title,
body.fan-redisenio .fan-transparencia-title,
body.fan-redisenio .fan-section-head h2,
body.fan-page-quienes h1,
body.fan-page-quienes h2,
body.fan-page-quienes h3 {
  text-transform: none !important;
}

/* Evitar scrollbar horizontal intermitente (coverflow / footer / marquees) */
body.fan-redisenio,
body.fan-page,
.fan-page {
  overflow-x: hidden;
  max-width: 100%;
}

.fan-serif { font-family: var(--fan-font-serif); }
.fan-mono { font-family: var(--fan-font-mono); }

.fan-wrap {
  max-width: var(--fan-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .fan-wrap { padding: 0 40px; }
}

.fan-btn-primary {
  display: inline-block;
  background: var(--fan-dorado);
  color: var(--fan-verde-prof) !important;
  padding: 13px 26px;
  border-radius: var(--fan-radius-control, 4px);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}

.fan-btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: var(--fan-radius-control, 4px);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none !important;
}

.fan-eyebrow {
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fan-dorado);
  font-weight: 600;
}

.fan-section-head {
  max-width: 620px;
  margin-bottom: 40px;
}

.fan-section-head .fan-eyebrow { color: var(--fan-musgo); }

.fan-section-head h2 {
  font-family: var(--fan-font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 36px);
  margin: 14px 0 0;
  color: var(--fan-verde-prof);
}

.fan-section-head p {
  margin-top: 14px;
  color: var(--fan-gris);
  font-size: 15.5px;
}

/* ----- Header ----- */
.fan-site-header {
  background: var(--fan-verde-prof);
  color: #fff;
}

.fan-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 900px) {
  .fan-top-bar { padding: 14px 40px; font-size: 13px; }
}

.fan-top-bar .fan-lang span { opacity: 0.55; margin-left: 8px; }
.fan-top-bar .fan-lang span.is-active {
  opacity: 1;
  font-weight: 600;
  border-bottom: 1px solid var(--fan-dorado);
}

.fan-nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

@media (min-width: 900px) {
  .fan-nav-main { padding: 18px 40px; }
}

.fan-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-decoration: none !important;
}

.fan-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--fan-musgo), var(--fan-verde) 40%, var(--fan-dorado) 75%, var(--fan-musgo));
  flex-shrink: 0;
}

.fan-logo-name {
  font-family: var(--fan-font-serif);
  font-weight: 600;
  font-size: 19px;
}

.fan-logo-sub {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.fan-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

@media (min-width: 960px) {
  .fan-menu-toggle { display: none; }
}

.fan-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 8px;
}

.fan-menu .fan-menu-list > li > a {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.9;
}

.fan-menu .fan-menu-list > li > a:hover { opacity: 1; color: var(--fan-dorado) !important; }

.fan-nav-main.is-open .fan-menu { display: flex; }

@media (min-width: 960px) {
  .fan-menu {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 22px;
    padding-bottom: 0;
  }
}

.fan-cta-donate {
  background: var(--fan-dorado);
  color: var(--fan-verde-prof) !important;
  padding: 10px 22px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  white-space: nowrap;
}

.fan-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

@media (min-width: 960px) {
  .fan-nav-actions { margin-left: 0; }
}

/* ----- Hero ----- */
.fan-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--fan-verde-prof);
}

@media (min-width: 768px) {
  .fan-hero { min-height: 560px; }
}

.fan-hero-photo {
  position: absolute;
  inset: 0;
}

.fan-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.fan-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 51, 28, 0.25) 0%, rgba(17, 51, 28, 0.55) 55%, rgba(17, 51, 28, 0.92) 100%);
}

.fan-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px 48px;
  max-width: var(--fan-wrap);
  margin: 0 auto;
  width: 100%;
  color: #fff;
}

@media (min-width: 900px) {
  .fan-hero-content { padding: 60px 40px 64px; }
}

.fan-hero h1 {
  font-family: var(--fan-font-serif);
  font-weight: 600;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.06;
  max-width: 740px;
  letter-spacing: -0.5px;
  margin: 0;
}

.fan-hero h1 em {
  font-style: italic;
  color: var(--fan-dorado);
  font-weight: 500;
}

.fan-hero .fan-lead {
  margin-top: 18px;
  max-width: 560px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.fan-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fan-coord {
  display: none;
  position: absolute;
  right: 40px;
  bottom: 64px;
  z-index: 2;
  font-family: var(--fan-font-mono);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-align: right;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .fan-coord { display: block; }
}

/* ----- Stats ----- */
.fan-stats {
  background: var(--fan-verde);
  color: #fff;
  padding: 28px 0;
}

.fan-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .fan-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.fan-stat {
  padding: 0 12px;
}

@media (min-width: 900px) {
  .fan-stat {
    padding: 0 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }
  .fan-stat:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.fan-stat .fan-num {
  font-family: var(--fan-font-mono);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  color: var(--fan-dorado);
}

.fan-stat .fan-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
  max-width: 180px;
}

/* ----- Pilares (página interior) ----- */
.fan-pilares {
  background: #fff;
  padding: 64px 0;
}

@media (min-width: 900px) {
  .fan-pilares { padding: 90px 0; }
}

.fan-pilar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .fan-pilar-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .fan-pilar-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.fan-pilar {
  border: 1px solid var(--fan-linea);
  border-radius: 4px;
  padding: 26px 22px;
  border-left: 4px solid var(--fan-pilar-c, var(--fan-musgo));
}

.fan-pilar.p1 { --fan-pilar-c: var(--fan-musgo); }
.fan-pilar.p2 { --fan-pilar-c: var(--fan-ocre); }
.fan-pilar.p3 { --fan-pilar-c: var(--fan-azul); }
.fan-pilar.p4 { --fan-pilar-c: var(--fan-terra); }

.fan-pilar .fan-num {
  font-family: var(--fan-font-mono);
  font-size: 12px;
  color: var(--fan-pilar-c);
  font-weight: 500;
}

.fan-pilar h3 {
  font-family: var(--fan-font-serif);
  font-size: 20px;
  font-weight: 600;
  margin: 14px 0 0;
  color: var(--fan-verde-prof);
  line-height: 1.25;
}

.fan-pilar p {
  font-size: 13.8px;
  color: var(--fan-gris);
  margin-top: 10px;
}

.fan-pilar .fan-ods {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--fan-pilar-c);
  border: 1px solid var(--fan-pilar-c);
  padding: 3px 9px;
  border-radius: 20px;
}

.fan-pilar a {
  text-decoration: none;
  color: inherit;
}

/* ----- Programas (home — Qué hacemos / FAN Programs Grid) ----- */
.fan-programas,
.fan-programas--grid {
  background: #F7F4EC;
  padding: 56px 0 64px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .fan-programas,
  .fan-programas--grid { padding: 72px 0 88px; }
}

.fan-programas-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  padding: 0 8px;
}
@media (min-width: 900px) {
  .fan-programas-head { margin-bottom: 48px; }
}

.fan-programas-eyebrow,
.fan-programas-head .fan-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fan-dorado, #B98B2A);
}

.fan-programas-head h2 {
  margin: 0;
  font-family: var(--fan-font-serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fan-grafito, #20231C);
}

.fan-programas-head p {
  margin: 16px auto 0;
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fan-gris, #6B6F66);
}

.fan-programas-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fan-verde, #1E5631);
  transition: color 0.2s ease, gap 0.2s ease;
}
.fan-programas-all:hover {
  color: var(--fan-verde-prof, #11331C);
  gap: 10px;
}

/* Legacy side intro kept for hybrid builds */
.fan-programas-layout {
  display: block;
  max-width: var(--fan-wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.fan-programas-intro { display: none; }
.fan-programas-icon { display: none; }

.fan-programas-track {
  --fan-prog-gap: 16px;
  display: flex;
  gap: var(--fan-prog-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  padding: 8px 24px 20px;
  margin: 0 -24px;
  overscroll-behavior-x: contain;
}
.fan-programas-track::-webkit-scrollbar { height: 6px; }
.fan-programas-track::-webkit-scrollbar-thumb {
  background: rgba(30, 86, 49, 0.28);
  border-radius: 3px;
}
.fan-programas-track::-webkit-scrollbar-track {
  background: transparent;
}

@media (min-width: 768px) {
  .fan-programas-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 8px 0 0;
    margin: 0;
  }
}

@media (min-width: 1100px) {
  .fan-programas-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.fan-programa-card {
  --fan-prog-btn: var(--fan-dorado, #B98B2A);
  --fan-pilar-c: var(--fan-prog-btn);
  position: relative;
  flex: 0 0 min(78vw, 300px);
  width: min(78vw, 300px);
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #0f2418;
  box-shadow: 0 10px 28px rgba(17, 51, 28, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  isolation: isolate;
}
.fan-programa-card--p1 { --fan-prog-btn: var(--fan-musgo, #4C7A3D); --fan-pilar-c: var(--fan-musgo, #4C7A3D); }
.fan-programa-card--p2 { --fan-prog-btn: var(--fan-ocre, #A6692B); --fan-pilar-c: var(--fan-ocre, #A6692B); }
.fan-programa-card--p3 { --fan-prog-btn: var(--fan-azul, #2E6E8E); --fan-pilar-c: var(--fan-azul, #2E6E8E); }
.fan-programa-card--p4 { --fan-prog-btn: var(--fan-terra, #B5532E); --fan-pilar-c: var(--fan-terra, #B5532E); }

@media (min-width: 768px) {
  .fan-programa-card {
    flex: none;
    width: auto;
  }
}

.fan-programa-card-link {
  position: relative;
  display: block;
  height: 100%;
  min-height: 100%;
  text-decoration: none !important;
  color: #fff;
}

.fan-programa-media {
  position: relative;
  aspect-ratio: 3 / 4.85;
  min-height: 420px;
  overflow: hidden;
  background: #1a3324;
}
@media (min-width: 1100px) {
  .fan-programa-media {
    min-height: 480px;
  }
}

.fan-programa-media img,
.fan-programa-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Velo fuerte: texto siempre legible sobre la foto */
.fan-programa-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 24, 14, 0.1) 0%,
      rgba(8, 24, 14, 0.08) 22%,
      rgba(8, 24, 14, 0.48) 52%,
      rgba(8, 24, 14, 0.86) 78%,
      rgba(8, 24, 14, 0.96) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.fan-programa-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  box-sizing: border-box;
}

.fan-programa-num {
  font-family: var(--fan-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fan-pilar-c, var(--fan-dorado, #B98B2A));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.fan-programas .fan-programa-title,
.fan-programa-card .fan-programa-title {
  margin: 0;
  max-width: 100%;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
@media (min-width: 1100px) {
  .fan-programas .fan-programa-title,
  .fan-programa-card .fan-programa-title {
    font-size: 17px;
  }
}

.fan-programas .fan-programa-desc,
.fan-programa-card .fan-programa-desc {
  margin: 0;
  max-width: 100%;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.fan-programa-ods {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: var(--fan-radius-control, 4px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fan-pilar-c, #B98B2A) 55%, transparent);
  border-color: var(--fan-pilar-c, rgba(255, 255, 255, 0.55));
}

.fan-programa-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--fan-prog-btn);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.25s ease, gap 0.25s ease, transform 0.25s ease;
}

.fan-programa-card:hover,
.fan-programa-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(17, 51, 28, 0.18);
  z-index: 2;
}

.fan-programa-card:hover .fan-programa-media img,
.fan-programa-card:hover .fan-programa-img,
.fan-programa-card:focus-within .fan-programa-media img,
.fan-programa-card:focus-within .fan-programa-img {
  transform: scale(1.06);
}

.fan-programa-card:hover .fan-programa-veil,
.fan-programa-card:focus-within .fan-programa-veil {
  background:
    linear-gradient(
      180deg,
      rgba(8, 24, 14, 0.14) 0%,
      rgba(8, 24, 14, 0.12) 22%,
      rgba(8, 24, 14, 0.55) 50%,
      rgba(8, 24, 14, 0.9) 78%,
      rgba(8, 24, 14, 0.97) 100%
    );
}

.fan-programa-card:hover .fan-programa-cta,
.fan-programa-card:focus-within .fan-programa-cta {
  background: var(--fan-verde, #1E5631);
  gap: 9px;
}

.fan-programa-card:hover .fan-programa-ods,
.fan-programa-card:focus-within .fan-programa-ods {
  background: var(--fan-pilar-c, var(--fan-dorado, #B98B2A));
  border-color: transparent;
}

.fan-programa-card-link:focus-visible {
  outline: 2px solid var(--fan-musgo, #4C7A3D);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .fan-programa-card,
  .fan-programa-media img,
  .fan-programa-img,
  .fan-programa-cta {
    transition: none !important;
  }
  .fan-programa-card:hover,
  .fan-programa-card:focus-within {
    transform: none;
  }
  .fan-programa-card:hover .fan-programa-media img,
  .fan-programa-card:hover .fan-programa-img,
  .fan-programa-card:focus-within .fan-programa-media img,
  .fan-programa-card:focus-within .fan-programa-img {
    transform: none;
  }
}

/* ----- Plataformas — FAN Platforms Grid (NatGeo / Apple) ----- */
.fan-plataformas:not(.fan-plataformas--coverflow),
.fan-plataformas--grid,
.fan-plataformas--logos,
.elementor-widget-fan_plataformas .fan-plataformas:not(.fan-plataformas--coverflow),
.elementor-widget-fan_plataformas_cards .fan-plataformas:not(.fan-plataformas--coverflow),
.elementor-widget-fan_plataformas > .elementor-widget-container:has(.fan-plataformas--grid),
.e-con.fan-el-hybrid.fan-plataformas:not(.fan-plataformas--coverflow),
.elementor-element:has(> .elementor-widget-container > .fan-plataformas--grid),
.elementor-element:has(> .fan-plataformas--grid) {
  background: #ffffff !important;
}

.fan-plataformas--coverflow,
.fan-plataformas.fan-destacadas,
.e-con.fan-el-hybrid.fan-plataformas.fan-plataformas--coverflow {
  background: #F7F4EC !important;
  padding: 72px 0 80px;
  overflow-x: clip;
}
@media (min-width: 900px) {
  .fan-plataformas--coverflow,
  .fan-plataformas.fan-destacadas {
    padding: 80px 0 96px;
  }
}

.fan-plataformas,
.fan-plataformas--grid,
.fan-plataformas--logos {
  padding: 72px 0 80px;
}
@media (min-width: 900px) {
  .fan-plataformas,
  .fan-plataformas--grid,
  .fan-plataformas--logos {
    padding: 96px 0 112px;
  }
}

.fan-plataformas-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
@media (min-width: 900px) {
  .fan-plataformas-head { margin-bottom: 64px; }
}

.fan-plataformas-eyebrow {
  display: block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fan-musgo, #3d5c2e);
}

.fan-plataformas-title {
  margin: 0;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.fan-plataformas-desc {
  margin: 16px auto 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.55;
  color: #6b7166;
}

.fan-plat-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .fan-plat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}
@media (min-width: 1024px) {
  .fan-plat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
}

.fan-plat-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(17, 51, 28, 0.08);
  box-shadow: 0 8px 24px rgba(17, 51, 28, 0.08);
  overflow: hidden;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.fan-plat-card-link-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.fan-plat-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  min-height: 200px;
  padding: 16px 14px;
  background: #f3f5f0;
  box-sizing: border-box;
}

.fan-plat-card-media img,
.fan-plat-card-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  transform: none;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fan-plat-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 4px;
  padding: 14px 18px 18px;
  text-align: left;
  background: #fff;
  border-top: 1px solid rgba(17, 51, 28, 0.06);
}

.fan-plat-card-title {
  margin: 0;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fan-verde-prof, #11331c);
  letter-spacing: -0.01em;
}

.fan-plat-card-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: #5c6358;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  flex: 1 1 auto;
}

.fan-plat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: var(--fan-radius-control, 4px);
  background: rgba(17, 51, 28, 0.06);
  color: var(--fan-plat-btn, var(--fan-verde-prof, #11331c));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.fan-plat-card:hover,
.fan-plat-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(17, 51, 28, 0.12);
}

.fan-plat-card:hover .fan-plat-card-media img,
.fan-plat-card:focus-within .fan-plat-card-media img,
.fan-plat-card:hover .fan-plat-card-img,
.fan-plat-card:focus-within .fan-plat-card-img {
  transform: scale(1.02);
}

.fan-plat-card:hover .fan-plat-card-cta,
.fan-plat-card:focus-within .fan-plat-card-cta {
  gap: 12px;
  background: var(--fan-plat-btn, var(--fan-verde-prof, #11331c));
  color: #fff;
}

.fan-plat-card-link-wrap:focus-visible {
  outline: 2px solid var(--fan-musgo, #3d5c2e);
  outline-offset: 3px;
  border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .fan-plat-card,
  .fan-plat-card-media img,
  .fan-plat-card-cta {
    transition: none;
  }
  .fan-plat-card:hover,
  .fan-plat-card:focus-within {
    transform: none;
  }
  .fan-plat-card:hover .fan-plat-card-media img,
  .fan-plat-card:focus-within .fan-plat-card-media img {
    transform: none;
  }
}

/* Legacy consola (por si queda en páginas viejas) ----- */
.fan-consola {
  background: var(--fan-verde-prof);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

@media (min-width: 900px) {
  .fan-consola { padding: 90px 0; }
}

.fan-consola .fan-section-head .fan-eyebrow { color: var(--fan-dorado); }
.fan-consola .fan-section-head h2 { color: #fff; }
.fan-consola .fan-section-head p { color: rgba(255, 255, 255, 0.65); }

.fan-topo {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}

.fan-plat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
  .fan-plat-grid { grid-template-columns: 1fr 1fr; }
}

.fan-plat {
  background: var(--fan-verde-prof);
  padding: 24px;
}

@media (min-width: 900px) {
  .fan-plat { padding: 28px 30px; }
}

.fan-plat .fan-tag {
  font-family: var(--fan-font-mono);
  font-size: 11px;
  color: var(--fan-dorado);
}

.fan-plat h4 {
  font-family: var(--fan-font-serif);
  font-size: 21px;
  font-weight: 600;
  margin: 10px 0 0;
}

.fan-plat p {
  font-size: 13.8px;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 10px;
  max-width: 380px;
}

.fan-plat .fan-go {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fan-dorado);
  display: inline-flex;
  text-decoration: none;
}

/* ----- Destacadas CoverFlow / FAN Editorial Carousel ----- */
.fan-destacadas,
.fan-destacadas--editorial {
  background: linear-gradient(180deg, #FBF9F4 0%, #F7F4EC 48%, #F3F0E8 100%);
  padding: 56px 0 72px;
  overflow-x: clip;
  overflow-y: visible;
}
@media (min-width: 900px) {
  .fan-destacadas,
  .fan-destacadas--editorial { padding: 80px 0 96px; }
}
.fan-destacadas-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 8px;
}
.fan-destacadas-head .fan-eyebrow {
  color: var(--fan-dorado, #B98B2A);
  letter-spacing: 0.14em;
  font-weight: 700;
}
.fan-destacadas-head h2 {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331c);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.fan-destacadas-head p {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #5c6358;
}

.fan-coverflow {
  position: relative;
  width: 100%;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  overflow-x: clip;
  overflow-y: visible;
}
@media (min-width: 900px) {
  .fan-coverflow { margin-top: 40px; gap: 12px; }
}
.fan-coverflow-main {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  width: 100%;
}
@media (min-width: 900px) {
  .fan-coverflow-main { grid-template-columns: 64px 1fr 64px; }
}
.fan-coverflow-nav {
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1.5px solid rgba(17, 51, 28, 0.22) !important;
  border-radius: var(--fan-radius-control, 4px) !important;
  background: #fff !important;
  color: var(--fan-verde-prof, #11331c) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(17, 51, 28, 0.1);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  justify-self: center;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
}
.fan-coverflow-nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  pointer-events: none;
}
.fan-coverflow-nav:hover {
  background: var(--fan-verde, #1e5631) !important;
  border-color: var(--fan-verde, #1e5631) !important;
  color: #fff !important;
  transform: scale(1.04);
}
.fan-coverflow-nav:focus-visible {
  outline: 2px solid var(--fan-musgo, #3d5c2e);
  outline-offset: 3px;
}
.fan-coverflow-viewport {
  position: relative;
  width: 100%;
  height: min(72vh, 620px);
  min-height: 420px;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.fan-coverflow-viewport.is-dragging { cursor: grabbing; }
@media (min-width: 900px) {
  .fan-coverflow-viewport {
    height: min(78vh, 680px);
    min-height: 520px;
  }
}
.fan-coverflow-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.fan-coverflow-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72vw, 300px);
  height: min(62vh, 520px);
  margin: 0;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #1a2e1f;
  color: #fff;
  cursor: pointer;
  transform-origin: center center;
  transform: translate3d(-50%, -50%, 0) scale(0.55);
  opacity: 0;
  filter: blur(0) brightness(0.88);
  box-shadow: 0 14px 32px rgba(17, 51, 28, 0.14);
  will-change: transform, opacity, filter, box-shadow;
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.65s ease,
    filter 0.65s ease,
    box-shadow 0.65s ease;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}
@media (min-width: 768px) {
  .fan-coverflow-card {
    width: min(38vw, 340px);
    height: min(68vh, 560px);
  }
}
@media (min-width: 1100px) {
  .fan-coverflow-card {
    width: 360px;
    height: 580px;
  }
}
.fan-coverflow-card.is-active {
  cursor: default;
  opacity: 1;
  transform: translate3d(-50%, -50%, 140px) scale(1.06);
  z-index: 100;
  filter: brightness(1.1);
  box-shadow:
    0 32px 72px rgba(17, 51, 28, 0.32),
    0 12px 28px rgba(17, 51, 28, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.fan-coverflow-card.is-side { cursor: pointer; }
.fan-coverflow-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.fan-coverflow-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.fan-coverflow-card.is-active .fan-coverflow-card-media img {
  transform: scale(1.08);
}
.fan-coverflow-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 28, 16, 0.18) 0%, rgba(10, 28, 16, 0.06) 30%, rgba(10, 28, 16, 0.5) 66%, rgba(10, 28, 16, 0.92) 100%);
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.fan-coverflow-card.is-active .fan-coverflow-card-veil { opacity: 0.85; }
.fan-coverflow-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease 0.1s, transform 0.45s ease 0.1s;
  pointer-events: none;
}
.fan-coverflow-card.is-active .fan-coverflow-card-body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fan-coverflow-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8d6b8;
}
.fan-coverflow-card-body h3 {
  margin: 0;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.fan-coverflow-card-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  max-width: 34ch;
}
.fan-coverflow-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  background: #fff;
  color: var(--fan-verde-prof, #11331c) !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.4s ease 0.18s,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}
.fan-coverflow-card.is-active .fan-coverflow-cta {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fan-coverflow-cta--compra {
  background: var(--fan-dorado, #B98B2A);
  color: #fff !important;
}
a.fan-coverflow-cta:hover,
a.fan-coverflow-cta:focus-visible,
a.fan-coverflow-cta--gratis:hover,
a.fan-coverflow-cta--link:hover,
a.fan-coverflow-cta--compra:hover {
  background: var(--fan-verde, #1E5631);
  color: #fff !important;
}
a.fan-coverflow-cta--compra:hover,
a.fan-coverflow-cta--compra:focus-visible {
  background: var(--fan-verde-prof, #11331C);
  color: #fff !important;
}
.fan-coverflow-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px 0 0;
  min-height: 28px;
}
.fan-coverflow-dot {
  width: 14px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #c8d0c4;
  cursor: pointer;
  transition: background 0.25s ease;
}
.fan-coverflow-dot.is-on {
  width: 14px;
  height: 7px;
  border-radius: 0;
  background: var(--fan-verde-prof, #11331c);
}
.fan-coverflow-dot:hover { background: #a8b3a2; }
.fan-coverflow-dot.is-on:hover { background: var(--fan-verde-prof, #11331c); }
.fan-coverflow-dot:focus-visible {
  outline: 2px solid var(--fan-musgo, #3d5c2e);
  outline-offset: 2px;
}

/* ----- Editorial carousel: portada nítida + franja info inferior ----- */
.fan-coverflow--editorial .fan-coverflow-viewport {
  height: min(82vh, 720px);
  min-height: 480px;
  perspective: 1600px;
}
@media (min-width: 900px) {
  .fan-coverflow--editorial .fan-coverflow-viewport {
    height: min(86vh, 760px);
    min-height: 560px;
  }
}
.fan-coverflow--editorial .fan-coverflow-card {
  display: flex;
  flex-direction: column;
  width: min(78vw, 280px);
  height: auto;
  max-height: none;
  background: #fff;
  color: var(--fan-grafito, #20231C);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(17, 51, 28, 0.14);
  filter: none !important;
  opacity: 1;
}
@media (min-width: 768px) {
  .fan-coverflow--editorial .fan-coverflow-card {
    width: min(42vw, 320px);
  }
}
@media (min-width: 1100px) {
  .fan-coverflow--editorial .fan-coverflow-card {
    width: 340px;
  }
}
.fan-coverflow--editorial .fan-coverflow-card.is-active {
  box-shadow:
    0 28px 64px rgba(17, 51, 28, 0.22),
    0 8px 20px rgba(17, 51, 28, 0.1);
  filter: none !important;
}
.fan-coverflow--editorial .fan-coverflow-card-media {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 3 / 4.25;
  flex: 0 0 auto;
  background: #e8ebe4;
}
.fan-coverflow--editorial .fan-coverflow-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.fan-coverflow--editorial .fan-coverflow-card.is-active .fan-coverflow-card-media img {
  transform: none !important;
}
.fan-coverflow--editorial .fan-coverflow-card-veil {
  display: none !important;
}
.fan-coverflow--editorial .fan-coverflow-card-body {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 16px 18px;
  background: #fff;
  color: var(--fan-grafito, #20231C);
  opacity: 1;
  transform: none;
  pointer-events: none;
  box-shadow: none;
}
.fan-coverflow--editorial .fan-coverflow-card.is-active .fan-coverflow-card-body {
  display: flex;
  pointer-events: auto;
  opacity: 1;
  transform: none;
}
.fan-coverflow--editorial .fan-coverflow-cat {
  color: var(--fan-musgo, #4C7A3D);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.fan-coverflow--editorial .fan-coverflow-card-body h3 {
  margin: 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.22;
  color: var(--fan-verde-prof, #11331c);
  letter-spacing: -0.015em;
}
.fan-coverflow--editorial .fan-coverflow-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fan-gris, #6B6F66);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-width: none;
}
.fan-coverflow--editorial .fan-coverflow-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 10px;
  width: 100%;
}
.fan-coverflow--editorial .fan-coverflow-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fan-musgo, #4C7A3D);
}
.fan-coverflow--editorial .fan-coverflow-status--compra {
  color: var(--fan-ocre, #A6692B);
}
.fan-coverflow--editorial .fan-coverflow-cta {
  margin-top: 0;
  min-height: 38px;
  padding: 0 14px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  background: var(--fan-verde, #1E5631);
  color: #fff !important;
}
.fan-coverflow--editorial .fan-coverflow-cta--compra {
  background: var(--fan-dorado, #B98B2A);
  color: #fff !important;
}
.fan-coverflow--editorial .fan-coverflow-card.is-active .fan-coverflow-cta {
  opacity: 1;
  transform: none;
}
.fan-coverflow--editorial .fan-coverflow-dot.is-on {
  background: var(--fan-verde-prof, #11331c);
}

@media (max-width: 767px) {
  .fan-coverflow--editorial .fan-coverflow-viewport {
    height: auto;
    min-height: 520px;
  }
  .fan-coverflow--editorial .fan-coverflow-card {
    width: min(86vw, 300px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fan-coverflow-card,
  .fan-coverflow-card-media img,
  .fan-coverflow-card-body,
  .fan-coverflow-cta,
  .fan-coverflow-nav,
  .fan-coverflow-dot {
    transition: none !important;
  }
}

/* ----- Plataformas carousel: logos amplios + franja blanca (como publicaciones) ----- */
.fan-coverflow--platforms .fan-coverflow-viewport {
  height: min(68vh, 540px);
  min-height: 400px;
  perspective: 1600px;
}
@media (min-width: 900px) {
  .fan-coverflow--platforms .fan-coverflow-viewport {
    height: min(72vh, 580px);
    min-height: 460px;
  }
}
.fan-coverflow--platforms .fan-coverflow-card {
  display: flex;
  flex-direction: column;
  width: min(86vw, 300px);
  height: auto;
  max-height: none;
  background: #fff;
  color: var(--fan-grafito, #20231C);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(17, 51, 28, 0.14);
  filter: none !important;
  opacity: 1;
}
@media (min-width: 768px) {
  .fan-coverflow--platforms .fan-coverflow-card {
    width: min(50vw, 360px);
  }
}
@media (min-width: 1100px) {
  .fan-coverflow--platforms .fan-coverflow-card {
    width: 380px;
  }
}
.fan-coverflow--platforms .fan-coverflow-card.is-active {
  box-shadow:
    0 28px 64px rgba(17, 51, 28, 0.22),
    0 8px 20px rgba(17, 51, 28, 0.1);
  filter: none !important;
}
.fan-coverflow--platforms .fan-coverflow-card-media {
  position: relative;
  inset: auto;
  width: 100%;
  height: 210px;
  flex: 0 0 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  background: #f3f5f0;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .fan-coverflow--platforms .fan-coverflow-card-media {
    height: 230px;
    flex-basis: 230px;
    padding: 20px 18px;
  }
}
.fan-coverflow--platforms .fan-coverflow-card-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.fan-coverflow--platforms .fan-coverflow-card.is-active .fan-coverflow-card-media img {
  transform: none !important;
}
.fan-coverflow--platforms .fan-coverflow-card-veil {
  display: none !important;
}
.fan-coverflow--platforms .fan-coverflow-card-body {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 18px 16px;
  background: #fff;
  color: var(--fan-grafito, #20231C);
  opacity: 1;
  transform: none;
  pointer-events: none;
  box-shadow: none;
  border-top: 1px solid rgba(17, 51, 28, 0.06);
}
.fan-coverflow--platforms .fan-coverflow-card.is-active .fan-coverflow-card-body {
  display: flex;
  pointer-events: auto;
  opacity: 1;
  transform: none;
}
.fan-coverflow--platforms .fan-coverflow-cat {
  display: none;
}
.fan-coverflow--platforms .fan-coverflow-card-body h3 {
  margin: 0;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fan-verde-prof, #11331c);
}
.fan-coverflow--platforms .fan-coverflow-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: #5c6358;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.fan-coverflow--platforms .fan-coverflow-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
}
.fan-coverflow--platforms .fan-coverflow-status {
  display: none !important;
}
.fan-coverflow--platforms .fan-coverflow-cta {
  margin-top: 0;
  padding: 8px 14px;
  border-radius: var(--fan-radius-control, 4px);
  background: rgba(17, 51, 28, 0.07);
  color: var(--fan-verde-prof, #11331c);
  font-size: 12.5px;
  font-weight: 700;
}
.fan-coverflow--platforms .fan-coverflow-card.is-active .fan-coverflow-cta {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.fan-coverflow--platforms a.fan-coverflow-cta:hover,
.fan-coverflow--platforms a.fan-coverflow-cta:focus-visible {
  background: var(--fan-verde-prof, #11331c);
  color: #fff;
}
/* Navegación: solo chevron < > sin círculo */
.fan-coverflow--platforms .fan-coverflow-main {
  grid-template-columns: 36px 1fr 36px;
  gap: 4px;
}
@media (min-width: 900px) {
  .fan-coverflow--platforms .fan-coverflow-main {
    grid-template-columns: 44px 1fr 44px;
  }
}

.fan-coverflow--platforms .fan-coverflow-nav {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 8px 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--fan-verde-prof, #11331c);
  opacity: 0.55;
}

.fan-coverflow--platforms .fan-coverflow-nav-icon {
  width: 22px;
  height: 22px;
}

.fan-coverflow--platforms .fan-coverflow-nav:hover {
  background: transparent;
  border: none;
  color: var(--fan-verde-prof, #11331c);
  opacity: 1;
  transform: none;
}

.fan-coverflow--platforms .fan-coverflow-nav:focus-visible {
  outline: 2px solid var(--fan-musgo, #3d5c2e);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Indicadores: rayitas rectangulares (diseño), no bullets redondos */
.fan-coverflow--platforms .fan-coverflow-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding-top: 16px;
  min-height: 24px;
}

.fan-coverflow--platforms .fan-coverflow-dot {
  width: 14px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #c8d0c4;
  box-shadow: none;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.fan-coverflow--platforms .fan-coverflow-dot.is-on {
  width: 14px;
  height: 7px;
  border-radius: 0;
  background: var(--fan-verde-prof, #11331c);
}

.fan-coverflow--platforms .fan-coverflow-dot:hover {
  background: #a8b3a2;
}

.fan-coverflow--platforms .fan-coverflow-dot.is-on:hover {
  background: var(--fan-verde-prof, #11331c);
}
@media (max-width: 767px) {
  .fan-coverflow--platforms .fan-coverflow-viewport {
    height: auto;
    min-height: 380px;
  }
  .fan-coverflow--platforms .fan-coverflow-card {
    width: min(88vw, 310px);
  }
  .fan-coverflow--platforms .fan-coverflow-card-media {
    height: 180px;
    flex-basis: 180px;
    padding: 14px 12px;
  }
}

/* ----- Editorial (biblioteca / catálogo grid) ----- */
.fan-editorial {
  background: #fff;
  padding: 64px 0 72px;
}
@media (min-width: 900px) {
  .fan-editorial { padding: 88px 0 96px; }
}
.fan-editorial-head h2 {
  margin: 0;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
}
.fan-editorial-head p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #5c6358;
  max-width: 540px;
}
.fan-editorial-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .fan-editorial-filters { flex-wrap: nowrap; margin-top: 32px; }
}
.fan-editorial-search {
  position: relative;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  min-width: 0;
}
.fan-editorial-search svg {
  position: absolute;
  left: 14px;
  color: #8a9084;
  pointer-events: none;
}
.fan-editorial-search input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  border: 1px solid #d5d8d0;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
}
.fan-editorial-search input:focus {
  border-color: var(--fan-musgo, #3d5c2e);
  box-shadow: 0 0 0 3px rgba(61, 92, 46, 0.12);
}
.fan-editorial-select { flex: 0 1 140px; min-width: 110px; }
.fan-editorial-select select {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 14px;
  border: 1px solid #d5d8d0;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none;
  appearance: none;
  font-size: 14px;
  color: #3a3a3a;
  cursor: pointer;
}
.fan-editorial-submit {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: var(--fan-verde-prof, #11331c);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.fan-editorial-submit svg { flex-shrink: 0; }
.fan-editorial-submit:hover { background: var(--fan-musgo, #3d5c2e); }

/* Filtros Editorial con botones (pills), estilo mockup ---------------------- */
.fan-editorial-searchrow {
  display: flex;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}
.fan-editorial-searchrow .fan-editorial-search { flex: 1 1 auto; }
.fan-editorial-pillsets {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
}
.fan-editorial-pillgroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.fan-editorial-pilllabel {
  font-family: var(--fan-font-mono, 'IBM Plex Mono', monospace);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fan-gris, #6b6f66);
}
.fan-editorial-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* Prefijo con la clase del body para ganar al kit de Elementor (botones dorados)
   sin depender del orden de carga. Especificidad (0,2,0) > kit. */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-editorial-pill {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border: 1px solid var(--fan-linea, #dad6c7) !important;
  color: var(--fan-gris, #6b6f66) !important;
  background: #fff !important;
  padding: 6px 13px;
  border-radius: 20px;
  cursor: pointer;
  text-transform: none;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-editorial-pill:hover {
  border-color: var(--fan-verde, #1e5631) !important;
  color: var(--fan-verde, #1e5631) !important;
  background: #fff !important;
}
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-editorial-pill.is-active {
  background: var(--fan-verde, #1e5631) !important;
  border-color: var(--fan-verde, #1e5631) !important;
  color: #fff !important;
}
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-editorial-pill:focus-visible {
  outline: 2px solid var(--fan-dorado, #b98b2a);
  outline-offset: 2px;
}

.fan-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  margin-top: 40px;
}
@media (min-width: 700px) {
  .fan-editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
}
@media (min-width: 1024px) {
  .fan-editorial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 24px;
    margin-top: 48px;
  }
}

.fan-pub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fan-pub-card.is-filtered-out { display: none; }
.fan-pub-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.fan-pub-card-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #e4e7e0;
  box-shadow: 0 6px 20px rgba(17, 51, 28, 0.08);
  transition: box-shadow 0.4s ease;
}
.fan-pub-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.fan-pub-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 51, 28, 0.35));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.fan-pub-card-body { padding: 14px 4px 0; }
.fan-pub-tipo {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7166;
}
.fan-pub-meta {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #6b7166;
}
.fan-pub-price {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fan-verde-prof, #11331c);
}
.fan-pub-card.is-collapsed,
.fan-pub-card[hidden] {
  display: none !important;
}
.fan-pub-cta-icon {
  margin-right: 6px;
  flex-shrink: 0;
}
.fan-pub-cta--gratis {
  background: #e8e4d9;
  color: var(--fan-verde-prof, #11331c);
}
.fan-pub-cta--gratis:hover {
  background: #ddd7c8;
}
.fan-pub-card-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.fan-pub-access {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: rgba(17, 51, 28, 0.88);
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fan-pub-access--compra {
  background: rgba(185, 139, 42, 0.95);
  color: #fff !important;
}
.fan-pub-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--fan-verde-prof, #11331c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  pointer-events: none;
}
.fan-pub-cta--compra { background: #b45309; }
.fan-pub-card:hover .fan-pub-card-link,
.fan-pub-card:focus-within .fan-pub-card-link {
  transform: translateY(-8px);
}
.fan-pub-card:hover .fan-pub-card-cover,
.fan-pub-card:focus-within .fan-pub-card-cover {
  box-shadow: 0 20px 44px rgba(17, 51, 28, 0.18);
}
.fan-pub-card:hover .fan-pub-card-cover img,
.fan-pub-card:focus-within .fan-pub-card-cover img {
  transform: scale(1.05);
}
.fan-pub-card:hover .fan-pub-card-veil,
.fan-pub-card:focus-within .fan-pub-card-veil {
  opacity: 1;
}
.fan-pub-card:hover .fan-pub-cta,
.fan-pub-card:focus-within .fan-pub-cta {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.fan-pub-cta:hover { filter: brightness(1.08); }

.fan-editorial-empty {
  margin: 28px 0 0;
  text-align: center;
  color: #6b7166;
  font-size: 15px;
}
.fan-editorial-empty[hidden] { display: none !important; }

.fan-editorial-foot {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.fan-editorial-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1.5px solid var(--fan-musgo, #3d5c2e);
  border-radius: 6px;
  color: var(--fan-musgo, #3d5c2e);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.fan-editorial-all:hover {
  background: var(--fan-musgo, #3d5c2e);
  color: #fff;
}

/* Legacy carousel leftovers (por si quedan en páginas viejas) */
.fan-editorial-carousel {
  position: relative;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
}
.fan-editorial-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 6px 28px;
}
.fan-editorial-nav {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fan-verde-prof, #11331c);
  font-size: 28px;
  cursor: pointer;
}

/* ----- Historias (editorial premium) ----- */
.fan-historias {
  padding: 72px 0 88px;
  background: #ffffff;
  overflow: hidden;
  /* Jerarquía: h2 sección > h3 historia > extracto/cita */
  --fan-hist-h2: clamp(32px, 4.6vw, 48px);
  --fan-hist-h3: clamp(22px, 2.6vw, 28px);
}

/* Elementor: el fondo del Advanced/Estilo vive en el container; el bloque no lo tape */
.elementor-widget-fan_historias > .elementor-widget-container {
  background-color: #ffffff;
}
.elementor-widget-fan_historias .fan-historias {
  background-color: transparent;
  background-image: none;
}

@media (min-width: 900px) {
  .fan-historias { padding: 100px 0 120px; }
}

.fan-historias-head {
  max-width: 720px;
  margin-bottom: 40px;
}
@media (min-width: 900px) {
  .fan-historias-head { margin-bottom: 64px; }
}

.fan-historias-head .fan-eyebrow {
  color: var(--fan-dorado, #B98B2A);
  letter-spacing: 0.14em;
  font-weight: 700;
}

.fan-historias-title {
  margin: 12px 0 0;
  font-family: var(--fan-font-serif);
  font-weight: 600;
  font-size: var(--fan-hist-h2);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--fan-verde-prof, #11331C);
  text-transform: none;
}

.fan-historias-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
@media (min-width: 900px) {
  .fan-historias-list { gap: 88px; }
}

.fan-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin: 0;
}

@media (min-width: 900px) {
  .fan-story {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
  }
  .fan-story.is-rev .fan-story-media { order: 2; }
  .fan-story.is-rev .fan-story-body { order: 1; }
}

.fan-story-media {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #e8ebe4;
  box-shadow: 0 16px 40px rgba(17, 51, 28, 0.1);
}

.fan-story-media-link,
.fan-story-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.fan-story-media-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fan-story-media img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.fan-story:hover .fan-story-media img {
  transform: scale(1.02);
}

.fan-story-veil {
  display: none;
}

.fan-story-body {
  position: relative;
  z-index: 1;
  padding: 4px 0 8px;
  max-width: 34rem;
}
@media (min-width: 900px) {
  .fan-story-body { padding: 8px 4px; }
}

.fan-story .fan-tag-pilar {
  display: inline-block;
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fan-story h3,
.fan-story .fan-story-title {
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif) !important;
  font-size: var(--fan-hist-h3, clamp(22px, 2.6vw, 28px)) !important;
  font-weight: 600 !important;
  margin: 12px 0 0;
  color: var(--fan-verde-prof, #11331C) !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none !important;
}
.fan-story h3 a,
.fan-story .fan-story-title a {
  color: inherit !important;
  text-decoration: none;
}
.fan-story h3 a:hover,
.fan-story .fan-story-title a:hover {
  color: var(--fan-verde, #1E5631) !important;
}

.fan-story-excerpt,
.fan-story p.fan-story-excerpt {
  margin: 20px 0 0;
  color: #4a5248;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: clamp(16px, 1.55vw, 18.5px);
  font-weight: 400;
  line-height: 1.68;
  max-width: 36em;
}

.fan-story-quote,
.fan-story blockquote.fan-story-quote {
  margin: 28px 0 0;
  padding: 4px 0 4px 20px;
  border-left: 2.5px solid var(--fan-ocre, #A6692B);
  background: transparent;
  quotes: none;
}
.fan-story-quote p {
  margin: 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.45;
  color: var(--fan-verde-prof, #11331C);
}
.fan-story-quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #7a8174;
}

.fan-story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}

.fan-story-date {
  font-size: 13px;
  color: #7a8174;
  letter-spacing: 0.02em;
}

.fan-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fan-verde, #1E5631);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.fan-story-cta:hover {
  color: var(--fan-verde-prof, #11331C);
  border-bottom-color: currentColor;
  gap: 10px;
}

.fan-historias-empty {
  margin: 0;
  color: var(--fan-gris);
  font-size: 15px;
}

/* Elementor: h3 historia siempre por debajo del h2 de sección */
.elementor-widget-fan_historias .fan-story h3,
.elementor-widget-fan_historias_stories .fan-story h3,
.elementor-widget-fan_historias .fan-story-title,
.elementor-widget-fan_historias_stories .fan-story-title,
.elementor-widget-fan_historias .fan-story-body h3.fan-story-title,
.elementor-widget-fan_historias_stories .fan-story-body h3.fan-story-title {
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif) !important;
  font-size: var(--fan-hist-h3, clamp(22px, 2.6vw, 28px)) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--fan-verde-prof, #11331C) !important;
}

.elementor-widget-fan_historias .fan-story-title a,
.elementor-widget-fan_historias_stories .fan-story-title a,
.elementor-widget-fan_historias .fan-story h3 a,
.elementor-widget-fan_historias_stories .fan-story h3 a {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  color: inherit !important;
}

/* Híbrido: h2 de sección Historias (por encima de h3 historia) */
.e-con.fan-el-hybrid.fan-historias {
  --fan-hist-h2: clamp(32px, 4.6vw, 48px);
  --fan-hist-h3: clamp(22px, 2.6vw, 28px);
}

.e-con.fan-el-hybrid.fan-historias .fan-section-head h2,
.e-con.fan-el-hybrid.fan-historias .fan-historias-head h2,
.e-con.fan-el-hybrid.fan-historias .fan-historias-head .fan-historias-title,
.e-con.fan-el-hybrid.fan-historias .fan-section-head .elementor-heading-title,
.e-con.fan-el-hybrid.fan-historias .fan-historias-head .elementor-heading-title {
  margin: 12px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif) !important;
  font-size: var(--fan-hist-h2) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
  color: var(--fan-verde-prof, #11331C) !important;
}

/* ----- Noticias + Convocatorias (split mockup) ----- */
.fan-noticias--split {
  background: #fff;
  padding: 64px 0;
}
@media (min-width: 900px) {
  .fan-noticias--split { padding: 80px 0; }
}

.fan-noticias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .fan-noticias-grid {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
  }
}

.fan-noticias--feed .fan-panel-head {
  align-items: flex-end;
  margin-bottom: 8px;
  padding-bottom: 14px;
}
.fan-noticias--feed .fan-panel-title {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
}
.fan-panel-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}
.fan-noticias--feed .fan-news-item--call .fan-news-item-title {
  margin-top: 8px;
}

.fan-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fan-verde-prof, #11331c);
}
.fan-panel-head h3,
.fan-panel-title {
  margin: 0;
  font-family: var(--fan-font-serif, Georgia, serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--fan-verde-prof, #11331c);
  line-height: 1.2;
}
.fan-panel-icon { display: none; }
.fan-panel-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--fan-musgo, #3d5c2e);
  white-space: nowrap;
}
.fan-panel-all:hover { color: var(--fan-verde-prof, #11331c); }

.fan-news-list {
  display: flex;
  flex-direction: column;
}

.fan-news-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--fan-linea, #e6e3d9);
  align-items: flex-start;
}

.fan-news-item-thumb {
  flex: 0 0 96px;
  width: 96px;
  height: 72px;
  overflow: hidden;
  background: var(--fan-linea, #e6e3d9);
  border-radius: 0;
}

.fan-news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.fan-news-item-body {
  min-width: 0;
  flex: 1 1 auto;
}

.fan-news-item-date {
  display: block;
  font-family: var(--fan-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11px;
  color: var(--fan-gris, #6b7166);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fan-news-item-title {
  margin: 4px 0 0;
  font-family: var(--fan-font-serif, Georgia, serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fan-verde-prof, #11331c);
}

.fan-news-item-title a {
  color: inherit;
  text-decoration: none;
}

.fan-news-item-title a:hover {
  color: var(--fan-musgo, #3d5c2e);
}

.fan-conv-list {
  display: flex;
  flex-direction: column;
}

.fan-conv-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--fan-linea, #e6e3d9);
  align-items: flex-start;
}

.fan-conv-item-thumb {
  flex: 0 0 96px;
  width: 96px;
  height: 72px;
  overflow: hidden;
  background: var(--fan-linea, #e6e3d9);
  border-radius: 0;
}

.fan-conv-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.fan-conv-item-body {
  min-width: 0;
  flex: 1 1 auto;
}

.fan-conv-status {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #EAF3DE;
  color: var(--fan-musgo, #3d5c2e);
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.fan-conv-status--cerrada,
.fan-conv-status--proxima,
.fan-conv-status--proximamente {
  background: #F1EFE8;
  color: var(--fan-gris, #6b7166);
}

.fan-conv-status--proximamente {
  background: #FFF4E5;
  color: #8a5a12;
}

.fan-conv-item-title {
  margin: 8px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fan-verde-prof, #11331c);
}

.fan-conv-item-title a {
  color: inherit;
  text-decoration: none;
}

.fan-conv-item-title a:hover {
  color: var(--fan-musgo, #3d5c2e);
}

.fan-conv-item-meta {
  margin: 6px 0 0;
  font-family: var(--fan-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11.5px;
  color: var(--fan-gris, #6b7166);
}

/* Página Convocatorias: estilos base; posters se afinan en fan-convocatoria.css */
.fan-conv-panel--convocatorias .fan-conv-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

@media (max-width: 900px) {
  .fan-conv-panel--convocatorias .fan-conv-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .fan-conv-panel--convocatorias .fan-conv-list {
    grid-template-columns: 1fr;
  }
}

/* Hide legacy featured / card / filter chrome if still in old markup.
 * Scope .fan-conv-filters to Home news split only — the Convocatorias
 * listing page uses .fan-conv-filters for real filters. */
.fan-noticias-body,
.fan-news-featured,
.fan-news-side,
.fan-news-mini,
.fan-news-cat-bar,
.fan-news-badge,
.fan-news-cta,
.fan-noticias .fan-conv-filters,
.fan-news-widget .fan-conv-filters,
.fan-conv-card,
.fan-conv-thumb,
.fan-conv-download,
.fan-conv-foot,
.fan-conv-dot {
  display: none !important;
}

@media (max-width: 640px) {
  .fan-news-item-thumb,
  .fan-conv-item-thumb {
    flex-basis: 84px;
    width: 84px;
    height: 64px;
  }
}

/* ----- Aliados strip ----- */
.fan-aliados {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid rgba(17, 51, 28, 0.06);
  border-bottom: 1px solid rgba(17, 51, 28, 0.06);
}

.fan-aliados-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
}

.fan-aliados-lead {
  flex: 0 0 auto;
  max-width: 170px;
  margin: 0;
  font-family: var(--fan-font-serif);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--fan-verde-prof);
  font-style: italic;
}

.fan-aliados-rule {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  background: rgba(17, 51, 28, 0.18);
  min-height: 64px;
}

.fan-aliados-carousel {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.fan-aliados-viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.fan-aliados-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  padding: 10px 0;
  outline: none;
  will-change: transform;
}

.fan-aliados-carousel.is-marquee .fan-aliados-track {
  animation: fan-aliados-marquee 70s linear infinite;
}

.fan-aliados-carousel.is-marquee:hover .fan-aliados-track,
.fan-aliados-carousel.is-marquee:focus-within .fan-aliados-track {
  animation-play-state: paused;
}

@keyframes fan-aliados-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .fan-aliados-carousel.is-marquee .fan-aliados-track {
    animation: none;
  }

  .fan-aliados-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .fan-aliados-track {
    width: auto;
    max-width: 100%;
  }
}

.fan-aliados-item {
  flex: 0 0 auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
}

.fan-aliados-item img {
  display: block !important;
  height: 64px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transition: opacity 0.2s ease, transform 0.25s ease;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  box-sizing: content-box;
}

.fan-aliados-item:hover img {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.04);
}

/* Elementor: la franja de aliados no debe quedar colapsada ni invisible */
.elementor-widget-fan_aliados,
.elementor-widget-fan_aliados > .elementor-widget-container,
.elementor-widget-fan_aliados_strip,
.elementor-widget-fan_aliados_strip > .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
}

.elementor-widget-fan_aliados .fan-aliados,
.e-con.fan-el-hybrid.fan-aliados .fan-aliados-bar,
.elementor-widget-fan_aliados .fan-aliados-bar {
  display: flex !important;
  align-items: center;
  width: 100%;
}

.e-con.fan-el-hybrid.fan-aliados.fan-el-hybrid-full {
  padding: 0 !important;
  background: #fff !important;
}

/* Impacto: si quedó anidado (e-con + widget), no duplicar franja verde */
.e-con.fan-el-hybrid.fan-stats.fan-stats--impact:has(.fan-stats--impact) {
  background: transparent !important;
  padding: 0 !important;
}
.e-con.fan-el-hybrid.fan-stats.fan-stats--impact:has(.fan-stats--impact) > .e-con.fan-wrap,
.e-con.fan-el-hybrid.fan-stats.fan-stats--impact:has(.fan-stats--impact) > .fan-wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.e-con.fan-el-hybrid.fan-stats.fan-stats--impact .fan-section-embed.fan-stats--impact,
.e-con.fan-el-hybrid.fan-el-hybrid-full .fan-stats--impact {
  width: 100%;
}
.e-con.fan-el-hybrid.fan-stats .fan-section-head.fan-stats-head {
  display: none;
}

.elementor-widget-fan_aliados .fan-aliados-carousel,
.elementor-widget-fan_aliados .fan-aliados-viewport {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden;
}

.elementor-widget-fan_aliados .fan-aliados-track,
.elementor-widget-fan_aliados_strip .fan-aliados-track {
  display: flex !important;
  align-items: center !important;
  gap: 40px;
  width: max-content !important;
}

.elementor-widget-fan_aliados .fan-aliados-item img,
.elementor-widget-fan_aliados_strip .fan-aliados-item img,
.e-con.fan-el-hybrid.fan-aliados .fan-aliados-item img {
  display: block !important;
  height: 64px !important;
  width: auto !important;
  max-width: 220px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Aliados siempre legible (no esperar reveal) */
.fan-aliados[data-fan-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.fan-aliados-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 22px;
  border-radius: var(--fan-radius-control, 4px);
  background: var(--fan-verde-prof);
  color: #fff !important;
  font-family: var(--fan-font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fan-aliados-more:hover {
  background: var(--fan-verde);
  color: #fff !important;
}

/* Legacy arrow control (por si quedó en contenido Elementor antiguo) */
.fan-aliados-next {
  display: none !important;
}

@media (max-width: 720px) {
  .fan-aliados-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .fan-aliados-lead {
    max-width: none;
    flex: 1 1 100%;
  }

  .fan-aliados-rule { display: none; }

  .fan-aliados-carousel {
    width: 100%;
  }

  .fan-aliados-more {
    padding: 10px 18px;
  }
}

/* ----- Footer institucional (4 columnas) ----- */
.fan-site-footer {
  background: var(--fan-verde-prof);
  color: rgba(255, 255, 255, 0.82);
  padding: 0;
  font-size: 13.5px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.fan-site-footer--institutional {
  padding: 64px 0 0;
}

.fan-foot-main {
  position: relative;
  z-index: 1;
}

.fan-foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.25fr 1.15fr;
  gap: 40px 36px;
  padding-bottom: 44px;
}

.fan-foot-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  margin-bottom: 16px;
}

.fan-foot-brand img {
  display: block;
  width: auto;
  height: 72px;
  max-width: 280px;
  object-fit: contain;
}

.fan-foot-brand-fallback {
  font-family: var(--fan-font-serif, Georgia, serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.fan-foot-desc {
  margin: 0 0 22px;
  max-width: 280px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.fan-foot-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.fan-foot-social a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fan-foot-social a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.fan-foot-heading,
.fan-site-footer .fan-foot-heading,
body.fan-redisenio .fan-site-footer .fan-foot-heading {
  margin: 0 0 16px;
  color: #fff !important;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fan-foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fan-foot-links li {
  margin: 0 0 10px;
}

.fan-foot-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.fan-foot-links a:hover {
  color: #fff;
  opacity: 1;
}

.fan-foot-contact {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fan-foot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.fan-foot-contact a {
  color: inherit;
  text-decoration: none;
}

.fan-foot-contact a:hover {
  color: #fff;
}

.fan-foot-ico {
  flex: 0 0 auto;
  color: var(--fan-musgo, #4C7A3D);
  display: inline-flex;
  margin-top: 2px;
}

.fan-foot-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 22px;
  border-radius: var(--fan-radius-control, 4px);
  background: linear-gradient(180deg, #6f8f3d 0%, #5a7a32 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.fan-foot-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.fan-foot-cta-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.fan-foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.fan-foot-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 16px 0 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.fan-foot-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.fan-foot-legal a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.fan-foot-legal a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .fan-site-footer--institutional {
    padding: 48px 0 0;
  }

  .fan-foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }
}

@media (max-width: 640px) {
  .fan-foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fan-foot-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*
 * Un solo Negativo.png (fan-bo.org/.../Negativo.png).
 * Color siempre (overlay + sticky).
 * Mismo size/position/scale siempre → no se mueve al scroll.
 * scale compensa el padding transparente del PNG (~64% alto útil).
 */
.fan-logo--img {
  --fan-logo-h: 54px;
  --fan-logo-w: 132px;
  --fan-logo-scale: 1.28;
  position: relative;
  display: block;
  flex-shrink: 0;
  width: var(--fan-logo-w);
  height: var(--fan-logo-h);
  padding: 0;
  overflow: visible;
  text-decoration: none;
  background: transparent;
}

@media (min-width: 960px) {
  .fan-logo--img {
    --fan-logo-h: 60px;
    --fan-logo-w: 148px;
  }
}

.fan-logo--img img,
.fan-logo--img .fan-logo-img {
  position: absolute;
  left: 0;
  top: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0;
  object-fit: contain;
  object-position: left center;
  transform: scale(var(--fan-logo-scale));
  transform-origin: left center;
  filter: none;
}

/* Oculta imgs legacy si quedaran en el markup */
.fan-logo--img .fan-logo-img--scrolled {
  display: none !important;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fan-demo-banner {
  display: none !important;
}

/* Inner redesign pages */
.fan-inner-hero {
  background: var(--fan-verde-prof);
  color: #fff;
  padding: 56px 0 48px;
}

.fan-inner-hero h1 {
  font-family: var(--fan-font-serif);
  font-size: clamp(28px, 5vw, 42px);
  margin: 12px 0 0;
  max-width: 720px;
}

.fan-inner-body {
  padding: 48px 0 72px;
  background: var(--fan-papel);
}

.fan-card-list {
  display: grid;
  gap: 16px;
}

.fan-card {
  background: #fff;
  border: 1px solid var(--fan-linea);
  border-radius: 4px;
  padding: 22px;
}

.fan-card h3 {
  font-family: var(--fan-font-serif);
  color: var(--fan-verde-prof);
  margin: 0 0 8px;
  font-size: 20px;
}

.fan-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.fan-filters span,
.fan-filters a {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--fan-linea);
  border-radius: 20px;
  color: var(--fan-gris);
  text-decoration: none;
  background: #fff;
}

.fan-filters .is-on {
  background: var(--fan-verde-prof);
  color: #fff;
  border-color: var(--fan-verde-prof);
}

/* ----- Story veil (legacy; images stay clean) ----- */
.fan-story-veil {
  display: none;
}

/* ----- Motion: hover + scroll reveal (mejora sobre el mockup estático) ----- */
@media (prefers-reduced-motion: no-preference) {
  .fan-pilar {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  }

  .fan-pilar:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(17, 51, 28, 0.08);
  }

  .fan-plat {
    transition: background 0.3s ease;
  }

  .fan-plat:hover {
    background: #154028;
  }

  .fan-plat .fan-go {
    transition: gap 0.25s ease, letter-spacing 0.25s ease;
  }

  .fan-plat:hover .fan-go {
    gap: 10px;
  }

  .fan-story-media img {
    transition: transform 0.7s ease;
  }

  .fan-story:hover .fan-story-media img {
    transform: scale(1.02);
  }

  .fan-logo-row div {
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  }

  .fan-logo-row:hover div {
    opacity: 0.85;
    filter: grayscale(0.4);
  }

  .fan-logo-row div:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-2px);
  }

  [data-fan-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  [data-fan-reveal].is-inview {
    opacity: 1;
    transform: none;
  }

  [data-fan-reveal="hero"] {
    opacity: 1;
    transform: none;
  }

  .fan-hero--v2.is-inview .fan-hero-left > *,
  .fan-hero--v2.is-inview .fan-hero-stat {
    opacity: 0;
    transform: translateY(22px);
    animation: fanHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--fan-stagger, 0) * 90ms + 120ms);
  }
  .fan-hero--v2.is-inview .fan-hero-kicker { --fan-stagger: 0; }
  .fan-hero--v2.is-inview h1 { --fan-stagger: 1; }
  .fan-hero--v2.is-inview .fan-lead { --fan-stagger: 2; }
  .fan-hero--v2.is-inview .fan-hero-ctas { --fan-stagger: 3; }
  .fan-hero--v2.is-inview .fan-hero-callout { --fan-stagger: 4; }

  @keyframes fanHeroFadeUp {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .fan-btn-primary,
  .fan-btn-ghost,
  .fan-hero--v2 .fan-btn-primary,
  .fan-hero--v2 .fan-btn-ghost {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  }
  .fan-btn-primary:hover,
  .fan-btn-ghost:hover,
  .fan-hero--v2 .fan-btn-primary:hover,
  .fan-hero--v2 .fan-btn-ghost:hover {
    transform: translateY(-2px);
  }

  .fan-pilar,
  .fan-plat,
  .fan-plat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.35s ease, background 0.3s ease;
    transition-delay: calc(var(--fan-stagger, 0) * 80ms);
  }

  .is-inview .fan-pilar,
  .is-inview .fan-plat,
  .is-inview .fan-plat-card {
    opacity: 1;
    transform: none;
  }

  .fan-hero-photo img {
    transition: transform 1.2s ease-out;
    will-change: transform;
  }
}

@media (max-width: 959px) {
  .fan-hero-pager {
    gap: 16px;
    flex-wrap: wrap;
  }
  .fan-hero-pager-line {
    min-width: 24px;
    max-width: 48px;
  }
  .fan-hero-right {
    max-width: none;
    margin-left: 0;
  }
  .fan-hero-stat {
    padding: 20px 16px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-fan-reveal],
  .fan-pilar,
  .fan-plat,
  .fan-plat-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .fan-hero--v2.is-inview .fan-hero-left > *,
  .fan-hero--v2.is-inview .fan-hero-stat {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Elementor: no interferir con el HTML del design system */
.fan-el-section.e-con,
.fan-el-html-section.e-con,
.fan-el-section > .e-con-inner,
.fan-el-html-section > .e-con-inner {
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  --margin-top: 0px !important;
  --margin-bottom: 0px !important;
  max-width: none !important;
}

.elementor-widget-html .fan-hero,
.elementor-widget-fan_hero .fan-hero,
.elementor-widget-html .fan-historia,
.elementor-widget-fan_historia .fan-historia,
.elementor-widget-html .fan-stats,
.elementor-widget-fan_stats .fan-stats,
.elementor-widget-html .fan-programas,
.elementor-widget-fan_programas .fan-programas,
.elementor-widget-html .fan-pilares,
.elementor-widget-fan_pilares .fan-pilares,
.elementor-widget-html .fan-plataformas,
.elementor-widget-fan_plataformas .fan-plataformas,
.elementor-widget-html .fan-consola,
.elementor-widget-fan_consola .fan-consola,
.elementor-widget-html .fan-destacadas,
.elementor-widget-fan_destacadas .fan-destacadas,
.elementor-widget-html .fan-editorial,
.elementor-widget-fan_editorial .fan-editorial,
.elementor-widget-html .fan-historias,
.elementor-widget-fan_historias .fan-historias,
.elementor-widget-html .fan-noticias,
.elementor-widget-fan_noticias .fan-noticias,
.elementor-widget-html .fan-aliados,
.elementor-widget-fan_aliados .fan-aliados,
.elementor-widget-html .fan-cta-final,
.elementor-widget-fan_cta_final .fan-cta-final {
  width: 100%;
}

.elementor-widget-html .fan-programas-track,
.elementor-widget-fan_programas .fan-programas-track,
.elementor-widget-html .fan-plat-cards,
.elementor-widget-fan_plataformas .fan-plat-cards,
.elementor-widget-html .fan-coverflow-stage,
.elementor-widget-fan_destacadas .fan-coverflow-stage,
.elementor-widget-html .fan-editorial-track,
.elementor-widget-fan_editorial .fan-editorial-track,
.elementor-widget-html .fan-pilar-grid,
.elementor-widget-fan_pilares .fan-pilar-grid,
.elementor-widget-html .fan-plat-grid,
.elementor-widget-fan_plataformas .fan-plat-grid,
.elementor-widget-html .fan-two-col,
.elementor-widget-fan_noticias .fan-two-col,
.elementor-widget-html .fan-story,
.elementor-widget-fan_historias .fan-story,
.elementor-widget-html .fan-stats-grid,
.elementor-widget-fan_stats .fan-stats-grid {
  /* No pisar display: flex/grid del design system; solo asegurar ancho */
  width: 100%;
}
/* ===== Hero v2 + header overlay (mockup FAN) ===== */

:root {
  --fan-chrome-top: 0px;
}
.admin-bar {
  --fan-chrome-top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar {
    --fan-chrome-top: 46px;
  }
}

/* Chrome fijo: header directo, debajo del admin bar WP */
.fan-site-chrome {
  position: fixed;
  top: var(--fan-chrome-top);
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}
.fan-site-chrome .fan-site-header {
  pointer-events: auto;
}

.fan-demo-banner {
  display: none !important;
}

.fan-site-header--overlay {
  position: fixed;
  top: var(--fan-chrome-top);
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(17, 51, 28, 0.55) 0%, rgba(17, 51, 28, 0) 100%);
  transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}
/* Dentro del chrome: el chrome ya es fixed; el header fluye debajo del banner */
.fan-site-chrome .fan-site-header--overlay {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 1;
  width: 100%;
}
.fan-site-header--overlay.is-scrolled {
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}
.fan-site-header--overlay .fan-top-bar { display: none; }

.fan-menu .fan-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.fan-menu .fan-menu-list > li {
  margin: 0;
  padding: 0;
}
/* Elementor kit CSS (.menu-item { background: white; border-radius… }) pinta pastillas blancas
   sobre el header oscuro y deja el texto invisible. Neutralizar solo dentro de .fan-menu. */
.fan-menu .menu-item {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: inherit !important;
  color: inherit !important;
  cursor: default;
}
.fan-menu .menu-item:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: inherit !important;
}
.fan-menu .menu-item > a {
  background: transparent !important;
  background-color: transparent !important;
}
@media (min-width: 960px) {
  .fan-menu .fan-menu-list {
    flex-direction: row;
    align-items: center;
    gap: var(--fan-menu-gap, 22px);
    width: auto;
  }
  /* Misma caja en todos los ítems top-level (evita que Recursos/hijos queden más altos). */
  .fan-menu .fan-menu-list > li {
    display: flex;
    align-items: center;
    align-self: center;
}
}
.fan-menu .fan-menu-list > li > a {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}
.fan-menu .fan-menu-list > li > a:hover { opacity: 1; color: var(--fan-dorado) !important; }
.fan-menu .fan-menu-list > .current-menu-item > a,
.fan-menu .fan-menu-list > .current_page_item > a,
.fan-menu .fan-menu-list > .current-menu-ancestor > a,
.fan-menu .fan-menu-list > .current-page-ancestor > a {
  opacity: 1;
  color: var(--fan-dorado) !important;
  border-bottom-color: var(--fan-dorado);
}

/* Desplegables (Quiénes / Qué hacemos / Recursos) ---------------- */
.fan-menu .fan-menu-list > .menu-item-has-children {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
}
.fan-menu .fan-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.fan-menu .fan-submenu-toggle span {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.2s ease;
  opacity: 0.85;
}
.fan-menu .menu-item-has-children.is-submenu-open > .fan-submenu-toggle span,
.fan-menu .menu-item-has-children:focus-within > .fan-submenu-toggle span {
  transform: rotate(225deg) translate(-1px, -1px);
}
.fan-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.fan-menu .menu-item-has-children.is-submenu-open > .sub-menu {
  display: flex;
}
.fan-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0.88;
  border-bottom: 0 !important;
}

@media (min-width: 960px) {
  .fan-menu .fan-menu-list > .menu-item-has-children {
    flex-wrap: nowrap;
  }
  .fan-menu .fan-submenu-toggle {
    display: none !important; /* desktop: hover/focus */
  }
  .fan-menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    width: max-content;
    max-width: min(340px, 80vw);
    padding: 10px 0;
    background: #fff;
    border: 1px solid rgba(17, 51, 28, 0.08);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(17, 51, 28, 0.14);
    z-index: 1200;
  }
  .fan-menu .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }
  .fan-menu .menu-item-has-children:hover > .sub-menu,
  .fan-menu .menu-item-has-children:focus-within > .sub-menu,
  .fan-menu .menu-item-has-children.is-submenu-open > .sub-menu {
    display: flex;
  }
  .fan-menu .fan-menu-list .sub-menu a {
    color: var(--fan-verde-prof, #11331c) !important;
    opacity: 1;
    white-space: normal;
    line-height: 1.35;
    font-weight: 500 !important;
    font-size: 13.5px !important;
    letter-spacing: normal !important;
    display: block;
    padding: 10px 16px;
    border-bottom: 0 !important;
  }
  .fan-menu .fan-menu-list .sub-menu a:hover,
  .fan-menu .fan-menu-list .sub-menu .current-menu-item > a {
    color: var(--fan-verde, #1e5631) !important;
    background: rgba(30, 86, 49, 0.06);
  }
}
/* Solo ítems de primer nivel: el blanco no debe pisar el dropdown (fondo claro). */
.fan-site-header--overlay .fan-menu .fan-menu-list > li > a,
.fan-site-header--overlay.is-scrolled .fan-menu .fan-menu-list > li > a {
  color: #fff !important;
  font-size: var(--fan-menu-size, 14px) !important;
  font-weight: var(--fan-menu-weight, 600) !important;
  letter-spacing: var(--fan-menu-tracking, 0.4px) !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
.fan-site-header--overlay .fan-menu .fan-menu-list > li > a:hover,
.fan-site-header--overlay.is-scrolled .fan-menu .fan-menu-list > li > a:hover {
  color: var(--fan-dorado) !important;
}
.fan-site-header--overlay .fan-menu .fan-menu-list .sub-menu a,
.fan-site-header--overlay.is-scrolled .fan-menu .fan-menu-list .sub-menu a {
  color: var(--fan-verde-prof, #11331c) !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  letter-spacing: normal !important;
  line-height: 1.35 !important;
}
.fan-site-header--overlay .fan-menu .fan-menu-list .sub-menu a:hover,
.fan-site-header--overlay.is-scrolled .fan-menu .fan-menu-list .sub-menu a:hover,
.fan-site-header--overlay .fan-menu .fan-menu-list .sub-menu .current-menu-item > a,
.fan-site-header--overlay.is-scrolled .fan-menu .fan-menu-list .sub-menu .current-menu-item > a {
  color: var(--fan-verde, #1e5631) !important;
}

.fan-lang a {
  color: inherit;
  text-decoration: none;
  opacity: 0.55;
}
.fan-lang a:hover { opacity: 1; color: var(--fan-dorado); }
.fan-site-header--overlay.is-scrolled .fan-lang a { color: #fff; }

.fan-site-header--overlay.is-scrolled .fan-nav-search {
  color: var(--fan-verde-prof);
  background: var(--fan-dorado);
}
.fan-site-header--overlay.is-scrolled .fan-menu-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.fan-search-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 24px 40px;
  background: rgba(8, 24, 14, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.fan-search-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.fan-search-panel[hidden] { display: flex; }
.fan-search-panel-inner {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px 32px;
  box-shadow: 0 24px 64px rgba(17, 51, 28, 0.18);
  transform: translateY(-12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.fan-search-panel.is-open .fan-search-panel-inner {
  transform: translateY(0);
}
.fan-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border: none;
  background: transparent;
  color: var(--fan-grafito);
  cursor: pointer;
  border-radius: 50%;
}
.fan-search-close:hover { background: var(--fan-papel); }
.fan-search-panel .search-form {
  display: flex;
  gap: 12px;
  align-items: center;
}
.fan-search-panel .search-field,
.fan-search-panel input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--fan-linea);
  border-radius: 4px;
  font-family: var(--fan-font-sans);
  font-size: 16px;
}
.fan-search-panel .search-submit,
.fan-search-panel input[type="submit"] {
  padding: 14px 22px;
  border: none;
  border-radius: 4px;
  background: var(--fan-verde);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--fan-font-sans);
}
.fan-search-panel .search-submit:hover {
  background: var(--fan-verde-prof);
}

.fan-lang {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.fan-lang span { opacity: 0.55; }
.fan-lang span.is-active {
  opacity: 1;
  color: var(--fan-dorado);
  border-bottom: 1px solid var(--fan-dorado);
}
.fan-lang .fan-lang-soon {
  opacity: 0.55;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

.fan-nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--fan-dorado);
  color: var(--fan-verde-prof);
  cursor: pointer;
  opacity: 1;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.fan-nav-search svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.fan-nav-search:hover {
  opacity: 1;
  color: #fff;
  background: var(--fan-verde);
  transform: translateY(-1px);
}
.fan-nav-search:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Header overlay = sticky: misma tipografía y posición del menú */
.fan-site-header--overlay {
  --fan-nav-pad-y: 14px;
  --fan-nav-pad-x: 24px;
  --fan-menu-size: 14px;
  --fan-menu-gap: 22px;
  --fan-menu-weight: 600;
  --fan-menu-tracking: 0.4px;
  --fan-nav-actions-gap: 28px;
}
@media (min-width: 960px) {
  .fan-site-header--overlay {
    --fan-nav-pad-y: 16px;
    --fan-nav-pad-x: 40px;
  }
}
.fan-site-header--overlay .fan-nav-main,
.fan-site-header--overlay.is-scrolled .fan-nav-main {
  padding: var(--fan-nav-pad-y) var(--fan-nav-pad-x) !important;
  align-items: center;
  gap: 20px;
}
@media (min-width: 960px) {
  .fan-site-header--overlay .fan-nav-main,
  .fan-site-header--overlay.is-scrolled .fan-nav-main {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .fan-site-header--overlay .fan-menu,
  .fan-site-header--overlay.is-scrolled .fan-menu {
    margin-left: auto;
    margin-right: var(--fan-nav-actions-gap);
  }
  .fan-site-header--overlay .fan-nav-actions,
  .fan-site-header--overlay.is-scrolled .fan-nav-actions {
    margin-left: 0;
    flex-shrink: 0;
  }
}
.fan-site-header--overlay .fan-menu,
.fan-site-header--overlay.is-scrolled .fan-menu {
  font-size: var(--fan-menu-size);
  font-weight: var(--fan-menu-weight);
  letter-spacing: var(--fan-menu-tracking);
  text-transform: none;
  gap: var(--fan-menu-gap);
}
.fan-site-header--overlay .fan-menu .fan-menu-list,
.fan-site-header--overlay.is-scrolled .fan-menu .fan-menu-list {
  gap: var(--fan-menu-gap);
}
.fan-site-header--overlay .fan-cta-donate {
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  border-radius: 4px;
}
.fan-site-header--overlay .fan-logo-sub {
  text-transform: none;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.8);
  max-width: 170px;
  line-height: 1.25;
}

.fan-hero--v2 {
  min-height: 92vh;
  align-items: stretch;
  padding-top: 88px;
}
@media (min-width: 768px) {
  .fan-hero--v2 { min-height: 100vh; padding-top: 96px; }
}
.fan-hero--v2 .fan-hero-photo img {
  object-position: center center;
  filter: saturate(1.02) contrast(1.03);
}
.fan-hero--v2 .fan-hero-veil {
  --fan-hero-overlay: 0.55;
  background:
    linear-gradient(105deg, rgba(8, 24, 14, calc(0.72 * var(--fan-hero-overlay))) 0%, rgba(8, 24, 14, calc(0.35 * var(--fan-hero-overlay))) 42%, rgba(8, 24, 14, calc(0.2 * var(--fan-hero-overlay))) 62%, rgba(8, 24, 14, calc(0.48 * var(--fan-hero-overlay))) 100%),
    linear-gradient(180deg, rgba(8, 24, 14, calc(0.25 * var(--fan-hero-overlay))) 0%, transparent 35%, rgba(8, 24, 14, calc(0.4 * var(--fan-hero-overlay))) 100%);
  transition: opacity 0.85s ease;
}
.fan-hero--v2:has(.fan-hero-slide[data-slide="2"].is-active) .fan-hero-veil,
.fan-hero--v2[data-active-slide="2"] .fan-hero-veil {
  --fan-hero-overlay: 0.72;
}

.fan-hero-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--fan-wrap);
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  color: #fff;
  align-items: end;
}
@media (min-width: 980px) {
  .fan-hero-shell {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    padding: 40px 40px 56px;
    min-height: calc(100vh - 96px);
    align-items: stretch;
  }
}

.fan-hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.fan-hero-kicker .fan-eyebrow { color: var(--fan-dorado); margin: 0; }
.fan-hero-kicker-line {
  width: 42px;
  height: 1px;
  background: var(--fan-dorado);
}

.fan-hero h1,
.fan-hero .fan-hero-title,
.fan-hero--v2 h1,
.fan-hero--v2 .fan-hero-title {
  text-transform: none;
}

.fan-hero--v2 h1,
.fan-hero--v2 .fan-hero-title {
  font-size: clamp(36px, 6.2vw, 64px);
  max-width: 620px;
  color: #fff;
}

.fan-hero-copy {
  display: none;
}
.fan-hero-copy.is-active {
  display: block;
}
.fan-hero-copy[hidden] {
  display: none !important;
}

.fan-hero-stats.is-hidden,
.fan-hero.no-stats .fan-hero-stats {
  display: none !important;
}

/* Columna derecha: stats a la altura del título; pager fijo abajo */
@media (min-width: 980px) {
  .fan-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }
  .fan-hero-right {
    align-self: stretch;
    justify-content: center;
    min-height: 0;
    /* Espacio para el pager anclado al fondo */
    padding-bottom: 72px;
    box-sizing: border-box;
  }
  /* Compensa el kicker (“Bolivia”) para alinear con el H1 */
  .fan-hero-stats:not([hidden]):not(.is-hidden) {
    margin-top: 2.75rem;
  }
  .fan-hero-pager {
    position: absolute;
    right: 40px;
    bottom: 56px;
    width: min(400px, 36vw);
    max-width: 400px;
    margin-top: 0;
    margin-left: auto;
  }
}
.fan-hero--v2 h1 em,
.fan-hero--v2 .fan-hero-title em {
  font-style: italic;
  color: var(--fan-dorado, #B98B2A);
  font-weight: 500;
}
.fan-hero--v2 .fan-lead {
  max-width: 420px;
  color: rgba(255,255,255,0.88);
}
.fan-hero--v2 .fan-btn-primary {
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12.5px;
  padding: 14px 22px;
  border-radius: var(--fan-radius-control, 4px);
}
.fan-hero--v2 .fan-btn-ghost {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12.5px;
  padding: 14px 22px;
  border-radius: var(--fan-radius-control, 4px);
}

.fan-hero-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 36px;
  max-width: 460px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(17, 51, 28, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
}
.fan-hero-callout-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
}
.fan-hero-callout p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.9);
}

.fan-hero-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
}

/* En móvil: pager anclado al fondo del hero para no subir al ocultar stats */
@media (max-width: 979px) {
  .fan-hero--v2 .fan-hero-shell {
    padding-bottom: 96px;
  }
  .fan-hero--v2 .fan-hero-pager {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 28px;
    z-index: 3;
    max-width: 400px;
    margin-left: 0;
  }
}

.fan-hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: none;
  background: transparent;
  isolation: isolate;
}

/* Cruz central (mockup) */
.fan-hero-stats::before,
.fan-hero-stats::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background: rgba(255, 255, 255, 0.38);
}

.fan-hero-stats::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.fan-hero-stats::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.fan-hero-stat {
  position: relative;
  z-index: 0;
  padding: 28px 22px 30px;
  border: none;
  text-align: left;
}

.fan-hero-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  color: #fff;
  margin-bottom: 16px;
  background: transparent;
}

.fan-hero-stat-icon svg {
  width: 17px;
  height: 17px;
}

.fan-hero-stat-num {
  font-family: var(--fan-font-serif);
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.fan-hero-stat-label {
  margin-top: 10px;
  font-family: var(--fan-font-sans);
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: 160px;
  line-height: 1.4;
}

.fan-hero-pager {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  flex-wrap: nowrap;
  width: 100%;
}

.fan-hero-pager-arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.fan-hero-pager-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.fan-hero-pager-chevron {
  display: block;
  color: #fff !important;
  font-family: var(--fan-font-sans), Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.fan-hero-pager-btn svg {
  display: block;
  pointer-events: none;
  stroke: #fff;
  color: #fff;
}

.fan-hero-pager-btn:hover,
.fan-hero-pager-btn:focus-visible {
  border-color: #fff;
  background: transparent !important;
  outline: none;
  transform: scale(1.04);
}

.fan-hero-pager-btn:active {
  background: transparent !important;
}

/* 01 ——— 02 ——— 03 (pastillas + línea fina, mockup) */
.fan-hero-pager-dots {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 0;
  font-family: var(--fan-font-sans);
}

.fan-hero-pager-line {
  flex: 1 1 auto;
  min-width: 28px;
  max-width: 72px;
  height: 1px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.fan-hero-pager-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--fan-dorado, #B98B2A);
  transition: width 0.4s ease, background 0.25s ease;
}

.fan-hero-pager-line.is-partial::after {
  width: 58%;
}

.fan-hero-pager-line.is-complete::after {
  width: 100%;
  background: var(--fan-dorado, #B98B2A);
}

.fan-hero-pager-dot {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--fan-radius-control, 4px);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.fan-hero-pager-dot span,
.fan-hero-pager-num {
  display: block;
  line-height: 1;
  color: inherit;
}

.fan-hero-pager-dot.is-past {
  background: var(--fan-dorado, #B98B2A);
  border-color: var(--fan-dorado, #B98B2A);
  color: #fff;
}

.fan-hero-pager-dot.is-on {
  background: var(--fan-verde-prof, #11331c);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.fan-hero-pager-dot:hover {
  color: #fff;
}

.fan-hero-pager-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Hero slider layers */
.fan-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fan-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  background: #0c1c12;
  pointer-events: none;
}
.fan-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.fan-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: saturate(1.02) contrast(1.03);
}
.fan-hero-slide-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
  opacity: 0;
}
/* Slide 3: foto más clara → sombra suave (sube con el slide) para texto blanco */
.fan-hero-slide[data-slide="2"] .fan-hero-slide-shade {
  background:
    linear-gradient(105deg, rgba(8, 24, 14, 0.58) 0%, rgba(8, 24, 14, 0.24) 44%, rgba(8, 24, 14, 0.38) 100%),
    linear-gradient(180deg, rgba(8, 24, 14, 0.2) 0%, transparent 38%, rgba(8, 24, 14, 0.32) 100%);
  opacity: 1;
}
.fan-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.fan-hero-embed {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.fan-hero-embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  min-height: 100%;
  height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.fan-hero-slide-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(76, 122, 61, 0.35), transparent 55%),
    linear-gradient(135deg, #11331C 0%, #0a1a10 55%, #1E5631 100%);
}
.fan-hero-slide[data-placeholder="1"] {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(76, 122, 61, 0.35), transparent 55%),
    linear-gradient(135deg, #11331C 0%, #0a1a10 55%, #1E5631 100%);
}
.fan-hero-slide[data-placeholder="1"]::after {
  content: "Slide pendiente";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--fan-font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.fan-hero-scroll { display: none; }
@media (min-width: 1100px) {
  .fan-hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-40%);
    z-index: 3;
    color: rgba(255,255,255,0.7);
  }
  .fan-hero-scroll span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
  }
  .fan-hero-scroll em {
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.05));
    position: relative;
  }
  .fan-hero-scroll em::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    transform: translateX(-50%);
  }
}

/* Hide legacy full-width stats strip under new hero (stats live in hero) */
.fan-hero--v2 ~ .fan-stats { display: none; }

/* ----- Nuestra historia (2ª sección oficial) ----- */
.fan-historia {
  background: #F7F4EC;
  padding: 56px 0 0;
  overflow: hidden;
}
@media (min-width: 900px) {
  .fan-historia { padding: 72px 0 0; }
}

.fan-historia-top {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 28px;
  max-width: var(--fan-wrap);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .fan-historia-top {
    gap: 36px;
  }
}
@media (min-width: 900px) {
  .fan-historia-top {
    grid-template-columns: minmax(280px, 0.4fr) minmax(360px, 0.6fr);
    gap: 48px;
    align-items: center;
    padding: 0 40px;
    min-height: 420px;
  }
}

.fan-historia-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0 12px;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .fan-historia-copy {
    padding: 40px 24px 40px 0;
    min-height: 380px;
  }
}

.fan-historia-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--fan-font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fan-dorado, #B98B2A);
}

.fan-historia-copy h2 {
  margin: 0;
  font-family: var(--fan-font-serif);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 48px);
  color: var(--fan-grafito, #20231C);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.fan-historia-copy p {
  margin: 22px 0 0;
  max-width: 360px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fan-gris, #6B6F66);
}

.fan-historia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  align-self: flex-start;
  padding: 13px 28px;
  border-radius: 4px;
  background: var(--fan-verde, #1E5631);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.fan-historia-btn:hover {
  background: var(--fan-verde-prof, #11331C);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 51, 28, 0.18);
}

.fan-historia-media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 14px;
  background: #dfe5d8;
  box-shadow: 0 16px 40px rgba(17, 51, 28, 0.1);
}
@media (min-width: 900px) {
  .fan-historia-media {
    min-height: 420px;
    /* Borde suave a la derecha; la izquierda se funde con el fondo */
    border-radius: 0 16px 16px 0;
    box-shadow: 12px 16px 40px rgba(17, 51, 28, 0.08);
  }
  /* Veladura crema hacia la izquierda (mismo #F7F4EC de la sección) */
  .fan-historia-media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 28%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      #F7F4EC 0%,
      rgba(247, 244, 236, 0.85) 35%,
      transparent 100%
    );
  }
}
.fan-historia-media img,
.fan-historia-media .fan-historia-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  min-height: 220px;
}
@media (min-width: 900px) {
  .fan-historia-media img,
  .fan-historia-media .fan-historia-img {
    min-height: 420px;
    border-radius: 0 16px 16px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  }
}

/* Timeline */
.fan-historia-timeline {
  position: relative;
  max-width: var(--fan-wrap);
  margin: 36px auto 0;
  padding: 0 0 8px;
}
@media (min-width: 900px) {
  .fan-historia-timeline { margin-top: 56px; padding: 0 40px 8px; }
}

.fan-historia-timeline-scroll {
  position: relative;
  padding: 28px 24px 12px;
  overflow-x: auto;
  overflow-y: hidden;
}
.fan-historia-timeline-scroll::-webkit-scrollbar { height: 6px; }
.fan-historia-timeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(61, 92, 46, 0.35);
  border-radius: 3px;
}
.fan-historia-timeline-scroll::-webkit-scrollbar-track {
  background: transparent;
}
@media (min-width: 900px) {
  .fan-historia-timeline-scroll {
    overflow: visible;
    padding: 36px 0 16px;
  }
}

.fan-historia-rail {
  display: none;
}
@media (min-width: 768px) {
  .fan-historia-rail {
    display: block;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 42px;
    height: 2px;
    background: linear-gradient(90deg, rgba(61, 92, 46, 0.15), rgba(61, 92, 46, 0.85), rgba(61, 92, 46, 0.15));
  }
}
@media (min-width: 900px) {
  .fan-historia-rail {
    left: 0;
    right: 0;
    top: 50px;
  }
}

.fan-historia-milestones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 16px;
  min-width: max-content;
}
@media (min-width: 900px) {
  .fan-historia-milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    min-width: 0;
    width: 100%;
  }
}

.fan-historia-milestone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 168px;
  flex: 0 0 auto;
  padding-top: 8px;
  cursor: default;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 900px) {
  .fan-historia-milestone {
    width: auto;
  }
}

.fan-historia-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--fan-musgo, #4C7A3D);
  flex-shrink: 0;
  margin-bottom: 16px;
  box-shadow: 0 0 0 5px #F7F4EC;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.fan-historia-year {
  display: block;
  font-family: var(--fan-font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--fan-grafito, #20231C);
  line-height: 1.2;
  transition: color 0.25s ease;
}

.fan-historia-label {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fan-grafito, #20231C);
  max-width: 150px;
}

.fan-historia-desc {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--fan-gris, #6B6F66);
  max-width: 150px;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fan-historia-mdesc {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--fan-gris, #6B6F66);
  max-width: 150px;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.fan-historia-milestone:hover,
.fan-historia-milestone:focus-visible {
  transform: translateY(-4px);
}
.fan-historia-milestone:hover .fan-historia-dot,
.fan-historia-milestone:focus-visible .fan-historia-dot {
  transform: scale(1.35);
  background: var(--fan-dorado, #B98B2A);
  box-shadow:
    0 0 0 6px #F7F4EC,
    0 0 0 10px rgba(185, 139, 42, 0.22);
}
.fan-historia-milestone:hover .fan-historia-year,
.fan-historia-milestone:focus-visible .fan-historia-year {
  color: var(--fan-verde, #1E5631);
}
.fan-historia-milestone:hover .fan-historia-desc,
.fan-historia-milestone:focus-visible .fan-historia-desc,
.fan-historia-milestone:hover .fan-historia-mdesc,
.fan-historia-milestone:focus-visible .fan-historia-mdesc {
  opacity: 1;
  transform: translateY(-2px);
}

/* Impact band */
.fan-historia-impact {
  margin-top: 40px;
  padding: 40px 0;
  background: var(--fan-verde-prof, #11331C);
  color: #fff;
}
@media (min-width: 900px) {
  .fan-historia-impact {
    margin-top: 56px;
    padding: 52px 0;
  }
}

.fan-historia-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}
@media (min-width: 900px) {
  .fan-historia-impact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.fan-historia-impact-item {
  text-align: center;
  padding: 8px 10px;
}

.fan-historia-impact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--fan-dorado, #B98B2A);
}

.fan-historia-impact-num {
  font-family: var(--fan-font-serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.fan-historia-impact-label {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .fan-historia-milestone,
  .fan-historia-dot,
  .fan-historia-desc,
  .fan-historia-btn {
    transition: none !important;
  }
  .fan-historia-milestone:hover,
  .fan-historia-milestone:focus-visible {
    transform: none;
  }
  .fan-historia-milestone:hover .fan-historia-dot,
  .fan-historia-milestone:focus-visible .fan-historia-dot {
    transform: none;
  }
}

.fan-redisenio-main--hero-overlay {
  position: relative;
}
.fan-redisenio-main--hero-overlay > .fan-site-header--overlay {
  /* Legacy: header ya no vive dentro del main en el template home */
  position: fixed;
}

/* CoverFlow: fallback visible antes de que JS aplique layout */
.fan-coverflow-card.is-active .fan-coverflow-card-body {
  opacity: 1;
  transform: none;
}

/* ----- Elementor: preview/editor siempre visible + widgets operativos ----- */
.elementor-editor-active [data-fan-reveal],
.elementor-editor-preview [data-fan-reveal],
body.elementor-editor-preview [data-fan-reveal],
.elementor-edit-mode [data-fan-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.elementor-editor-active .fan-pilar,
.elementor-editor-active .fan-plat,
.elementor-editor-active .fan-plat-card,
.elementor-editor-preview .fan-pilar,
.elementor-editor-preview .fan-plat,
.elementor-editor-preview .fan-plat-card,
body.elementor-editor-preview .fan-plat-card {
  opacity: 1 !important;
  transform: none !important;
}

.elementor-widget[class*="elementor-widget-fan_"] {
  width: 100%;
}

.elementor-widget-fan_hero .fan-hero,
.elementor-widget-fan_historia .fan-historia,
.elementor-widget-fan_stats .fan-stats,
.elementor-widget-fan_programas .fan-programas,
.elementor-widget-fan_plataformas .fan-plataformas,
.elementor-widget-fan_destacadas .fan-destacadas,
.elementor-widget-fan_editorial .fan-editorial,
.elementor-widget-fan_historias .fan-historias,
.elementor-widget-fan_noticias .fan-noticias,
.elementor-widget-fan_news .fan-news-widget,
.elementor-widget-fan_calls .fan-calls-widget,
.elementor-widget-fan_aliados .fan-aliados,
.elementor-widget-fan_footer .fan-site-footer {
  min-height: 48px;
  width: 100%;
}

.elementor-widget-fan_footer,
.elementor-widget-fan_footer > .elementor-widget-container {
  width: 100%;
  max-width: none;
}

body.fan-redisenio.elementor-editor-preview,
body.fan-redisenio.elementor-editor-active {
  background: var(--fan-papel, #f7f4ec);
}

/* Híbrido + contenedores Elementor: preservar layout del design system */
.fan-el-full.e-con,
.fan-el-full > .e-con-inner {
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  --margin-top: 0px !important;
  --margin-bottom: 0px !important;
  max-width: none !important;
  width: 100%;
}

/* Hero v2 ya muestra stats en el rail; ocultar franja stats duplicada */
body.fan-redisenio .fan-el-full .elementor-widget-fan_stats {
  display: none !important;
}

.e-con.fan-el-hybrid,
.e-con.fan-el-hybrid > .e-con-inner {
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  gap: 0 !important;
}

.e-con.fan-el-hybrid.fan-hero--v2 {
  position: relative;
  display: flex !important;
  align-items: stretch;
  min-height: 92vh;
  min-height: 92dvh;
  padding-top: 88px;
  overflow: hidden;
  background: var(--fan-verde-prof);
}

@media (min-width: 768px) {
  .e-con.fan-el-hybrid.fan-hero--v2 {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 96px;
  }
}

.e-con.fan-el-hybrid.fan-hero--v2 > .e-con-inner {
  position: relative;
  display: block !important;
  width: 100%;
  min-height: inherit;
}

.e-con.fan-hero-stage {
  position: relative !important;
  width: 100% !important;
  min-height: inherit;
  display: block !important;
}

.e-con.fan-hero-stage > .e-con-inner {
  position: relative !important;
  display: block !important;
  width: 100%;
  min-height: inherit;
}

.e-con.fan-el-hybrid.fan-hero--v2 .elementor-widget-fan_hero_bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  z-index: 0;
  margin: 0 !important;
  pointer-events: none;
}

.e-con.fan-el-hybrid.fan-hero--v2 .elementor-widget-fan_hero_bg .elementor-widget-container {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 100%;
}

.e-con.fan-el-hybrid .fan-hero-media-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
}

.e-con.fan-el-hybrid .fan-hero-shell {
  position: relative;
  z-index: 2;
  display: grid !important;
  width: 100%;
  max-width: var(--fan-wrap);
  margin: 0 auto;
  padding: 28px 24px 40px;
  grid-template-columns: 1fr;
  gap: 36px;
  color: #fff;
  align-items: end;
}

@media (min-width: 980px) {
  .e-con.fan-el-hybrid .fan-hero-shell {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    padding: 40px 40px 56px;
    min-height: calc(100vh - 96px);
    align-items: center;
  }
}

.e-con.fan-hero-left {
  display: block !important;
}

.e-con.fan-historia-top {
  display: grid !important;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
  min-height: 0;
  width: 100%;
  max-width: var(--fan-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .e-con.fan-historia-top {
    grid-template-columns: minmax(280px, 0.4fr) minmax(360px, 0.6fr);
    gap: 48px;
    padding: 0 40px;
    min-height: 420px;
  }
}

.e-con.fan-historia-copy {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

.e-con.fan-historia-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 14px;
}

.e-con.fan-historia-media .elementor-widget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  min-height: 220px;
}
@media (min-width: 900px) {
  .e-con.fan-historia-media {
    min-height: 420px;
    border-radius: 0 16px 16px 0;
  }
  .e-con.fan-historia-media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 28%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      #F7F4EC 0%,
      rgba(247, 244, 236, 0.85) 35%,
      transparent 100%
    );
  }
  .e-con.fan-historia-media .elementor-widget-image img {
    min-height: 420px;
    border-radius: 0 16px 16px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  }
}

.e-con.fan-programas-layout {
  display: block !important;
  max-width: var(--fan-wrap);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.e-con.fan-programas-intro {
  display: none !important;
}

.e-con.fan-el-hybrid.fan-programas {
  background: #F7F4EC;
  padding: 56px 0 64px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .e-con.fan-el-hybrid.fan-programas {
    padding: 72px 0 88px;
  }
}

.e-con.fan-wrap {
  max-width: var(--fan-wrap);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .e-con.fan-wrap {
    padding: 0 40px;
  }
}

.e-con.fan-el-hybrid.fan-historia {
  background: #F4F4F2;
  padding-bottom: 64px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .e-con.fan-el-hybrid.fan-historia {
    padding-bottom: 88px;
  }
}

.e-con.fan-el-hybrid.fan-historias {
  padding: 64px 0;
  background: #ffffff;
}

@media (min-width: 900px) {
  .e-con.fan-el-hybrid.fan-historias {
    padding: 90px 0;
  }
}

.e-con.fan-el-hybrid.fan-noticias {
  background: #fff;
  padding: 64px 0;
}

@media (min-width: 900px) {
  .e-con.fan-el-hybrid.fan-noticias {
    padding: 80px 0;
  }
}

.e-con.fan-el-hybrid.fan-historia,
.e-con.fan-el-hybrid.fan-programas,
.e-con.fan-el-hybrid.fan-plataformas,
.e-con.fan-el-hybrid.fan-destacadas,
.e-con.fan-el-hybrid.fan-editorial,
.e-con.fan-el-hybrid.fan-historias,
.e-con.fan-el-hybrid.fan-aliados,
.e-con.fan-el-hybrid.fan-noticias {
  width: 100%;
  max-width: none;
}

/* Widgets nativos: reset márgenes Elementor dentro de secciones FAN */
.e-con.fan-el-hybrid .elementor-widget,
.fan-el-full .elementor-widget {
  margin-bottom: 0;
}

.e-con.fan-el-hybrid .elementor-widget-heading .elementor-heading-title {
  margin: 0;
}

.e-con.fan-historia-copy .elementor-widget-heading h2 {
  margin: 0;
  font-family: var(--fan-font-sans);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  color: #1a1a1a;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.e-con.fan-historia-copy .elementor-widget-text-editor p {
  margin: 18px 0 0;
  max-width: 380px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #6B6F66;
}

.e-con.fan-programas-intro .elementor-widget-heading h2 {
  margin: 0;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fan-verde-prof, #11331c);
  line-height: 1.2;
}

/* Botones nativos → look FAN por defecto (sin !important para que Style de Elementor gane) */
.elementor-widget-button.fan-btn-primary .elementor-button {
  background: var(--fan-dorado);
  color: var(--fan-verde-prof);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 22px;
  line-height: 1.2;
}

.elementor-widget-button.fan-btn-ghost .elementor-button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 22px;
  line-height: 1.2;
}

.elementor-widget-button.fan-historia-btn .elementor-button,
.elementor-widget-button.fan-programas-all .elementor-button,
.elementor-widget-button.fan-editorial-all .elementor-button {
  background: transparent;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

/* CTA "Nuestro trabajo": pill verde sólido, texto blanco (sin caja/borde Elementor) */
.elementor-widget-button.fan-historia-btn {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-top: 28px;
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
}
.elementor-widget-button.fan-historia-btn .elementor-widget-container,
.elementor-widget-button.fan-historia-btn .elementor-button-wrapper {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.elementor-widget-button.fan-historia-btn .elementor-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--fan-verde, #1E5631) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--fan-radius-control, 4px) !important;
  padding: 13px 26px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: none !important;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.elementor-widget-button.fan-historia-btn .elementor-button .elementor-button-text,
.elementor-widget-button.fan-historia-btn .elementor-button span {
  color: #fff !important;
}
.elementor-widget-button.fan-historia-btn .elementor-button:hover,
.elementor-widget-button.fan-historia-btn .elementor-button:focus {
  background: var(--fan-verde-prof, #11331C) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 51, 28, 0.18);
}

/* Nativos dentro del design system */
.elementor-widget-heading .fan-eyebrow {
  display: block;
}

.e-con.fan-hero-left .elementor-widget-heading h1,
.e-con.fan-hero-left .elementor-widget-heading h1 em {
  color: #fff;
  font-family: var(--fan-font-serif);
  font-size: clamp(36px, 6.2vw, 64px);
  max-width: 620px;
  line-height: 1.06;
  text-transform: none;
}

.e-con.fan-hero-left .elementor-widget-heading h1 em {
  font-style: italic;
  font-weight: 500;
}

.e-con.fan-hero-left .elementor-widget-text-editor .fan-lead,
.e-con.fan-hero-left .elementor-widget-text-editor p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
}

.e-con.fan-hero-ctas {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.elementor-widget-fan_hero_bg,
.elementor-widget-fan_hero_rail,
.elementor-widget-fan_historia_timeline,
.elementor-widget-fan_stats_grid,
.elementor-widget-fan_programas_track,
.elementor-widget-fan_plataformas_cards,
.elementor-widget-fan_destacadas_coverflow,
.elementor-widget-fan_editorial_catalog,
.elementor-widget-fan_historias_stories,
.elementor-widget-fan_aliados_strip,
.elementor-widget-fan_page_hero,
.elementor-widget-fan_mvv,
.elementor-widget-fan_transparencia,
.elementor-widget-fan_equipo,
.elementor-widget-fan_cta_banner {
  width: 100%;
}

/* ========== Quiénes somos — Hero Nuestra Historia ========== */
.fan-page-hero {
  position: relative;
  min-height: clamp(680px, 82vh, 820px);
  display: flex;
  align-items: center;
  padding: 0;
  color: #fff;
  overflow: hidden;
  background: #0a160e;
}
.fan-page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.fan-page-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.06);
  transform-origin: center center;
  will-change: transform;
  filter: saturate(0.95) contrast(1.05) brightness(0.88);
  transition: transform 9s cubic-bezier(0.22, 1, 0.36, 1);
}
.fan-page-hero.is-inview .fan-page-hero-photo,
.fan-page-hero[data-fan-reveal="hero"].is-inview .fan-page-hero-photo {
  transform: scale(1);
}
.fan-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(6, 16, 10, calc(0.78 + (0.12 * var(--fan-page-hero-overlay, 0.62)))) 0%,
      rgba(6, 16, 10, calc(0.55 + (0.1 * var(--fan-page-hero-overlay, 0.62)))) 36%,
      rgba(6, 16, 10, calc(0.32 + (0.08 * var(--fan-page-hero-overlay, 0.62)))) 68%,
      rgba(6, 16, 10, calc(0.4 + (0.08 * var(--fan-page-hero-overlay, 0.62)))) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 16, 10, 0.38) 0%,
      transparent 42%,
      rgba(6, 16, 10, 0.5) 100%
    );
}
.fan-page-hero-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--fan-wrap, 1180px);
  margin: 0 auto;
  padding: 110px 24px 88px;
  display: block;
}
@media (min-width: 768px) {
  .fan-page-hero-shell { padding: 120px 40px 96px; }
}
.fan-page-hero-copy {
  max-width: 26rem;
  text-align: left;
  color: #fff;
}
.fan-page-hero-crumb {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 14px;
}
body.fan-page-quienes .fan-page-hero .fan-page-hero-title,
.fan-page-hero .fan-page-hero-title,
.fan-page-hero h1.fan-page-hero-title {
  margin: 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif) !important;
  font-size: clamp(44px, 7vw, 72px) !important;
  font-weight: 600 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em !important;
  color: #ffffff !important;
  text-align: left !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
body.fan-page-quienes .fan-page-hero .fan-page-hero-lead,
.fan-page-hero .fan-page-hero-lead {
  margin: 22px 0 0;
  max-width: 28em;
  font-size: clamp(15px, 1.4vw, 17.5px) !important;
  font-weight: 400;
  line-height: 1.55 !important;
  color: #ffffff !important;
  text-align: left !important;
  opacity: 0.96;
}
.fan-page-hero-actions { margin-top: 32px; }
.fan-page-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 22px;
  border-radius: var(--fan-radius-control, 4px);
  background: #4a6b3a !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.fan-page-hero-cta:hover {
  background: #3d5a30 !important;
  transform: translateY(-1px);
  color: #ffffff !important;
}
.fan-page-hero-cta-label { color: #ffffff !important; }
.fan-page-hero-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  flex-shrink: 0;
}
.fan-page-hero-scroll {
  position: absolute;
  right: 28px;
  left: auto;
  bottom: 28px;
  z-index: 3;
  width: auto;
  height: auto;
  margin: 0;
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
}
.fan-page-hero-scroll-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--fan-radius-control, 4px);
  color: #fff;
  animation: fan-hero-scroll-bob 1.8s ease-in-out infinite;
}
@keyframes fan-hero-scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .fan-page-hero[data-fan-reveal="hero"] {
    opacity: 1 !important;
    transform: none !important;
  }
  .fan-page-hero .fan-page-hero-title,
  .fan-page-hero .fan-page-hero-lead,
  .fan-page-hero .fan-page-hero-actions,
  .fan-page-hero .fan-page-hero-crumb {
    opacity: 0;
    transform: translateY(22px);
  }
  .fan-page-hero.is-inview .fan-page-hero-title,
  .fan-page-hero.is-inview .fan-page-hero-lead,
  .fan-page-hero.is-inview .fan-page-hero-actions,
  .fan-page-hero.is-inview .fan-page-hero-crumb {
    animation: fanHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .fan-page-hero.is-inview .fan-page-hero-crumb { animation-delay: 80ms; }
  .fan-page-hero.is-inview .fan-page-hero-title { animation-delay: 120ms; }
  .fan-page-hero.is-inview .fan-page-hero-lead { animation-delay: 220ms; }
  .fan-page-hero.is-inview .fan-page-hero-actions { animation-delay: 340ms; }
}
@media (prefers-reduced-motion: reduce) {
  .fan-page-hero .fan-page-hero-title,
  .fan-page-hero .fan-page-hero-lead,
  .fan-page-hero .fan-page-hero-actions,
  .fan-page-hero .fan-page-hero-crumb {
    opacity: 1 !important;
    transform: none !important;
  }
  .fan-page-hero-photo { transform: none !important; transition: none !important; }
}

@media (max-width: 767px) {
  .fan-page-hero {
    min-height: clamp(560px, 86vh, 720px);
    align-items: flex-end;
  }
  .fan-page-hero-shell { padding: 100px 20px 72px; }
  body.fan-page-quienes .fan-page-hero .fan-page-hero-title,
  .fan-page-hero .fan-page-hero-title {
    font-size: clamp(40px, 11vw, 52px) !important;
  }
  .fan-page-hero-scroll { right: 18px; bottom: 18px; }
}

body.fan-page-quienes .fan-historia-media,
body.fan-page-quienes .fan-historia-img {
  border-radius: 18px;
  overflow: hidden;
}
.fan-historia-timeline-head {
  margin-bottom: 8px;
}
.fan-historia-timeline-title {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--fan-verde-prof);
  letter-spacing: -0.02em;
}
.fan-historia-milestone-media {
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dfe5d8;
  order: -2;
}
.fan-historia-milestone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fan-historia-mdesc {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #6B6F66;
}

/* MVV — Nuestra esencia (mockup) */
.fan-mvv {
  padding: 64px 0 72px;
  background: #fff;
}
@media (min-width: 900px) {
  .fan-mvv { padding: 88px 0 104px; }
}
.fan-mvv-head {
  text-align: center;
  max-width: none;
  margin: 0 auto;
}
.fan-mvv-eyebrow {
  margin: 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #1E5631;
}
.fan-mvv-rule {
  display: block;
  width: 42px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: #4A7729;
}
.fan-mvv-title {
  margin: 16px 0 0;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 16px;
  font-weight: 500;
  color: #6B6F66;
  letter-spacing: 0;
}
.fan-mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 900px) {
  .fan-mvv-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
    align-items: stretch;
  }
}
.fan-mvv-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 26px 30px;
  border-radius: 24px;
  background: var(--fan-mvv-bg, #E9F2E7);
  border: none;
  box-shadow: none;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.fan-mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(17, 51, 28, 0.1);
}
.fan-mvv-card-top {
  display: flex;
  align-items: center;
  gap: 18px;
}
.fan-mvv-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--fan-mvv-c, #2d4c2e);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--fan-mvv-c, #2d4c2e) 28%, transparent);
}
.fan-mvv-icon svg {
  width: 42px;
  height: 42px;
}
.fan-mvv-card-heading {
  min-width: 0;
  flex: 1;
}
.fan-mvv-card-title {
  margin: 0;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--fan-mvv-c, #2d4c2e);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}
.fan-mvv-card-rule {
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--fan-mvv-c, #2d4c2e);
}
.fan-mvv-card-body {
  min-width: 0;
  margin-top: 16px;
}
.fan-mvv-card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #3f4a3f;
}
.fan-mvv-bullets {
  margin: 0;
  padding: 0 0 0 1.15em;
  color: #3f4a3f;
  font-size: 15px;
  line-height: 1.75;
}
.fan-mvv-bullets li + li {
  margin-top: 2px;
}
@media (max-width: 899px) {
  .fan-mvv-icon {
    width: 76px;
    height: 76px;
  }
  .fan-mvv-icon svg {
    width: 36px;
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fan-mvv-card,
  .fan-mvv-card:hover {
    transition: none;
    transform: none;
  }
}

/* Impacto / Métricas institucionales (franja a ancho completo) */
.fan-stats--impact {
  position: relative;
  isolation: isolate;
  padding: 72px 0;
  color: #fff;
  overflow: hidden;
  background-color: var(--fan-verde-prof, #11331C);
  background-image:
    linear-gradient(180deg, rgba(12, 40, 22, 0.78) 0%, rgba(10, 32, 18, 0.86) 100%),
    var(--fan-stats-bg, none);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.fan-stats--impact::before {
  content: none;
}
.fan-stats--impact > .fan-wrap {
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .fan-stats--impact { padding: 88px 0; }
}
.fan-stats--impact .fan-stats-eyebrow {
  display: block;
  margin: 0 auto 10px;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}
.fan-stats--impact .fan-stats-rule {
  display: block;
  width: 44px;
  height: 3px;
  margin: 0 auto 44px;
  border-radius: 2px;
  background: #fff;
}
.fan-stats--impact .fan-stats-grid {
  gap: 36px 24px;
}
.fan-stats--impact .fan-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: none !important;
  padding: 0 10px !important;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--fan-stagger, 0) * 80ms);
}
.fan-stats--impact.is-inview .fan-stat {
  opacity: 1;
  transform: none;
}
.fan-stats--impact .fan-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-bottom: 14px;
  border-radius: 0;
  color: #8BC34A;
  background: transparent;
  border: none;
  box-shadow: none;
}
.fan-stats--impact .fan-stat-icon svg {
  width: 36px;
  height: 36px;
}
.fan-stats--impact .fan-num {
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: clamp(34px, 4.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.fan-stats--impact .fan-stat-title {
  margin-top: 6px;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.fan-stats--impact .fan-stat-title::after {
  content: none;
}
.fan-stats--impact .fan-label {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 17em;
  margin-left: auto;
  margin-right: auto;
}
@media (prefers-reduced-motion: reduce) {
  .fan-stats--impact .fan-stat {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Transparencia — carrusel con tarjetas Editorial (fan-pub-card) */
.fan-transparencia {
  padding: 64px 0 72px;
  background: #f7f6f2;
}
.fan-transparencia.fan-editorial {
  padding: 64px 0 72px;
}
@media (min-width: 900px) {
  .fan-transparencia,
  .fan-transparencia.fan-editorial { padding: 80px 0 96px; }
}
.fan-transparencia-head {
  max-width: 720px;
  margin: 0 auto 8px;
  text-align: center;
}
.fan-transparencia-eyebrow,
.fan-transparencia .fan-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a9084;
}
.fan-transparencia-title {
  margin: 12px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.fan-transparencia-desc {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #6B6F66;
}
.fan-doc-carousel {
  position: relative;
  display: block;
  margin-top: 28px;
  padding: 0 52px;
}
.fan-doc-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  padding: 4px 2px 20px;
  min-width: 0;
}
.fan-doc-track::-webkit-scrollbar { display: none; }
.fan-doc-slide,
.fan-pub-card--doc.fan-doc-slide {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(210px, 48vw);
  scroll-snap-align: start;
  text-align: center;
  min-height: 100%;
}
@media (min-width: 900px) {
  .fan-doc-slide,
  .fan-pub-card--doc.fan-doc-slide { width: 214px; }
}
.fan-pub-card--doc .fan-pub-card-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-align: center;
  min-height: 0;
}
/* Portada a ratio real de la imagen — sin franja blanca */
.fan-pub-card--doc .fan-pub-card-cover {
  aspect-ratio: auto;
  background: transparent;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(17, 51, 28, 0.12);
}
.fan-pub-card--doc .fan-pub-card-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
  object-position: center top;
  background: transparent;
}
.fan-pub-card--doc:hover .fan-pub-card-cover img,
.fan-pub-card--doc:focus-within .fan-pub-card-cover img {
  transform: none;
}
.fan-pub-card--doc .fan-pub-card-veil { display: none; }
.fan-pub-card--doc .fan-pub-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 6px 0;
}
.fan-pub-card--doc .fan-pub-card-body h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  min-height: calc(1.35em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-transform: none !important;
}
.fan-pub-card--doc .fan-pub-tipo { text-align: center; }
.fan-pub-excerpt {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6B6F66;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.fan-pub-cta--doc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 14px auto 0;
  padding: 0 22px;
  min-height: 42px;
  min-width: 128px;
  border-radius: var(--fan-radius-control, 4px);
  background: var(--fan-verde, #1E5631);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none !important;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: background 0.2s ease;
}
.fan-pub-card--doc:hover .fan-pub-cta--doc,
.fan-pub-card--doc:focus-within .fan-pub-cta--doc {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  background: var(--fan-verde-prof, #11331C);
}

/* Flechas: misma burbuja a ambos lados, fuera del track (no solapan cards).
   !important + mayor especificidad para ganarle al kit de Elementor, que
   pinta el botón de dorado y encoge el <svg> a ~2px (flecha invisible). */
.fan-doc-carousel .fan-doc-nav {
  position: absolute;
  top: 132px;
  z-index: 3;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(30, 86, 49, 0.22) !important;
  border-radius: var(--fan-radius-control, 4px) !important;
  background: #fff !important;
  color: var(--fan-verde, #1E5631) !important;
  box-shadow: 0 4px 16px rgba(17, 51, 28, 0.12);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.fan-doc-nav--prev { left: 0; }
.fan-doc-nav--next { right: 0; }
.fan-doc-carousel .fan-doc-nav svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
}
.fan-doc-carousel .fan-doc-nav:hover {
  background: var(--fan-verde, #1E5631) !important;
  border-color: var(--fan-verde, #1E5631) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(17, 51, 28, 0.18);
}
.fan-doc-nav:focus {
  outline: none;
}
.fan-doc-nav:focus-visible {
  outline: 2px solid var(--fan-verde, #1E5631);
  outline-offset: 3px;
}
@media (max-width: 639px) {
  .fan-doc-carousel { padding: 0; }
  .fan-doc-nav { display: none; }
}
@media (min-width: 900px) {
  .fan-doc-nav { top: 148px; }
}
.fan-doc-cover {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #1E5631;
  box-shadow: 0 8px 22px rgba(17, 51, 28, 0.12);
}
.fan-doc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fan-doc-slide-title {
  margin: 12px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a1a;
  min-height: 2.7em;
}
.fan-doc-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-width: 118px;
  padding: 9px 18px;
  border-radius: var(--fan-radius-control, 4px);
  background: var(--fan-verde, #1E5631);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
}

/* ===== Quiénes — bloque 2 columnas Nuestra Historia (PROMPT 2) ===== */
.fan-historia--quienes {
  background: #ffffff;
  padding: 56px 0 0;
  overflow: visible;
}
@media (min-width: 900px) {
  .fan-historia--quienes {
    padding: 72px 0 0;
  }
}
.fan-historia--quienes .fan-historia-top {
  align-items: start;
  gap: 32px;
}
@media (min-width: 900px) {
  .fan-historia--quienes .fan-historia-top {
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
    gap: 56px;
    align-items: center;
    min-height: 0;
  }
}
.fan-historia--quienes .fan-historia-copy {
  padding: 8px 0 0;
  min-height: 0;
  text-align: left;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .fan-historia--quienes .fan-historia-copy {
    padding: 8px 8px 8px 0;
    min-height: 0;
  }
}
.fan-historia--quienes .fan-historia-crumb {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.4;
  color: #6B6F66;
}
.fan-historia--quienes .fan-historia-crumb-home {
  color: var(--fan-musgo, #4C7A3D);
  text-decoration: none;
  font-weight: 600;
}
.fan-historia--quienes .fan-historia-crumb-home:hover {
  text-decoration: underline;
}
.fan-historia--quienes .fan-historia-crumb-current {
  color: #4a4f48;
}
.fan-historia--quienes .fan-historia-eyebrow {
  color: #9aa093;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.fan-historia--quienes .fan-historia-title,
.fan-historia--quienes .fan-historia-copy h2 {
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif) !important;
  font-size: clamp(28px, 3.6vw, 40px) !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 16em;
  text-transform: none !important;
}
.fan-historia--quienes .fan-historia-copy p,
.fan-historia--quienes .fan-historia-desc {
  margin: 18px 0 0;
  max-width: 38em;
  font-size: 15.5px;
  line-height: 1.65;
  color: #5c6358;
}
.fan-historia--quienes .fan-historia-btn {
  margin-top: 28px;
  border-radius: var(--fan-radius-control, 4px);
  padding: 13px 26px;
  background: var(--fan-verde, #1E5631);
  letter-spacing: 0.05em;
}
.fan-historia--quienes .fan-historia-media {
  min-height: 240px;
  border-radius: 20px !important;
  overflow: hidden;
  background: #dfe5d8;
  box-shadow: 0 12px 36px rgba(17, 51, 28, 0.1);
}
.fan-historia--quienes .fan-historia-media::before {
  display: none !important;
}
@media (min-width: 900px) {
  .fan-historia--quienes .fan-historia-media {
    min-height: 440px;
    border-radius: 20px !important;
    box-shadow: 0 14px 40px rgba(17, 51, 28, 0.12);
  }
}
.fan-historia--quienes .fan-historia-media img,
.fan-historia--quienes .fan-historia-media .fan-historia-img {
  border-radius: 20px !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  min-height: 240px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 900px) {
  .fan-historia--quienes .fan-historia-media img,
  .fan-historia--quienes .fan-historia-media .fan-historia-img {
    min-height: 440px;
  }
}
.fan-historia--quienes .fan-historia-media:hover img,
.fan-historia--quienes .fan-historia-media:hover .fan-historia-img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: no-preference) {
  body.fan-page-quienes [data-fan-reveal="left"] {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }
  body.fan-page-quienes [data-fan-reveal="right"] {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
  }
  body.fan-page-quienes [data-fan-reveal="left"].is-inview,
  body.fan-page-quienes [data-fan-reveal="right"].is-inview {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.fan-page-quienes [data-fan-reveal="left"],
  body.fan-page-quienes [data-fan-reveal="right"] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .fan-historia--quienes .fan-historia-top {
    display: flex;
    flex-direction: column;
  }
  .fan-historia--quienes .fan-historia-media {
    order: 2;
  }
  .fan-historia--quienes .fan-historia-copy {
    order: 1;
  }
}


/* Tipografía página Quiénes — escala del mockup */
body.fan-page-quienes .fan-historia-copy h2,
body.fan-page-quienes .fan-historia-title {
  font-size: clamp(28px, 3.6vw, 36px);
}
body.fan-page-quienes .fan-historia-copy p {
  font-size: 15.5px;
  max-width: 380px;
}
/* ===== Quiénes — Roadmap / Nuestra trayectoria (PROMPT 3) ===== */
body.fan-page-quienes .fan-historia-timeline--quienes.fan-roadmap,
body.fan-page-quienes .fan-historia-timeline--quienes {
  max-width: none;
  margin: 48px 0 0;
  padding: 56px 0 40px;
  background: #F7F4EC;
}
body.fan-page-quienes .fan-historia-timeline-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 0 24px;
}
body.fan-page-quienes .fan-historia-timeline-head .fan-eyebrow {
  color: #9aa093;
  letter-spacing: 0.16em;
}
body.fan-page-quienes .fan-historia-timeline-title {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}
body.fan-page-quienes .fan-historia-timeline-rule {
  display: block;
  width: 48px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: var(--fan-verde, #1E5631);
}
body.fan-page-quienes .fan-historia-timeline-viewport {
  position: relative;
  max-width: var(--fan-wrap, 1180px);
  margin: 0 auto;
  padding: 0 24px 8px;
}
@media (min-width: 900px) {
  body.fan-page-quienes .fan-historia-timeline-viewport { padding: 0 40px 8px; }
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-timeline-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 28px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestones {
  display: flex;
  gap: 20px;
  min-width: max-content;
  width: max-content;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 1100px) {
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestones {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-timeline-scroll {
    overflow: visible;
    scroll-snap-type: none;
  }
}

/* Cada hito: imagen | eje+punto | texto  (nunca mezclar) */
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone {
  display: grid;
  grid-template-rows: auto auto 1fr;
  grid-template-columns: 1fr;
  align-items: stretch;
  justify-items: stretch;
  width: 200px;
  flex: 0 0 auto;
  text-align: left;
  padding-top: 0;
  cursor: default;
  scroll-snap-align: start;
}
@media (min-width: 1100px) {
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone {
    width: auto;
  }
}

/* Fila 1 — solo foto */
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-media {
  grid-row: 1;
  width: 100%;
  margin: 0 0 22px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dfe5d8;
  box-shadow: 0 8px 20px rgba(17, 51, 28, 0.08);
  order: 0;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #c5d0b8, #e8ebe4);
}

/* Fila 2 — línea + punto (separado de la imagen) */
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-axis {
  grid-row: 2;
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c5cbbd;
  box-shadow: 0 0 0 5px #F7F4EC;
  margin: 0;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone.is-active .fan-historia-dot,
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone:hover .fan-historia-dot,
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone:focus-visible .fan-historia-dot {
  background: var(--fan-verde, #1E5631);
  transform: scale(1.2);
  box-shadow:
    0 0 0 5px #F7F4EC,
    0 0 0 9px rgba(30, 86, 49, 0.18);
}

/* Fila 3 — año / título / descripción debajo de la línea */
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-body {
  grid-row: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0 2px;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-year {
  color: var(--fan-verde, #1E5631);
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-label {
  max-width: none;
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-mdesc {
  max-width: none;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #5a6156;
}

/* Línea horizontal anclada a la fila del punto (separada de la imagen) */
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-rail {
  display: none !important;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-axis::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(61, 92, 46, 0.28);
  z-index: 0;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone:first-child .fan-historia-milestone-axis::before {
  left: 50%;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone:last-child .fan-historia-milestone-axis::before {
  right: 50%;
}
@media (min-width: 1100px) {
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-axis::before {
    left: -11px;
    right: -11px;
  }
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone:first-child .fan-historia-milestone-axis::before {
    left: 50%;
  }
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone:last-child .fan-historia-milestone-axis::before {
    right: 50%;
  }
}

/* Flecha del roadmap: solo Quiénes (scroll horizontal). Nunca en Home. */
.fan-historia-timeline-next {
  display: none !important;
}
body.fan-page-quienes .fan-historia-timeline-next {
  position: absolute;
  right: 4px;
  top: 28%;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #9aa093;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(17, 51, 28, 0.12);
  cursor: pointer;
  display: none !important;
  z-index: 3;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1099px) {
  body.fan-page-quienes .fan-historia-timeline-next {
    display: inline-flex !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone[data-fan-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--fan-stagger, 0) * 70ms);
  }
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone[data-fan-reveal].is-inview {
    opacity: 1;
    transform: none;
  }
}


body.fan-page-quienes .fan-mvv-eyebrow,
body.fan-page-quienes .fan-equipo-title {
  font-size: clamp(26px, 3.4vw, 34px);
}
body.fan-page-quienes .fan-equipo-head {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
body.fan-page-quienes .fan-cta-banner-title {
  font-size: clamp(20px, 2.6vw, 28px);
}

/* Equipo / Directorio */
.fan-equipo,
.fan-directorio {
  padding: 72px 0 88px;
}
.fan-equipo--spotlight,
.fan-equipo--full {
  background: #fff;
}
.fan-directorio {
  background: var(--fan-papel, #F7F4EC);
}
@media (min-width: 900px) {
  .fan-equipo,
  .fan-directorio { padding: 96px 0 110px; }
}
.fan-equipo-head {
  text-align: left;
  max-width: 720px;
  margin: 0 0 36px;
}
.fan-equipo-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.fan-equipo-head .fan-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a9084;
}
.fan-equipo--full .fan-equipo-head .fan-eyebrow,
.fan-directorio .fan-equipo-head .fan-eyebrow {
  color: var(--fan-musgo, #4C7A3D);
}
.fan-equipo-title {
  margin: 12px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331C);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.fan-equipo-lead {
  margin: 14px 0 0;
  max-width: 40em;
  color: #6B6F66;
  font-size: 15.5px;
  line-height: 1.6;
}
.fan-equipo-head--center .fan-equipo-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Spotlight Quiénes: foto amplia (equipo completo) + 3 tarjetas más angostas */
.fan-equipo-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
  align-items: stretch;
}
@media (min-width: 700px) {
  .fan-equipo-spotlight {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .fan-equipo-group { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .fan-equipo-spotlight {
    grid-template-columns: minmax(0, 2.55fr) repeat(3, minmax(0, 0.7fr));
    gap: 12px;
    align-items: stretch;
  }
  .fan-equipo-group { grid-column: auto; }
}
.fan-equipo-group {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #dfe5d8;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 10;
  align-self: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .fan-equipo-group {
    aspect-ratio: 2 / 1;
  height: 100%;
    max-height: 280px;
    align-self: stretch;
  }
}
.fan-equipo-group img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transition: transform 0.5s ease;
}
.fan-equipo-group:hover img { transform: scale(1.02); }
.fan-equipo-dept {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 14px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(17, 51, 28, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}
.fan-equipo-dept:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(17, 51, 28, 0.08);
}
.fan-equipo-dept-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--fan-verde, #1E5631);
  color: #fff;
}
.fan-equipo-dept-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fan-verde, #1E5631);
  line-height: 1.3;
}
.fan-equipo-dept-text {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fan-gris, #6B6F66);
  flex: 1;
}
.fan-equipo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--fan-verde, #1E5631);
}
.fan-equipo-cta:hover { color: var(--fan-verde-prof, #11331C); gap: 10px; }
.fan-equipo-foot {
  margin-top: 40px;
  text-align: center;
}
.fan-equipo-all {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 26px;
  border-radius: var(--fan-radius-control, 4px);
  background: var(--fan-verde, #1E5631);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}
.fan-equipo-all:hover {
  background: var(--fan-verde-prof, #11331C);
  transform: translateY(-1px);
}
.fan-equipo-all-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}
.fan-equipo-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(17, 51, 28, 0.18);
  border-radius: 4px;
  background: transparent;
  color: var(--fan-verde-prof, #11331C) !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 600;
}

/* Grilla personas (página Equipo + Directorio) */
.fan-person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.fan-person-grid--full,
.fan-person-grid--board {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .fan-person-grid--full,
  .fan-person-grid--board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .fan-person-grid--full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .fan-person-grid--board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (min-width: 1100px) {
  .fan-person-grid--full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .fan-person-grid--board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}
.fan-person {
  margin: 0;
  min-width: 0;
  height: 100%;
}
.fan-person-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(17, 51, 28, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #fff !important;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow:
    0 1px 2px rgba(17, 51, 28, 0.04),
    0 8px 24px rgba(17, 51, 28, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.fan-person-card--static { cursor: default; }
.fan-person-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 10px rgba(17, 51, 28, 0.06),
    0 18px 36px rgba(17, 51, 28, 0.12);
}
/* Retrato más alto para no cortar mentón / quijada */
.fan-person-photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  background: #e6ebe0;
  overflow: hidden;
  flex-shrink: 0;
}
.fan-person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.45s ease;
}
.fan-directorio .fan-person-photo {
  aspect-ratio: 3 / 4.15;
}
.fan-directorio .fan-person-photo img {
  object-position: center 10%;
}
.fan-person-card:hover .fan-person-photo img {
  transform: scale(1.02);
}
.fan-person-meta {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 18px 20px;
  background: #fff;
}
.fan-person-name {
  margin: 0;
  max-width: 100%;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331C);
  line-height: 1.22;
  letter-spacing: -0.01em;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
.fan-person-name .fan-person-surname {
  display: block;
}
.fan-person-role {
  margin: 8px 0 0;
  max-width: 100%;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: #5a6156;
  line-height: 1.45;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word;
  word-break: break-word;
}
.fan-person-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fan-dorado, #B98B2A);
}

/* Modal biografía */
.fan-person-dialog {
  border: none;
  padding: 0;
  max-width: min(820px, calc(100vw - 32px));
  width: 100%;
  background: transparent;
}
.fan-person-dialog::backdrop {
  background: rgba(8, 24, 14, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.fan-person-dialog-inner {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 24px 64px rgba(17, 51, 28, 0.22);
}
.fan-person-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--fan-verde-prof, #11331C);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  line-height: 1;
}
.fan-person-dialog-close-x {
  display: block;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  transform: translateY(-1px);
}
.fan-person-dialog-close:hover {
  background: #0a2414;
  color: #fff;
}
.fan-person-dialog-close:hover .fan-person-dialog-close-x {
  color: #fff;
}
.fan-person-dialog-close:focus-visible {
  outline: 2px solid var(--fan-dorado, #B98B2A);
  outline-offset: 2px;
}
.fan-person-dialog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) {
  .fan-person-dialog-grid {
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
  }
}
.fan-person-dialog-photo {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e6ebe0;
  aspect-ratio: 3 / 4;
}
.fan-person-dialog-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.elementor-widget-fan_equipo .fan-person-name,
.elementor-widget-fan_directorio .fan-person-name,
.elementor-widget-fan_equipo .fan-person-role,
.elementor-widget-fan_directorio .fan-person-role {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100%;
}
.fan-person-dialog-name {
  margin: 0 36px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--fan-verde-prof, #11331C);
  line-height: 1.2;
}
.fan-person-dialog-role {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--fan-dorado, #B98B2A);
}
.fan-person-dialog-bio {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4a4f46;
  text-align: justify;
}
@media (prefers-reduced-motion: reduce) {
  .fan-person-card,
  .fan-person-photo img,
  .fan-equipo-dept,
  .fan-equipo-group img,
  .fan-equipo-all {
    transition: none;
  }
  .fan-person-card:hover,
  .fan-equipo-dept:hover,
  .fan-equipo-all:hover { transform: none; }
}

/* Página Equipo — jerarquía mockup */
.fan-equipo--org {
  background: #fff;
  padding: 48px 0 72px;
}
.fan-equipo--org .fan-person-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}
.fan-equipo--org .fan-person-photo img {
  object-fit: cover;
  object-position: center 18%;
}
.fan-org-president {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: center;
  margin: 0 auto 48px;
  padding: 24px 28px;
  border-radius: 18px;
  background: #f4f6f2;
  border: 1px solid rgba(17, 51, 28, 0.06);
  max-width: 920px;
}
.fan-org-president-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 280px;
  width: 100%;
  background: #dfe6d8;
  justify-self: center;
}
.fan-org-president-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.fan-org-president-copy .fan-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--fan-musgo, #4C7A3D);
}
.fan-org-president-name {
  margin: 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331C);
  line-height: 1.15;
}
.fan-org-president-role {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--fan-dorado, #B98B2A);
}
.fan-org-president-bio {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5a6058;
  max-width: 38em;
}
.fan-org-president-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: var(--fan-radius-control, 4px);
  padding: 11px 16px;
  background: var(--fan-musgo, #4C7A3D);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.fan-org-president-cta:hover {
  background: var(--fan-verde-prof, #11331C);
}
.fan-org-block-head {
  text-align: center;
  margin: 0 0 22px;
}
.fan-org-block-head .fan-eyebrow {
  display: inline-block;
  color: var(--fan-musgo, #4C7A3D);
}
.fan-org-exec {
  margin: 0 auto 56px;
}
.fan-org-exec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 22px;
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
}
.fan-org-areas {
  display: none;
}

/* Resto del equipo: misma proporción de tarjeta que dirección/consejo */
.fan-org-staff {
  margin: 0 0 64px;
}
.fan-org-staff-grid,
.fan-org-staff-grid.fan-person-grid,
.fan-org-staff-grid.fan-person-grid--full {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 900px) {
  .fan-org-staff-grid,
  .fan-org-staff-grid.fan-person-grid--full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (min-width: 1100px) {
  .fan-org-staff-grid,
  .fan-org-staff-grid.fan-person-grid--full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.fan-org-staff-grid .fan-person-meta,
.fan-org-exec-grid .fan-person-meta,
.fan-org-council-grid .fan-person-meta {
  padding: 16px 16px 18px;
}
.fan-org-staff-grid .fan-person-name,
.fan-org-exec-grid .fan-person-name,
.fan-org-council-grid .fan-person-name {
  font-size: clamp(14px, 1.1vw, 16px);
}
.fan-org-staff-grid .fan-person-role,
.fan-org-exec-grid .fan-person-role,
.fan-org-council-grid .fan-person-role {
  font-size: 12.5px;
  -webkit-line-clamp: 3;
}

/* Consejo: mismo tamaño de tarjeta que dirección */
.fan-org-council {
  margin: 0 auto 56px;
  padding: 0;
  max-width: none;
  border-top: none;
}
.fan-org-council .fan-org-block-head {
  margin-bottom: 22px;
  text-align: center;
}
.fan-org-council-grid,
.fan-org-council-grid.fan-person-grid,
.fan-org-council-grid.fan-person-grid--board {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  justify-content: center;
  justify-items: stretch;
  gap: 22px !important;
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
}
@media (max-width: 900px) {
  .fan-org-president {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .fan-org-president-photo { max-width: 220px; margin: 0 auto; }
  .fan-org-president-bio { margin-left: auto; margin-right: auto; }
  .fan-org-council-grid,
  .fan-org-council-grid.fan-person-grid--board,
  .fan-org-exec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    max-width: 640px;
  }
}
@media (max-width: 560px) {
  .fan-org-president-photo { max-width: 200px; }
  .fan-org-council-grid,
  .fan-org-council-grid.fan-person-grid--board,
  .fan-org-exec-grid,
  .fan-org-staff-grid,
  .fan-org-staff-grid.fan-person-grid--full {
    grid-template-columns: minmax(0, 280px) !important;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 1000px) {
  .fan-org-council-grid,
  .fan-org-council-grid.fan-person-grid,
  .fan-org-council-grid.fan-person-grid--board,
  .fan-org-exec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    max-width: var(--fan-wrap, 1180px);
    gap: 18px !important;
  }
}
@media (min-width: 1100px) {
  .fan-org-council-grid,
  .fan-org-council-grid.fan-person-grid,
  .fan-org-council-grid.fan-person-grid--board,
  .fan-org-exec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    max-width: 1100px;
    align-items: stretch;
  }
}


/* CTA banner institucional */
.fan-cta-banner {
  padding: 28px 0 56px;
  background: transparent;
  color: #fff;
}
@media (min-width: 900px) {
  .fan-cta-banner { padding: 40px 0 72px; }
}
.fan-cta-banner-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background: var(--fan-verde, #1E5631);
  min-height: 140px;
  box-shadow: 0 16px 40px rgba(17, 51, 28, 0.16);
}
.fan-cta-banner-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    var(--fan-cta-banner-bg, none) center / cover no-repeat;
  opacity: var(--fan-cta-photo-op, 1);
  pointer-events: none;
}
/* Velo mínimo solo a la izquierda para legibilidad — sin tinte verde */
.fan-cta-banner-texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.06) 32%, transparent 58%);
  opacity: var(--fan-cta-scrim-op, 1);
  pointer-events: none;
}
.fan-cta-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 36px 28px;
}
@media (min-width: 768px) {
  .fan-cta-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 44px 48px;
  }
}
.fan-cta-banner-title {
  margin: 0;
  max-width: 22em;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}
body.fan-page-quienes .fan-cta-banner-title,
.elementor-widget-fan_cta_banner .fan-cta-banner-title {
  color: #ffffff !important;
}
.fan-cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 15px 26px;
  border-radius: var(--fan-radius-control, 4px);
  background: #2d6a3e;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.fan-cta-banner-btn:hover {
  background: #174526;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}
.fan-cta-banner-btn-arrow {
  font-size: 1.1em;
  line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
  .fan-cta-banner-btn,
  .fan-cta-banner-btn:hover {
    transition: none;
    transform: none;
  }
}

body.fan-page-quienes .fan-redisenio-main,
body.fan-page-equipo .fan-redisenio-main {
  padding-top: 0;
}
/* Mismo chrome sticky fixed que Home (no absolute) */
body.fan-page-quienes .fan-site-chrome,
body.fan-page-equipo .fan-site-chrome {
  position: fixed;
  top: var(--fan-chrome-top);
  left: 0;
  right: 0;
  z-index: 1000;
}


/* ========== Qué hacemos ========== */
body.fan-page-que-hacemos .fan-redisenio-main { padding-top: 0; }
body.fan-page-que-hacemos .fan-site-chrome {
  position: fixed;
  top: var(--fan-chrome-top);
  left: 0;
  right: 0;
  z-index: 1000;
}
body.fan-page-que-hacemos .fan-page-hero,
.fan-page-hero--que-hacemos {
  min-height: clamp(700px, 82vh, 860px);
}
/* Foto de campo: sujetos a la izquierda — overlay más fuerte a la izquierda + foco en el equipo */
body.fan-page-que-hacemos .fan-page-hero-photo,
.fan-page-hero--que-hacemos .fan-page-hero-photo {
  object-position: 28% 42%;
  filter: saturate(1.02) contrast(1.04) brightness(0.82);
}
body.fan-page-que-hacemos .fan-page-hero-overlay,
.fan-page-hero--que-hacemos .fan-page-hero-overlay {
  background:
    linear-gradient(
      105deg,
      rgba(6, 16, 10, 0.82) 0%,
      rgba(6, 16, 10, 0.62) 34%,
      rgba(6, 16, 10, 0.28) 62%,
      rgba(6, 16, 10, 0.36) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 16, 10, 0.42) 0%,
      transparent 40%,
      rgba(6, 16, 10, 0.55) 100%
    );
}
body.fan-page-que-hacemos .fan-page-hero-shell,
.fan-page-hero--que-hacemos .fan-page-hero-shell {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
body.fan-page-que-hacemos .fan-page-hero-copy,
.fan-page-hero--que-hacemos .fan-page-hero-copy {
  max-width: min(36rem, 100%);
  margin: 0;
  text-align: left !important;
}
body.fan-page-que-hacemos .fan-page-hero-title,
body.fan-page-que-hacemos .fan-page-hero .fan-page-hero-title,
.fan-page-hero--que-hacemos .fan-page-hero-title,
body.fan-page-que-hacemos .fan-page-hero-lead,
.fan-page-hero--que-hacemos .fan-page-hero-lead {
  text-align: left !important;
}
body.fan-page-que-hacemos .fan-page-hero-lead,
.fan-page-hero--que-hacemos .fan-page-hero-lead {
  max-width: 34em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}
body.fan-page-que-hacemos .fan-page-hero-cta,
.fan-page-hero--que-hacemos .fan-page-hero-cta {
  background: var(--fan-musgo, #4C7A3D) !important;
}
body.fan-page-que-hacemos .fan-page-hero-cta:hover,
.fan-page-hero--que-hacemos .fan-page-hero-cta:hover {
  background: var(--fan-verde, #1E5631) !important;
}

.fan-areas {
  padding: 72px 0 80px;
  background: #fff;
}
.fan-areas-head { text-align: center; margin-bottom: 36px; }
.fan-areas-title {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331c);
  letter-spacing: -0.02em;
}
.fan-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.fan-areas-card {
  position: relative;
  min-height: 440px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 51, 28, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  scroll-margin-top: 100px;
}
.fan-areas-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(17, 51, 28, 0.18);
}
.fan-areas-card:target {
  outline: 2px solid var(--fan-dorado, #B98B2A);
  outline-offset: 3px;
}
.fan-areas-media,
.fan-areas-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fan-areas-media img {
  object-fit: cover;
  transition: transform 0.55s ease;
}
.fan-areas-card:hover .fan-areas-media img { transform: scale(1.06); }
.fan-areas-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,16,10,0.12) 15%, rgba(6,16,10,0.72) 58%, rgba(6,16,10,0.94) 100%);
}
.fan-areas-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 26px 22px 22px;
  color: #fff;
}
.fan-areas-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.fan-areas-icon svg {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 1.9;
}
.fan-areas-card-title {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.fan-areas-card-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.fan-areas-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--fan-radius-control, 4px);
  background: var(--fan-musgo, #4C7A3D);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 1100px) {
  .fan-areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .fan-areas-grid { grid-template-columns: 1fr; }
  .fan-areas-card { min-height: 360px; }
  body.fan-page-que-hacemos .fan-page-hero-photo,
  .fan-page-hero--que-hacemos .fan-page-hero-photo {
    object-position: 35% 40%;
  }
}

.fan-proceso {
  padding: 72px 0 84px;
  background: var(--fan-papel, #F7F4EC);
}
.fan-proceso-head { text-align: center; margin-bottom: 48px; }
.fan-proceso-title {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331c);
}
.fan-proceso-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}
.fan-proceso-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(76, 122, 61, 0.28);
}
.fan-proceso-step {
  text-align: left;
  position: relative;
  z-index: 1;
}
.fan-proceso-node {
  width: 72px; height: 72px;
  margin: 0 0 14px;
  border-radius: 50%;
  border: 2px solid var(--fan-musgo, #4C7A3D);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(17, 51, 28, 0.08);
}
.fan-proceso-icon { color: var(--fan-musgo, #4C7A3D); display: inline-flex; }
.fan-proceso-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--fan-verde-prof, #11331c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.fan-proceso-step-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fan-verde-prof, #11331c);
}
.fan-proceso-step-text {
  margin: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fan-gris, #6B6F66);
  text-align: left;
}
@media (max-width: 900px) {
  .fan-proceso-steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .fan-proceso-steps::before { display: none; }
}
@media (max-width: 560px) {
  .fan-proceso-steps { grid-template-columns: 1fr; }
}

.fan-acciones {
  padding: 72px 0 80px;
  background: #fff;
}
.fan-acciones-head {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 720px;
}
.fan-acciones-head .fan-eyebrow {
  display: inline-block;
}
.fan-acciones-title {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331c);
}
.fan-acciones-slider {
  position: relative;
  padding: 0 56px;
}
.fan-acciones-viewport { overflow: hidden; }
.fan-acciones-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}
.fan-acciones-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 51, 28, 0.08);
  box-shadow: 0 12px 28px rgba(17, 51, 28, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fan-acciones-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17, 51, 28, 0.14);
}
.fan-acciones-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e8efe4;
}
.fan-acciones-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.fan-acciones-card:hover .fan-acciones-media img { transform: scale(1.05); }
.fan-acciones-body { padding: 18px 18px 20px; }
.fan-acciones-cat {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fan-musgo, #4C7A3D);
}
.fan-acciones-card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fan-verde-prof, #11331c);
}
.fan-acciones-card-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fan-gris, #6B6F66);
}
.fan-acciones-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fan-musgo, #4C7A3D);
  text-decoration: none;
}
.fan-acciones-cta:hover { color: var(--fan-verde-prof, #11331c); }
/* Flechas limpias: sin burbuja dorada (kit Elementor / diseño anterior). */
.fan-acciones-nav {
  position: absolute;
  top: 120px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: var(--fan-radius-control, 4px);
  border: 1.5px solid rgba(17, 51, 28, 0.22) !important;
  background: #fff !important;
  color: var(--fan-verde-prof, #11331c) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(17, 51, 28, 0.1);
  padding: 0;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.fan-acciones-nav-icon,
.fan-acciones-nav svg.fan-acciones-nav-icon,
.fan-acciones-nav svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: none !important;
  flex-shrink: 0 !important;
}
.fan-acciones-nav-icon path,
.fan-acciones-nav svg path {
  stroke: currentColor !important;
}
.fan-acciones-nav:hover {
  background: var(--fan-verde, #1e5631) !important;
  border-color: var(--fan-verde, #1e5631) !important;
  color: #fff !important;
}
.fan-acciones-nav:focus-visible {
  outline: 2px solid var(--fan-verde-prof, #11331c);
  outline-offset: 2px;
}
.fan-acciones-prev { left: 0; }
.fan-acciones-next { right: 0; }
.fan-acciones-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.fan-acciones-dots button {
  width: 8px; height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 51, 28, 0.22);
  padding: 0;
  cursor: pointer;
}
.fan-acciones-dots button.is-on { background: var(--fan-verde-prof, #11331c); }
@media (max-width: 980px) {
  .fan-acciones-card { flex-basis: calc((100% - 20px) / 2); }
  .fan-acciones-slider { padding: 0 48px; }
}
@media (max-width: 640px) {
  .fan-acciones-card { flex-basis: 100%; }
  .fan-acciones-slider { padding: 0 44px; }
  .fan-acciones-prev { left: 0; }
  .fan-acciones-next { right: 0; }
  .fan-acciones-nav { top: 100px; width: 44px; height: 44px; }
}

.elementor-widget-fan_areas,
.elementor-widget-fan_proceso,
.elementor-widget-fan_acciones {
  width: 100%;
}

/* ========== Mapas y Datos ========== */
body.fan-page-datos .fan-redisenio-main { padding-top: 0; }
body.fan-page-datos .fan-site-chrome {
  position: fixed;
  top: var(--fan-chrome-top);
  left: 0;
  right: 0;
  z-index: 1000;
}
body.fan-page-datos .fan-page-hero {
  min-height: clamp(700px, 78vh, 800px);
}
.fan-page-hero-cta--ghost {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.7);
  box-shadow: none;
}
.fan-page-hero-cta--ghost:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: #fff;
}
.fan-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.fan-plat-catalog {
  padding: 72px 0 80px;
  background: #fff;
}
.fan-plat-catalog-head {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 720px;
}
.fan-plat-catalog-head .fan-eyebrow {
  display: inline-block;
}
.fan-plat-catalog-title {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331c);
  text-align: center;
}
.fan-plat-catalog-sub {
  margin: 12px auto 0;
  max-width: 560px;
  color: var(--fan-gris, #6B6F66);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.fan-plat-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.fan-plat-filter {
  border: 1px solid var(--fan-linea, #DAD6C7);
  background: #fff;
  color: var(--fan-gris, #6B6F66);
  border-radius: var(--fan-radius-control, 4px);
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.fan-plat-filter.is-on,
.fan-plat-filter:hover {
  background: var(--fan-verde-prof, #11331c);
  border-color: var(--fan-verde-prof, #11331c);
  color: #fff;
}
.fan-plat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.fan-plat-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17,51,28,.08);
  box-shadow: 0 12px 28px rgba(17,51,28,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fan-plat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(17,51,28,.14);
}
.fan-plat-card.is-filtered-out { display: none; }
.fan-plat-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8efe4;
}
.fan-plat-card-media > img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.fan-plat-card:hover .fan-plat-card-media > img { transform: scale(1.05); }
.fan-plat-card-logo {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(255,255,255,.94);
  border-radius: var(--fan-radius-control, 4px);
  padding: 8px 10px;
  max-width: 46%;
}
.fan-plat-card-logo img {
  display: block;
  max-height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.fan-plat-card-body { padding: 18px 18px 20px; }
.fan-plat-card-cat {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fan-musgo, #4C7A3D);
}
.fan-plat-card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fan-verde-prof, #11331c);
}
.fan-plat-card-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fan-gris, #6B6F66);
}
.fan-plat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fan-musgo, #4C7A3D);
  text-decoration: none;
}
.fan-plat-card-cta:hover { color: var(--fan-verde-prof, #11331c); }
.fan-plat-empty {
  text-align: center;
  margin-top: 24px;
  color: var(--fan-gris, #6B6F66);
}
@media (max-width: 980px) {
  .fan-plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fan-plat-grid { grid-template-columns: 1fr; }
}

.fan-plat-featured {
  padding: 72px 0 80px;
  background: var(--fan-papel, #F7F4EC);
}
.fan-plat-featured-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.fan-plat-featured-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17,51,28,.14);
  background: #dfe8da;
}
.fan-plat-featured-media img {
  display: block; width: 100%; height: auto; object-fit: cover;
}
.fan-plat-featured-title {
  margin: 10px 0 14px;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331c);
}
.fan-plat-featured-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fan-gris, #6B6F66);
}
.fan-plat-featured-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.fan-plat-featured-list li {
  position: relative;
  padding: 0 0 10px 26px;
  font-size: 14px;
  color: var(--fan-verde-prof, #11331c);
}
.fan-plat-featured-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--fan-musgo, #4C7A3D);
  box-shadow: inset 0 0 0 4px #fff;
}
.fan-plat-featured-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.fan-plat-metric {
  background: #fff;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  border: 1px solid rgba(17,51,28,.08);
}
.fan-plat-metric strong {
  display: block;
  font-size: 18px;
  color: var(--fan-verde-prof, #11331c);
}
.fan-plat-metric span {
  font-size: 11.5px;
  color: var(--fan-gris, #6B6F66);
}
.fan-plat-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--fan-radius-control, 4px);
  background: var(--fan-musgo, #4C7A3D);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .fan-plat-featured-grid { grid-template-columns: 1fr; }
  .fan-plat-featured-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.fan-beneficios {
  padding: 72px 0 80px;
  background: #fff;
}
.fan-beneficios-head {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 720px;
}
.fan-beneficios-head .fan-eyebrow {
  display: inline-block;
}
.fan-beneficios-title {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--fan-verde-prof, #11331c);
  text-align: center;
}
.fan-beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.fan-beneficios-card {
  border-radius: 16px;
  padding: 24px 22px;
  background: var(--fan-papel, #F7F4EC);
  border: 1px solid rgba(17,51,28,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fan-beneficios-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17,51,28,.1);
  background: #fff;
}
.fan-beneficios-icon {
  display: inline-flex;
  color: var(--fan-musgo, #4C7A3D);
  margin-bottom: 14px;
}
.fan-beneficios-card-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--fan-verde-prof, #11331c);
}
.fan-beneficios-card-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fan-gris, #6B6F66);
}
@media (max-width: 900px) {
  .fan-beneficios-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fan-beneficios-grid { grid-template-columns: 1fr; }
}

.elementor-widget-fan_plat_catalog,
.elementor-widget-fan_plat_featured,
.elementor-widget-fan_beneficios {
  width: 100%;
}

/* Mapas y Datos — diseño mockup */
.fan-page-hero--datos .fan-page-hero-crumb {
  color: #9ccc65;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.fan-page-hero--datos .fan-page-hero-overlay {
  background:
    linear-gradient(105deg, rgba(6, 14, 10, 0.78) 0%, rgba(6, 14, 10, 0.35) 48%, rgba(6, 14, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 14, 10, 0.2) 0%, transparent 40%, rgba(6, 14, 10, 0.45) 100%);
  opacity: 1;
}
.fan-page-hero--datos .fan-page-hero-cta:not(.fan-page-hero-cta--ghost) {
  background: #9ccc65 !important;
  color: #0d1a12 !important;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.fan-page-hero--datos .fan-page-hero-cta:not(.fan-page-hero-cta--ghost) .fan-page-hero-cta-label {
  color: #0d1a12 !important;
}
.fan-page-hero--datos .fan-page-hero-cta:not(.fan-page-hero-cta--ghost) .fan-page-hero-cta-icon {
  background: rgba(13, 26, 18, 0.14);
  color: #0d1a12;
}
.fan-page-hero--datos .fan-page-hero-cta:not(.fan-page-hero-cta--ghost):hover {
  background: #b4db7f !important;
}
.fan-page-hero--datos .fan-page-hero-cta--ghost {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.75);
}
.fan-page-hero--datos .fan-page-hero-scroll {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 24px;
}
.fan-page-hero-layout--stats {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.fan-page-hero-stats {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  display: grid;
  gap: 18px;
}
.fan-page-hero-stats li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}
.fan-page-hero-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(156, 204, 101, 0.55);
  color: #9ccc65;
  background: rgba(6, 16, 10, 0.35);
}
.fan-page-hero-stat-icon svg {
  width: 20px;
  height: 20px;
}
.fan-page-hero-stat-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.fan-page-hero-stats strong {
  color: #fff;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.05;
}
.fan-page-hero-stats .fan-page-hero-stat-copy span {
  color: #9ccc65;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .fan-page-hero-layout--stats { grid-template-columns: 1fr; }
}

.fan-historia-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(17,51,28,.08);
}
.fan-historia-highlight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.fan-historia-highlight-dot {
  width: 10px; height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--fan-musgo, #4C7A3D);
  flex: 0 0 auto;
}
.fan-historia-highlight-icon {
  display: inline-flex;
  color: var(--fan-musgo, #4C7A3D);
  flex: 0 0 auto;
  margin-top: 2px;
}
.fan-historia-highlight h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--fan-verde-prof, #11331c);
}
.fan-historia-highlight p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fan-gris, #6B6F66);
}
@media (max-width: 760px) {
  .fan-historia-highlights { grid-template-columns: 1fr; }
}

/* Mapas y Datos — intro: mismo botón verde, letras blancas, hundimiento al hover */
body.fan-page-datos .fan-historia--datos a.fan-historia-btn--ghost,
.fan-historia--datos a.fan-historia-btn--ghost {
  background: #2d6a3e !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: var(--fan-radius-control, 4px);
  box-shadow: 0 3px 0 #174526;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
body.fan-page-datos .fan-historia--datos a.fan-historia-btn--ghost:hover,
.fan-historia--datos a.fan-historia-btn--ghost:hover {
  background: #245734 !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(2px);
  box-shadow: 0 1px 0 #174526;
}
.fan-historia--datos .fan-historia-highlights--icons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 51, 28, 0.1);
}
@media (max-width: 640px) {
  .fan-historia--datos .fan-historia-highlights--icons {
    grid-template-columns: 1fr;
  }
}
.fan-historia--datos .fan-historia-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(76, 122, 61, 0.1);
}
.fan-historia--datos .fan-historia-highlight-icon svg {
  width: 22px;
  height: 22px;
}

/* Explora por categoría */
.fan-datos-cats {
  padding: 64px 0 72px;
  background: #0f1c14;
}
.fan-datos-cats-head {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 720px;
}
.fan-datos-cats-head .fan-eyebrow {
  color: #9ccc65 !important;
  display: inline-block;
}
.fan-datos-cats-title {
  margin: 10px 0 0;
  color: #fff;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(24px, 3vw, 34px);
}
.fan-datos-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.fan-datos-cat-card {
  position: relative;
  min-height: 240px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease;
}
.fan-datos-cat-card:hover {
  transform: translateY(-4px);
}
.fan-datos-cat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fan-datos-cat-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 28, 20, 0.15) 0%, rgba(15, 28, 20, 0.88) 100%);
}
.fan-datos-cat-body {
  position: relative;
  z-index: 1;
  padding: 22px 20px;
  color: #fff;
}
.fan-datos-cat-icon {
  display: inline-flex;
  color: #9ccc65;
  margin-bottom: 10px;
}
.fan-datos-cat-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.fan-datos-cat-text {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}
.fan-datos-cat-cta {
  color: #9ccc65;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.fan-datos-cat-cta:hover {
  color: #fff;
}
@media (max-width: 980px) {
  .fan-datos-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fan-datos-cats-grid { grid-template-columns: 1fr; }
}

body.fan-page-datos .fan-proceso-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
body.fan-page-datos .fan-proceso {
  background: #0f1c14;
  padding: 72px 0 80px;
}
body.fan-page-datos .fan-proceso .fan-eyebrow {
  color: #9ccc65 !important;
}
body.fan-page-datos .fan-proceso-title {
  color: #fff;
}
body.fan-page-datos .fan-proceso-step-title {
  color: #fff;
}
body.fan-page-datos .fan-proceso-step-text {
  color: rgba(255, 255, 255, 0.72);
}
body.fan-page-datos .fan-proceso-num {
  color: #9ccc65;
}
body.fan-page-datos .fan-proceso-node {
  margin-left: auto;
  margin-right: auto;
  border-color: rgba(156, 204, 101, 0.45);
  background: rgba(156, 204, 101, 0.08);
  color: #9ccc65;
}
body.fan-page-datos .fan-proceso-icon {
  color: #9ccc65;
}
body.fan-page-datos .fan-proceso-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
body.fan-page-datos .fan-proceso-steps::before {
  top: 36px;
  height: 0;
  border-top: 2px dashed rgba(156, 204, 101, 0.35);
  background: none;
}
body.fan-page-datos .fan-proceso-step {
  text-align: center;
}
@media (max-width: 1100px) {
  body.fan-page-datos .fan-proceso-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.fan-page-datos .fan-proceso-steps::before { display: none; }
}
@media (max-width: 700px) {
  body.fan-page-datos .fan-proceso-steps {
    grid-template-columns: 1fr;
  }
}

/* Hub plataformas + recursos */
.fan-datos-hub {
  padding: 72px 0 80px;
  background: #f4f6f2;
}
.fan-datos-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: start;
}
.fan-datos-hub-title {
  margin: 10px 0 22px;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--fan-verde-prof, #11331c);
}
.fan-datos-hub-platforms .fan-eyebrow,
.fan-datos-hub-resources .fan-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
}
.fan-datos-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fan-datos-logo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 128px;
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid rgba(17, 51, 28, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 24px rgba(17, 51, 28, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fan-datos-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76, 122, 61, 0.35);
  box-shadow: 0 16px 32px rgba(17, 51, 28, 0.1);
}
.fan-datos-logo-media {
  display: flex;
  align-items: center;
  min-height: 42px;
}
.fan-datos-logo-media img {
  display: block;
  max-height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.fan-datos-logo-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fan-verde-prof, #11331c);
  padding-right: 18px;
}
.fan-datos-logo-plus {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(76, 122, 61, 0.12);
  color: var(--fan-musgo, #4C7A3D);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}
.fan-datos-hub-resources {
  background: #fff;
  border: 1px solid rgba(17, 51, 28, 0.08);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 14px 30px rgba(17, 51, 28, 0.06);
}
.fan-datos-res-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  border-bottom: 1px solid rgba(17, 51, 28, 0.08);
  padding-bottom: 10px;
}
.fan-datos-res-tab {
  border: 0;
  background: transparent;
  color: var(--fan-gris, #6B6F66);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.fan-datos-res-tab:hover {
  color: var(--fan-verde-prof, #11331c);
  background: rgba(76, 122, 61, 0.08);
}
.fan-datos-res-tab.is-on {
  color: var(--fan-musgo, #4C7A3D);
  background: rgba(76, 122, 61, 0.12);
}
.fan-datos-res-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fan-datos-res-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: var(--fan-radius-control, 4px);
  background: #f7f9f5;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fan-datos-res-item:hover {
  border-color: rgba(76, 122, 61, 0.2);
  background: #f0f5eb;
}
.fan-datos-res-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fan-datos-res-file {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--fan-verde-prof, #11331c);
}
.fan-datos-res-meta {
  font-size: 12px;
  color: var(--fan-gris, #6B6F66);
}
.fan-datos-res-dl {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fan-musgo, #4C7A3D);
  background: rgba(76, 122, 61, 0.12);
  text-decoration: none;
}
.fan-datos-res-dl:hover {
  background: var(--fan-musgo, #4C7A3D);
  color: #fff;
}
.fan-datos-res-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fan-musgo, #4C7A3D);
  text-decoration: none;
}
.fan-datos-res-all:hover { color: var(--fan-verde-prof, #11331c); }
body.fan-page-datos .fan-stats--impact {
  background:
    linear-gradient(180deg, rgba(15, 28, 20, 0.92), rgba(15, 28, 20, 0.92)),
    #0f1c14;
}
body.fan-page-datos .fan-stats--impact .fan-eyebrow,
body.fan-page-datos .fan-stats--impact .fan-label {
  color: #9ccc65;
}
body.fan-page-datos .fan-stats--impact .fan-num {
  color: #fff;
}
.elementor-widget-fan_datos_categorias,
.elementor-widget-fan_datos_hub {
  width: 100%;
}
@media (max-width: 980px) {
  .fan-datos-hub-grid { grid-template-columns: 1fr; }
  .fan-datos-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .fan-datos-logo-grid { grid-template-columns: 1fr; }
}

.fan-plat-featured--panel .fan-plat-featured-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}
.fan-plat-featured--panel .fan-plat-featured-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.fan-plat-featured--panel .fan-plat-featured-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 900px) {
  .fan-plat-featured--panel .fan-plat-featured-grid {
    grid-template-columns: 1fr;
  }
}

.fan-plat-slider {
  padding: 64px 0 72px;
  background: #0d1a12;
  color: #fff;
}
.fan-plat-slider .fan-section-head,
.fan-plat-slider .fan-plat-slider-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  margin-bottom: 36px;
}
.fan-plat-slider .fan-eyebrow,
.fan-plat-slider .fan-eyebrow--light {
  display: inline-block;
}
.fan-plat-slider .fan-plat-slider-title,
.fan-plat-slider h2.fan-plat-slider-title,
.fan-plat-slider .fan-section-head h2 {
  margin: 10px 0 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(24px, 3vw, 34px);
  color: #fff !important;
  text-align: center;
}
.fan-eyebrow--light { color: #9ccc65 !important; }
.fan-plat-slider [data-fan-acciones] {
  padding: 0 56px;
  position: relative;
}
.fan-plat-slider .fan-acciones-nav {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  box-shadow: none;
  border-radius: var(--fan-radius-control, 4px);
}
.fan-plat-slider .fan-acciones-nav:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #fff !important;
  color: #fff !important;
}
.fan-plat-slider .fan-acciones-nav-icon {
  color: #fff !important;
}
.fan-plat-slider .fan-acciones-dots button { background: rgba(255,255,255,.28); }
.fan-plat-slider .fan-acciones-dots button.is-on { background: #9ccc65; }
.fan-plat-slide-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  background: #16241b;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 0 0 20px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.25);
  transition: transform .3s ease, border-color .3s ease;
}
.fan-plat-slide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(156,204,101,.45);
}
.fan-plat-slide-logo-wrap {
  width: 100%;
  height: 120px;
  flex: 0 0 120px;
  background: linear-gradient(180deg, #1c2e22 0%, #121e16 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.fan-plat-slide-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: center;
  margin: 0;
  filter: none;
}
.fan-plat-slide-media {
  width: 100%;
  height: 160px;
  flex: 0 0 160px;
  background: #0f1c14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fan-plat-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fan-plat-slide-card-body {
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}
.fan-plat-slide-cat {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9ccc65;
  margin-bottom: 8px;
}
.fan-plat-slider .fan-plat-slide-title,
.fan-plat-slider h3.fan-plat-slide-title,
.fan-plat-slide-card .fan-plat-slide-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff !important;
}
.fan-plat-slide-text {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
  flex: 1;
}
.fan-plat-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--fan-radius-control, 4px);
  background: #6f8f3d;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: fit-content;
}
@media (max-width: 1200px) {
  .fan-plat-slide-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 980px) {
  .fan-plat-slide-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .fan-plat-slide-card { flex-basis: 100%; }
}

.fan-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.fan-catalog-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17,51,28,.08);
  box-shadow: 0 12px 28px rgba(17,51,28,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fan-catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(17,51,28,.14);
}
.fan-catalog-card.is-filtered-out { display: none; }
.fan-catalog-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8efe4;
}
.fan-catalog-card-media > img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.fan-catalog-card:hover .fan-catalog-card-media > img { transform: scale(1.05); }
.fan-catalog-card-logo {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(255,255,255,.95);
  border-radius: var(--fan-radius-control, 4px);
  padding: 8px 10px;
  max-width: 48%;
}
.fan-catalog-card-logo img {
  display: block;
  max-height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.fan-catalog-card-body { padding: 18px 18px 20px; }
.fan-catalog-card-cat {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fan-musgo, #4C7A3D);
}
.fan-catalog-card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fan-verde-prof, #11331c);
}
.fan-catalog-card-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fan-gris, #6B6F66);
}
.fan-catalog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fan-musgo, #4C7A3D);
  text-decoration: none;
}
@media (max-width: 980px) {
  .fan-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fan-catalog-grid { grid-template-columns: 1fr; }
}

.fan-plat-featured--panel { background: #0f1c14; padding: 56px 0; }
.fan-plat-featured-panel {
  background: linear-gradient(135deg, #163022 0%, #0f1c14 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 36px;
}
.fan-plat-featured--panel .fan-plat-featured-title,
.fan-plat-featured--panel .fan-plat-featured-list li { color: #fff; }
.fan-plat-featured--panel .fan-plat-featured-desc { color: rgba(255,255,255,.78); }
.fan-plat-featured--panel .fan-plat-metric {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
.fan-plat-featured--panel .fan-plat-metric strong { color: #9ccc65; }
.fan-plat-featured--panel .fan-plat-metric span { color: rgba(255,255,255,.7); }
.fan-plat-featured--panel .fan-plat-featured-list li::before {
  background: #9ccc65;
  box-shadow: inset 0 0 0 4px #163022;
}
.fan-plat-featured--panel .fan-plat-featured-cta { background: #6f8f3d; }
.fan-plat-featured--panel .fan-plat-featured-media {
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* Section heads centrados: el bloque también debe centrarse (no solo text-align) */
body.fan-page-datos .fan-section-head,
body.fan-page-datos .fan-plat-slider-head,
body.fan-page-datos .fan-plat-catalog-head,
body.fan-page-datos .fan-beneficios-head,
body.fan-page-datos .fan-acciones-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
body.fan-page-datos .fan-section-head .fan-eyebrow,
body.fan-page-datos .fan-plat-slider-head .fan-eyebrow,
body.fan-page-datos .fan-plat-catalog-head .fan-eyebrow,
body.fan-page-datos .fan-beneficios-head .fan-eyebrow,
body.fan-page-datos .fan-acciones-head .fan-eyebrow {
  display: inline-block;
}

body.fan-page-datos .fan-acciones {
  background: var(--fan-papel, #F7F4EC);
}
.elementor-widget-fan_plat_slider { width: 100%; }

/* —— Híbrido páginas interiores (Quiénes / Qué hacemos / Datos) —— */
.e-con.fan-el-hybrid.fan-mvv,
.e-con.fan-el-hybrid.fan-transparencia,
.e-con.fan-el-hybrid.fan-equipo,
.e-con.fan-el-hybrid.fan-areas,
.e-con.fan-el-hybrid.fan-proceso,
.e-con.fan-el-hybrid.fan-acciones,
.e-con.fan-el-hybrid.fan-plat-slider,
.e-con.fan-el-hybrid.fan-plat-catalog,
.e-con.fan-el-hybrid.fan-beneficios,
.e-con.fan-el-hybrid.fan-stats {
  width: 100%;
}

.e-con.fan-el-hybrid .fan-section-head .elementor-heading-title,
.e-con.fan-el-hybrid .fan-section-head .elementor-widget-heading .elementor-heading-title {
  margin: 0;
}

.e-con.fan-el-hybrid .fan-section-head .elementor-widget-heading .elementor-heading-title.fan-eyebrow,
.e-con.fan-el-hybrid .fan-section-head .fan-eyebrow .elementor-heading-title,
.e-con.fan-el-hybrid .elementor-widget-heading.fan-eyebrow .elementor-heading-title {
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fan-musgo, #3d5c2e);
}

/* Evitar doble .fan-wrap en widgets embed dentro de contenedor híbrido */
.e-con.fan-el-hybrid .fan-wrap .fan-section-embed > .fan-wrap,
.e-con.fan-el-hybrid .fan-wrap .elementor-widget-container > .fan-section-embed > .fan-wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.e-con.fan-el-hybrid .fan-section-embed {
  width: 100%;
}

.e-con.fan-el-hybrid.fan-el-hybrid-full > .e-con-inner {
  width: 100%;
}

.e-con.fan-el-hybrid.fan-page-hero {
  padding: 0 !important;
}

.e-con.fan-el-hybrid.fan-page-hero > .e-con-inner {
  display: block !important;
  width: 100%;
  padding: 0;
}

.e-con.fan-el-hybrid.fan-plat-slider .fan-section-head .elementor-heading-title {
  color: #fff !important;
}

.e-con.fan-el-hybrid.fan-plat-slider .elementor-widget-heading.fan-eyebrow .elementor-heading-title {
  color: rgba(255, 255, 255, 0.75);
}

.e-con.fan-el-hybrid.fan-areas .fan-section-head,
.e-con.fan-el-hybrid.fan-proceso .fan-section-head,
.e-con.fan-el-hybrid.fan-beneficios .fan-section-head,
.e-con.fan-el-hybrid.fan-acciones .fan-section-head,
.e-con.fan-el-hybrid.fan-plat-catalog .fan-section-head,
.e-con.fan-el-hybrid.fan-plat-slider .fan-section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Recursos — biblioteca / catálogo
   ========================================================================== */

.fan-recursos-catalog {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--fan-cream, #f7f4ef);
}

.fan-recursos-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.fan-recursos-title {
  font-family: var(--fan-font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--fan-ink, #1a2415);
  margin: 0.35rem 0 0.75rem;
}

.fan-recursos-sub {
  margin: 0;
  color: var(--fan-ink-muted, #5a6354);
  font-size: 1.05rem;
  line-height: 1.55;
}

.fan-recursos-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 2.5rem;
  max-width: 52rem;
}

.fan-recursos-filter {
  appearance: none;
  border: 1px solid rgba(26, 36, 21, 0.18) !important;
  background: #fff !important;
  color: var(--fan-ink, #1a2415) !important;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--fan-radius-control, 4px);
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.fan-redisenio button.fan-recursos-filter,
.fan-recursos-filters button.fan-recursos-filter {
  border: 1px solid rgba(26, 36, 21, 0.18) !important;
  background: #fff !important;
  color: var(--fan-ink, #1a2415) !important;
  box-shadow: none !important;
}

.fan-recursos-filter:hover,
body.fan-redisenio button.fan-recursos-filter:hover,
.fan-recursos-filters button.fan-recursos-filter:hover {
  border-color: var(--fan-verde, #1e5631) !important;
  color: var(--fan-verde, #1e5631) !important;
  background: #fff !important;
}

.fan-recursos-filter.is-on,
body.fan-redisenio button.fan-recursos-filter.is-on,
.fan-recursos-filters button.fan-recursos-filter.is-on {
  background: var(--fan-verde, #1e5631) !important;
  border-color: var(--fan-verde, #1e5631) !important;
  color: #fff !important;
}

.fan-recursos-block {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.fan-recursos-block-head {
  margin-bottom: 1.25rem;
}

.fan-recursos-block-title {
  margin: 0;
  font-family: var(--fan-font-display, Georgia, serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--fan-ink, #1a2415);
}

.fan-recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.35rem;
}

@media (min-width: 1100px) {
  .fan-recursos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fan-recursos-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 51, 28, 0.08);
  box-shadow: 0 8px 24px rgba(17, 51, 28, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fan-recursos-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(17, 51, 28, 0.1);
}

.fan-recursos-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #eef2e9, #d7e2cb);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Las tapas de publicaciones son verticales: mostrarlas completas. */
.fan-recursos-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* El título ya se muestra debajo (fan-recursos-card-title); no superponer
   sobre la tapa para no taparla ni recortarla. */
.fan-recursos-card-media::after {
  display: none;
}

.fan-recursos-card-overlay-title {
  display: none !important;
}

.fan-recursos-card-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  background: var(--fan-musgo, #3d5c2e);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
}

.fan-recursos-card-overlay-title {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  margin: 0;
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fan-recursos-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1rem 1.15rem;
  flex: 1;
}

.fan-recursos-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--fan-ink, #1a2415);
}

.fan-recursos-card-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--fan-ink-muted, #5a6354);
}

.fan-recursos-card-cta {
  margin-top: auto;
  padding-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  align-self: flex-start;
  color: var(--fan-musgo, #3d5c2e) !important;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1.5px solid rgba(61, 92, 46, 0.45);
  border-radius: var(--fan-radius-control, 4px);
  padding: 0.45rem 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fan-recursos-card-cta:hover {
  background: var(--fan-musgo, #3d5c2e);
  border-color: var(--fan-musgo, #3d5c2e);
  color: #fff !important;
  text-decoration: none;
}

.fan-recursos-empty {
  text-align: center;
  color: var(--fan-ink-muted, #5a6354);
  margin: 1rem 0 0;
}

.fan-recursos-promos {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #fff;
}

.fan-recursos-promos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .fan-recursos-promos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.fan-recursos-promo {
  position: relative;
  min-height: 300px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  box-shadow: 0 12px 32px rgba(17, 51, 28, 0.12);
}

.fan-recursos-promo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fan-recursos-promo-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 8, 0.28) 0%,
    rgba(8, 16, 8, 0.55) 45%,
    rgba(8, 16, 8, 0.88) 100%
  );
}

.fan-recursos-promo--editorial,
.fan-recursos-promo--cine {
  background: #12351f;
}

.fan-recursos-promo--editorial .fan-recursos-promo-bg,
.fan-recursos-promo--cine .fan-recursos-promo-bg {
  object-fit: contain;
  object-position: right center;
  background: #f6f2e7;
}

.fan-recursos-promo--editorial .fan-recursos-promo-veil,
.fan-recursos-promo--cine .fan-recursos-promo-veil {
  background: linear-gradient(
    90deg,
    rgba(8, 24, 14, 0.98) 0%,
    rgba(8, 24, 14, 0.88) 48%,
    rgba(8, 24, 14, 0.18) 76%,
    rgba(8, 24, 14, 0) 100%
  );
}

.fan-recursos-promo--cine {
  background: #0b3526;
}

.fan-recursos-promo--cine .fan-recursos-promo-bg {
  background: #f8f7ed;
}

.fan-recursos-promo--light .fan-recursos-promo-veil,
.fan-recursos-promo--dark .fan-recursos-promo-veil {
  background: linear-gradient(
    180deg,
    rgba(8, 16, 8, 0.28) 0%,
    rgba(8, 16, 8, 0.55) 45%,
    rgba(8, 16, 8, 0.88) 100%
  );
}

.fan-recursos-promo--editorial .fan-recursos-promo-veil,
.fan-recursos-promo--cine .fan-recursos-promo-veil {
  background: linear-gradient(
    90deg,
    rgba(8, 24, 14, 0.98) 0%,
    rgba(8, 24, 14, 0.88) 48%,
    rgba(8, 24, 14, 0.18) 76%,
    rgba(8, 24, 14, 0) 100%
  );
}

.fan-recursos-promo-body {
  position: relative;
  z-index: 1;
  padding: 1.65rem 1.65rem 1.8rem;
  color: #fff;
  max-width: 30rem;
}

.fan-recursos-promo-body .fan-eyebrow {
  color: var(--fan-dorado, #B98B2A) !important;
  margin-bottom: 0.35rem;
}

.fan-recursos-promo-title,
.fan-recursos-promo h3.fan-recursos-promo-title,
body.fan-redisenio .fan-recursos-promo-title,
body.fan-page-recursos .fan-recursos-promo-title {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 600;
  line-height: 1.18;
  color: #fff !important;
}

.fan-recursos-promo-text {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1;
  line-height: 1.5;
  font-size: 0.98rem;
}

.fan-recursos-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--fan-radius-control, 4px);
  padding: 0.55rem 1rem;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fan-recursos-promo-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff !important;
}

.fan-page-recursos .fan-page-hero--recursos {
  /* hook for variant-specific tweaks */
}

/* ----- Editorial página (bajo Recursos) ----- */
.fan-page-editorial .fan-page-hero--editorial {
  min-height: min(85vh, 780px);
}

.fan-page-editorial .fan-page-hero--editorial .fan-page-hero-crumb {
  color: var(--fan-lima, #a8c23a);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fan-page-editorial .fan-page-hero--editorial .fan-page-hero-copy {
  max-width: min(48rem, 92%);
}
.fan-page-editorial .fan-page-hero--editorial .fan-page-hero-lead {
  max-width: none;
}
.fan-page-editorial .fan-page-hero--editorial .fan-page-hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(8, 16, 8, 0.82) 0%,
    rgba(8, 16, 8, 0.58) 48%,
    rgba(8, 16, 8, 0.28) 78%,
    rgba(8, 16, 8, 0.12) 100%
  );
}

.fan-editorial-filter-section {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding: 0 0 8px;
  background: transparent;
}

.fan-editorial-filters--bar .fan-editorial-search input {
  padding-left: 14px;
}

.fan-editorial-filters--bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  margin: 0;
  padding: 22px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(17, 51, 28, 0.12);
  border: 1px solid rgba(17, 51, 28, 0.06);
}

@media (max-width: 699px) {
  .fan-editorial-filters--bar { padding: 18px 16px; }
  .fan-editorial-filters--bar .fan-editorial-searchrow {
    flex-direction: column;
  }
  .fan-editorial-filters--bar .fan-editorial-search,
  .fan-editorial-filters--bar .fan-editorial-submit {
    width: 100%;
    flex: 1 1 auto;
  }
}

.fan-editorial-promo {
  padding: 28px 0 12px;
  background: #fff;
}

.fan-editorial-promo-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 28px 0;
  background: #f0ebe2;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fan-editorial-promo-panel:hover {
  box-shadow: 0 16px 40px rgba(17, 51, 28, 0.1);
}

@media (min-width: 900px) {
  .fan-editorial-promo-panel {
    grid-template-columns: 1.35fr 0.9fr;
    padding: 32px 0 0 36px;
    gap: 20px;
  }
}

.fan-editorial-promo-copy {
  padding-bottom: 28px;
}

@media (min-width: 900px) {
  .fan-editorial-promo-copy {
    padding-bottom: 36px;
  }
}

.fan-editorial-promo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--fan-verde-prof, #11331c);
  color: #fff;
  margin-bottom: 14px;
}

.fan-editorial-promo-title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--fan-verde-prof, #11331c) !important;
}

.fan-editorial-promo-text {
  margin: 12px 0 0;
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #4a5246;
}

.fan-editorial-promo-features {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .fan-editorial-promo-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }
}

@media (min-width: 1100px) {
  .fan-editorial-promo-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fan-editorial-promo-features li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: var(--fan-radius-control, 4px);
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.3s ease, background 0.3s ease;
}

.fan-editorial-promo-features li:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.72);
}

.fan-editorial-promo-feature-icon {
  display: inline-flex;
  color: var(--fan-musgo, #3d5c2e);
}

.fan-editorial-promo-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fan-editorial-promo-feature-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fan-verde-prof, #11331c);
}

.fan-editorial-promo-feature-copy span {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  color: #5a6354;
}

.fan-editorial-promo-media {
  position: relative;
  margin: 0 auto;
  max-width: 340px;
}

@media (min-width: 900px) {
  .fan-editorial-promo-media {
    margin: 0;
    max-width: none;
    align-self: end;
  }
}

.fan-editorial-promo-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 18px 40px rgba(17, 51, 28, 0.18);
  transform: translateY(8px);
}

.fan-editorial--page {
  background: #fff;
  padding: 48px 0 64px;
}

.fan-editorial--page .fan-editorial-title {
  color: var(--fan-verde-prof, #11331c);
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
}

.fan-editorial-cat {
  margin: 36px 0 18px;
  font-family: var(--fan-font-sans, "Public Sans", system-ui, sans-serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fan-verde-prof, #11331c);
}

.fan-editorial-cat:first-child {
  margin-top: 8px;
}

.fan-editorial-cat.is-filtered-out,
.fan-editorial-grid.is-filtered-out {
  display: none !important;
}

.fan-page-editorial .fan-pub-card-cover img {
  object-fit: contain;
  object-position: center center;
}

@media (min-width: 700px) {
  .fan-editorial--page .fan-editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .fan-editorial--page .fan-editorial-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

.fan-page-editorial .fan-pub-cta {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  width: 100%;
  gap: 6px;
  margin-top: 14px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.fan-page-editorial .fan-pub-cta--compra,
.fan-page-editorial .fan-pub-cta--gratis {
  background: var(--fan-verde-prof, #11331c);
  color: #fff;
}

.fan-page-editorial .fan-pub-cta--compra:hover,
.fan-page-editorial .fan-pub-cta--gratis:hover {
  background: #0a1f12;
  color: #fff;
}

.fan-page-editorial .fan-pub-card:hover .fan-pub-card-cover img,
.fan-page-editorial .fan-pub-card:focus-within .fan-pub-card-cover img {
  transform: scale(1.04);
  transition: transform 0.3s ease;
}

.fan-page-editorial .fan-pub-card:hover .fan-pub-card-cover,
.fan-page-editorial .fan-pub-card:focus-within .fan-pub-card-cover {
  box-shadow: 0 18px 40px rgba(17, 51, 28, 0.16);
  transition: box-shadow 0.3s ease;
}

.fan-page-editorial .fan-pub-card:hover .fan-pub-card-link,
.fan-page-editorial .fan-pub-card:focus-within .fan-pub-card-link {
  transform: translateY(-4px);
}

.fan-editorial-all--more {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.fan-editorial-all--more[hidden] {
  display: none !important;
}

.fan-editorial-contact {
  padding: 24px 0 40px;
  background: #fff;
}

.fan-editorial-contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--fan-verde-prof, #11331c);
  color: #fff;
  min-height: 180px;
}

.fan-editorial-contact-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 8, 0.88), rgba(8, 16, 8, 0.55)),
    var(--fan-cta-banner-bg, none) center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.fan-editorial-contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding: 32px 28px;
}

@media (min-width: 900px) {
  .fan-editorial-contact-inner {
    padding: 40px 44px;
    flex-wrap: nowrap;
  }
}

.fan-editorial-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  flex-shrink: 0;
}

.fan-editorial-contact-copy {
  flex: 1 1 240px;
  min-width: 0;
}

.fan-editorial-contact-title {
  margin: 0;
  font-family: var(--fan-font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff !important;
  max-width: 28ch;
}

.fan-editorial-contact-text {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42ch;
}

.fan-editorial-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 14px 22px;
  border-radius: 8px;
  background: #fff;
  color: var(--fan-verde-prof, #11331c);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fan-editorial-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  color: var(--fan-verde-prof, #11331c);
}

@media (max-width: 699px) {
  .fan-editorial-contact-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

/* ==========================================================================
   Normalización tipográfica (fix escala de títulos)
   --------------------------------------------------------------------------
   El kit de Elementor aplica `.elementor-kit-92 h2/h3 { font-size: var(...) }`
   con especificidad (0,1,1) → h2 = 42px y h3 = 30px. Esa regla le gana a las
   reglas de título del tema (clases sueltas, 0,1,0), inflando títulos de
   tarjeta (a 30px) y de sección/CTA (a 42px) por encima de lo previsto.
   Re-declaramos la escala del diseño con el prefijo `:is(body.fan-redisenio, body[class*="fan-page-"])`
   (presente en TODAS las páginas del rediseño; especificidad 0,2,1 le gana al
   kit sin !important). No usamos `body.fan-redisenio` porque algunas páginas
   con plantilla propia (equipo, socios, etc.) no llevan esa clase. Escala:
     Hero 44–72 · Sección 26–34 · Destacado 24–32 · CTA 20–28 · Tarjeta 14–22.
   ========================================================================== */

/* Títulos de sección (H2) que el kit inflaba a 42px */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-areas-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-proceso-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-acciones-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-plat-catalog-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-plataformas-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-programas-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-beneficios-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-datos-cats-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-datos-hub-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-historias-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-historia-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-transparencia-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-equipo-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-mvv-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-recursos-block-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-trayectoria-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-editorial-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-editorial-promo-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-editorial-contact-title { font-size: clamp(26px, 3vw, 34px); }

/* Socios: respetar tamaños propios (más contenidos) */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-socios-list-title { font-size: clamp(22px, 2.4vw, 30px); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-socios-join-title { font-size: 26px; }

/* Título de plataforma destacada del mes */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-plat-featured-title { font-size: clamp(24px, 2.6vw, 32px); }

/* Nombre destacado (presidente del directorio) */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-org-president-name { font-size: clamp(24px, 2.8vw, 32px); }

/* Título del banner CTA (el kit lo subía a 42px; diseño = ~28px) */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-cta-banner-title { font-size: clamp(20px, 2.4vw, 28px); }

/* Títulos de tarjeta / ítem (los que el kit inflaba a 30px) */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-areas-card-title { font-size: clamp(18px, 1.35vw, 22px); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-mvv-card-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-datos-cat-title { font-size: 20px; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-proceso-step-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-acciones-card-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-plat-card-title,
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-catalog-card-title { font-size: 18px; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-beneficios-card-title { font-size: 17px; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-recursos-card-title { font-size: 1rem; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-news-item-title { font-size: 15px; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-conv-item-title { font-size: 14.5px; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-doc-slide-title { font-size: 13.5px; }

/* Etiquetas pequeñas (labels/categorías) que el kit inflaba a 30px */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-equipo-dept-title { font-size: 12px; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-editorial-cat { font-size: clamp(1.15rem, 2vw, 1.35rem); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-trayectoria-panel-label { font-size: 22px; }

/* Noticias (fan-news-*): sección y tarjetas infladas por el kit */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-news-sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-news-feature__title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-news-card__title { font-size: 1.08rem; }

/* Contacto (fan-contact-*): sección y tarjetas infladas por el kit */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-contact-sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-office-card__title { font-size: 1.2rem; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-contact-card__title { font-size: 1.05rem; }

/* Cine Verde (fan-cv-*): mismos títulos inflados por el kit */
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-cv-section-title { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-cv-cta__title { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-cv-winner-feature__title { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-cv-film-card__title { font-size: 1.2rem; }
:is(body.fan-redisenio, body[class*="fan-page-"]) .fan-cv-winner-card__title { font-size: 0.98rem; }

/* ===== Qué hacemos — subpáginas temáticas ===== */
.e-con.fan-el-hybrid.fan-qh-tema-host,
.e-con.fan-el-hybrid.fan-qh-tema-host > .e-con-inner {
  --padding-block-start: 0px !important;
  --padding-block-end: 0px !important;
  --padding-inline-start: 0px !important;
  --padding-inline-end: 0px !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}
.e-con.fan-el-hybrid.fan-qh-tema {
  --padding-block-start: 0px !important;
  --padding-block-end: 0px !important;
  --padding-inline-start: 0px !important;
  --padding-inline-end: 0px !important;
  padding: 0 !important;
  background: transparent !important;
}
section.fan-qh-tema,
.fan-qh-tema.fan-section-embed {
  padding: 64px 0 40px;
  background: #f7f5ef;
}
section.fan-qh-tema > .fan-wrap,
.fan-qh-tema.fan-section-embed > .fan-wrap {
  max-width: var(--fan-wrap, 1180px);
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  section.fan-qh-tema > .fan-wrap,
  .fan-qh-tema.fan-section-embed > .fan-wrap { padding-inline: 40px; }
}
.fan-qh-tema-head { text-align: center; margin-bottom: 28px; }
.fan-qh-tema-title {
  font-family: var(--fan-font-display, Georgia, serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--fan-verde-oscuro, #1f3d2a);
  margin: 8px 0 0;
}
.fan-qh-tema-jump {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 0 0 48px;
}
.fan-qh-tema-jump-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--fan-verde-oscuro, #1f3d2a);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--fan-linea, #dad6c7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fan-qh-tema-jump-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 61, 42, 0.08);
}
.fan-qh-tema-jump-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.fan-qh-linea {
  margin: 0 0 56px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--fan-linea, #dad6c7);
}
.fan-qh-linea:first-of-type { border-top: 0; padding-top: 0; }
.fan-qh-linea-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}
.fan-qh-linea--reverse .fan-qh-linea-grid { direction: rtl; }
.fan-qh-linea--reverse .fan-qh-linea-grid > * { direction: ltr; }
@media (max-width: 860px) {
  .fan-qh-linea-grid,
  .fan-qh-linea--reverse .fan-qh-linea-grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 20px;
  }
}
.fan-qh-linea-media {
  border-radius: 18px;
  overflow: hidden;
  background: #e8e4d8;
  aspect-ratio: 3 / 2;
}
.fan-qh-linea-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fan-qh-linea-index {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b45309;
  font-weight: 700;
  margin-bottom: 8px;
}
.fan-qh-linea-title {
  font-family: var(--fan-font-display, Georgia, serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--fan-verde-oscuro, #1f3d2a);
  margin: 0 0 12px;
  line-height: 1.25;
}
.fan-qh-linea-text {
  margin: 0;
  color: #3d4a40;
  font-size: 1.02rem;
  line-height: 1.65;
}
.fan-qh-links { margin-top: 28px; }
.fan-qh-links-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fan-verde-oscuro, #1f3d2a);
}
.fan-qh-links-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) {
  .fan-qh-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .fan-qh-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .fan-qh-links-grid { grid-template-columns: 1fr; }
}
.fan-qh-link-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--fan-linea, #dad6c7);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fan-qh-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31, 61, 42, 0.1);
}
.fan-qh-link-media {
  aspect-ratio: 3 / 4;
  background: #f3f0e7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 12px 8px;
}
.fan-qh-link-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.fan-qh-link-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 16px;
  flex: 1;
}
.fan-qh-link-name {
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--fan-verde-oscuro, #1f3d2a);
}
.fan-qh-link-cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2f6b3c;
}
.e-con.fan-el-hybrid.fan-qh-tema {
  --padding-block-start: 0px !important;
  --padding-block-end: 0px !important;
  --padding-inline-start: 0px !important;
  --padding-inline-end: 0px !important;
}
/* CTA temático: un solo contenedor con margen, sin padding duplicado Elementor */
body.fan-page-que-hacemos-tema .e-con.fan-el-hybrid.fan-cta-banner,
body.fan-page-que-hacemos-tema .e-con.fan-el-hybrid.fan-cta-banner > .e-con-inner {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  --padding-inline-start: 0px !important;
  --padding-inline-end: 0px !important;
  --padding-block-start: 0px !important;
  --padding-block-end: 0px !important;
  padding: 0 !important;
}
body.fan-page-que-hacemos-tema .fan-cta-banner {
  max-width: none !important;
  width: 100% !important;
  padding-inline: 0 !important;
}
body.fan-page-que-hacemos-tema .fan-cta-banner > .fan-wrap {
  max-width: var(--fan-wrap, 1180px) !important;
  margin-inline: auto !important;
  padding-inline: 24px !important;
  width: 100% !important;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  body.fan-page-que-hacemos-tema .fan-cta-banner > .fan-wrap {
    padding-inline: 40px !important;
  }
}
body.fan-page-que-hacemos-tema .fan-cta-banner-panel {
  max-width: none;
  width: 100%;
  margin-inline: 0;
}
/* Mismo velo negro difuminado que el banner de Cine Verde en Quiénes somos */
body.fan-page-que-hacemos .fan-cta-banner-texture,
body.fan-page-que-hacemos-tema .fan-cta-banner-texture {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.48) 26%,
    rgba(0, 0, 0, 0.28) 46%,
    rgba(0, 0, 0, 0.1) 58%,
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 1;
}
/* Elementor hybrid: no forzar ancho completo en el cuerpo temático */
.e-con.fan-el-hybrid.fan-qh-tema,
.e-con.fan-el-hybrid.fan-qh-tema > .e-con-inner {
  max-width: none !important;
  width: 100% !important;
  --padding-inline-start: 0px !important;
  --padding-inline-end: 0px !important;
}

.fan-qh-videos { margin-top: 28px; }
.fan-qh-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 800px) {
  .fan-qh-videos-grid { grid-template-columns: 1fr; }
}
.fan-qh-video { margin: 0; }
.fan-qh-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
}
.fan-qh-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.fan-qh-video figcaption {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--fan-verde-oscuro, #1f3d2a);
}

.fan-qh-video-poster {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
}
.fan-qh-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fan-qh-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(30, 86, 49, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* ===== Controles unificados (mismo radio del hero: 4px) =====
   Botones, inputs y chips: semi-cuadrado, sin óvalos/pills.
   Especificidad alta para ganar a CSS generado de Elementor (kit + post-*.css). */
body.fan-redisenio .fan-btn-primary,
body.fan-redisenio .fan-btn-ghost,
body.fan-redisenio .fan-cta-donate,
body.fan-redisenio .fan-cta-banner-btn,
body.fan-redisenio .fan-historia-btn,
body.fan-redisenio .fan-org-president-cta,
body.fan-redisenio .fan-pub-cta,
body.fan-redisenio .fan-pub-cta--doc,
body.fan-redisenio .fan-doc-download,
body.fan-redisenio .fan-coverflow-cta,
body.fan-redisenio .fan-acciones-cta,
body.fan-redisenio .fan-news-btn,
body.fan-redisenio .fan-news-cta__btn,
body.fan-redisenio .fan-news-cta__input,
body.fan-redisenio .fan-news-search__input,
body.fan-redisenio .fan-news-search__btn,
body.fan-redisenio button.fan-news-tab,
body.fan-redisenio button.fan-recursos-filter,
body.fan-redisenio .fan-recursos-filter,
body.fan-redisenio .fan-acciones-nav,
body.fan-redisenio .fan-trayectoria-nav,
body.fan-redisenio .fan-coverflow-nav,
body.fan-redisenio .fan-doc-nav,
body.fan-redisenio .fan-doc-carousel .fan-doc-nav,
body.fan-redisenio .fan-cv-carousel__nav,
body.fan-redisenio .fan-news-calls-nav,
body.fan-redisenio .fan-news-carousel__nav,
body.fan-redisenio .fan-editorial-submit,
body.fan-redisenio .fan-editorial-search input,
body.fan-redisenio .fan-filters span,
body.fan-redisenio .fan-filters a,
body.fan-redisenio .fan-socios-more,
body.fan-redisenio .fan-socios-tab,
body.fan-page-quienes .fan-socios-tab,
body.fan-page-quienes .fan-qs-period,
body.fan-redisenio .fan-page-hero-cta,
body.fan-redisenio .fan-page-hero .fan-btn-primary,
body.fan-redisenio .fan-page-hero .fan-btn-ghost,
body.fan-redisenio .fan-equipo-cta,
body.fan-redisenio .fan-equipo-profile-link,
body.fan-redisenio .fan-member-link,
body.fan-redisenio a.elementor-button,
body.fan-redisenio .elementor-button,
body.fan-redisenio .elementor-widget-button .elementor-button,
body.fan-redisenio .elementor-button.elementor-size-sm,
body.fan-redisenio .elementor-button.elementor-size-md,
body.fan-redisenio .elementor-button.elementor-size-lg,
body.fan-redisenio .elementor-field-textual,
body.fan-page-quienes a.elementor-button,
body.fan-page-quienes .elementor-button,
body.fan-page-equipo a.elementor-button,
body.fan-page-equipo .elementor-button,
body.fan-page-socios a.elementor-button,
body.fan-page-socios .elementor-button,
body.fan-page-trayectoria a.elementor-button,
body.fan-page-trayectoria .elementor-button,
body.fan-redisenio input[type="text"],
body.fan-redisenio input[type="search"],
body.fan-redisenio input[type="email"],
body.fan-redisenio input[type="tel"],
body.fan-redisenio input[type="url"],
body.fan-redisenio input[type="number"],
body.fan-redisenio input[type="password"],
body.fan-redisenio select,
body.fan-redisenio textarea,
body.fan-redisenio .fan-contact-form input,
body.fan-redisenio .fan-contact-form textarea,
body.fan-redisenio .fan-contact-form button,
body.fan-redisenio .fan-contact-form .wpcf7-submit {
  border-radius: var(--fan-radius-control, 4px) !important;
}

/* Buscador compuesto: radios en extremos, recto en el encuentro */
body.fan-redisenio .fan-news-search__input {
  border-radius: var(--fan-radius-control, 4px) 0 0 var(--fan-radius-control, 4px) !important;
}
body.fan-redisenio .fan-news-search__btn {
  border-radius: 0 var(--fan-radius-control, 4px) var(--fan-radius-control, 4px) 0 !important;
}

/* Indicadores de carrusel / play circulares: no aplanar */
body.fan-redisenio .fan-acciones-dots button,
body.fan-redisenio .fan-coverflow-dot,
body.fan-redisenio .fan-news-calls-dots button,
body.fan-redisenio .fan-qh-video-play {
  border-radius: 50% !important;
}

/* —— Quiénes somos: flujo continuo (mockup, menos fracción) —— */
body.fan-page-quienes .fan-page-hero-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0d48a;
}
body.fan-page-quienes .fan-historia--quienes {
  background: #fff;
  padding-bottom: 48px;
}
body.fan-page-quienes .fan-historia-timeline--quienes {
  margin-top: 8px;
  padding-top: 8px;
}
body.fan-page-quienes .fan-qs-periods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0 auto 28px;
  max-width: 720px;
  border-bottom: 1px solid var(--fan-linea);
}
body.fan-page-quienes .fan-qs-period {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 10px 2px;
  font: 700 13px/1 var(--fan-font-sans);
  color: var(--fan-gris);
  cursor: pointer;
}
body.fan-page-quienes .fan-qs-period.is-active {
  color: var(--fan-verde);
  border-bottom-color: var(--fan-verde);
}
body.fan-page-quienes .fan-historia-milestone.is-period-hidden {
  display: none !important;
}
body.fan-page-quienes .fan-qs-timeline-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
body.fan-page-quienes .fan-historia-btn--ghost,
body.fan-page-quienes .fan-qs-timeline-more .fan-historia-btn--ghost {
  background: transparent !important;
  color: var(--fan-verde-prof, #11331C) !important;
  border: 1px solid var(--fan-verde, #1E5631) !important;
}
body.fan-page-quienes .fan-historia-btn--ghost:hover,
body.fan-page-quienes .fan-qs-timeline-more .fan-historia-btn--ghost:hover {
  background: var(--fan-papel, #F7F4EC) !important;
  color: var(--fan-verde, #1E5631) !important;
}

body.fan-page-quienes .fan-mvv--with-docs {
  background: var(--fan-papel);
  padding-top: 56px;
  padding-bottom: 56px;
}
body.fan-page-quienes .fan-mvv-layout--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}
body.fan-page-quienes .fan-mvv-panel,
body.fan-page-quienes .fan-mvv-docs {
  background: #fff;
  border: 1px solid var(--fan-linea);
  border-radius: 4px;
  padding: 1.5rem 1.4rem 1.6rem;
}
body.fan-page-quienes .fan-mvv-panel-title {
  margin: 0 0 1.15rem;
  font-family: var(--fan-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fan-verde-prof);
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0;
}
@media (min-width: 900px) {
  body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-card {
  box-shadow: none;
  height: auto;
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 4px;
  border: 1px solid transparent;
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-card:hover {
  transform: none;
  box-shadow: none;
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-icon {
  width: 64px;
  height: 68px;
  border-radius: 4px;
  box-shadow: none;
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-icon svg {
  width: 30px;
  height: 30px;
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-card-title {
  font-size: 1.05rem;
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-card-text,
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-bullets {
  font-size: 0.92rem;
  line-height: 1.6;
}
body.fan-page-quienes .fan-mvv-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.fan-page-quienes .fan-mvv-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--fan-linea);
  color: var(--fan-grafito);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
body.fan-page-quienes .fan-mvv-doc-list li:last-child .fan-mvv-doc {
  border-bottom: 0;
}
body.fan-page-quienes .fan-mvv-doc-icon {
  color: var(--fan-musgo);
  flex: 0 0 auto;
}
body.fan-page-quienes .fan-mvv-doc-title {
  flex: 1;
}
body.fan-page-quienes .fan-mvv-doc-dl {
  color: var(--fan-gris);
}

body.fan-page-quienes .fan-equipo--compact .fan-org-president {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  max-width: 520px;
  margin: 0 auto 36px;
}
body.fan-page-quienes .fan-equipo--compact .fan-org-president-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

body.fan-page-quienes .fan-socios-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--fan-linea);
}
body.fan-page-quienes .fan-socios-tab,
body.fan-page-quienes .fan-socios-tab:hover,
body.fan-page-quienes .fan-socios-tab:focus,
body.fan-page-quienes .fan-socios-tab:focus-visible {
  appearance: none;
  background: none !important;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0 !important;
  margin-bottom: -1px;
  padding: 12px 4px;
  font: 700 12px/1 var(--fan-font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fan-gris);
  cursor: pointer;
  box-shadow: none !important;
  outline: none;
  filter: none;
}
body.fan-page-quienes .fan-socios-tab:hover,
body.fan-page-quienes .fan-socios-tab:focus-visible {
  color: var(--fan-verde);
}
body.fan-page-quienes .fan-socios-tab.is-active {
  color: var(--fan-verde);
  border-bottom-color: var(--fan-verde);
  box-shadow: none !important;
}
body.fan-page-quienes .fan-socios-group {
  display: none;
}
body.fan-page-quienes .fan-socios-group.is-active {
  display: block;
}
body.fan-page-quienes .fan-cta-banner-lead {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

@media (max-width: 900px) {
  body.fan-page-quienes .fan-equipo--compact .fan-org-president {
    grid-template-columns: 1fr;
  }
  body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Quiénes somos mockup: flujo continuo, menos fracción —— */
body.fan-page-quienes .fan-page-hero-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0d48a !important;
}
body.fan-page-quienes .fan-el-section + .fan-el-section {
  margin-top: 0;
}
body.fan-page-quienes .elementor-widget-fan_historia .fan-historia--quienes,
body.fan-page-quienes .fan-historia--quienes {
  background: #fff;
  padding-bottom: 24px;
}
body.fan-page-quienes .fan-historia-timeline--quienes {
  padding-top: 8px;
  margin-top: 8px;
}
body.fan-page-quienes .fan-qs-periods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin: 0 auto 1.5rem;
  max-width: 52rem;
  border-bottom: 1px solid var(--fan-linea);
  padding-bottom: 2px;
}
body.fan-page-quienes .fan-qs-period {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  padding: 0.55rem 0.15rem;
  font: 700 0.82rem/1 var(--fan-font-sans);
  letter-spacing: 0.04em;
  color: var(--fan-gris);
  cursor: pointer;
}
body.fan-page-quienes .fan-qs-period.is-active {
  color: var(--fan-verde);
  border-bottom-color: var(--fan-verde);
}
body.fan-page-quienes .fan-historia-milestone.is-period-hidden {
  display: none !important;
}
body.fan-page-quienes .fan-qs-timeline-more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
body.fan-page-quienes .fan-historia-btn--ghost,
body.fan-page-quienes .fan-qs-timeline-more .fan-historia-btn--ghost {
  background: transparent !important;
  color: var(--fan-verde-prof, #11331C) !important;
  border: 1px solid var(--fan-verde, #1E5631) !important;
}
body.fan-page-quienes .fan-historia-btn--ghost:hover,
body.fan-page-quienes .fan-qs-timeline-more .fan-historia-btn--ghost:hover {
  background: var(--fan-papel, #F7F4EC) !important;
  color: var(--fan-verde, #1E5631) !important;
}
body.fan-page-quienes .fan-mvv--with-docs {
  background: var(--fan-papel);
  padding-top: 56px;
  padding-bottom: 56px;
}
body.fan-page-quienes .fan-mvv-layout--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}
body.fan-page-quienes .fan-mvv-panel,
body.fan-page-quienes .fan-mvv-docs {
  background: #fff;
  border: 1px solid var(--fan-linea);
  border-radius: 4px;
  padding: 1.5rem 1.4rem 1.6rem;
}
body.fan-page-quienes .fan-mvv-panel-title {
  margin: 0 0 1.15rem;
  font-family: var(--fan-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fan-verde-prof);
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0;
}
@media (min-width: 900px) {
  body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-card {
  box-shadow: none;
  height: auto;
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 4px;
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-card:hover {
  transform: none;
  box-shadow: none;
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-icon {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  box-shadow: none;
}
body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-icon svg {
  width: 30px;
  height: 30px;
}
body.fan-page-quienes .fan-mvv-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.fan-page-quienes .fan-mvv-doc {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.1rem;
  border-bottom: 1px solid var(--fan-linea);
  color: var(--fan-grafito);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
body.fan-page-quienes .fan-mvv-doc-list li:last-child .fan-mvv-doc {
  border-bottom: 0;
}
body.fan-page-quienes .fan-mvv-doc-icon {
  color: var(--fan-musgo);
  flex: 0 0 auto;
}
body.fan-page-quienes .fan-mvv-doc-title {
  flex: 1;
}
body.fan-page-quienes .fan-mvv-doc-dl {
  color: var(--fan-gris);
}
body.fan-page-quienes .fan-equipo--compact .fan-org-president {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  text-align: left;
  max-width: 760px;
  margin: 0 auto 3rem;
  gap: 2rem;
  background: #f4f6f2;
  border: 1px solid var(--fan-linea);
  padding: 1.5rem;
}
body.fan-page-quienes .fan-equipo--compact .fan-org-president-photo {
  width: 260px;
  max-width: none;
  aspect-ratio: auto;
}
body.fan-page-quienes .fan-equipo--compact .fan-org-president-photo img {
  display: block;
  width: 260px;
  height: 300px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 4px;
}
body.fan-page-quienes .fan-equipo--compact .fan-org-president-bio {
  display: none;
}
body.fan-page-quienes .fan-equipo--compact .fan-org-president-name {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 0;
}
body.fan-page-quienes .fan-equipo--compact .fan-org-president-cta {
  display: inline-flex;
}
body.fan-page-quienes .fan-org-staff-extra {
  display: contents;
}
body.fan-page-quienes .fan-org-staff-extra[hidden] {
  display: none;
}
body.fan-page-quienes .fan-equipo-toggle {
  appearance: none;
  cursor: pointer;
  font-family: var(--fan-font-sans);
}
body.fan-page-quienes .fan-equipo-toggle:hover {
  background: var(--fan-papel);
  border-color: var(--fan-verde);
}
body.fan-page-quienes .fan-socios-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 1.4rem;
  border-bottom: 1px solid var(--fan-linea);
}
body.fan-page-quienes .fan-socios-tab,
body.fan-page-quienes .fan-socios-tab:hover,
body.fan-page-quienes .fan-socios-tab:focus,
body.fan-page-quienes .fan-socios-tab:focus-visible {
  appearance: none;
  background: none !important;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0 !important;
  margin-bottom: -1px;
  padding: 0.7rem 0.15rem;
  font: 700 0.8rem/1 var(--fan-font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fan-gris);
  cursor: pointer;
  box-shadow: none !important;
  outline: none;
  filter: none;
}
body.fan-page-quienes .fan-socios-tab:hover,
body.fan-page-quienes .fan-socios-tab:focus-visible {
  color: var(--fan-verde);
}
body.fan-page-quienes .fan-socios-tab.is-active {
  color: var(--fan-verde);
  border-bottom-color: var(--fan-verde);
  box-shadow: none !important;
}
body.fan-page-quienes .fan-socios-group {
  display: none;
}
body.fan-page-quienes .fan-socios-group.is-active {
  display: block;
}
body.fan-page-quienes .fan-cta-banner-lead {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}
@media (max-width: 900px) {
  body.fan-page-quienes .fan-equipo--compact .fan-org-president {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    max-width: 420px;
    gap: 1.25rem;
  }
  body.fan-page-quienes .fan-equipo--compact .fan-org-president-photo,
  body.fan-page-quienes .fan-equipo--compact .fan-org-president-photo img {
    width: 220px;
  }
  body.fan-page-quienes .fan-equipo--compact .fan-org-president-photo img {
    height: 260px;
  }
  body.fan-page-quienes .fan-mvv--with-docs .fan-mvv-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Trayectoria: secuencia completa, filtros como guía visual —— */
body.fan-page-quienes .fan-qs-periods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 960px;
  margin: 0 auto 2rem;
  padding: 0;
  border: 1px solid var(--fan-linea);
  border-radius: 4px;
  overflow: hidden;
}
body.fan-page-quienes .fan-qs-period {
  min-height: 46px;
  margin: 0;
  padding: 0.65rem 0.5rem;
  border: 0;
  border-right: 1px solid var(--fan-linea);
  border-bottom: 0;
  background: #fff;
  color: var(--fan-gris);
  font: 700 0.78rem/1.15 var(--fan-font-sans);
  letter-spacing: 0.035em;
  transition: background-color .18s ease, color .18s ease;
}
body.fan-page-quienes .fan-qs-period:last-child {
  border-right: 0;
}
body.fan-page-quienes .fan-qs-period:hover,
body.fan-page-quienes .fan-qs-period:focus-visible {
  background: var(--fan-papel);
  color: var(--fan-verde);
  outline: none;
}
body.fan-page-quienes .fan-qs-period.is-active {
  background: var(--fan-verde);
  color: #fff;
  border-bottom-color: transparent;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-timeline-scroll {
  overflow: visible;
  padding: 0;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-rail,
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-timeline-next {
  display: none;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone {
  flex: 1 1 210px;
  max-width: 232px;
  width: auto;
  min-width: 0;
  align-items: stretch;
  text-align: left;
  padding: 10px;
  border: 1px solid var(--fan-linea);
  border-radius: 4px;
  background: #fff;
  transform: none;
  transition: border-color .18s ease, background-color .18s ease;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone.is-period-hidden {
  display: flex !important;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone.is-period-selected {
  border-color: var(--fan-verde);
  background: #f6f8f3;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-media {
  margin: 0 0 10px;
  border-radius: 3px;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone-axis {
  display: none;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-year {
  color: var(--fan-verde);
  font: 700 1.25rem/1.1 var(--fan-font-sans);
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-label {
  max-width: none;
  margin-top: 7px;
}
body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-mdesc {
  margin-top: 7px;
  font-size: 0.79rem;
}
@media (max-width: 900px) {
  body.fan-page-quienes .fan-qs-periods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.fan-page-quienes .fan-qs-period:nth-child(2) {
    border-right: 0;
  }
  body.fan-page-quienes .fan-qs-period:nth-child(-n + 2) {
    border-bottom: 1px solid var(--fan-linea);
  }
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone {
    flex: 1 1 calc(50% - 14px);
    max-width: none;
  }
}
@media (max-width: 560px) {
  body.fan-page-quienes .fan-historia-timeline--quienes .fan-historia-milestone {
    flex: 1 1 100%;
    max-width: 420px;
  }
}

/* CTA del canal oficial: debajo del título Videos y encima de las tarjetas */
.fan-qh-video-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 16px 0 22px;
  padding: 22px 28px;
  background: #f0f6ea;
  border-radius: 14px;
}
.fan-qh-video-cta-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 42px;
  color: #fff;
  background: #f31335;
  border-radius: 10px;
}
.fan-qh-video-cta-icon svg { width: 32px; height: 32px; fill: currentColor; }
.fan-qh-video-cta-copy { min-width: 0; }
.fan-qh-video-cta-copy h4 { margin: 0 0 4px; color: #164b2b; font-size: 21px; line-height: 1.15; }
.fan-qh-video-cta-copy p { margin: 0; color: #24352b; font-size: 15px; line-height: 1.4; }
a.fan-qh-video-cta-button,
.fan-qh-video-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 15px 26px;
  border-radius: var(--fan-radius-control, 4px);
  background: #2d6a3e !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.fan-qh-video-cta-button span,
.fan-qh-video-cta-button span {
  color: #fff !important;
}
a.fan-qh-video-cta-button:hover,
.fan-qh-video-cta-button:hover {
  background: #174526 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}
@media (max-width: 800px) {
  .fan-qh-video-cta { grid-template-columns: auto 1fr; gap: 16px; padding: 20px; }
  .fan-qh-video-cta-button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) {
  .fan-qh-video-cta { grid-template-columns: 1fr; text-align: center; }
  .fan-qh-video-cta-icon, .fan-qh-video-cta-button { justify-self: center; }
  .fan-qh-video-cta-button { grid-column: auto; }
}

/* Contenedores explícitos del modo líneas primero: 3 columnas, texto arriba y foto abajo. */
.fan-qh-lines-first-actions,
.fan-qh-lines-first-actions--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  align-items: stretch;
}
.fan-qh-lines-first-actions--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fan-qh-lines-first-actions .fan-qh-linea { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-sizing: border-box; }
.fan-qh-lines-first-actions .fan-qh-linea-grid,
.fan-qh-lines-first-actions--3 .fan-qh-linea-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
.fan-qh-lines-first-actions .fan-qh-linea-copy { order: 1; }
.fan-qh-lines-first-actions .fan-qh-linea-media {
  order: 2;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}
.fan-qh-lines-first-actions .fan-qh-linea-index { color: var(--fan-verde, #1e5631); }
.fan-qh-lines-first-actions .fan-qh-linea-title { font-size: clamp(1.2rem, 1.6vw, 1.55rem); }
.fan-qh-lines-first-actions .fan-qh-linea-text { font-size: 0.95rem; }
.fan-qh-lines-first-actions .fan-qh-linea--reverse .fan-qh-linea-grid { direction: ltr; }
.fan-qh-lines-first-actions .fan-qh-linea--reverse .fan-qh-linea-grid > * { direction: ltr; }
.fan-qh-lines-first-actions .fan-qh-linea + .fan-qh-linea { padding-top: 0; border-top: 0; }
.fan-qh-lines-first-complements { display: flex; flex-direction: column; gap: 28px; margin-top: 56px; }
.fan-qh-lines-first-complements .fan-qh-line-complement { margin: 0; }
.fan-qh-lines-first-complements .fan-qh-links-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .fan-qh-lines-first-actions,
  .fan-qh-lines-first-actions--2,
  .fan-qh-lines-first-actions--3 { grid-template-columns: 1fr; gap: 36px; }
  .fan-qh-lines-first-complements { margin-top: 36px; gap: 24px; }
  .fan-qh-lines-first-complements .fan-qh-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .fan-qh-lines-first-complements .fan-qh-links-grid { grid-template-columns: 1fr; }
}

/* Quiénes somos: el banner de Cine Verde muestra la foto entera.
   El velo nace a la izquierda, cubre todo el alto y se apaga al 60% del ancho. */
.fan-cta-banner-copy {
  display: contents;
}
body.fan-page-quienes .fan-cta-banner-panel {
  display: flex;
  align-items: center;
  /* Un poco más bajo que la foto: anclada arriba, se recorta solo el borde inferior. */
  aspect-ratio: 2172 / 620;
  min-height: 280px;
}
body.fan-page-quienes .fan-cta-banner-photo {
  background-position: center top;
  background-size: cover;
}
body.fan-page-quienes .fan-cta-banner-texture {
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(8, 18, 10, 0.55) 0%,
    rgba(8, 18, 10, 0.42) 28%,
    rgba(8, 18, 10, 0.24) 48%,
    rgba(8, 18, 10, 0.08) 55%,
    rgba(8, 18, 10, 0.02) 60%,
    rgba(8, 18, 10, 0) 66%
  );
  opacity: 1;
}
body.fan-page-quienes .fan-cta-banner-inner {
  position: relative;
  top: 25%;
  width: 100%;
  align-items: center;
  padding: 28px 24px;
}
body.fan-page-quienes .fan-cta-banner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  max-width: 42rem;
  padding: 0;
  background: none;
}
body.fan-page-quienes .fan-cta-banner-lead {
  margin: 0;
}
@media (min-width: 900px) {
  body.fan-page-quienes .fan-cta-banner-panel {
    aspect-ratio: 2172 / 620;
    min-height: 280px;
  }
  body.fan-page-quienes .fan-cta-banner-inner {
    align-items: center;
    top: 25%;
    padding: 20px 48px 28px;
  }
}
