/*
Theme Name: CAPADEI 2026 — Propuesta A
Theme URI: https://capadei.org.py
Description: Rediseño editorial de la web de la Cámara Paraguaya de Desarrolladores Inmobiliarios (CAPADEI). Implementación de la Propuesta A (Editorial) aprobada por el cliente, conectada al contenido real de WordPress (socios, noticias, documentos, foro). Slug del tema: capadei-2026-a.
Author: CAPADEI
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.2
Text Domain: capadei2026
*/

/* ============================================================
   TOKENS
   ============================================================ */
/* Paleta tomada del Anuario CAPADEI 2025 (muestreada del PDF y del logo oficial).
   El amarillo #ffcd6b se retiró: no aparece en ninguna página del anuario. El rol
   que ocupaba (acentos sobre fondo navy) lo cumple el celeste --c26-cyan-lt, que es
   lo que usa el anuario en sus encabezados y subtítulos de capítulo. */
:root{
  --c26-bg:        #f4f4f3;  /* gris de página del anuario */
  --c26-card:      #ffffff;
  --c26-ink:       #121f33;  /* navy del anuario */
  --c26-ink-soft:  #61656d;  /* gris tipográfico del logo */
  --c26-rule:      #e3e2e3;
  --c26-navy:      #121f33;
  --c26-navy-mid:  #1b2a44;
  --c26-coral:     #e85a54;  /* acento accesible para botones, links y textos chicos */
  --c26-coral-lt:  #f77875;  /* coral exacto del anuario, para títulos grandes */
  --c26-cyan:      #9dc9dd;  /* celeste del isotipo */
  --c26-cyan-lt:   #b5e0f0;  /* celeste de subtítulos/encabezados sobre navy */
  --c26-muted:     #9aa3b4;
  --c26-box:       #f3f2f2;  /* gris de las cajas del anuario */
  --c26-serif: 'Crimson Pro', 'Times New Roman', serif;
  --c26-sans:  'Exo', system-ui, -apple-system, sans-serif;
  /* El anuario no usa monoespaciada: los rótulos técnicos van en Exo con tracking. */
  --c26-mono:  'Exo', system-ui, sans-serif;
  --c26-brand: 'Exo', var(--c26-sans);
  --c26-maxw: 1180px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.c26{
  margin: 0;
  padding: 0;
  background: var(--c26-bg);
  color: var(--c26-ink);
  font-family: var(--c26-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.c26 img { max-width: 100%; height: auto; display: block; }
body.c26 a { color: inherit; text-decoration: none; }
body.c26 h1, body.c26 h2, body.c26 h3, body.c26 h4 { margin: 0; }
body.c26 p { margin: 0 0 1em; }

.c26-container{
  max-width: var(--c26-maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.c26-eyebrow{
  font-family: var(--c26-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c26-coral);
  margin-bottom: 16px;
}
.c26-section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 50px;
}
.c26-section-head h2{
  font-family: var(--c26-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  color: var(--c26-ink);
  letter-spacing: -0.01em;
  max-width: 640px;
}
.c26-link-more{
  font-family: var(--c26-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--c26-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.c26-link-more svg{ transition: transform .2s ease; }
.c26-link-more:hover svg{ transform: translateX(4px); }
.c26-icon{ display: inline-block; vertical-align: middle; }

/* Franja divisoria: bloque de color pleno, al modo del anuario. Separa la tira
   de logos de las noticias sin necesidad de un titular. */
.c26-divider{ height: 18px; background: var(--c26-navy); }
/* La franja ya divide; la línea del borde superior de noticias sobraría. */
.c26-divider + .c26-news,
.c26-quote + .c26-news{ border-top: none; }

/* Buttons */
.c26-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: none;
  background: var(--c26-coral);
  color: #fff;
  font-family: var(--c26-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.c26-btn:hover{ opacity: .92; }
.c26-btn--ghost{
  background: rgba(9,26,49,0.58);
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.c26-btn--ghost:hover{ background: rgba(9,26,49,0.74); border-color: #fff; opacity: 1; }
/* El texto de los botones debe ganarle a la regla base `body.c26 a { color: inherit }`
   (de lo contrario hereda el azul oscuro del cuerpo y queda ilegible en el botón ghost). */
body.c26 .c26-btn,
body.c26 a.c26-btn,
body.c26 .c26-btn:hover{ color: #fff; }
body.c26 .c26-btn--ghost{ color: #fff; }
.c26-btn--ink{ background: var(--c26-ink); }
.c26-btn--sm{ padding: 10px 18px; font-size: 13px; }

/* ============================================================
   LOGO
   ============================================================ */
.c26-logo{ display: inline-flex; align-items: center; flex: 0 0 auto; }
/* Con una sola clase perdía contra `body.c26 img { height: auto }` y el logo
   terminaba dimensionado por el espacio libre del contenedor: 53px en la
   cabecera y 61px en el pie, con la misma regla. Ahora la medida es explícita,
   y el max-width evita que se desborde si algún día cambia el archivo. */
body.c26 .c26-logo__img{ display: block; height: 38px; width: auto; max-width: 210px; }
body.c26 .c26-footer .c26-logo__img{ height: 48px; max-width: 260px; }
/* En el footer (fondo navy) el logo va en blanco para contrastar. */
.c26-logo--light .c26-logo__img{ filter: brightness(0) invert(1); }

/* ============================================================
   UTILITY BAR
   ============================================================ */
.c26-util{
  background: var(--c26-navy);
  color: #dbe4f0;
  font-family: var(--c26-sans);
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.c26-util__row{
  max-width: var(--c26-maxw);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.c26-util__group{ display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.c26-util__item{ display: inline-flex; align-items: center; gap: 6px; }
.c26-util__divisas{ display: inline-flex; align-items: center; gap: 10px; color: var(--c26-muted); background: none; border: none; padding: 0; font: inherit; cursor: pointer; transition: color .15s; }
.c26-util__divisas:hover{ color: #fff; }
.c26-util__divisas b{ color: #fff; }

/* Modal de cotización (Cambios Chaco) */
.c26-fxmodal{ position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(9,26,49,0.55); padding: 20px; }
.c26-fxmodal[hidden]{ display: none; }
.c26-fxmodal__panel{ background: #fff; width: 100%; max-width: 480px; overflow: hidden; box-shadow: 0 30px 80px rgba(9,26,49,0.45); }
.c26-fxmodal__head{ display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; background: var(--c26-navy); color: #fff; font-family: var(--c26-sans); font-size: 14px; font-weight: 600; }
.c26-fxmodal__close{ background: none; border: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.c26-fxmodal iframe{ width: 100%; height: 430px; border: 0; display: block; background: #fff; }
.c26-util__lang{ display: flex; gap: 8px; }
.c26-util__lang button{ padding: 2px 6px; color: #7e93b0; background: none; border: 1px solid transparent; border-radius: 3px; font: inherit; cursor: pointer; transition: color .15s; }
.c26-util__lang button:hover{ color: #fff; }
.c26-util__lang button.is-active{ border-color: rgba(255,255,255,0.18); color: #fff; }

/* Ocultar la barra/banners que inyecta Google Translate */
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, .goog-te-balloon-frame, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.skiptranslate iframe { visibility: hidden !important; height: 0 !important; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.c26-header{ background: var(--c26-card); border-bottom: 1px solid var(--c26-rule); position: relative; z-index: 50; }
.c26-header__row{
  max-width: var(--c26-maxw);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.c26-nav{ display: flex; align-items: center; }
.c26-nav__list{ display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; font-family: var(--c26-sans); font-size: 14px; font-weight: 500; }
.c26-nav__item{
  padding: 8px 14px;
  color: var(--c26-ink);
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.c26-nav__item:hover{ color: var(--c26-coral); }
.c26-nav__item.is-active{ color: var(--c26-coral); border-bottom-color: var(--c26-coral); }
.c26-nav__cta{ margin-left: 14px; }

/* Dropdowns */
.c26-nav__li{ position: relative; display: inline-flex; align-items: center; }
.c26-nav__drop{
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--c26-rule);
  box-shadow: 0 18px 40px rgba(19,36,59,0.12);
  padding: 8px 0; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.c26-nav__li:hover > .c26-nav__drop,
.c26-nav__li:focus-within > .c26-nav__drop{ opacity: 1; visibility: visible; transform: translateY(0); }
.c26-nav__drop a{ display: block; padding: 10px 20px; font-size: 13px; color: var(--c26-ink); white-space: nowrap; }
.c26-nav__drop a:hover{ background: var(--c26-bg); color: var(--c26-coral); }

/* Mobile menu toggle (hidden on desktop) */
.c26-navtoggle{
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  color: var(--c26-ink);
}
.c26-navtoggle svg{ display: block; }

/* ============================================================
   HERO
   ============================================================ */
.c26-hero{ position: relative; height: 440px; overflow: hidden; background: var(--c26-navy); }
.c26-hero__img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c26-hero__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,37,66,0.88) 0%, rgba(14,37,66,0.55) 50%, rgba(14,37,66,0.20) 100%);
}
.c26-hero__inner{
  position: relative;
  max-width: var(--c26-maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.c26-hero__title{
  font-family: var(--c26-serif);
  font-weight: 500;
  font-size: 60px;
  line-height: 1.05;
  color: #fff;
  margin: 0;
  max-width: 880px;
  letter-spacing: -0.02em;
}
.c26-hero__title i{ color: var(--c26-cyan-lt); font-weight: 400; }
/* La bajada continúa la frase del titular, así que va pegada y en la misma
   medida: se lee como una sola oración, no como dos bloques. */
.c26-hero__lead{
  font-family: var(--c26-sans);
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  margin: 20px 0 0;
  max-width: 640px;
}
.c26-hero__actions{ display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ============================================================
   WELCOME
   ============================================================ */
.c26-welcome{ background: var(--c26-bg); padding: 88px 0; }
.c26-welcome__grid{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: flex-start;
}
.c26-welcome__title{
  font-family: var(--c26-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  color: var(--c26-ink);
  letter-spacing: -0.01em;
}
.c26-welcome__body{ font-family: var(--c26-sans); font-size: 16px; line-height: 1.75; color: var(--c26-ink-soft); }
.c26-welcome__actions{ display: flex; gap: 18px; margin-top: 30px; align-items: center; flex-wrap: wrap; }
.c26-welcome__link{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--c26-sans); font-weight: 600; color: var(--c26-ink);
  border-bottom: 2px solid var(--c26-coral); padding: 6px 0; font-size: 14px;
}
.c26-welcome__link--soft{ color: var(--c26-ink-soft); border-bottom-color: transparent; font-weight: 500; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.c26-stats{ background: var(--c26-navy); color: #fff; padding: 48px 0; }
.c26-stats__grid{ display: grid; grid-template-columns: repeat(4, 1fr); }
.c26-stat{ padding: 8px 30px; border-right: 1px solid rgba(255,255,255,0.12); }
.c26-stat:last-child{ border-right: none; }
.c26-stat__k{ font-family: var(--c26-serif); font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.c26-stat__v{ font-family: var(--c26-sans); font-size: 13px; margin-top: 8px; color: var(--c26-muted); letter-spacing: 0.04em; }

/* ============================================================
   LÍNEAS DE ACCIÓN — los 4 ejes del Anuario 2025 (pág. 8),
   maquetados como las cajas grises del propio anuario.
   ============================================================ */
.c26-ejes{ background: var(--c26-bg); padding: 100px 0 80px; }
.c26-ejes__grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.c26-eje{ background: var(--c26-box); padding: 30px 32px 34px; border-top: 3px solid var(--c26-cyan); }
.c26-eje__head{ display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.c26-eje__n{
  font-family: var(--c26-sans); font-size: 13px; font-weight: 800;
  letter-spacing: 0.14em; color: var(--c26-coral); flex: 0 0 auto;
}
.c26-eje__t{ font-family: var(--c26-sans); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--c26-ink); margin: 0; }
.c26-eje__list{ list-style: none; counter-reset: eje; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.c26-eje__list li{
  counter-increment: eje;
  position: relative; padding-left: 30px;
  font-size: 14px; line-height: 1.6; color: var(--c26-ink-soft);
}
.c26-eje__list li::before{
  content: counter(eje) ".";
  position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--c26-coral); font-variant-numeric: tabular-nums;
}

/* ============================================================
   NOTICIAS
   ============================================================ */
/* Grilla uniforme: todas las notas con el mismo formato (8 por defecto). */
.c26-news{ background: var(--c26-card); padding: 100px 0; border-top: 1px solid var(--c26-rule); }
.c26-news__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.c26-newscard{
  display: flex; flex-direction: column;
  background: var(--c26-card); border: 1px solid var(--c26-rule);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.c26-newscard:hover{ transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,31,51,0.13); border-color: var(--c26-cyan); }
/* Marco de proporción fija: todas las fotos de portada se ven del mismo tamaño
   aunque los originales tengan proporciones distintas. La razón es la misma que
   la del recorte `c26-news` registrado en functions.php. */
.c26-newscard__media{ overflow: hidden; background: #e5e7eb; aspect-ratio: 760 / 520; }
.c26-newscard__img{ transition: transform .45s ease; }
/* Necesita ganarle a `body.c26 img { height: auto }` (0,1,1): con una sola clase
   la altura no se aplicaba y cada foto quedaba con su propio alto. */
body.c26 .c26-newscard__img{ width: 100%; height: 100%; object-fit: cover; }
.c26-newscard:hover .c26-newscard__img{ transform: scale(1.06); }
.c26-newscard__body{ padding: 20px; display: flex; flex-direction: column; flex: 1; }
.c26-newscard__meta{
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-family: var(--c26-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.c26-newscard__cat{ background: var(--c26-coral); color: #fff; padding: 3px 9px; }
.c26-newscard__date{ color: var(--c26-ink-soft); }
.c26-newscard__title{
  font-family: var(--c26-sans); font-weight: 700; font-size: 17px; line-height: 1.3;
  color: var(--c26-ink); margin: 0 0 10px; transition: color .2s ease;
}
.c26-newscard:hover .c26-newscard__title{ color: var(--c26-coral); }
.c26-newscard__excerpt{ font-size: 13.5px; line-height: 1.55; color: var(--c26-ink-soft); margin: 0 0 16px; }
.c26-newscard:hover 
/* ============================================================
   CITA DESTACADA (debajo del hero)
   ============================================================ */
.c26-quote{ background: var(--c26-card); padding: 60px 0; border-bottom: 1px solid var(--c26-rule); }
.c26-quote__inner{ max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.c26-quote__mark{ display: inline-flex; }
.c26-quote__text{
  font-family: var(--c26-serif); font-weight: 400; font-style: italic;
  font-size: 27px; line-height: 1.4; color: var(--c26-ink);
  margin: 0; letter-spacing: -0.01em;
}
.c26-quote__by{ display: flex; flex-direction: column; gap: 3px; }
.c26-quote__by strong{ font-family: var(--c26-sans); font-size: 14px; font-weight: 700; color: var(--c26-ink); }
.c26-quote__by span{ font-size: 12.5px; color: var(--c26-ink-soft); letter-spacing: 0.03em; }

/* ============================================================
   FORO
   ============================================================ */
/* Los colores salen del Personalizador (CAPADEI · Foro). El valor en línea que
   pone c26_foro_style() solo aparece si el cliente lo cambió; si no, mandan
   los tokens de marca del fallback. */
.c26-foro{ background: var(--c26-foro-bg, var(--c26-navy)); color: #fff; position: relative; overflow: hidden; }
.c26-foro__grid{ max-width: var(--c26-maxw); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 380px; }
.c26-foro__text{ padding: 80px 60px 80px 0; display: flex; flex-direction: column; justify-content: center; }
.c26-foro__eyebrow{ font-family: var(--c26-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c26-foro-accent, var(--c26-cyan-lt)); margin-bottom: 16px; }
.c26-foro__title{ font-family: var(--c26-serif); font-weight: 400; font-size: 46px; line-height: 1.05; color: #fff; margin: 0 0 18px; letter-spacing: -0.01em; }
.c26-foro__title i{ color: var(--c26-foro-accent, var(--c26-cyan-lt)); }
.c26-foro__lead{ font-family: var(--c26-sans); font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 460px; margin: 0 0 30px; }
.c26-foro__stats{ display: flex; gap: 30px; margin-bottom: 32px; }
.c26-foro__stat-k{ font-family: var(--c26-serif); font-size: 34px; font-weight: 500; }
.c26-foro__stat-v{ font-family: var(--c26-sans); font-size: 12px; color: var(--c26-muted); letter-spacing: 0.06em; }
.c26-foro__actions{ display: flex; gap: 14px; flex-wrap: wrap; }
/* :not(--ghost) para no pisar el fondo translúcido del botón secundario. */
.c26-foro .c26-btn:not(.c26-btn--ghost){ background: var(--c26-foro-btn, var(--c26-coral)); }
.c26-foro__media{ position: relative; min-height: 380px; overflow: hidden; background-color: #0f2238; }
.c26-foro__media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.c26-foro__media-overlay{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,37,66,0.20) 0%, rgba(14,37,66,0.55) 100%); }

/* ============================================================
   DOCUMENTOS
   ============================================================ */
.c26-docs{ background: var(--c26-bg); padding: 100px 0; }
.c26-docs__grid{ display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 24px; }
.c26-doc{
  background: var(--c26-card); padding: 24px; border: 1px solid var(--c26-rule);
  color: var(--c26-ink); display: flex; flex-direction: column; justify-content: space-between; min-height: 360px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.c26-doc:hover{ transform: translateY(-3px); box-shadow: 0 14px 34px rgba(19,36,59,0.10); }
.c26-doc__top{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.c26-doc__tag{ font-family: var(--c26-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c26-coral); }
.c26-doc__t{ font-family: var(--c26-serif); font-weight: 500; font-size: 20px; line-height: 1.2; margin: 0 0 10px; }
.c26-doc__d{ font-family: var(--c26-sans); font-size: 13px; line-height: 1.55; color: var(--c26-ink-soft); margin: 0; }
.c26-doc__foot{ margin-top: 16px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--c26-rule); padding-top: 14px; }
.c26-doc__pdf{ font-family: var(--c26-mono); font-size: 11px; color: var(--c26-ink-soft); letter-spacing: 0.08em; }
/* Documento destacado (oscuro) */
.c26-doc--feature{ background: var(--c26-navy); color: #fff; padding: 26px; border: none; }
.c26-doc--feature .c26-doc__tag{ color: var(--c26-cyan-lt); }
.c26-doc--feature .c26-doc__d{ color: var(--c26-muted); }
.c26-doc--feature .c26-doc__cover{
  background: repeating-linear-gradient(135deg, #1a3653 0 12px, rgba(255,255,255,0.04) 12px 24px);
  height: 180px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.c26-doc--feature .c26-doc__cover-year{ font-family: var(--c26-serif); font-size: 32px; color: var(--c26-cyan-lt); font-style: italic; }
.c26-doc--feature .c26-doc__pdf{ color: var(--c26-muted); }

/* ============================================================
   MULTIMEDIA  (video destacado + podcast / flip / enlace)
   ============================================================ */
.c26-media{ background: var(--c26-bg); padding: 100px 0; }
.c26-media__grid{ display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }

/* Pieza principal: el último video, a la izquierda y a lo grande. */
.c26-media__hero{
  background: var(--c26-card); border: 1px solid var(--c26-rule);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .2s ease;
}
.c26-media__hero:hover{ box-shadow: 0 14px 34px rgba(19,36,59,0.10); }
.c26-media__hero-link{ display: flex; flex-direction: column; height: 100%; color: var(--c26-ink); }
.c26-media__shot{
  display: block; position: relative; aspect-ratio: 16 / 9;
  background: var(--c26-navy) center / cover no-repeat;
}
.c26-media__play{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--c26-coral);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(0,0,0,0.32); transition: transform .2s ease;
}
.c26-media__play .c26-icon{ margin-left: 4px; }
.c26-media__hero-link:hover .c26-media__play{ transform: translate(-50%, -50%) scale(1.08); }
.c26-media__iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c26-media__hero.is-playing .c26-media__play{ display: none; }
.c26-media__body{ display: block; padding: 24px 26px 28px; }
.c26-media__tag{
  display: block; font-family: var(--c26-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c26-coral); margin-bottom: 10px;
}
.c26-media__title{ font-family: var(--c26-serif); font-weight: 500; font-size: 25px; line-height: 1.2; }
.c26-media__hero-link:hover .c26-media__title{ color: var(--c26-coral); }
.c26-media__desc{ display: block; font-size: 14px; line-height: 1.55; color: var(--c26-ink-soft); margin-top: 10px; }

/* Columna derecha: podcast, flip y enlace, uno debajo del otro. */
.c26-media__side{ display: grid; grid-template-rows: repeat(3, 1fr); gap: 24px; }
.c26-media__card{
  display: grid; grid-template-columns: 132px 1fr; align-items: stretch;
  background: var(--c26-card); border: 1px solid var(--c26-rule); color: var(--c26-ink);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.c26-media__card:hover{ transform: translateY(-3px); box-shadow: 0 14px 34px rgba(19,36,59,0.10); }
.c26-media__shot--sm{ aspect-ratio: auto; height: 100%; }
/* La tapa del flipbook es vertical: recortada desde arriba se le sigue viendo el título. */
.c26-media__card--flip .c26-media__shot{ background-position: center top; }
.c26-media__card .c26-media__body{ padding: 18px 20px; align-self: center; }
.c26-media__card .c26-media__title{ font-size: 18px; }
.c26-media__card:hover .c26-media__title{ color: var(--c26-coral); }

/* Chapita sobre la miniatura de las piezas que se abren sin salir del sitio. */
.c26-media__badge{
  position: absolute; left: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--c26-coral);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28); transition: transform .2s ease;
}
.c26-media__badge .c26-icon{ margin-left: 2px; }
.c26-media__badge--lg{ width: 48px; height: 48px; left: 16px; bottom: 16px; }
.c26-media__card:hover .c26-media__badge,
.c26-media__item:hover .c26-media__badge{ transform: scale(1.1); }

/* Visor modal: flipbook, podcast o video sobre la página. */
.c26-mediamodal{
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center;
  justify-content: center; background: rgba(9,26,49,0.72); padding: 24px;
}
.c26-mediamodal[hidden]{ display: none; }
.c26-mediamodal__panel{
  background: #fff; width: 100%; max-width: 1080px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(9,26,49,0.45);
}
.c26-mediamodal__head{
  display: flex; align-items: center; gap: 16px; padding: 12px 16px;
  background: var(--c26-navy); color: #fff;
  font-family: var(--c26-sans); font-size: 14px; font-weight: 600;
}
.c26-mediamodal__titulo{ flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.c26 .c26-mediamodal__out{
  flex: 0 0 auto; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c26-cyan-lt);
}
body.c26 .c26-mediamodal__out:hover{ color: #fff; }
.c26-mediamodal__close{
  flex: 0 0 auto; background: none; border: none; color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; padding: 0 2px;
}
.c26-mediamodal__frame{ background: #000; aspect-ratio: 16 / 9; }
.c26-mediamodal__frame iframe{ width: 100%; height: 100%; border: 0; display: block; }
/* El flipbook se ve mejor con la doble página completa; el podcast es una barra. */
.c26-mediamodal__frame--flip{ aspect-ratio: 16 / 10; }
.c26-mediamodal__frame--podcast{ aspect-ratio: auto; height: 352px; background: #fff; }
/* El reproductor de Spotify es una ficha, no una pantalla: no necesita todo el ancho. */
.c26-mediamodal__panel--podcast{ max-width: 680px; }

/* Archivo de Multimedia: la misma tarjeta, en grilla. */
.c26-media__archive{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c26-media__item{
  display: flex; flex-direction: column; background: var(--c26-card);
  border: 1px solid var(--c26-rule); color: var(--c26-ink); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.c26-media__item:hover{ transform: translateY(-3px); box-shadow: 0 14px 34px rgba(19,36,59,0.10); }
.c26-media__item .c26-media__title{ font-size: 19px; }
.c26-media__item:hover .c26-media__title{ color: var(--c26-coral); }

/* ============================================================
   SOCIOS
   ============================================================ */
.c26-socios{ background: var(--c26-card); padding: 80px 0; border-top: 1px solid var(--c26-rule); border-bottom: 1px solid var(--c26-rule); }
/* Variante "tira": va pegada al hero, sin titular ni respiro; solo los logos. */
.c26-socios--strip{ padding: 0; border-top: none; border-bottom: none; }
.c26-socios .c26-section-head{ margin-bottom: 36px; }
.c26-socios .c26-section-head h2{ font-size: 36px; }
.c26-socios__grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.c26-socios__grid .c26-socio{ border: 1px solid var(--c26-rule); background: var(--c26-card); }
.c26-socio{
  height: 150px; display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
}
body.c26 .c26-socio img, body.c26 .c26-socio__logo{ width: 100%; height: 110px; object-fit: contain; object-position: center; transition: transform .2s ease; }
.c26-socio:hover img, .c26-socio:hover .c26-socio__logo{ transform: scale(1.05); }
.c26-socio__name{ font-family: var(--c26-sans); font-size: 12px; font-weight: 600; color: var(--c26-ink); opacity: .7; letter-spacing: 0.06em; }
/* Respaldo: si el socio tiene logo se oculta el nombre; si la imagen falla, se muestra el nombre */
.c26-socio.has-logo .c26-socio__name{ display: none; }
.c26-socio.has-logo.is-broken .c26-socio__logo{ display: none; }
.c26-socio.has-logo.is-broken .c26-socio__name{ display: block; }

/* Carrusel de socios (marquee que corre solo, pausa al pasar el mouse).
   Ancho de cada logo = 20vw: entran cinco en pantalla, con un techo para que en
   monitores muy anchos no se estiren de más. */
.c26-marquee{ overflow: hidden; border-top: 1px solid var(--c26-rule); border-bottom: 1px solid var(--c26-rule); }
/* La pista tiene seis copias de la lista y el bucle recorre la mitad (tres): al
   reiniciar, cada logo cae exactamente donde estaba el mismo logo tres listas
   atrás, en la misma fila. Ver el comentario de front-page.php. */
.c26-marquee__track{ display: flex; width: max-content; animation: c26-marquee 210s linear infinite; }
.c26-marquee:hover .c26-marquee__track{ animation-play-state: paused; }
@keyframes c26-marquee{ from { transform: translateX(0); } to { transform: translateX(-50%); } }
.c26-marquee .c26-socio{
  flex: 0 0 auto; width: 20vw; max-width: 340px; height: 196px;
  padding: 24px; border-right: 1px solid var(--c26-rule); border-bottom: none;
}
body.c26 .c26-marquee .c26-socio img, body.c26 .c26-marquee .c26-socio__logo{ height: 148px; }
@media (prefers-reduced-motion: reduce){ .c26-marquee__track{ animation: none; } }

/* Mobile: el carrusel pasa a grilla de 3 filas y avanza de a columnas de 2 logos. */
@media (max-width: 560px){
  .c26-marquee__track{
    display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, 1fr);
    grid-auto-columns: 50vw; animation-duration: 165s;
  }
  .c26-marquee .c26-socio{
    width: auto; max-width: none; height: 116px; padding: 14px;
    border-bottom: 1px solid var(--c26-rule);
  }
  .c26-marquee .c26-socio:nth-child(3n){ border-bottom: none; }
  body.c26 .c26-marquee .c26-socio img, body.c26 .c26-marquee .c26-socio__logo{ height: 88px; }
}

/* ============================================================
   CONTACTO + REDES  (reemplaza al bloque de boletín)
   ============================================================ */
.c26-contacto{ background: var(--c26-navy); color: #fff; padding: 72px 0; }
.c26-contacto__grid{ display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }
.c26-contacto .c26-eyebrow{ color: var(--c26-cyan-lt); }
.c26-contacto__actions{ display: flex; gap: 14px; flex-wrap: wrap; }
/* El teléfono y el correo son enlaces reales: `tel:` y `mailto:`. */
.c26-contacto__tel,
.c26-contacto__mail{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border: 1px solid rgba(255,255,255,0.28);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  transition: background .2s ease, border-color .2s ease;
}
body.c26 .c26-contacto__tel,
body.c26 .c26-contacto__mail{ color: #fff; }
.c26-contacto__tel{ background: var(--c26-coral); border-color: var(--c26-coral); }
.c26-contacto__tel:hover{ background: #d24f49; border-color: #d24f49; }
.c26-contacto__mail:hover{ background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.55); }

.c26-contacto__redes{ display: flex; flex-direction: column; gap: 16px; align-items: flex-start; border-left: 1px solid rgba(255,255,255,0.14); padding-left: 56px; }
.c26-contacto__redes-title{ font-family: var(--c26-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c26-cyan-lt); }

/* Iconos de redes (SVG de marca) */
.c26-social{ display: flex; gap: 10px; flex-wrap: wrap; }
.c26-social a{
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.22); color: #fff;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.c26-social a:hover{ background: var(--c26-coral); border-color: var(--c26-coral); transform: translateY(-2px); }
/* Variante grande de la franja "Seguinos en las redes": el SVG se agranda junto
   con la caja, si no queda un ícono chico perdido en un recuadro grande
   (c26_social_icons() los dibuja a 18px). */
.c26-social--lg{ gap: 14px; }
.c26-social--lg a{ width: 58px; height: 58px; }
.c26-social--lg svg{ width: 28px; height: 28px; }
.c26-social--light a{ border-color: rgba(255,255,255,0.18); }

/* ============================================================
   FOOTER
   ============================================================ */
.c26-footer{ background: var(--c26-navy); color: #cdd6e3; padding: 64px 0 24px; font-family: var(--c26-sans); font-size: 13px; }
.c26-footer__grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.c26-footer__col h4{ font-family: var(--c26-sans); font-size: 12px; color: #fff; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; }
.c26-footer__col ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.c26-footer__col ul a{ color: var(--c26-muted); transition: color .15s; }
.c26-footer__col ul a:hover{ color: #fff; }
.c26-footer__contact{ display: flex; flex-direction: column; gap: 10px; color: var(--c26-muted); line-height: 1.5; }
.c26-footer__contact .is-strong{ color: #fff; }
.c26-footer__bottom{ border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; color: #6b7d96; font-size: 12px; flex-wrap: wrap; }

/* ============================================================
   PLANTILLAS INTERNAS (page / single / archive)
   ============================================================ */
.c26-pagehead{ background: var(--c26-navy); color: #fff; padding: 64px 0 56px; }
.c26-pagehead__crumbs{ font-family: var(--c26-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c26-cyan-lt); margin-bottom: 14px; }
.c26-pagehead__crumbs a{ color: var(--c26-muted); }
.c26-pagehead h1{ font-family: var(--c26-serif); font-weight: 500; font-size: 46px; line-height: 1.05; letter-spacing: -0.01em; }
.c26-main{ padding: 64px 0 90px; }
.c26-content{ font-family: var(--c26-sans); font-size: 16px; line-height: 1.75; color: var(--c26-ink); }
.c26-content img{ margin: 18px 0; }
.c26-content h2{ font-family: var(--c26-serif); font-size: 30px; margin: 32px 0 12px; }
.c26-content h3{ font-family: var(--c26-serif); font-size: 23px; margin: 26px 0 10px; }
.c26-content a{ color: var(--c26-coral); border-bottom: 1px solid currentColor; }
.c26-content table{ width: 100%; border-collapse: collapse; margin: 18px 0; }
.c26-content td, .c26-content th{ border: 1px solid var(--c26-rule); padding: 8px 12px; }

/* ============================================================
   PÁGINA DE CONTACTO — dos columnas: texto a la izquierda,
   datos + formulario a la derecha. El formulario es Contact Form 7
   y venía con clases de Bootstrap (.form-group / .form-control) que
   el tema no carga: se estilan acá para que no salga en crudo.
   ============================================================ */
.c26-contacto-page{ display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }

/* La columna de texto es angosta (~700px): las listas del lenguaje institucional
   van a una sola columna acá, si no los ítems largos quedan ilegibles. */
.c26-contacto-page .c26-objetivos{ columns: 1; }
.c26-contacto-page .c26-apartado{ margin-top: 40px; }
.c26-contacto-page .c26-apartado--rule{ margin-top: 0; }

/* Sublista (ej. la identificación de socios dentro del punto 2.B). Los selectores
   llevan `.c26-objetivos` delante para ganarle a `.c26-objetivos li`, que si no
   le pone el mismo chevrón que a los ítems de primer nivel y se pierde la
   jerarquía (misma especificidad, y esa regla va después en la hoja). */
.c26-objetivos .c26-objetivos__sub{ list-style: none; padding: 0; margin: 10px 0 0; }
.c26-objetivos .c26-objetivos__sub li{
  position: relative; padding-left: 18px; margin-bottom: 8px;
  font-size: 14px; line-height: 1.6; color: var(--c26-ink-soft);
}
.c26-objetivos .c26-objetivos__sub li::before{
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 1px; background: var(--c26-coral);
}

/* Aviso destacado ("Importante"): caja gris con filete coral al costado. */
.c26-aviso{ background: var(--c26-box); border-left: 3px solid var(--c26-coral); padding: 22px 24px; margin: 40px 0 0; }
.c26-aviso__k{
  font-family: var(--c26-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--c26-coral); margin-bottom: 10px;
}
.c26-aviso p{ font-size: 14.5px; line-height: 1.65; color: var(--c26-ink); }
.c26-aviso p + p{ margin-top: 10px; }

/* Firma de cierre del documento. */
.c26-firma{
  font-family: var(--c26-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c26-ink-soft);
  margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--c26-rule);
}

.c26-datos{ background: var(--c26-card); border: 1px solid var(--c26-rule); padding: 28px; }
.c26-datos__item + .c26-datos__item{ margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c26-rule); }
.c26-datos p{ font-family: var(--c26-sans); font-size: 15px; line-height: 1.7; color: var(--c26-ink); margin-top: 8px; }
.c26-datos a{ color: var(--c26-ink); }
.c26-datos a:hover{ color: var(--c26-coral); }

.c26-formulario{ background: var(--c26-card); border: 1px solid var(--c26-rule); padding: 28px; margin-top: 24px; }
.c26-formulario__title{ font-family: var(--c26-serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin: 8px 0 20px; }

/* Campos: mismo lenguaje que las fichas (borde fino, sin radio, foco coral). */
.c26-formulario .form-group{ margin-bottom: 14px; }
.c26-formulario input[type="text"],
.c26-formulario input[type="email"],
.c26-formulario input[type="tel"],
.c26-formulario textarea{
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--c26-rule);
  border-radius: 0;
  background: var(--c26-bg);
  font-family: var(--c26-sans);
  font-size: 15px;
  color: var(--c26-ink);
  transition: border-color .2s ease, background .2s ease;
}
.c26-formulario textarea{ min-height: 150px; resize: vertical; }
.c26-formulario input::placeholder,
.c26-formulario textarea::placeholder{ color: var(--c26-ink-soft); opacity: 1; }
.c26-formulario input:focus,
.c26-formulario textarea:focus{ outline: none; border-color: var(--c26-coral); background: var(--c26-card); }

/* Botón de envío: se le da el aspecto de .c26-btn sin tocar el formulario en el admin. */
.c26-formulario input[type="submit"]{
  display: inline-flex;
  padding: 14px 26px;
  border: none;
  border-radius: 0;
  background: var(--c26-coral);
  color: #fff;
  font-family: var(--c26-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease;
}
.c26-formulario input[type="submit"]:hover{ opacity: .92; }

/* Mensajes de validación y de envío de CF7. */
.c26-formulario .wpcf7-not-valid-tip{ font-family: var(--c26-sans); font-size: 13px; color: var(--c26-coral); margin-top: 6px; }
.c26-formulario .wpcf7-not-valid{ border-color: var(--c26-coral); }
.c26-formulario .wpcf7-response-output{
  font-family: var(--c26-sans);
  font-size: 14px;
  line-height: 1.6;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--c26-rule);
  background: var(--c26-box);
}
.c26-formulario .wpcf7 form.sent .wpcf7-response-output{ border-color: var(--c26-cyan); }
.c26-formulario .wpcf7 form.invalid .wpcf7-response-output,
.c26-formulario .wpcf7 form.failed .wpcf7-response-output{ border-color: var(--c26-coral); }
.c26-formulario .wpcf7-spinner{ margin-left: 10px; }

.c26-cardgrid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.c26-postcard{ background: var(--c26-card); border: 1px solid var(--c26-rule); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.c26-postcard:hover{ transform: translateY(-3px); box-shadow: 0 14px 34px rgba(19,36,59,0.10); }
/* Misma proporción que las fichas de portada. Va con aspect-ratio y no con una
   altura fija porque `body.c26 img { height: auto }` anularía la altura (esta
   clase la usan tanto un <img> como un <div> de respaldo). */
.c26-postcard__media{ width: 100%; aspect-ratio: 760 / 520; object-fit: cover; background: #e5e7eb; }
.c26-postcard__body{ padding: 22px; }
.c26-postcard__date{ font-family: var(--c26-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c26-coral); margin-bottom: 8px; }
.c26-postcard__title{ font-family: var(--c26-serif); font-weight: 500; font-size: 20px; line-height: 1.25; color: var(--c26-ink); }

/* ============================================================
   PÁGINA INSTITUCIONAL — replica la jerarquía del Anuario 2025,
   capítulo 2 (págs. 7 y 10): apartados numerados, misión/visión en
   dos columnas rótulo+texto, y objetivos en lista de dos columnas.
   ============================================================ */

/* Entradilla en negrita que abre el capítulo. */
.c26-content .c26-intro{ font-size: 18px; line-height: 1.6; font-weight: 600; color: var(--c26-ink); margin-bottom: 40px; }

/* Encabezado de apartado: título + subtítulo en peso ligero al lado. */
.c26-apartado{ display: flex; align-items: baseline; gap: 14px; margin: 46px 0 8px; }
.c26-apartado__t{ font-family: var(--c26-sans); font-size: 24px; font-weight: 700; color: var(--c26-ink); margin: 0; line-height: 1.2; }
.c26-apartado__sub{ font-family: var(--c26-sans); font-size: 22px; font-weight: 300; color: var(--c26-ink); }
/* Filete coral bajo el encabezado, como en la pág. 10 del anuario. */
.c26-apartado--rule{ border-bottom: 1px solid var(--c26-coral-lt); padding-bottom: 12px; margin-bottom: 28px; }

/* Filas rótulo + texto (2.1.1 Misión, 2.1.2 Visión) */
.c26-def{ display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 20px 0; border-top: 1px solid var(--c26-rule); }
.c26-def:last-of-type{ border-bottom: 1px solid var(--c26-rule); }
.c26-def__k{ font-family: var(--c26-sans); font-size: 14px; font-weight: 700; color: var(--c26-ink); }
.c26-def__v{ font-size: 15px; line-height: 1.65; color: var(--c26-ink-soft); }

/* Subapartado (2.1.3 Objetivos). Va con selector propio y `.c26-content` delante
   porque `.c26-content h3` del tema (serif, 23px) le gana por especificidad. */
.c26-content h3.c26-subapartado{
  font-family: var(--c26-sans); font-size: 17px; font-weight: 700;
  color: var(--c26-ink); margin: 34px 0 0;
}

/* ------------------------------------------------------------
   Variante en bloques nativos de Gutenberg.
   El lenguaje de arriba (.c26-apartado y compañía) depende de
   divs envolventes escritos a mano: si alguien edita la página
   desde el escritorio y anida un bloque de más adentro de un
   .c26-apartado, como es display:flex se le viene abajo la
   página entera. Estas clases se aplican directamente sobre el
   encabezado, el párrafo o la lista, sin wrapper: cada bloque se
   sostiene solo y se puede mover o borrar sin romper nada.
   ------------------------------------------------------------ */
.c26-content h2.c26-seccion{
  font-family: var(--c26-sans); font-size: 24px; font-weight: 700; color: var(--c26-ink);
  margin: 52px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--c26-coral-lt);
}
.c26-content h2.c26-seccion:first-child{ margin-top: 0; }
.c26-content p.c26-seccion__sub{
  font-family: var(--c26-sans); font-size: 15px; font-weight: 300;
  color: var(--c26-ink-soft); margin: 10px 0 0;
}

/* Filas rótulo + texto (Misión, Visión) armadas con el bloque nativo de
   columnas. El flex va explícito para no depender de que el sitio cargue la
   hoja de estilos de bloques de WordPress. */
.c26-content .c26-def{
  display: flex; flex-wrap: wrap; gap: 28px;
  margin: 28px 0 0; padding: 20px 0; border-top: 1px solid var(--c26-rule);
}
.c26-content .c26-def > .wp-block-column{ flex: 1 1 260px; min-width: 0; margin: 0; }
.c26-content .c26-def > .wp-block-column.c26-def__k{ flex: 0 0 170px; }

/* Objetivos: dos columnas con chevrón coral, como el anuario */
.c26-objetivos{ columns: 2; column-gap: 44px; list-style: none; padding: 0; margin: 22px 0 0; }
.c26-objetivos li{
  break-inside: avoid; position: relative; padding-left: 24px; margin-bottom: 14px;
  font-size: 14.5px; line-height: 1.6; color: var(--c26-ink-soft);
}
.c26-objetivos li::before{
  content: "❯"; position: absolute; left: 0; top: 0;
  color: var(--c26-coral); font-weight: 700; font-size: 13px;
}


@media (max-width: 720px){
  .c26-def{ grid-template-columns: 1fr; gap: 8px; }
  .c26-objetivos{ columns: 1; }
  .c26-apartado{ flex-wrap: wrap; gap: 8px; }
  .c26-apartado__t, .c26-apartado__sub{ font-size: 20px; }
}

/* ============================================================
   CONSEJO DIRECTIVO — grilla de retratos (Anuario 2025, pág. 10)
   ============================================================ */
.c26-consejo{ margin: 8px 0 48px; }
.c26-consejo__title{
  font-family: var(--c26-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--c26-coral);
  margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--c26-rule);
}
.c26-consejo__grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.c26-consejo__grid--mesa{ margin-bottom: 46px; }
.c26-miembro{ display: flex; flex-direction: column; }
.c26-miembro__photo{
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  background: var(--c26-box); margin-bottom: 14px;
}
.c26-miembro__role{
  font-family: var(--c26-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c26-coral); margin-bottom: 3px;
}
.c26-miembro__name{ font-family: var(--c26-sans); font-size: 15px; font-weight: 600; color: var(--c26-ink); line-height: 1.35; }
.c26-consejo__foot{ background: var(--c26-box); padding: 18px 22px; margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--c26-ink-soft); }
.c26-consejo__foot strong{ color: var(--c26-ink); }

/* ============================================================
   BARRA DE AÑOS + LISTADO (archivo de boletines)
   ============================================================ */
.c26-yearbar{ display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.c26-yearbar__pill{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1px solid var(--c26-rule); background: #fff;
  font-family: var(--c26-sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--c26-ink-soft);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.c26-yearbar__pill:hover{ border-color: var(--c26-ink); color: var(--c26-ink); }
.c26-yearbar__pill.is-active{ background: var(--c26-navy); border-color: var(--c26-navy); color: #fff; }
.c26-yearbar__count{ font-size: 11px; opacity: .6; font-weight: 500; }

/* Boletín destacado: el primero del archivo viene abierto, con el PDF a la vista. */
.c26-boletin{ margin: 0 0 56px; }
.c26-boletin .c26-eyebrow{ margin-bottom: 10px; }
.c26-boletin__title{ font-family: var(--c26-serif); font-weight: 500; font-size: 34px; line-height: 1.15; margin-bottom: 22px; }
.c26-boletin__title a{ color: var(--c26-ink); }
.c26-boletin__title a:hover{ color: var(--c26-coral); }
.c26-boletin__viewer{
  display: block; width: 100%; height: 760px;
  border: 1px solid var(--c26-rule); background: var(--c26-card);
}
.c26-boletin__fallback{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; height: 100%; padding: 40px 24px; text-align: center; color: var(--c26-ink-soft);
}
.c26-boletin__actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.c26-boletin__empty{ padding: 28px 24px; background: var(--c26-box); color: var(--c26-ink-soft); }
.c26-boletin__empty a{ color: var(--c26-coral); }

.c26-list__head{
  font-family: var(--c26-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--c26-ink-soft);
  margin-bottom: 12px;
}
.c26-list{ list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c26-rule); }
.c26-list__row{
  display: grid; grid-template-columns: 170px 1fr auto; gap: 24px; align-items: center;
  padding: 18px 4px; border-bottom: 1px solid var(--c26-rule);
  transition: background .18s ease;
}
.c26-list__row:hover{ background: var(--c26-card); }
.c26-list__date{
  font-family: var(--c26-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--c26-coral); white-space: nowrap;
}
.c26-list__body{ min-width: 0; }
.c26-list__title{ font-family: var(--c26-serif); font-weight: 500; font-size: 21px; line-height: 1.3; }
.c26-list__title a{ color: var(--c26-ink); }
.c26-list__row:hover .c26-list__title a{ color: var(--c26-coral); }
.c26-list__excerpt{ margin: 4px 0 0; font-size: 14px; color: var(--c26-ink-soft); max-width: 70ch; }
.c26-list__actions{ display: flex; gap: 8px; flex-shrink: 0; }
.c26-list__action{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--c26-rule); background: #fff;
  font-family: var(--c26-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--c26-ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.c26-list__action:hover{ border-color: var(--c26-ink); }
.c26-list__action--pdf{ background: var(--c26-coral); border-color: var(--c26-coral); color: #fff; }
.c26-list__action--pdf:hover{ background: #d64b45; border-color: #d64b45; }
.c26-list__empty{ padding: 32px 0; color: var(--c26-ink-soft); }
/* En pantallas angostas la fila se apila: fecha, título y botones, uno debajo del
   otro. Va acá y no en el bloque general de responsive para que gane por orden. */
@media (max-width: 860px){
  .c26-list__row{ grid-template-columns: 1fr; gap: 8px; align-items: start; padding: 18px 4px; }
  .c26-list__title{ font-size: 19px; }
  .c26-list__actions{ margin-top: 4px; }
  .c26-boletin__title{ font-size: 26px; }
  .c26-boletin__viewer{ height: 62vh; min-height: 380px; }
  .c26-boletin__actions .c26-btn, .c26-boletin__actions .c26-list__action{ flex: 1 1 auto; justify-content: center; }
}

.c26-pagination{ margin-top: 50px; display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--c26-sans); }
.c26-pagination .page-numbers{ padding: 9px 14px; border: 1px solid var(--c26-rule); background: #fff; color: var(--c26-ink); font-size: 14px; }
.c26-pagination .page-numbers.current{ background: var(--c26-coral); color: #fff; border-color: var(--c26-coral); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px){
  .c26-hero__title{ font-size: 48px; }
  .c26-section-head h2, .c26-welcome__title, .c26-foro__title{ font-size: 36px; }
  .c26-docs__grid{ grid-template-columns: 1fr 1fr; }
  .c26-news__grid{ grid-template-columns: repeat(2, 1fr); }
  .c26-consejo__grid{ grid-template-columns: repeat(3, 1fr); }
  .c26-quote__text{ font-size: 23px; }
}
/* El nav completo solo entra a ≥1180px (ancho del diseño); por debajo pasa a
   menú hamburguesa para evitar que se desborde del contenedor. */
@media (max-width: 1180px){
  .c26-navtoggle{ display: inline-flex; }
  .c26-nav{
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--c26-rule);
    padding: 8px 0; box-shadow: 0 18px 40px rgba(19,36,59,0.12);
  }
  .c26-nav.is-open{ display: flex; }
  .c26-nav__list{ flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .c26-nav__item{ padding: 12px 32px; border-bottom: none; }
  .c26-nav__item.is-active{ border-bottom: none; border-left: 3px solid var(--c26-coral); }
  .c26-nav__cta{ margin: 8px 32px; justify-content: center; }
  .c26-nav__li{ display: block; }
  .c26-nav__drop{
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--c26-rule);
    margin: 0 0 6px 32px; padding: 0;
  }
  .c26-nav__drop a{ padding: 8px 20px; }
}
@media (max-width: 860px){
  .c26-util__row{ flex-direction: column; align-items: flex-start; gap: 6px; }
  .c26-util__group{ gap: 14px; }
  .c26-welcome__grid{ grid-template-columns: 1fr; gap: 36px; }
  .c26-stats__grid{ grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .c26-stat{ border-right: none; }
  .c26-stat:nth-child(odd){ border-right: 1px solid rgba(255,255,255,0.12); }
  .c26-ejes__grid{ grid-template-columns: 1fr; }
  .c26-contacto-page{ grid-template-columns: 1fr; gap: 40px; }
  .c26-foro__grid{ grid-template-columns: 1fr; }
  .c26-foro__text{ padding: 64px 0; }
  .c26-foro__media{ min-height: 280px; }
  /* Multimedia: el video arriba y las otras tres piezas debajo, en fila única. */
  .c26-media{ padding: 72px 0; }
  .c26-media__grid{ grid-template-columns: 1fr; }
  .c26-media__side{ grid-template-rows: none; }
  .c26-media__archive{ grid-template-columns: repeat(2, 1fr); }
  .c26-cardgrid{ grid-template-columns: 1fr 1fr; }
  .c26-contacto__grid{ grid-template-columns: 1fr; gap: 36px; }
  .c26-contacto__redes{ border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 30px; }
}
@media (max-width: 560px){
  .c26-container, .c26-util__row, .c26-header__row, .c26-hero__inner, .c26-foro__grid{ padding-left: 20px; padding-right: 20px; }
  .c26-hero{ height: auto; padding: 64px 0; }
  .c26-hero__overlay{ background: linear-gradient(180deg, rgba(18,31,51,0.62) 0%, rgba(18,31,51,0.80) 100%); }
  .c26-hero__title{ font-size: 34px; }
  .c26-section-head{ flex-direction: column; align-items: flex-start; gap: 14px; }
  .c26-section-head h2, .c26-welcome__title, .c26-foro__title, .c26-pagehead h1{ font-size: 28px; }
  .c26-stats__grid{ grid-template-columns: 1fr; }
  .c26-stat{ border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 14px 0; }
  .c26-docs__grid{ grid-template-columns: 1fr; }
  .c26-media__title{ font-size: 21px; }
  .c26-media__archive{ grid-template-columns: 1fr; }
  .c26-media__card{ grid-template-columns: 108px 1fr; }
  .c26-mediamodal{ padding: 12px; }
  .c26-mediamodal__frame--flip{ aspect-ratio: 3 / 4; }
  .c26-media__card .c26-media__title{ font-size: 16px; }
  .c26-socios__grid{ grid-template-columns: repeat(2, 1fr); }
  .c26-news__grid{ grid-template-columns: 1fr; }
  .c26-consejo__grid{ grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .c26-quote__text{ font-size: 20px; }
  .c26-footer__grid{ grid-template-columns: 1fr; gap: 32px; }
  .c26-cardgrid{ grid-template-columns: 1fr; }
  .c26-contacto__actions{ flex-direction: column; align-items: stretch; }
  .c26-contacto__tel, .c26-contacto__mail{ justify-content: center; }
}
