/* ============================================================
   Cardiofamilia · Tema WordPress · Hoja de estilos principal
   Reconstruido 1:1 desde el Figma "Cardiofamilia_home_00".
   Paleta y tipografía fieles al archivo de diseño.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-serif-4-italic-latin.woff2') format('woff2');
}

:root {
  /* ---- Marca ---- */
  --navy:        #142C54;  /* títulos, base de marca */
  --navy-deep:   #002D5D;  /* azul profundo */
  --coral:       #FC4221;  /* acento principal */
  --coral-soft:  #EC663F;  /* squiggle, detalles */
  --teal:        #077467;  /* enlaces, fechas, categorías */
  --teal-mid:    #52B3A5;  /* squiggle bienvenida, autor cita */
  --teal-icon:   #42ABA1;  /* icono de cita */

  /* ---- Superficies ---- */
  --sand:          #DAD8CE;  /* franja superior */
  --mint:          #F2F7F5;  /* sección bienvenida */
  --quote-bg:      #F2F4FC;  /* tarjeta de cita */
  --quote-circle:  #E0ECEF;
  --footer-bg:     #F9F9F7;

  /* ---- Fondos de tarjetas (bento) ---- */
  --card-aprender:  #FDF5F2;
  --card-formacion: #F4F3FC;
  --card-ecg:       #F6F8FD;
  --card-recursos:  #FDF8F6;
  --card-sobre:     #F2F7F5;

  /* ---- Blobs decorativos ---- */
  --blob-ecg:       #EAF1FD;
  --blob-recursos:  #FDECE6;
  --blob-sobre:     #DEEDE9;
  --blob-aprender:  #FCE7DF;

  /* ---- Noticias ---- */
  --news-pill:   #E3F3F2;
  --news-arrow:  #E5F4F3;

  /* ---- Texto ---- */
  --ink:        #000000;       /* navegación */
  --text-body:  #5C6A82;       /* cuerpos y ledes (gris azulado) */

  /* ---- Tipografía ---- */
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  /* ---- Sombras ---- */
  --shadow-card:  0 1px 8px rgba(0,0,0,0.10);
  --shadow-news:  0 4px 6px rgba(0,0,0,0.10);
  --shadow-img:   0 10px 12px rgba(20,44,84,0.12);

  /* ---- Motion ---- */
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);

  /* ---- Layout ---- */
  --container: 1240px;
  --gutter: 24px;
}

/* ============ Reset / base ============ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Signature squiggle underlines */
.squiggle {
  display: block;
  width: 55px; height: 7px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 8'><path d='M1 4 Q 8 0, 15 4 T 29 4 T 43 4 T 56 4' fill='none' stroke='%23EC663F' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat;
}
.squiggle.is-teal {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 8'><path d='M1 4 Q 8 0, 15 4 T 29 4 T 43 4 T 56 4' fill='none' stroke='%2352B3A5' stroke-width='2' stroke-linecap='round'/></svg>");
}

/* ============ Franja superior ============ */
.cf-topbar {
  height: 10px;
  background: var(--sand);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
}

/* ============ Banner superior (aviso editable) ============ */
.cf-site-banner {
  background: var(--navy);
  color: #fff;
  position: relative;
  z-index: 3;
}
.cf-site-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}
.cf-site-banner__text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
  text-decoration: none;
}
a.cf-site-banner__text:hover {
  color: #fff;
  text-decoration: underline;
}
.cf-site-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============ Logo ============ */
.cf-logo { display: inline-flex; align-items: center; }
.cf-logo__img { display: block; width: auto; height: 33px; flex: none; }

/* ============ Header ============ */
.site-header { background: #fff; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 14px;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li { margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  transition: color var(--ease) .18s;
}
.main-nav a .nav-ico { width: 34px; height: 22px; }
.main-nav a .nav-ico svg { width: 100%; height: 100%; }
.main-nav a:hover { color: var(--coral); }
.main-nav .main-nav-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(20, 44, 84, 0.55);
  font-weight: 500;
  cursor: default;
}
.main-nav .main-nav-soon .nav-ico {
  width: 34px;
  height: 22px;
  opacity: 0.7;
}
.main-nav .main-nav-soon .aprender-soon-badge {
  margin-left: 0;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(20, 44, 84, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle-lines {
  display: grid;
  gap: 5px;
}
.nav-toggle-lines span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--ease) .18s, opacity var(--ease) .18s;
}
.site-header.is-nav-open .nav-toggle-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle-lines span:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow-x: clip;
  margin-bottom: 60px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 24px;
}
.hero-copy { max-width: 470px; }
.hero-eyebrow {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #7A88A0;
  margin: 0 0 18px;
}
.hero-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.hero-subtitle {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--coral);
  margin: 6px 0 0;
}
.hero .squiggle { margin: 22px 0 20px; }
.hero-lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
  max-width: 360px;
}

.hero-media { position: relative; }
.hero-media .hero-photo { width: 100%; height: auto; position: relative; z-index: 1; transform: scale(1.5); }
.hero-media .hero-dots {
  position: absolute;
  top: 4px; right: 4px;
  width: 96px; height: auto;
  z-index: 2;
}
.hero-ecg {
  position: absolute;
  bottom: -37%;
  width: 142%;
  z-index: 10;
  pointer-events: none;
  right: -15%;
}

.hero-ecg img { width: 100%; height: auto; }

/* ============ Colaboradores ============ */
.partners { padding: 56px 0 64px; margin-bottom: 60px; }
.partners .row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}
.partners .partner { display: flex; align-items: center; opacity: .92; }
.partners .partner img { max-height: 56px; width: auto; }
.partners .partner.ibima img { max-height: 42px; }

/* ============ Bento de secciones ============ */
.bento { 
  padding: 0 0 8px;
  margin-bottom: 60px; 
}


.bento .grid {
  display: grid;
  grid-template-columns: 598fr 636fr;
  gap: 15px;
}
.bento-col { display: flex; flex-direction: column; gap: 22px; }
.bento-col.right { gap: 16px; }

.card {
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 31px 36px;
  transition: transform var(--ease) .22s, box-shadow var(--ease) .22s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.card-content { position: relative; z-index: 3; max-width: 240px; }
.card .icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.card .icon-circle svg { width: 34px; height: 24px; color: var(--navy); }
.card h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 14px;
}
.card p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-body);
  margin: 0 0 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 196px;
  padding: 9px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  border: none;
  transition: background var(--ease) .18s, transform var(--ease) .18s;
}
.btn-explore svg { width: 16px; flex: none; transition: transform var(--ease) .22s; }
.btn-explore:hover { background: var(--navy-deep); }
.card:hover .btn-explore svg,
.btn-explore:hover svg { transform: translateX(2px); }
.btn-explore--soon {
  justify-content: center;
  background: rgba(20, 44, 84, 0.1);
  color: var(--navy);
  border: 1px solid rgba(20, 44, 84, 0.18);
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}
.card.is-coming-soon .btn-explore--soon {
  letter-spacing: 0.02em;
}
.card.is-coming-soon:hover .btn-explore--soon {
  background: rgba(20, 44, 84, 0.1);
}
.card.is-coming-soon:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

/* card colors */
.card.aprender  { background: var(--card-aprender);  flex: 1; }
.card.formacion { background: var(--card-formacion); flex: 1; }
.card.ecg       { background: var(--card-ecg); }
.card.recursos  { background: var(--card-recursos); }
.card.sobre     { background: var(--card-sobre); }

/* tall left cards */
.bento-col.left .card { min-height: 359px; }

/* card decorative media */
.card .blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.card-media {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  top: 50%;
  right: 20px;
  width: 50%;
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: right center;
  transform: translateY(-50%);
}


/* Formación tablet */
.card.formacion .card-media.tablet {
  right: -6px; bottom: 0;
  width: 300px;
}
/* ECG card — horizontal layout */
.card.ecg { min-height: 245px; padding: 28px 36px; }
.card.ecg .card-content { max-width: 210px; }
.card.ecg .icon-mini {
  position: absolute; top: 28px; right: 28px; z-index: 3;
  width: 50px; height: 50px;
}
.card.ecg .card-media.strip {
  right: -10px; top: 30px;
  width: 320px;
  border-radius: 10px;
  box-shadow: var(--shadow-img);
}
.card.recursos { min-height: 231px; }
.card.recursos .card-media.monitor {
  right: -8px; bottom: -8px;
  width: 290px;
}
.card.sobre { min-height: 231px; }
.card.sobre .icon-mini {
  position: absolute; bottom: 26px; right: 30px; z-index: 3;
  width: 50px; height: 50px;
}
.card.sobre .dots-deco {
  position: absolute;
  right: -6px; bottom: 0;
  width: 300px;
}

/* blob fills */
.blob.ecg-blob     { fill: var(--blob-ecg);     top: -17px; right: -20px; width: 300px; }
.blob.recursos-blob{ fill: var(--blob-recursos);right: -40px; top: -10px; width: 230px; }
.blob.sobre-blob   { fill: var(--blob-sobre);   right: -40px; top: -10px; width: 230px; }

/* ============ Bienvenida ============ */
.welcome {
  background: var(--mint);
  text-align: center;
  padding: 96px 0 104px;
}
.welcome-eyebrow {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin: 0 0 14px;
}
.welcome .squiggle { margin: 18px auto 44px; }
.welcome h2 {
  font-weight: 700;
  font-size: 64px;
  line-height: 1.11;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 auto;
  max-width: 900px;
  text-wrap: balance;
}
.welcome p {
  font-size: 20px;
  line-height: 1.55;
  color: #46546E;
  margin: 36px auto 0;
  max-width: 720px;
  text-wrap: pretty;
}

/* ============ Cita editorial ============ */
.quote-section { padding: 56px 0; background: #fff; }
.quote-card {
  background: var(--quote-bg);
  border-radius: 18px;
  padding: 58px 68px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.quote-card .qmark {
  flex: none;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--quote-circle);
  display: grid; place-items: center;
}
.quote-card .qmark svg { width: 44px; height: 38px; color: var(--teal-icon); }
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.11;
  color: var(--navy);
  font-weight: 400;
}
.quote-card .author {
  display: block;
  margin-top: 22px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 24px;
  color: var(--teal-mid);
}

/* ============ Noticias ============ */
.news { padding: 40px 0 88px; }
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}
.news-head h2 {
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  margin: 0;
}
.news-head .squiggle { margin-top: 16px; }
.news-head .see-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--teal);
}
.news-head .see-all svg { width: 19px; }
.news-head .see-all:hover { gap: 14px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.news-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-news);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease) .22s, box-shadow var(--ease) .22s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.news-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #EEF3F2;
  position: relative;
}
.news-thumb.ph {
  background: linear-gradient(135deg, #EAF1FD 0%, #F2F7F5 100%);
}
.news-thumb--contain {
  object-fit: contain;
  padding: 10px;
}
.news-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-pill {
  align-self: flex-start;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--teal);
  background: var(--news-pill);
  padding: 5px 11px;
  border-radius: 11px;
  margin-bottom: 14px;
}
.news-card h3 {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.news-card .excerpt {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-body);
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.news-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--teal);
}
.news-date svg { width: 13px; height: 14px; }
.news-arrow {
  width: 39px; height: 39px;
  border-radius: 50%;
  background: var(--news-arrow);
  display: grid; place-items: center;
  flex: none;
}
.news-arrow svg { width: 18px; color: var(--teal); }
.news-card:hover .news-arrow svg { transform: translateX(2px); }

/* Listado completo de noticias */
.news-archive { padding-top: 86px; }
.news-archive-title {
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  margin: 0;
}
.news-empty {
  font-size: 16px;
  color: var(--text-body);
  margin: 0;
}
.news-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.news-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow-news);
  transition: background var(--ease) .18s, color var(--ease) .18s;
}
.news-pagination a.page-numbers:hover {
  background: var(--news-pill);
  color: var(--teal);
}
.news-pagination .page-numbers.current {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}
.news-pagination .page-numbers.dots {
  background: transparent;
  box-shadow: none;
  min-width: auto;
  padding: 0 4px;
}

/* ============ Sobre nosotros ============ */
.about-hero {
  position: relative;
  margin-bottom: 0;
}

.about-hero .squiggle { margin:20px 0; }

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 72px;
}
.about-hero-copy { max-width: 520px; }
.about-hero-copy .hero-lede { max-width: none; }
.about-what p { margin: 0; }
.about-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-hero-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.about-mission {
  background: var(--mint);
  text-align: center;
  padding: 60px 0 70px;
}
.about-mission .welcome-eyebrow { margin-bottom: 14px; }
.about-mission .squiggle { margin: 0 auto 20px; }
.about-mission-text {
  font-size: 20px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 auto;
  max-width: 900px;
  text-wrap: balance;
}
.about-mission-text p {
  margin: 0;
  font: inherit;
  color: inherit;
}

.about-team {
  padding: 72px 0 88px;
  background: #fff;
}
.about-team .news-head { margin-bottom: 40px; }

.about-sponsors {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(20, 44, 84, 0.08);
}
.about-sponsors .sponsors-head { margin-bottom: 36px; text-align: center; }
.about-sponsors .sponsors-head .squiggle { margin: 0 auto; }
.about-sponsors .sponsors-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  max-width: 650px;
  margin: 0 auto;
}
.about-sponsors .sponsors-row {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 28px 32px;
}
.about-sponsors .sponsors-row--top {
  grid-template-columns: repeat(4, 1fr);
}
.about-sponsors .sponsors-row--bottom {
  grid-template-columns: repeat(3, 1fr);
  width: 75%;
  max-width: 720px;
  margin: 0 auto;
}
.about-sponsors .sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.about-sponsors .sponsor img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  opacity: .9;
  transition: transform var(--ease) .22s, opacity var(--ease) .22s;
}
.about-sponsors .sponsor:hover img {
  opacity: 1;
  transform: scale(1.04);
}
.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease) .22s, box-shadow var(--ease) .22s;
}
.team-member:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.team-member-photo { margin-bottom: 20px; }
.team-member-photo img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-img);
}
.team-member-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.team-member-name {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 8px;
}
.team-member-credentials {
  font-size: 14px;
  line-height: 1.4;
  color: var(--teal);
  margin: 0 0 8px;
}
.team-member-email {
  display: inline-block;
  font-size: 14px;
  color: var(--coral);
  margin-bottom: 16px;
  transition: color var(--ease) .18s;
}
.team-member-email:hover { color: var(--navy-deep); }
.team-member-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  text-align: left;
  margin-top: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
}
.team-member-bio p { margin: 0 0 1em; }
.team-member-bio p:last-child { margin-bottom: 0; }

/* ============ Aprender ============ */
.aprender-hero {
  position: relative;
  margin-bottom: 0;
}
.aprender-hero .squiggle { margin: 20px 0; }
.aprender-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 48px;
}
.aprender-hero-copy { max-width: 520px; }
.aprender-hero-copy .hero-lede { max-width: none; }
.aprender-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
.aprender-hero-blob {
  position: absolute;
  width: 78%;
  max-width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blob-aprender);
  z-index: 0;
}
.aprender-hero-heart {
  position: relative;
  z-index: 1;
  width: 72%;
  max-width: 340px;
  height: auto;
}
.aprender-hero-dots {
  position: absolute;
  top: 8%;
  right: 8%;
  width: 96px;
  height: auto;
  z-index: 2;
}

.aprender-categories {
  padding: 8px 0 56px;
}
.aprender-cat-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.aprender-cat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: var(--navy);
  transition: color var(--ease) .18s;
}
.aprender-cat-link:hover { color: var(--coral); }
.aprender-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #F2F4F8;
  transition: background var(--ease) .18s, transform var(--ease) .22s;
}
.aprender-cat-link:hover .aprender-cat-icon {
  background: #E8F3F1;
  transform: translateY(-2px);
}
.aprender-cat-label {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  max-width: 140px;
}

.aprender-featured {
  padding: 0 0 48px;
}
.aprender-featured .news-head { margin-bottom: 34px; }
.aprender-featured .learn-grid {
  grid-template-columns: repeat(3, 1fr);
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.learn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px 22px 56px;
  background: #fff;
  border: 1px solid rgba(20, 44, 84, 0.08);
  border-radius: 18px;
  transition: transform var(--ease) .22s, box-shadow var(--ease) .22s;
}
.learn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.learn-card-cat {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.35;
  color: var(--teal);
}
.learn-card-title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--navy);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.learn-card-title a {
  color: inherit;
  transition: color var(--ease) .18s;
}
.learn-card-title a:hover { color: var(--coral); }
.learn-card-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-body);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.learn-card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  transition: background var(--ease) .18s, transform var(--ease) .22s;
}
.learn-card-arrow svg { width: 16px; height: 10px; }
.learn-card:hover .learn-card-arrow {
  background: var(--navy);
  transform: translateX(2px);
}

/* ============ ECG ============ */
.ecg-hero {
  position: relative;
  margin-bottom: 0;
}
.ecg-hero .squiggle { margin: 20px 0 0; }
.ecg-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.ecg-hero-copy { max-width: 560px; }
.ecg-eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral);
}
.ecg-hero-copy .hero-title {
  font-size: 42px;
  margin-bottom: 18px;
}
.ecg-hero-copy .hero-lede { max-width: none; }

.ecg-hero-stats {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 280px;
}
.ecg-hero-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: auto;
  opacity: .85;
}
.ecg-stat-list {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ecg-stat {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ecg-stat-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--navy);
}
.ecg-stat-label {
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}
.ecg-stat--purple .ecg-stat-value { background: #ECE8F4; }
.ecg-stat--blue .ecg-stat-value { background: #E3EDF8; }
.ecg-stat--teal .ecg-stat-value { color: var(--teal); background: #E3F3F0; }

.ecg-filters {
  padding: 8px 0 28px;
}
.ecg-filters-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ecg-filters-label {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.ecg-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ecg-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--ease) .18s, opacity var(--ease) .18s, box-shadow var(--ease) .18s;
}
.ecg-filter-pill:hover { transform: translateY(-1px); opacity: .92; }
.ecg-filter-pill.is-active {
  box-shadow: 0 0 0 2px rgba(20, 44, 84, 0.12);
  transform: translateY(-1px);
}
.ecg-filter-pill--iniciacion.is-active { border-color: #077467; }
.ecg-filter-pill--profundizacion.is-active { border-color: #743C07; }
.ecg-filter-pill--experto.is-active { border-color: #740707; }
.ecg-filter-pill--pending.is-active,
.ecg-filter-pill--completed.is-active { border-color: var(--navy); }
.ecg-filter-pill--iniciacion {
  text-transform: uppercase;
  background: #E3F3F2;
  color: #077467;
}
.ecg-filter-pill--profundizacion {
  background: #E8D4B8;
  color: #743C07;
}
.ecg-filter-pill--experto {
  background: #E8A4A0;
  color: #740707;
}
.ecg-filter-pill--pending {
  background: #ECE8F4;
  color: var(--navy);
}
.ecg-filter-pill--completed {
  background: #E3EDF8;
  color: var(--navy);
}
.ecg-filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ecg-grid-section {
  padding: 0 0 88px;
}
.ecg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ecg-card.is-filtered-out {
  display: none !important;
}
.ecg-grid-empty {
  display: none;
  margin: 32px 0 0;
  text-align: center;
  color: rgba(20, 44, 84, 0.65);
  font-size: 15px;
}
.ecg-grid-empty.is-visible {
  display: block;
}
.ecg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(20, 44, 84, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--ease) .22s, box-shadow var(--ease) .22s;
}
.ecg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.ecg-card-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #FCECEA;
}
.ecg-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ecg-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 16px;
}
.ecg-card-title {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--navy);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.ecg-card-title a {
  color: inherit;
  transition: color var(--ease) .18s;
}
.ecg-card-title a:hover { color: var(--coral); }
.ecg-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.ecg-card-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ecg-completed-pill {
  display: none;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #E3EDF8;
  color: var(--navy);
}
.ecg-card--completed .ecg-completed-pill {
  display: inline-flex;
}
.ecg-card--completed {
  border-color: rgba(7, 116, 103, 0.22);
}
.ecg-level-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ecg-level-pill--iniciacion {
  background: #E3F3F2;
  color: #077467;
}
.ecg-level-pill--profundizacion {
  background: #E8D4B8;
  color: #fff;
}
.ecg-level-pill--experto {
  background: #E8A4A0;
  color: #fff;
}
.ecg-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #E5F4F3;
  flex-shrink: 0;
  transition: background var(--ease) .18s, transform var(--ease) .22s;
}
.ecg-card-arrow svg { width: 16px; height: 10px; stroke:#077467; }
.ecg-card:hover .ecg-card-arrow {
  transform: translateX(2px);
}

.ecg-quiz {
  padding: 48px 0 88px;
}
.ecg-quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.ecg-quiz-main {
  min-width: 0;
}
.ecg-quiz-sidebar {
  position: sticky;
  top: 24px;
}
.ecg-quiz-sidebar-card {
  padding: 24px 22px;
  border: 1px solid rgba(20, 44, 84, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}
.ecg-quiz-sidebar-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.ecg-quiz-sidebar-stats {
  padding-top: 12px;
}
.ecg-quiz-sidebar-stats .ecg-stat-value {
  min-width: 56px;
  height: 56px;
  font-size: 18px;
}
.ecg-quiz-sidebar-stats .ecg-stat-label {
  font-size: 15px;
}
.ecg-quiz-sidebar-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 44, 84, 0.08);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(20, 44, 84, 0.65);
}
.ecg-quiz-head { max-width: none; margin-bottom: 28px; }
.ecg-quiz-series {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
}
.ecg-quiz-title {
  margin: 0;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.ecg-quiz-media {
  max-width: none;
  margin: 0 0 32px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-news);
}
.ecg-quiz-media img {
  display: block;
  width: 100%;
  height: auto;
}
.ecg-quiz-form { max-width: none; }
.ecg-quiz-options {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}
.ecg-quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(20, 44, 84, 0.1);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--ease) .18s, background var(--ease) .18s, box-shadow var(--ease) .18s;
}
.ecg-quiz-option:hover {
  border-color: rgba(7, 116, 103, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}
.ecg-quiz-option input {
  margin-top: 3px;
  accent-color: var(--teal);
}
.ecg-quiz-option-text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--navy);
}
.ecg-quiz-option.is-correct {
  border-color: rgba(7, 116, 103, 0.45);
  background: #F2FAF8;
}
.ecg-quiz-option.is-incorrect {
  border-color: rgba(252, 66, 33, 0.35);
  background: #FFF7F5;
}
.ecg-quiz-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--ease) .18s, transform var(--ease) .18s;
}
.ecg-quiz-submit:hover {
  background: var(--navy);
  transform: translateY(-1px);
}
.ecg-quiz-form.is-missing-answer .ecg-quiz-options {
  outline: 2px solid rgba(252, 66, 33, 0.35);
  outline-offset: 4px;
  border-radius: 10px;
}
.ecg-quiz-feedback {
  max-width: none;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(20, 44, 84, 0.08);
}
.ecg-quiz-result {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 16px;
}
.ecg-quiz-result.is-correct { color: var(--teal); }
.ecg-quiz-result.is-incorrect,
.ecg-quiz-result.is-warning { color: var(--coral); }
.ecg-quiz-correct,
.ecg-quiz-rationale {
  margin-bottom: 24px;
}
.ecg-quiz-correct h2,
.ecg-quiz-rationale h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--navy);
}
.ecg-quiz-next {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 44, 84, 0.08);
}
.ecg-quiz-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  transition: background var(--ease) .18s, transform var(--ease) .18s;
}
.ecg-quiz-next-btn:hover {
  background: var(--teal);
  transform: translateY(-1px);
}
.ecg-quiz-next-btn svg {
  width: 16px;
  height: 10px;
  stroke: #fff;
}
.ecg-quiz-next-label {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-body);
}
.ecg-quiz-back {
  margin: 40px 0 0;
}
.ecg-quiz-back a {
  font-weight: 700;
  color: var(--teal);
}
.ecg-quiz-back a:hover { color: var(--navy); }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============ Entrada individual ============ */
.single-post { padding:0 0 88px; }
article.single-post { padding: 60px 0 88px;}
.single-post-head { max-width: 760px; margin-bottom: 32px; }
.single-post-head .news-pill { margin-bottom: 16px; display: inline-block; }
.aprender-depth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--teal);
}

.single-post-content a {
	color: var(--coral);
}

.aprender-depth-item {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}
a.aprender-depth-item:hover {
  text-decoration: underline;
}
.aprender-depth-item.is-current {
  color: var(--navy);
  font-weight: 600;
}
.aprender-depth-sep {
  color: rgba(20, 44, 84, 0.35);
  font-weight: 400;
}
.aprender-depth + .news-archive-title,
.aprender-depth + .single-post-title {
  margin-top: 8px;
}
.aprender-search {
  position: relative;
  max-width: 560px;
  margin: 0 0 32px;
}
.aprender-search-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.aprender-search-field {
  position: relative;
}
.aprender-search-input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border: 1px solid rgba(20, 44, 84, 0.12);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow-news);
  transition: border-color var(--ease) .2s, box-shadow var(--ease) .2s;
}
.aprender-search-input:focus {
  outline: none;
  border-color: rgba(7, 116, 103, 0.45);
  box-shadow: 0 0 0 3px rgba(7, 116, 103, 0.12);
}
.aprender-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  pointer-events: none;
}
.aprender-search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 44, 84, 0.14);
  border: 1px solid rgba(20, 44, 84, 0.08);
  max-height: 320px;
  overflow-y: auto;
}
.aprender-search-result {
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--ease) .15s;
}
.aprender-search-result:hover,
.aprender-search-result.is-active {
  background: var(--news-pill);
}
.aprender-search-result-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.aprender-search-result-path {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--teal);
}
.aprender-search-empty {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-body);
}
.single-apuntes .aprender-search {
  margin-bottom: 40px;
}
.news-archive .aprender-search {
  margin-bottom: 28px;
}

/* ---- Aprender · layout + menú lateral ---- */
.aprender-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.aprender-layout-main {
  min-width: 0;
}
.aprender-layout-main .aprender-categories {
  display: none;
}
.aprender-layout-main .single-post-content {
  max-width: none;
}
.aprender-sidebar {
  position: sticky;
  top: 24px;
  width: 280px;
  max-width: 280px;
}
.aprender-sidebar-card {
  padding: 22px 18px;
  border: 1px solid rgba(20, 44, 84, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}
.aprender-sidebar-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}
.aprender-sidebar-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.aprender-sidebar-branches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.aprender-sidebar-branch {
  border-radius: 14px;
  overflow: hidden;
}
.aprender-sidebar-branch-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  transition: color var(--ease) .18s;
}
.aprender-sidebar-branch-link:hover {
  color: var(--coral);
}
.aprender-sidebar-branch-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}
.aprender-sidebar-branch-icon svg {
  width: 28px;
  height: 28px;
}
.aprender-sidebar-branch--teal {
  background: #E3F3F0;
}
.aprender-sidebar-branch--blue {
  background: #E8EEF8;
}
.aprender-sidebar-branch--coral {
  background: #FDF0ED;
}
.aprender-sidebar-branch--sea {
  background: #E0ECEF;
}
.aprender-sidebar-branch.is-active .aprender-sidebar-branch-link {
  color: var(--navy);
}
.aprender-sidebar-tree-wrap {
  padding: 4px 8px 10px 12px;
  max-height: 320px;
  overflow: auto;
}
.aprender-sidebar-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aprender-sidebar-tree--nested {
  margin: 4px 0 6px;
  padding-left: 10px;
  border-left: 2px solid rgba(20, 44, 84, 0.08);
}
.aprender-sidebar-tree-item {
  margin: 0;
}
.aprender-sidebar-tree-link {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(20, 44, 84, 0.78);
  transition: background var(--ease) .15s, color var(--ease) .15s;
}
.aprender-sidebar-tree-link:hover {
  color: var(--teal);
  background: rgba(7, 116, 103, 0.06);
}
/* Grupo (tiene subnivel): se distingue de un registro hoja. */
.aprender-sidebar-tree-link--group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: rgba(20, 44, 84, 0.04);
}
.aprender-sidebar-tree-link--group::after {
  content: "";
  flex-shrink: 0;
  width: 0.45em;
  height: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform var(--ease) .15s;
}
.aprender-sidebar-tree-item.is-group.is-open > .aprender-sidebar-tree-link--group::after {
  transform: rotate(-135deg);
  margin-top: 0.2em;
}
.aprender-sidebar-tree-item.is-group > .aprender-sidebar-tree--nested {
  margin-top: 2px;
  margin-bottom: 8px;
  padding-left: 12px;
}
.aprender-sidebar-tree-item.is-active > .aprender-sidebar-tree-link {
  font-weight: 700;
  color: var(--navy);
}
.aprender-sidebar-tree-item.is-current > .aprender-sidebar-tree-link {
  font-weight: 700;
  color: var(--teal);
  background: rgba(7, 116, 103, 0.1);
}
.aprender-sidebar-tree-item--post .aprender-sidebar-tree-link {
  font-weight: 500;
}
.aprender-sidebar-tree-item:not(.is-open) > .aprender-sidebar-tree--nested {
  display: none;
}
.aprender-sidebar-foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 44, 84, 0.08);
  font-size: 13px;
}
.aprender-sidebar-foot a {
  color: var(--teal);
  font-weight: 600;
}
.aprender-sidebar-foot a:hover {
  color: var(--coral);
}

/* ---- Aprender · cards de temas vs apuntes ---- */
.aprender-grid-heading {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(20, 44, 84, 0.55);
}
.aprender-grid-heading:not(:first-child) {
  margin-top: 40px;
}
.aprender-terms-grid {
  margin-bottom: 8px;
}
.aprender-apuntes-grid {
  grid-template-columns: repeat(3, 1fr);
}
.news-card--tema {
  background: #E8F3F1;
  border: 1px solid rgba(7, 116, 103, 0.16);
  box-shadow: none;
}
.news-card--tema:hover {
  box-shadow: 0 10px 22px rgba(7, 116, 103, 0.14);
}
.news-card-tema-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 18px;
  color: inherit;
  text-decoration: none;
}
.news-card--tema h3 {
  color: var(--navy);
}
.news-card--tema .excerpt {
  margin-bottom: 0;
}
.news-card--soon {
  opacity: 0.85;
}
.news-card--soon .news-card-tema-link {
  cursor: default;
}
.aprender-soon-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(7, 116, 103, 0.12);
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.aprender-cat-link--soon {
  cursor: default;
  opacity: 0.75;
  position: relative;
}
.aprender-cat-link--soon .aprender-soon-badge {
  margin-left: 0;
  margin-top: 4px;
}
.aprender-sidebar-tree-item.is-coming-soon .aprender-sidebar-tree-link {
  color: rgba(20, 44, 84, 0.5);
  cursor: default;
}
.aprender-sidebar-tree-item.is-coming-soon .aprender-soon-badge {
  margin-left: 4px;
}
.aprender-coming-soon-note {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.news-card--apunte {
  background: #fff;
}

.single-post-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 14px;
}
.single-post-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--teal);
  margin: 0;
}
.single-post-date svg { width: 13px; height: 14px; }
.single-post-hero {
  margin-bottom: 40px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-news);
}
.single-post-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.single-post-content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}
.single-post-content > *:first-child { margin-top: 0; }
.single-post-content h2,
.single-post-content h3 {
  color: var(--navy);
  margin: 2em 0 0.6em;
}
.single-post-content p { margin: 0 0 1.2em; }
.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Destacados heredados: introducción y conceptos clave con la identidad del tema. */
.entry-content :is(.destacado1, .destacado2) {
  display: flow-root;
  min-width: 0;
  margin: 24px 0;
  padding: 22px 24px;
  border-radius: 12px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: inherit;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.entry-content .destacado1 {
  border: 1px solid #DFE5F0;
  background: var(--quote-bg);
  font-weight: 500;
}
.entry-content .destacado2 {
  border: 1px solid #D7E8E2;
  border-inline-start: 4px solid var(--teal);
  background: var(--mint);
}
/* El formato antiguo no debe cambiar el color ni la tipografía de estos bloques. */
.entry-content :is(.destacado1, .destacado2) :is(span, p, strong, b, em, i, font)[style*="color"],
.entry-content :is(.destacado1, .destacado2) font[color] { color: inherit !important; }
.entry-content :is(.destacado1, .destacado2) [style*="font-family"] { font-family: inherit !important; }
.entry-content :is(.destacado1, .destacado2) [style*="font-size"] { font-size: inherit !important; line-height: inherit !important; }
.entry-content :is(.destacado1, .destacado2) [style*="justify"] { text-align: start !important; }
.entry-content :is(.destacado1, .destacado2) > :first-child { margin-top: 0; }
.entry-content :is(.destacado1, .destacado2) > :last-child { margin-bottom: 0; }
.entry-content :is(.destacado1, .destacado2) :is(strong, b) { font-weight: 650; }
.entry-content :is(.destacado1, .destacado2) ul { list-style: disc; padding-inline-start: 1.3em; }
.entry-content :is(.destacado1, .destacado2) ol { padding-inline-start: 1.3em; }
.entry-content :is(.destacado1, .destacado2) :is(ul, ol) { margin-block: 12px; }
.entry-content :is(.destacado1, .destacado2) li + li { margin-top: 8px; }
.entry-content :is(.destacado1, .destacado2) a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content :is(.destacado1, .destacado2) a:hover { color: var(--navy); }
@media (max-width: 720px) {
  .entry-content :is(.destacado1, .destacado2) { margin-block: 20px; padding: 18px; }
}

/* Lectura de apuntes y cuestionarios: mejoras progresivas sin cambiar el contenido. */
.reading-topics { position: sticky; top: 24px; align-self: start; }
.reading-topics .aprender-sidebar { position: static; }
.reading-topics-toggle[hidden],
#reading-topics-panel[hidden] { display: none; }
.reading-topics-toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(7,116,103,.2);
  border-radius: 12px;
  background: var(--mint);
  color: var(--navy);
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}
.reading-topics-toggle span { flex: none; font-size: 22px; }
.reading-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid rgba(20,44,84,.15);
  border-radius: 10px;
  overscroll-behavior-x: contain;
}
.reading-table-scroll table { min-width: 480px; margin: 0; }
.single-apuntes .reading-table-hint,
.ecg-quiz .reading-table-hint { margin: 20px 0 8px; font-size: 14px; line-height: 1.5; color: var(--teal); }
.reading-table-hint[hidden] { display: none; }
.reading-table-hint + .reading-table-scroll { margin-top: 8px; }
.reading-table-scroll:focus-visible,
.reading-image-open-button:focus-visible,
.reading-image-toolbar button:focus-visible,
.reading-topics-toggle:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.reading-image { display: block; max-width: 100%; margin: 16px auto; }
.reading-image a { display: block; max-width: 100%; }
.reading-image-open-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(7,116,103,.2);
  border-radius: 10px;
  color: var(--teal);
  background: var(--mint);
  font-size: 14px;
  font-weight: 600;
}
.reading-image-open { overflow: hidden; }
.reading-image-dialog {
  width: min(1100px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 12px;
  border: 0;
  border-radius: 16px;
  color: var(--navy);
  background: #fff;
}
.reading-image-dialog::backdrop { background: rgba(0,20,40,.72); }
.reading-image-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.reading-image-toolbar form { margin: 0; }
.reading-image-zoom-controls { display: flex; align-items: center; gap: 4px; }
.reading-image-toolbar button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--mint);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.reading-image-toolbar button:disabled { opacity: .4; cursor: default; }
.reading-image-toolbar output { min-width: 48px; text-align: center; font-size: 14px; }
.reading-image-stage {
  height: min(70dvh, 760px);
  overflow: auto;
  background: #f5f7f7;
  overscroll-behavior: contain;
}
.reading-image-stage img { display: block; max-width: none; height: auto; margin: 0 auto; }
.ecg-quiz-validation { margin: 0 0 16px; color: #ad2c18; font-size: 16px; line-height: 1.5; scroll-margin-top: 24px; }
.ecg-quiz-validation[hidden] { display: none; }
.ecg-quiz-result { scroll-margin-top: 24px; }

/* ============ Páginas legales y contacto ============ */
.page-legal .single-post-head,
.page-legal .single-post-content {
  max-width: 900px;
}
.page-legal .single-post-head .squiggle {
  margin-top: 18px;
}
.page-legal .single-post-content h2 {
  padding-top: 0.35em;
  border-top: 1px solid rgba(20, 44, 84, 0.1);
}
.page-legal .single-post-content h3 {
  font-size: 18px;
}
.page-legal .single-post-content ul {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
}
.page-legal .single-post-content li {
  margin-bottom: 0.45em;
}
.page-legal .single-post-content a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-legal .single-post-content a:hover {
  color: var(--coral);
}
.legal-table-wrap {
  margin: 24px 0 28px;
  overflow-x: auto;
  border: 1px solid rgba(20, 44, 84, 0.1);
  border-radius: 14px;
}
.legal-table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.legal-table-wrap th,
.legal-table-wrap td {
  padding: 13px 15px;
  border-bottom: 1px solid rgba(20, 44, 84, 0.08);
  text-align: left;
  vertical-align: top;
}
.legal-table-wrap th {
  color: var(--navy);
  background: var(--mint);
  font-weight: 700;
}
.legal-table-wrap tr:last-child td {
  border-bottom: 0;
}
.legal-contact-card,
.legal-alert {
  margin: 26px 0 32px;
  padding: 26px 28px;
  border-radius: 18px;
}
.legal-contact-card {
  background: var(--mint);
  border: 1px solid rgba(7, 116, 103, 0.14);
}
.legal-alert {
  background: #FDF0ED;
  border: 1px solid rgba(252, 66, 33, 0.14);
}
.legal-contact-card h2,
.legal-alert h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0 !important;
}
.legal-contact-card > *:last-child,
.legal-alert > *:last-child {
  margin-bottom: 0;
}

/* ============ Footer ============ */
.site-footer { background: var(--footer-bg); }
.site-footer .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-footer .cf-logo__img { height: 26px; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--navy);
}
.footer-links a { font-weight: 400; }
.footer-links a:hover { color: var(--teal); }
.footer-links .sep { width: 1px; height: 14px; background: rgba(20,44,84,.25); }
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 10px;
  color: var(--navy);
}
.footer-credit .stilogo { font-weight: 700; font-style: italic; }

/* ============ Animaciones de entrada (sutiles) ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero-title { font-size: 40px; }
  .welcome h2 { font-size: 50px; }
  .quote-card blockquote { font-size: 34px; }
  .quote-card { padding: 44px; gap: 40px; }
}
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero-lede { max-width: 520px; }
  .bento .grid { grid-template-columns: 1fr; }
  .bento-col.left .card { min-height: 0; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .aprender-featured .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .ecg-grid { grid-template-columns: repeat(2, 1fr); }
  .ecg-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ecg-hero-stats { justify-content: flex-start; min-height: 0; }
  .ecg-quiz-layout { grid-template-columns: 1fr; gap: 28px; }
  .ecg-quiz-sidebar { position: static; order: -1; }
  .aprender-layout { grid-template-columns: 1fr; gap: 28px; }
  .aprender-sidebar { position: static; order: -1; width: auto; max-width: none; }
  .reading-topics { position: static; order: -1; }
  .aprender-cat-list { grid-template-columns: repeat(3, 1fr); }
  .aprender-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .aprender-hero-copy { max-width: none; }
  .team-list { grid-template-columns: repeat(2, 1fr); }
  .partners .row { gap: 40px; }
  .main-nav { gap: 28px; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .site-header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 14px;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }
  .main-nav-wrap {
    width: 100%;
  }
  .site-header.nav-ready .main-nav-wrap {
    display: none;
  }
  .site-header.nav-ready.is-nav-open .main-nav-wrap {
    display: block;
  }
  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 6px;
  }
  .main-nav a,
  .main-nav .main-nav-soon {
    min-height: 48px;
    padding: 10px 12px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    border-radius: 10px;
    background: var(--mint);
    font-size: 15px;
  }
  .main-nav a .nav-ico,
  .main-nav .main-nav-soon .nav-ico {
    flex: 0 0 28px;
    width: 28px;
    height: 19px;
  }
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 24px; }
  .welcome { padding: 64px 0; }
  .welcome h2 { font-size: 36px; }
  .welcome p { font-size: 17px; }
  .quote-card { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; }
  .quote-card blockquote { font-size: 27px; }
  .quote-card .author { font-size: 19px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .news .news-grid { gap: 24px; }
  .news .news-card { min-width: 0; }
  .news .news-card h3 {
    display: block;
    font-size: 18px;
    line-height: 1.35;
    -webkit-line-clamp: unset;
    overflow: visible;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }
  .news .news-card .excerpt {
    font-size: 16px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }
  .news .news-pill { max-width: 100%; }
  .news .news-foot { gap: 12px; flex-wrap: wrap; }
  .news .news-date { font-size: 13px; }
  .news .news-arrow { width: 44px; height: 44px; }
  .news-archive { padding-top: 32px; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
  .about-hero-copy { max-width: none; }
  .about-hero-media img { max-width: 320px; }
  .about-mission { padding: 64px 0; }
  .about-mission-text { font-size: 17px; }
  .team-list { grid-template-columns: 1fr; }
  .team-member { padding: 24px 20px 28px; }
  .about-sponsors { margin-top: 40px; padding-top: 36px; }
  .about-sponsors .sponsors-rows { gap: 24px; }
  .about-sponsors .sponsors-row { gap: 20px 24px; }
  .about-sponsors .sponsors-row--top { grid-template-columns: repeat(2, 1fr); }
  .about-sponsors .sponsors-row--bottom {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: none;
  }
  .about-sponsors .sponsor img { max-height: 36px; }
  .learn-grid,
  .aprender-featured .learn-grid,
  .ecg-grid { grid-template-columns: minmax(0, 1fr); }
  .learn-card {
    min-width: 0;
    min-height: 0;
    padding: 22px 20px 72px;
  }
  .learn-card-title,
  .ecg-card-title {
    display: block;
    font-size: 18px;
    line-height: 1.35;
    -webkit-line-clamp: unset;
    overflow: visible;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }
  .learn-card-cat {
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .learn-card-excerpt {
    font-size: 16px;
    line-height: 1.5;
  }
  .learn-card-arrow,
  .ecg-card-arrow { width: 44px; height: 44px; }
  .ecg-card { min-width: 0; }
  .ecg-card-thumb { aspect-ratio: auto; }
  .ecg-card-thumb img { height: auto; max-height: 360px; }
  .ecg-card-pills { min-width: 0; }
  .ecg-level-pill,
  .ecg-completed-pill { font-size: 11px; }
  .ecg-level-pill--profundizacion,
  .ecg-level-pill--experto { color: var(--navy); }
  .ecg-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ecg-hero-copy,
  .ecg-hero-stats { min-width: 0; }
  .ecg-hero-copy .hero-title {
    font-size: clamp(26px, 7.5vw, 34px);
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .ecg-stat-value { min-width: 72px; height: 56px; font-size: 28px; }
  .ecg-stat-label { font-size: 16px; }
  .ecg-filters-row { align-items: flex-start; }
  .single-apuntes,
  .ecg-quiz { padding-top: 28px; padding-bottom: 56px; }
  .single-apuntes .single-post-title,
  .ecg-quiz-title {
    font-size: clamp(26px, 7.5vw, 32px);
    line-height: 1.25;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .single-apuntes .single-post-head,
  .ecg-quiz-head { margin-bottom: 22px; }
  .single-apuntes .aprender-depth { font-size: 13px; overflow-wrap: anywhere; }
  .single-apuntes .aprender-layout,
  .ecg-quiz-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .reading-topics { min-width: 0; }
  .reading-topics-toggle[aria-expanded="true"] { margin-bottom: 12px; }
  .single-apuntes .single-post-content,
  .ecg-quiz .entry-content {
    font-size: 17px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .single-apuntes .entry-content p,
  .ecg-quiz .entry-content p,
  .single-apuntes .entry-content [style*="justify"],
  .ecg-quiz .entry-content [style*="justify"] { text-align: start !important; }
  .single-apuntes .entry-content [style*="font-size"],
  .ecg-quiz .entry-content [style*="font-size"] { font-size: inherit !important; line-height: inherit !important; }
  .single-apuntes .entry-content [style*="font-family"],
  .ecg-quiz .entry-content [style*="font-family"] { font-family: inherit !important; }
  .single-apuntes .entry-content h2,
  .ecg-quiz .entry-content h2 { font-size: 23px; line-height: 1.3; }
  .single-apuntes .entry-content h3,
  .ecg-quiz .entry-content h3 { font-size: 20px; line-height: 1.35; }
  .single-apuntes .entry-content ul,
  .ecg-quiz .entry-content ul { list-style: disc; padding-inline-start: 1.25em; }
  .single-apuntes .entry-content li,
  .ecg-quiz .entry-content li { margin-bottom: .6em; }
  .single-apuntes .entry-content img,
  .ecg-quiz .entry-content img {
    max-width: 100% !important;
    height: auto !important;
    float: none !important;
    margin-inline: auto !important;
    object-fit: contain;
  }
  .reading-image { float: none !important; width: fit-content; max-width: 100%; clear: both; }
  .reading-image-open-button { margin-inline: auto; }
  .reading-table-scroll table { font-size: 16px; line-height: 1.5; border-collapse: collapse; }
  .reading-table-scroll th,
  .reading-table-scroll td { padding: 10px 12px; vertical-align: top; }
  .ecg-quiz-sidebar { position: static; order: 0; }
  .ecg-quiz-media { margin-bottom: 24px; padding: 10px; background: #f5f7f7; }
  .ecg-quiz-media .reading-image { margin: 0; }
  .ecg-quiz-form,
  .ecg-quiz-options { min-width: 0; max-width: 100%; }
  .ecg-quiz-option { min-height: 56px; gap: 12px; padding: 14px; }
  .ecg-quiz-option input { width: 20px; height: 20px; flex: 0 0 20px; }
  .ecg-quiz-option-text { min-width: 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
  .ecg-quiz-submit,
  .ecg-quiz-next-btn { width: 100%; min-height: 48px; padding: 12px 16px; font-size: 16px; line-height: 1.4; justify-content: center; }
  .ecg-quiz-next-btn svg { flex: none; }
  .ecg-quiz-next-label { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
  .ecg-quiz-back a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; }
  .ecg-quiz-result { font-size: 17px; line-height: 1.5; }
  .aprender-cat-list { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .aprender-hero-media { min-height: 280px; }
  .aprender-hero-heart { max-width: 260px; }
  .aprender-featured { padding-bottom: 64px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { flex-wrap: wrap; }
}
