/*
 * IEICII Public Experience v148
 * Experiencia pública event-first, configurable por los ocho themes existentes.
 * No altera la lógica funcional ni los componentes administrativos.
 */

body.public-body{
  --px-section:72px;
  --px-card-shadow:none;
  --px-card-border:var(--line);
  --px-card-bg:var(--surface);
  --px-hero-radius:calc(var(--public-radius) + 8px);
  --px-control-radius:max(8px,calc(var(--public-radius) - 4px));
  --px-image-filter:none;
  color:var(--text);
  background:var(--bg)!important;
}
body.public-body[data-public-density="compact"]{--px-section:48px}
body.public-body[data-public-density="balanced"]{--px-section:72px}
body.public-body[data-public-density="airy"]{--px-section:96px}
body.public-body[data-public-card="bordered"]{--px-card-border:var(--line);--px-card-shadow:none}
body.public-body[data-public-card="elevated"]{--px-card-border:transparent;--px-card-shadow:0 24px 65px color-mix(in srgb,var(--text) 12%,transparent)}
body.public-body[data-public-card="flat"]{--px-card-border:transparent;--px-card-shadow:none}
body.public-body[data-public-image="soft"]{--px-image-filter:saturate(.82) contrast(.96)}
body.public-body[data-public-image="duotone"]{--px-image-filter:grayscale(.2) sepia(.18) saturate(.8) contrast(1.04)}

body.public-body a{color:var(--public-link)}
body.public-body h1,
body.public-body h2,
body.public-body h3{color:var(--text);letter-spacing:-.025em;text-wrap:balance}
body.public-body h1{font-weight:800}
body.public-body h2{font-weight:780}
body.public-body h3{font-weight:740}
body.public-body p{line-height:1.68}
body.public-body .eyebrow,
body.public-body .badge{letter-spacing:.08em;text-transform:uppercase}
body.public-body .eyebrow{color:var(--public-link)}

body.public-body .btn,
body.public-body button.btn{
  min-height:44px;
  border-radius:var(--px-control-radius)!important;
  box-shadow:none!important;
  font-weight:750;
  letter-spacing:0;
}
body.public-body .btn.primary,
body.public-body button.btn.primary{
  background:var(--public-cta-bg)!important;
  border-color:var(--public-cta-bg)!important;
  color:var(--public-cta-text)!important;
}
body.public-body .btn.primary:hover,
body.public-body button.btn.primary:hover{filter:brightness(.94)}

body.public-body .card,
body.public-body .image-card,
body.public-body .post-card-v70,
body.public-body .event-list-card-v91,
body.public-body .public-image-card{
  border-radius:var(--public-radius)!important;
  border-color:var(--px-card-border)!important;
  box-shadow:var(--px-card-shadow)!important;
  background:var(--px-card-bg)!important;
}
body.public-body[data-public-card="flat"] .card,
body.public-body[data-public-card="flat"] .event-list-card-v91,
body.public-body[data-public-card="flat"] .post-card-v70{
  border-left:0!important;
  border-right:0!important;
}
body.public-body img{filter:var(--px-image-filter)}

/* Cabecera pública */
body.public-body .modern-public-topbar-v116{
  border-bottom:1px solid color-mix(in srgb,var(--line) 75%,transparent)!important;
  box-shadow:none!important;
}
body.public-body[data-public-header="glass"] .modern-public-topbar-v116{
  background:color-mix(in srgb,var(--topbar-bg) 88%,transparent)!important;
  backdrop-filter:blur(18px) saturate(1.1);
}
body.public-body[data-public-header="solid"] .modern-public-topbar-v116{
  background:var(--topbar-bg)!important;
  backdrop-filter:none;
}
body.public-body[data-public-header="transparent"] .modern-public-topbar-v116:not(.is-scrolled){
  background:transparent!important;
  border-color:transparent!important;
}
body.public-body .modern-public-nav-v116 a{border-radius:8px!important;font-weight:700}
body.public-body .modern-public-actions-v116 .btn.soft{
  background:var(--public-accent-soft)!important;
  border-color:color-mix(in srgb,var(--public-link) 22%,var(--line))!important;
  color:var(--public-link)!important;
}

/* Ritmo editorial común */
body.public-body main.container{width:min(var(--ie-public-max),calc(100vw - 56px))!important;max-width:var(--ie-public-max)!important}
body.public-body[data-public-section-dividers="1"] .home-section-v21,
body.public-body[data-public-section-dividers="1"] .events-block-v91{
  padding-block:var(--px-section);
  border-top:1px solid var(--line);
  margin:0!important;
}
body.public-body[data-public-section-dividers="1"] .home-section-v21:first-of-type{border-top:0}
body.public-body .section-head-v21,
body.public-body .events-block-head-v91{align-items:end!important;margin-bottom:28px!important}
body.public-body .section-head-v21 h2,
body.public-body .events-block-head-v91 h2{font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.05;margin:.25rem 0 0}

/* Portada: hero más parecido a un sitio de evento */
body.public-body .home-v21{max-width:var(--ie-public-max)!important}
body.public-body .home-hero-v61{
  min-height:var(--public-hero-height)!important;
  border-radius:var(--px-hero-radius)!important;
  overflow:hidden!important;
  background:var(--public-hero-bg)!important;
  box-shadow:none!important;
  isolation:isolate;
}
body.public-body .home-hero-v61.full-bleed-v118{
  width:100%!important;
  margin-inline:auto!important;
}
body.public-body .home-hero-bg-slide-v61{filter:var(--px-image-filter)}
body.public-body .home-hero-overlay-v61{
  background:linear-gradient(90deg,color-mix(in srgb,var(--public-hero-overlay) 94%,transparent) 0%,color-mix(in srgb,var(--public-hero-overlay) 72%,transparent) 47%,color-mix(in srgb,var(--public-hero-overlay) 18%,transparent) 100%)!important;
}
body.public-body .home-hero-content-v61{min-height:var(--public-hero-height)!important;padding:clamp(36px,6vw,84px)!important}
body.public-body .home-hero-copy-v61{max-width:760px!important}
body.public-body .home-hero-copy-v61 h1{font-size:clamp(2.35rem,5.5vw,5.35rem)!important;line-height:.98!important;color:var(--public-hero-text)!important;font-weight:820!important;max-width:13ch}
body.public-body .home-hero-copy-v61 p{font-size:clamp(1rem,1.6vw,1.25rem)!important;color:color-mix(in srgb,var(--public-hero-text) 82%,transparent)!important;max-width:62ch}
body.public-body .home-hero-copy-v61 .eyebrow{color:var(--public-hero-text)!important}
body.public-body .home-institution-strip{
  margin:18px 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:18px 2px!important;
  border-bottom:1px solid var(--line)!important;
}

/* Elimina el patrón repetitivo de catálogo en portada */
body.public-body[data-public-presentation="editorial"] .expertise-card-v116,
body.public-body[data-public-presentation="minimal"] .expertise-card-v116{
  border:0!important;
  border-top:2px solid var(--brand)!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:22px 0!important;
}
body.public-body .expertise-icon-v116{
  width:44px!important;height:44px!important;
  border-radius:10px!important;
  background:var(--public-accent-soft)!important;
  color:var(--public-link)!important;
}
body.public-body .home-pulse-v71{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:var(--surface-2)!important;
}
body.public-body .agenda-board-v71{gap:26px!important}
body.public-body .agenda-feature-v71{
  border-radius:var(--public-radius)!important;
  overflow:hidden!important;
  box-shadow:none!important;
  border:1px solid var(--line)!important;
}
body.public-body .agenda-date-card-v71,
body.public-body .agenda-row-date-v71,
body.public-body .event-date-chip-v91,
body.public-body .event-date-large-v91{
  background:var(--public-date-bg)!important;
  color:var(--public-date-text)!important;
  border-color:var(--public-date-bg)!important;
}
body.public-body .agenda-panel-v71,
body.public-body .content-list-v71,
body.public-body .resource-panel-v71,
body.public-body .home-membership-panel-v118,
body.public-body .home-services-panel-v118{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.public-body .agenda-row-v71,
body.public-body .content-row-v71,
body.public-body .resource-row-v71{
  border-radius:0!important;
  border:0!important;
  border-bottom:1px solid var(--line)!important;
  background:transparent!important;
  padding-inline:0!important;
}
body.public-body .membership-plan-v118,
body.public-body .service-card-v118,
body.public-body .committee-mini-v71{
  border-radius:var(--public-radius)!important;
  border:1px solid var(--line)!important;
  box-shadow:none!important;
}
body.public-body .home-cta-v21{
  background:var(--public-cta-bg)!important;
  color:var(--public-cta-text)!important;
  border-radius:var(--px-hero-radius)!important;
  box-shadow:none!important;
}
body.public-body .home-cta-v21 h2,
body.public-body .home-cta-v21 p,
body.public-body .home-cta-v21 .eyebrow{color:var(--public-cta-text)!important}

/* Variantes de presentación */
body.public-body[data-public-presentation="congress"] .home-hero-v61,
body.public-body[data-public-presentation="congress"] .event-hero-detail-v140{border-radius:0!important}
body.public-body[data-public-presentation="congress"] .home-hero-copy-v61 h1{max-width:15ch;text-transform:none}
body.public-body[data-public-presentation="congress"] .section-head-v21 h2{font-size:clamp(2rem,3.4vw,3.25rem)}
body.public-body[data-public-presentation="institutional"] .home-hero-copy-v61 h1{font-size:clamp(2.15rem,4.6vw,4.45rem)!important;line-height:1.04!important}
body.public-body[data-public-presentation="institutional"] .home-hero-v61{border-radius:var(--public-radius)!important}
body.public-body[data-public-presentation="minimal"] .home-hero-v61{min-height:min(540px,var(--public-hero-height))!important}
body.public-body[data-public-presentation="minimal"] .home-hero-content-v61{min-height:min(540px,var(--public-hero-height))!important}
body.public-body[data-public-presentation="minimal"] .home-hero-copy-v61 h1{font-size:clamp(2.2rem,4.6vw,4.35rem)!important}
body.public-body[data-public-presentation="minimal"] .badge,
body.public-body[data-public-presentation="minimal"] .tag-chip{border-radius:6px!important}

/* Página de eventos */
body.public-body .events-page-v91{display:flex;flex-direction:column;gap:34px}
body.public-body .events-hero-v91{
  padding:clamp(30px,5vw,68px)!important;
  border:0!important;
  border-radius:var(--px-hero-radius)!important;
  background:linear-gradient(135deg,var(--public-hero-bg),color-mix(in srgb,var(--brand) 62%,var(--public-hero-bg)))!important;
  color:var(--public-hero-text)!important;
  box-shadow:none!important;
}
body.public-body .events-hero-v91 h1{color:var(--public-hero-text)!important;font-size:clamp(2.4rem,5vw,5rem);line-height:1;margin:.35rem 0 1rem}
body.public-body .events-hero-v91 p{color:color-mix(in srgb,var(--public-hero-text) 82%,transparent)!important;max-width:68ch;font-size:1.08rem}
body.public-body .events-hero-v91 .eyebrow{color:var(--public-hero-text)!important}
body.public-body .events-hero-v91>.btn{color:var(--public-hero-text)!important;border-color:color-mix(in srgb,var(--public-hero-text) 35%,transparent)!important;background:transparent!important}
body.public-body .events-search-v91{
  grid-template-columns:minmax(280px,1fr) 170px auto auto!important;
  border:1px solid var(--line)!important;
  border-radius:var(--public-radius)!important;
  background:var(--surface)!important;
  box-shadow:none!important;
}
body.public-body .events-search-v91 input,
body.public-body .events-search-v91 select{border-radius:var(--px-control-radius)!important}
body.public-body .event-feature-panel-v91{
  display:grid!important;
  grid-template-columns:minmax(360px,1.15fr) minmax(360px,.85fr)!important;
  min-height:480px;
  border:1px solid var(--line)!important;
  border-radius:var(--px-hero-radius)!important;
  overflow:hidden!important;
  background:var(--surface)!important;
  box-shadow:none!important;
}
body.public-body .event-feature-media-v91{min-height:100%!important}
body.public-body .event-feature-media-v91 img{width:100%!important;height:100%!important;object-fit:cover!important}
body.public-body .event-feature-copy-v91{padding:clamp(30px,5vw,68px)!important;align-self:center}
body.public-body .event-feature-copy-v91 h2{font-size:clamp(2rem,3.8vw,3.55rem)!important;line-height:1.04!important;margin:18px 0}
body.public-body .event-feature-copy-v91 h2 a{color:var(--text)!important;text-decoration:none}
body.public-body .event-meta-line-v91{color:var(--muted)!important}
body.public-body .events-block-v91{padding-top:20px}

/* Agenda editorial: filas, no catálogo de tarjetas */
body.public-body[data-public-event-list="editorial"] .event-catalog-v91{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  border-top:1px solid var(--line);
}
body.public-body[data-public-event-list="editorial"] .event-list-card-v91{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  min-height:210px!important;
  border:0!important;
  border-bottom:1px solid var(--line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  padding:24px 0!important;
}
body.public-body[data-public-event-list="editorial"] .event-list-media-v91{height:162px!important;border-radius:var(--public-radius)!important;overflow:hidden}
body.public-body[data-public-event-list="editorial"] .event-list-media-v91 img{width:100%!important;height:100%!important;object-fit:cover!important}
body.public-body[data-public-event-list="editorial"] .event-list-body-v91{padding:0 0 0 28px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:10px 24px}
body.public-body[data-public-event-list="editorial"] .event-list-body-v91 .event-list-top-v91,
body.public-body[data-public-event-list="editorial"] .event-list-body-v91 h3,
body.public-body[data-public-event-list="editorial"] .event-list-body-v91>p,
body.public-body[data-public-event-list="editorial"] .event-list-body-v91 .event-meta-line-v91{grid-column:1}
body.public-body[data-public-event-list="editorial"] .event-list-body-v91 h3{font-size:clamp(1.35rem,2.3vw,2.05rem)!important;margin:0!important;line-height:1.12}
body.public-body[data-public-event-list="editorial"] .event-list-body-v91 h3 a{color:var(--text)!important;text-decoration:none}
body.public-body[data-public-event-list="editorial"] .event-card-actions-v91{grid-column:2;grid-row:1/5;align-self:center;display:flex!important;flex-direction:column!important;min-width:145px}
body.public-body[data-public-event-list="editorial"] .event-date-chip-v91{position:static!important}

body.public-body[data-public-event-list="grid"] .event-catalog-v91{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
body.public-body[data-public-event-list="grid"] .event-list-card-v91{overflow:hidden!important;border:1px solid var(--line)!important}
body.public-body[data-public-event-list="compact"] .event-catalog-v91{display:flex!important;flex-direction:column!important;gap:0!important}
body.public-body[data-public-event-list="compact"] .event-list-card-v91{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;min-height:130px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important}
body.public-body[data-public-event-list="compact"] .event-list-media-v91{height:96px!important;margin:16px 0;border-radius:10px!important;overflow:hidden}
body.public-body[data-public-event-list="compact"] .event-list-body-v91{padding:16px 0 16px 20px!important}
body.public-body[data-public-event-list="compact"] .event-list-body-v91>p{display:none!important}

/* Micrositio de evento */
body.public-body .event-hero-detail-v140{
  min-height:var(--public-hero-height)!important;
  display:grid!important;
  align-items:end!important;
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
  border-radius:var(--px-hero-radius)!important;
  padding:0!important;
  background:var(--public-hero-bg)!important;
  color:var(--public-hero-text)!important;
}
body.public-body .event-hero-detail-v140::before{
  content:"";
  position:absolute;inset:0;z-index:-2;
  background-image:var(--event-hero-image);
  background-size:cover;background-position:center;
  filter:var(--px-image-filter);
  transform:scale(1.01);
}
body.public-body .event-hero-detail-v140::after{
  content:"";
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,color-mix(in srgb,var(--public-hero-overlay) 96%,transparent) 0%,color-mix(in srgb,var(--public-hero-overlay) 76%,transparent) 48%,color-mix(in srgb,var(--public-hero-overlay) 20%,transparent) 100%);
}
body.public-body .event-hero-copy-v140{padding:clamp(36px,6vw,84px)!important;max-width:920px}
body.public-body .event-hero-detail-v140 h1{color:var(--public-hero-text)!important;font-size:clamp(2.5rem,5.6vw,5.8rem)!important;line-height:.98!important;max-width:15ch;margin:.4rem 0 1rem}
body.public-body .event-hero-detail-v140 p{color:color-mix(in srgb,var(--public-hero-text) 84%,transparent)!important;font-size:clamp(1rem,1.6vw,1.25rem);max-width:66ch}
body.public-body .event-hero-detail-v140 .eyebrow{color:var(--public-hero-text)!important}
body.public-body .event-hero-detail-v140 .event-meta{color:var(--public-hero-text)!important;gap:10px!important}
body.public-body .event-hero-detail-v140 .event-meta span{background:color-mix(in srgb,var(--public-hero-bg) 62%,transparent)!important;border:1px solid color-mix(in srgb,var(--public-hero-text) 22%,transparent)!important;border-radius:8px!important;color:var(--public-hero-text)!important}
body.public-body .event-back-link-v140{display:inline-flex;color:var(--public-hero-text)!important;text-decoration:none;font-weight:750;margin-bottom:24px}
body.public-body .event-hero-actions-v140{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
body.public-body .event-hero-secondary-v140{color:var(--public-hero-text)!important;background:transparent!important;border-color:color-mix(in srgb,var(--public-hero-text) 35%,transparent)!important}
body.public-body .event-public-menu{
  top:72px!important;
  border:1px solid var(--line)!important;
  border-radius:var(--public-radius)!important;
  box-shadow:none!important;
  background:color-mix(in srgb,var(--surface) 94%,transparent)!important;
  backdrop-filter:blur(16px);
  margin:18px 0 34px!important;
  padding:8px!important;
}
body.public-body .event-public-menu a{border-radius:8px!important;color:var(--muted)!important;font-weight:700}
body.public-body .event-public-menu a.active,
body.public-body .event-public-menu a:hover{background:var(--public-accent-soft)!important;color:var(--public-link)!important}
body.public-body .event-public-layout{grid-template-columns:minmax(0,1fr) minmax(330px,390px)!important;gap:36px!important;align-items:start}
body.public-body .event-public-layout>div>.card.section{
  border:0!important;
  border-bottom:1px solid var(--line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0 0 44px!important;
  margin:0 0 44px!important;
}
body.public-body .event-public-layout>div>.card.section h2{font-size:clamp(1.75rem,3vw,2.75rem);margin-top:.5rem}
body.public-body .event-public-layout .side-note{border-radius:var(--public-radius)!important;background:var(--surface-2)!important;border-color:var(--line)!important}
body.public-body .event-public-layout .timeline-item{border-left:3px solid var(--public-date-bg)!important;border-radius:0!important;background:transparent!important;border-top:0!important;border-right:0!important;border-bottom:1px solid var(--line)!important;padding:16px 0 16px 20px!important}
body.public-body .event-registration-panel-v76{
  top:118px!important;
  border:1px solid var(--line)!important;
  border-radius:var(--public-radius)!important;
  box-shadow:0 20px 50px color-mix(in srgb,var(--text) 10%,transparent)!important;
  overflow:hidden;
}
body.public-body .registration-panel-head-v76{background:var(--surface-2)!important;margin:-1px -1px 18px!important;padding:24px!important;border-bottom:1px solid var(--line)!important}
body.public-body .registration-guide-title-v128>span{background:var(--public-date-bg)!important;color:var(--public-date-text)!important}
body.public-body .regtype-card-v76{border-radius:var(--public-radius)!important;border-color:var(--line)!important;box-shadow:none!important}
body.public-body .feature-chips-v76 span,
body.public-body .price-chip-v76{border-radius:8px!important}

/* Estados y etiquetas heredados del theme */
body.public-body .badge.ok,
body.public-body .status-pill.active,
body.public-body .status-pill.published{background:color-mix(in srgb,var(--ok) 13%,var(--surface))!important;color:var(--ok)!important;border-color:color-mix(in srgb,var(--ok) 28%,var(--line))!important}
body.public-body .danger-soft,
body.public-body .status-pill.cancelled{background:color-mix(in srgb,var(--bad) 11%,var(--surface))!important;color:var(--bad)!important;border-color:color-mix(in srgb,var(--bad) 26%,var(--line))!important}
body.public-body .soft,
body.public-body .status-pill.finished{background:var(--public-accent-soft)!important;color:var(--public-link)!important;border-color:color-mix(in srgb,var(--public-link) 22%,var(--line))!important}

@media(max-width:1050px){
  body.public-body .event-feature-panel-v91{grid-template-columns:1fr!important;min-height:0}
  body.public-body .event-feature-media-v91{height:420px!important;min-height:0!important}
  body.public-body .event-public-layout{grid-template-columns:1fr!important}
  body.public-body .event-registration-panel-v76{position:static!important}
  body.public-body[data-public-event-list="editorial"] .event-list-card-v91{grid-template-columns:180px minmax(0,1fr)!important}
  body.public-body[data-public-event-list="editorial"] .event-list-body-v91{grid-template-columns:1fr!important}
  body.public-body[data-public-event-list="editorial"] .event-card-actions-v91{grid-column:1!important;grid-row:auto!important;flex-direction:row!important;align-self:start}
}

@media(max-width:760px){
  body.public-body main.container{width:calc(100vw - 28px)!important}
  body.public-body{--px-section:46px}
  body.public-body .home-hero-v61,
  body.public-body .event-hero-detail-v140{min-height:min(620px,var(--public-hero-height))!important;border-radius:var(--public-radius)!important}
  body.public-body .home-hero-content-v61{min-height:min(620px,var(--public-hero-height))!important;padding:34px 22px!important;align-items:end!important}
  body.public-body .home-hero-copy-v61 h1,
  body.public-body .event-hero-detail-v140 h1{font-size:clamp(2.2rem,12vw,3.65rem)!important;max-width:100%}
  body.public-body .event-hero-copy-v140{padding:34px 22px!important}
  body.public-body .home-hero-overlay-v61,
  body.public-body .event-hero-detail-v140::after{background:linear-gradient(0deg,color-mix(in srgb,var(--public-hero-overlay) 96%,transparent),color-mix(in srgb,var(--public-hero-overlay) 28%,transparent))!important}
  body.public-body .events-hero-v91{padding:34px 24px!important}
  body.public-body .events-hero-v91 h1{font-size:clamp(2.2rem,12vw,3.7rem)}
  body.public-body .events-search-v91{grid-template-columns:1fr!important}
  body.public-body .event-feature-media-v91{height:300px!important}
  body.public-body .event-feature-copy-v91{padding:28px 22px!important}
  body.public-body[data-public-event-list="editorial"] .event-list-card-v91,
  body.public-body[data-public-event-list="compact"] .event-list-card-v91{grid-template-columns:1fr!important;padding:22px 0!important}
  body.public-body[data-public-event-list="editorial"] .event-list-media-v91,
  body.public-body[data-public-event-list="compact"] .event-list-media-v91{height:220px!important;margin:0 0 18px!important}
  body.public-body[data-public-event-list="editorial"] .event-list-body-v91,
  body.public-body[data-public-event-list="compact"] .event-list-body-v91{padding:0!important}
  body.public-body[data-public-event-list="grid"] .event-catalog-v91{grid-template-columns:1fr!important}
  body.public-body .event-public-menu{top:62px!important;border-radius:10px!important;overflow:auto!important;flex-wrap:nowrap!important}
  body.public-body .event-public-menu a{white-space:nowrap}
  body.public-body .event-public-layout>div>.card.section{padding-bottom:32px!important;margin-bottom:32px!important}
  body.public-body .event-hero-actions-v140 .btn{flex:1}
}


/* ================================================================
 * v141 · corrección de composición, imagen y espaciado de portada
 * ================================================================ */

/* Hero: los tres modos usan el espacio según el contenido real. */
body.public-body .home-hero-v141.hero-spacing-compact .home-hero-content-v61{padding:clamp(24px,3.2vw,46px)!important}
body.public-body .home-hero-v141.hero-spacing-balanced .home-hero-content-v61{padding:clamp(32px,4.4vw,64px)!important}
body.public-body .home-hero-v141.hero-spacing-airy .home-hero-content-v61{padding:clamp(44px,6vw,86px)!important}
body.public-body .home-hero-v141.hero-fit-cover .home-hero-bg-slide-v61{background-size:cover!important}
body.public-body .home-hero-v141.hero-fit-contain .home-hero-bg-slide-v61{background-size:contain!important;background-color:var(--surface-2)!important}
body.public-body .home-hero-v141.hero-position-center .home-hero-bg-slide-v61{background-position:center!important}
body.public-body .home-hero-v141.hero-position-top .home-hero-bg-slide-v61{background-position:center top!important}
body.public-body .home-hero-v141.hero-position-bottom .home-hero-bg-slide-v61{background-position:center bottom!important}
body.public-body .home-hero-v141.hero-position-left .home-hero-bg-slide-v61{background-position:left center!important}
body.public-body .home-hero-v141.hero-position-right .home-hero-bg-slide-v61{background-position:right center!important}

body.public-body .home-hero-v141.hero-layout-textual{
  min-height:0!important;
  background:linear-gradient(135deg,var(--surface) 0%,color-mix(in srgb,var(--brand) 6%,var(--surface-2)) 100%)!important;
  border:1px solid var(--line)!important;
  color:var(--text)!important;
}
body.public-body .home-hero-v141.hero-layout-textual .home-hero-bg-v61,
body.public-body .home-hero-v141.hero-layout-textual .home-hero-overlay-v61,
body.public-body .home-hero-v141.hero-layout-textual .home-hero-dots-v61{display:none!important}
body.public-body .home-hero-v141.hero-layout-textual .home-hero-content-v61{min-height:0!important;align-items:center!important}
body.public-body .home-hero-v141.hero-layout-textual .home-hero-copy-v61{width:min(100%,960px)!important;max-width:960px!important;text-shadow:none!important;color:var(--text)!important}
body.public-body .home-hero-v141.hero-layout-textual .home-hero-copy-v61 h1{color:var(--text)!important;max-width:15ch!important;font-size:clamp(2.4rem,5vw,5rem)!important}
body.public-body .home-hero-v141.hero-layout-textual .home-hero-copy-v61 p{color:var(--muted)!important;max-width:68ch!important}
body.public-body .home-hero-v141.hero-layout-textual .home-hero-copy-v61 .eyebrow.light{background:var(--public-accent-soft)!important;color:var(--public-link)!important;border-color:color-mix(in srgb,var(--public-link) 20%,var(--line))!important;text-shadow:none!important}

body.public-body .home-hero-v141.hero-layout-split{
  min-height:clamp(430px,50vw,610px)!important;
  background:var(--surface)!important;
  border:1px solid var(--line)!important;
  color:var(--text)!important;
  display:grid!important;
  grid-template-columns:minmax(0,58%) minmax(300px,42%)!important;
}
body.public-body .home-hero-v141.hero-layout-split .home-hero-bg-v61{position:relative!important;inset:auto!important;grid-column:2!important;grid-row:1!important;min-height:100%!important;border-left:1px solid var(--line)!important}
body.public-body .home-hero-v141.hero-layout-split .home-hero-overlay-v61{display:none!important}
body.public-body .home-hero-v141.hero-layout-split .home-hero-content-v61{grid-column:1!important;grid-row:1!important;min-height:0!important;align-items:center!important}
body.public-body .home-hero-v141.hero-layout-split .home-hero-copy-v61{width:100%!important;max-width:760px!important;text-shadow:none!important;color:var(--text)!important}
body.public-body .home-hero-v141.hero-layout-split .home-hero-copy-v61 h1{color:var(--text)!important;max-width:14ch!important;font-size:clamp(2.35rem,4.5vw,4.8rem)!important}
body.public-body .home-hero-v141.hero-layout-split .home-hero-copy-v61 p{color:var(--muted)!important;max-width:60ch!important}
body.public-body .home-hero-v141.hero-layout-split .home-hero-copy-v61 .eyebrow.light{background:var(--public-accent-soft)!important;color:var(--public-link)!important;border-color:color-mix(in srgb,var(--public-link) 20%,var(--line))!important;text-shadow:none!important}
body.public-body .home-hero-v141.hero-layout-split .home-hero-dots-v61{left:auto!important;right:22px!important;bottom:22px!important;background:color-mix(in srgb,var(--text) 58%,transparent)!important}
body.public-body .home-hero-v141.hero-layout-split.no-bg-image{grid-template-columns:1fr!important}
body.public-body .home-hero-v141.hero-layout-split.no-bg-image .home-hero-bg-v61{display:none!important}
body.public-body .home-hero-v141.hero-layout-split.no-bg-image .home-hero-content-v61{grid-column:1!important}

/* Áreas públicas: se elimina la mega tarjeta y se separan introducción y accesos. */
body.public-body .expertise-showcase-v141{
  position:relative!important;
  display:grid!important;
  gap:0!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.public-body .expertise-showcase-v141::before,
body.public-body .expertise-showcase-v141::after{display:none!important;content:none!important}
body.public-body .expertise-showcase-v141.expertise-spacing-compact{--expertise-gap:22px;--expertise-card-pad:18px;--expertise-row-gap:12px}
body.public-body .expertise-showcase-v141.expertise-spacing-balanced{--expertise-gap:32px;--expertise-card-pad:22px;--expertise-row-gap:16px}
body.public-body .expertise-showcase-v141.expertise-spacing-airy{--expertise-gap:46px;--expertise-card-pad:28px;--expertise-row-gap:22px}

body.public-body .expertise-intro-v141{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-items:stretch!important;
  gap:var(--expertise-gap)!important;
  padding:0 0 var(--expertise-gap)!important;
  border-bottom:1px solid var(--line)!important;
}
body.public-body .expertise-copy-v141{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:clamp(20px,3vw,48px)!important;
  margin:0!important;
  padding:0!important;
}
body.public-body .expertise-copy-v141 h2{
  color:var(--text)!important;
  font-size:clamp(2rem,4.2vw,4.4rem)!important;
  line-height:1.01!important;
  letter-spacing:-.065em!important;
  max-width:18ch!important;
  margin:12px 0 12px!important;
}
body.public-body .expertise-copy-v141 p{max-width:72ch!important;margin:0!important;color:var(--muted)!important;font-size:1rem!important;line-height:1.65!important}
body.public-body .expertise-actions-v116{align-self:end!important;justify-content:flex-end!important;padding-bottom:2px!important}

body.public-body .expertise-grid-v141{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  padding-top:var(--expertise-gap)!important;
  border-top:0!important;
}
body.public-body .expertise-showcase-v141.expertise-columns-2 .expertise-grid-v141{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.public-body .expertise-card-v141{
  position:relative!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:start!important;
  column-gap:16px!important;
  row-gap:var(--expertise-row-gap)!important;
  min-height:0!important;
  padding:var(--expertise-card-pad)!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-top:2px solid color-mix(in srgb,var(--brand) 88%,var(--line))!important;
  border-right:1px solid var(--line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:var(--text)!important;
  overflow:visible!important;
  transform:none!important;
  transition:background .18s ease,border-color .18s ease!important;
}
body.public-body .expertise-card-v141:nth-child(3n){border-right:0!important}
body.public-body .expertise-showcase-v141.expertise-columns-2 .expertise-card-v141:nth-child(3n){border-right:1px solid var(--line)!important}
body.public-body .expertise-showcase-v141.expertise-columns-2 .expertise-card-v141:nth-child(2n){border-right:0!important}
body.public-body .expertise-card-v141::before,
body.public-body .expertise-card-v141::after{display:none!important;content:none!important}
body.public-body .expertise-card-v141:hover{background:color-mix(in srgb,var(--brand) 4%,var(--surface))!important;border-top-color:var(--public-link)!important;transform:none!important;box-shadow:none!important}
body.public-body .expertise-icon-v116{
  grid-column:1!important;
  grid-row:1!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:10px!important;
  font-size:1.35rem!important;
  background:var(--public-accent-soft)!important;
  color:var(--public-link)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--public-link) 16%,transparent)!important;
}
body.public-body .expertise-card-copy-v141{grid-column:2!important;grid-row:1!important;display:grid!important;gap:9px!important;min-width:0!important}
body.public-body .expertise-card-v141 strong{color:var(--text)!important;font-size:1.14rem!important;line-height:1.18!important;letter-spacing:-.025em!important}
body.public-body .expertise-card-v141 small{color:var(--muted)!important;font-size:.94rem!important;line-height:1.55!important}
body.public-body .expertise-card-v141 em{grid-column:2!important;grid-row:2!important;margin:0!important;color:var(--public-link)!important;font-size:.88rem!important;font-style:normal!important;font-weight:800!important}

/* Introducción con imagen real, sin reservar espacio cuando está desactivada. */
body.public-body .expertise-showcase-v141.expertise-layout-split.expertise-media-enabled .expertise-intro-v141{
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important;
  gap:clamp(24px,4vw,58px)!important;
  align-items:center!important;
}
body.public-body .expertise-showcase-v141.expertise-layout-split.expertise-media-left .expertise-copy-v141{grid-column:2!important;grid-row:1!important}
body.public-body .expertise-showcase-v141.expertise-layout-split.expertise-media-left .expertise-media-v141{grid-column:1!important;grid-row:1!important}
body.public-body .expertise-showcase-v141.expertise-layout-split .expertise-copy-v141{grid-template-columns:1fr!important;align-content:center!important}
body.public-body .expertise-showcase-v141.expertise-layout-split .expertise-actions-v116{justify-content:flex-start!important}
body.public-body .expertise-media-v141{
  width:100%!important;
  height:var(--expertise-media-height)!important;
  min-height:220px!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid var(--line)!important;
  border-radius:var(--public-radius)!important;
  background:var(--surface-2)!important;
}
body.public-body .expertise-media-v141 img{display:block!important;width:100%!important;height:100%!important;object-fit:var(--expertise-media-fit)!important;object-position:center!important;filter:var(--px-image-filter)!important}

/* Variante compacta: accesos tipo directorio, no tarjetas altas. */
body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-copy-v141 h2{font-size:clamp(1.8rem,3.2vw,3rem)!important;max-width:22ch!important}
body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-grid-v141{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-card-v141{grid-template-columns:38px minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center!important;border-top:1px solid var(--line)!important;border-right:0!important;padding:16px 8px!important}
body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-icon-v116{width:38px!important;height:38px!important;min-width:38px!important}
body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-card-copy-v141{grid-column:2!important;grid-row:1!important}
body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-card-v141 small{display:none!important}
body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-card-v141 em{grid-column:3!important;grid-row:1!important;white-space:nowrap!important}

@media(max-width:1080px){
  body.public-body .home-hero-v141.hero-layout-split{grid-template-columns:minmax(0,56%) minmax(280px,44%)!important}
  body.public-body .expertise-copy-v141{grid-template-columns:1fr!important;align-items:start!important}
  body.public-body .expertise-actions-v116{justify-content:flex-start!important}
  body.public-body .expertise-showcase-v141.expertise-layout-split.expertise-media-enabled .expertise-intro-v141{grid-template-columns:1fr!important}
  body.public-body .expertise-showcase-v141.expertise-layout-split.expertise-media-left .expertise-copy-v141,
  body.public-body .expertise-showcase-v141.expertise-layout-split.expertise-media-left .expertise-media-v141{grid-column:1!important;grid-row:auto!important}
}

@media(max-width:860px){
  body.public-body .home-hero-v141.hero-layout-split{display:block!important;min-height:0!important}
  body.public-body .home-hero-v141.hero-layout-split .home-hero-bg-v61{min-height:300px!important;border-left:0!important;border-top:1px solid var(--line)!important}
  body.public-body .home-hero-v141.hero-layout-split .home-hero-content-v61{min-height:0!important}
  body.public-body .home-hero-v141.hero-layout-split .home-hero-dots-v61{bottom:18px!important}
  body.public-body .expertise-grid-v141,
  body.public-body .expertise-showcase-v141.expertise-columns-2 .expertise-grid-v141{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.public-body .expertise-card-v141:nth-child(3n){border-right:1px solid var(--line)!important}
  body.public-body .expertise-card-v141:nth-child(2n){border-right:0!important}
}

@media(max-width:620px){
  body.public-body .home-hero-v141.hero-layout-textual,
  body.public-body .home-hero-v141.hero-layout-split{border-radius:var(--public-radius)!important}
  body.public-body .home-hero-v141.hero-layout-split .home-hero-bg-v61{min-height:240px!important}
  body.public-body .home-hero-v141.hero-layout-textual .home-hero-copy-v61 h1,
  body.public-body .home-hero-v141.hero-layout-split .home-hero-copy-v61 h1{font-size:clamp(2.15rem,11vw,3.35rem)!important;max-width:100%!important}
  body.public-body .expertise-intro-v141{padding-bottom:22px!important}
  body.public-body .expertise-copy-v141 h2{font-size:clamp(2rem,10.5vw,3.1rem)!important;max-width:100%!important;letter-spacing:-.055em!important}
  body.public-body .expertise-actions-v116{width:100%!important;display:grid!important;grid-template-columns:1fr!important}
  body.public-body .expertise-actions-v116 .btn{width:100%!important}
  body.public-body .expertise-grid-v141,
  body.public-body .expertise-showcase-v141.expertise-columns-2 .expertise-grid-v141,
  body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-grid-v141{grid-template-columns:1fr!important;padding-top:22px!important}
  body.public-body .expertise-card-v141,
  body.public-body .expertise-showcase-v141.expertise-columns-2 .expertise-card-v141{border-right:0!important;padding-inline:0!important}
  body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-card-v141{grid-template-columns:38px minmax(0,1fr)!important}
  body.public-body .expertise-showcase-v141.expertise-layout-compact .expertise-card-v141 em{grid-column:2!important;grid-row:2!important}
  body.public-body .expertise-media-v141{height:min(var(--expertise-media-height),300px)!important}
}

/* ========================================================================== 
   v142 · PORTADA EVENT-FIRST
   Patrones combinados: protagonista temporal, información de decisión,
   prueba institucional, rutas de participación y agenda sin repetición.
   ========================================================================== */

body.public-body .home-v21{
  --stage-safe-bg:var(--public-stage-bg,var(--surface));
  --stage-safe-text:var(--public-stage-text,var(--text));
  --stage-safe-panel:var(--public-stage-panel,var(--surface));
  --stage-safe-panel-text:var(--public-stage-panel-text,var(--text));
  --stage-rule:color-mix(in srgb,var(--stage-safe-text) 17%,transparent);
  --stage-muted:color-mix(in srgb,var(--stage-safe-text) 68%,transparent);
  gap:clamp(46px,6vw,92px)!important;
}

/* El protagonista deja de ser una tarjeta de catálogo: es una escena editorial. */
body.public-body .home-stage-v142{
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  width:100%!important;
  min-height:min(var(--stage-height,600px),calc(100svh - 96px))!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  color:var(--stage-safe-text)!important;
  background:var(--stage-safe-bg)!important;
  border:1px solid color-mix(in srgb,var(--stage-safe-text) 12%,transparent)!important;
  border-radius:clamp(14px,1.5vw,24px)!important;
  box-shadow:none!important;
}
body.public-body .home-stage-v142::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,color-mix(in srgb,var(--stage-safe-text) 5%,transparent) 1px,transparent 1px),
    linear-gradient(color-mix(in srgb,var(--stage-safe-text) 5%,transparent) 1px,transparent 1px)!important;
  background-size:72px 72px!important;
  mask-image:linear-gradient(90deg,#000,transparent 72%)!important;
  opacity:.52!important;
}
body.public-body .home-stage-v142::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  right:-12%!important;
  bottom:-40%!important;
  width:min(52vw,720px)!important;
  aspect-ratio:1!important;
  border-radius:50%!important;
  background:color-mix(in srgb,var(--accent) 16%,transparent)!important;
  filter:blur(2px)!important;
  pointer-events:none!important;
}

body.public-body .stage-announcement-v142{
  position:relative!important;
  z-index:4!important;
  display:flex!important;
  align-items:center!important;
  gap:10px 14px!important;
  min-height:46px!important;
  padding:10px clamp(20px,3vw,42px)!important;
  color:var(--public-announce-text,var(--stage-safe-text))!important;
  background:var(--public-announce-bg,color-mix(in srgb,var(--stage-safe-text) 8%,transparent))!important;
  border-bottom:1px solid color-mix(in srgb,var(--public-announce-text,var(--stage-safe-text)) 15%,transparent)!important;
  font-size:.84rem!important;
  line-height:1.35!important;
}
body.public-body .stage-announcement-v142 strong{
  color:inherit!important;
  font-size:inherit!important;
  letter-spacing:.015em!important;
}
body.public-body .stage-announcement-v142>span:not(.stage-live-dot-v142){opacity:.78!important}
body.public-body .stage-announcement-v142 a{
  margin-left:auto!important;
  color:inherit!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body.public-body .stage-live-dot-v142{
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  border-radius:50%!important;
  background:var(--ok,#22c55e)!important;
  box-shadow:0 0 0 5px color-mix(in srgb,var(--ok,#22c55e) 18%,transparent)!important;
}

body.public-body .stage-grid-v142{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.14fr) minmax(340px,.86fr)!important;
  align-items:stretch!important;
  width:100%!important;
  min-height:calc(min(var(--stage-height,600px),calc(100svh - 96px)) - 46px)!important;
}
body.public-body .home-stage-v142.no-stage-announcement .stage-grid-v142{
  min-height:min(var(--stage-height,600px),calc(100svh - 96px))!important;
}
body.public-body .stage-copy-v142{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
  padding:clamp(42px,5.5vw,86px) clamp(28px,5.2vw,82px)!important;
}
body.public-body .stage-kicker-v142{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 0 20px!important;
  padding:0!important;
  color:var(--stage-safe-text)!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  font-size:.76rem!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.public-body .stage-kicker-v142::before{
  content:""!important;
  width:34px!important;
  height:2px!important;
  background:var(--accent)!important;
}
body.public-body .stage-copy-v142 h1{
  max-width:13.5ch!important;
  margin:0!important;
  color:var(--stage-safe-text)!important;
  font-size:clamp(3.2rem,5.7vw,6.65rem)!important;
  font-weight:810!important;
  line-height:.91!important;
  letter-spacing:-.073em!important;
  text-wrap:balance!important;
}
body.public-body .stage-lead-v142{
  max-width:62ch!important;
  margin:clamp(20px,2vw,30px) 0 0!important;
  color:var(--stage-muted)!important;
  font-size:clamp(1rem,1.2vw,1.2rem)!important;
  line-height:1.62!important;
}
body.public-body .stage-meta-v142{
  display:flex!important;
  flex-wrap:wrap!important;
  width:100%!important;
  max-width:780px!important;
  margin:clamp(26px,3vw,42px) 0 0!important;
  padding:17px 0!important;
  border-top:1px solid var(--stage-rule)!important;
  border-bottom:1px solid var(--stage-rule)!important;
}
body.public-body .stage-meta-v142>span{
  display:grid!important;
  align-content:start!important;
  gap:5px!important;
  min-width:min(180px,33.333%)!important;
  padding:0 22px!important;
  border-left:1px solid var(--stage-rule)!important;
}
body.public-body .stage-meta-v142>span:first-child{padding-left:0!important;border-left:0!important}
body.public-body .stage-meta-v142 small{
  color:var(--stage-muted)!important;
  font-size:.69rem!important;
  font-weight:800!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
body.public-body .stage-meta-v142 strong{
  color:var(--stage-safe-text)!important;
  font-size:.96rem!important;
  font-weight:760!important;
  line-height:1.35!important;
}
body.public-body .stage-actions-v142{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin:clamp(26px,3vw,42px) 0 0!important;
}
body.public-body .stage-actions-v142 .btn{
  min-height:48px!important;
  padding-inline:22px!important;
}
body.public-body .stage-actions-v142 .btn.soft{
  color:var(--stage-safe-text)!important;
  background:transparent!important;
  border-color:color-mix(in srgb,var(--stage-safe-text) 26%,transparent)!important;
}
body.public-body .stage-actions-v142 .btn.soft:hover{
  background:color-mix(in srgb,var(--stage-safe-text) 7%,transparent)!important;
}

/* La cuenta regresiva es información operativa, no un conjunto de mini cards. */
body.public-body .stage-countdown-v142{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:end!important;
  gap:0!important;
  margin:26px 0 0!important;
}
body.public-body .stage-countdown-v142>span{
  display:grid!important;
  gap:1px!important;
  min-width:74px!important;
  padding:0 18px!important;
  border-left:1px solid var(--stage-rule)!important;
}
body.public-body .stage-countdown-v142>span:first-child{padding-left:0!important;border-left:0!important}
body.public-body .stage-countdown-v142 strong{
  color:var(--stage-safe-text)!important;
  font-size:1.55rem!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums!important;
}
body.public-body .stage-countdown-v142 small{
  color:var(--stage-muted)!important;
  font-size:.64rem!important;
  font-weight:780!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body.public-body .stage-countdown-v142 em{
  max-width:180px!important;
  margin-left:16px!important;
  color:var(--stage-muted)!important;
  font-size:.77rem!important;
  font-style:normal!important;
  line-height:1.35!important;
}

body.public-body .stage-visual-v142{
  position:relative!important;
  display:grid!important;
  min-width:0!important;
  min-height:100%!important;
  padding:clamp(22px,2.6vw,38px)!important;
  background:color-mix(in srgb,var(--stage-safe-text) 5%,transparent)!important;
  border-left:1px solid var(--stage-rule)!important;
}
body.public-body .stage-image-v142{
  position:relative!important;
  width:100%!important;
  min-height:100%!important;
  margin:0!important;
  overflow:hidden!important;
  background:var(--stage-safe-panel)!important;
  border:1px solid color-mix(in srgb,var(--stage-safe-text) 13%,transparent)!important;
  border-radius:clamp(10px,1vw,16px)!important;
}
body.public-body .stage-image-v142::after{
  content:""!important;
  position:absolute!important;
  inset:auto 0 0!important;
  height:45%!important;
  pointer-events:none!important;
  background:linear-gradient(transparent,color-mix(in srgb,#020617 78%,transparent))!important;
}
body.public-body .stage-image-v142 img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:420px!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:var(--px-image-filter)!important;
}
body.public-body .home-stage-v142.stage-fit-contain .stage-image-v142 img{object-fit:contain!important;background:var(--stage-safe-panel)!important}
body.public-body .home-stage-v142.stage-position-top .stage-image-v142 img{object-position:center top!important}
body.public-body .home-stage-v142.stage-position-bottom .stage-image-v142 img{object-position:center bottom!important}
body.public-body .home-stage-v142.stage-position-left .stage-image-v142 img{object-position:left center!important}
body.public-body .home-stage-v142.stage-position-right .stage-image-v142 img{object-position:right center!important}
body.public-body .stage-image-v142 figcaption{
  position:absolute!important;
  z-index:2!important;
  left:clamp(18px,2vw,30px)!important;
  right:clamp(18px,2vw,30px)!important;
  bottom:clamp(18px,2vw,30px)!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  color:#fff!important;
}
body.public-body .stage-image-v142 figcaption span{
  display:inline-flex!important;
  padding:7px 10px!important;
  color:var(--public-deadline-text,#fff)!important;
  background:var(--public-deadline-bg,color-mix(in srgb,var(--accent) 85%,#000))!important;
  border-radius:7px!important;
  font-size:.72rem!important;
  font-weight:850!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
}
body.public-body .stage-image-v142 figcaption strong{color:#fff!important;font-size:.88rem!important;text-align:right!important}
body.public-body .stage-date-plate-v142{
  position:absolute!important;
  z-index:4!important;
  top:clamp(36px,4vw,64px)!important;
  left:0!important;
  display:grid!important;
  min-width:88px!important;
  padding:14px 16px!important;
  color:var(--public-date-text)!important;
  background:var(--public-date-bg)!important;
  border-radius:0 10px 10px 0!important;
  box-shadow:0 12px 34px color-mix(in srgb,#020617 18%,transparent)!important;
  text-align:center!important;
}
body.public-body .stage-date-plate-v142 strong{color:inherit!important;font-size:2rem!important;line-height:.9!important}
body.public-body .stage-date-plate-v142 span{font-size:.69rem!important;font-weight:900!important;letter-spacing:.12em!important}

/* Fallback sin fotografía: usa información útil, jamás un hueco decorativo. */
body.public-body .stage-brief-v142{
  align-self:center!important;
  width:100%!important;
  max-width:520px!important;
  margin:auto!important;
  padding:clamp(28px,4vw,54px)!important;
  color:var(--stage-safe-panel-text)!important;
  background:var(--stage-safe-panel)!important;
  border:1px solid color-mix(in srgb,var(--stage-safe-panel-text) 13%,transparent)!important;
  border-radius:clamp(10px,1vw,16px)!important;
  box-shadow:none!important;
}
body.public-body .stage-brief-head-v142{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  padding-bottom:22px!important;
  border-bottom:1px solid color-mix(in srgb,var(--stage-safe-panel-text) 13%,transparent)!important;
}
body.public-body .stage-brief-head-v142>span{
  color:var(--stage-safe-panel-text)!important;
  font-size:.72rem!important;
  font-weight:850!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
body.public-body .stage-brief-head-v142>div{display:grid!important;text-align:right!important}
body.public-body .stage-brief-head-v142 strong{color:var(--stage-safe-panel-text)!important;font-size:2.2rem!important;line-height:.9!important}
body.public-body .stage-brief-head-v142 small{color:color-mix(in srgb,var(--stage-safe-panel-text) 65%,transparent)!important;font-weight:850!important;letter-spacing:.1em!important}
body.public-body .stage-brief-v142 h2{
  margin:30px 0 12px!important;
  color:var(--stage-safe-panel-text)!important;
  font-size:clamp(1.75rem,2.5vw,2.65rem)!important;
  line-height:1.03!important;
}
body.public-body .stage-brief-v142>p{display:grid!important;gap:4px!important;margin:22px 0 0!important}
body.public-body .stage-brief-v142>p small{color:color-mix(in srgb,var(--stage-safe-panel-text) 64%,transparent)!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:800!important}
body.public-body .stage-brief-v142>p strong{color:var(--stage-safe-panel-text)!important;font-size:1.08rem!important}
body.public-body .stage-next-list-v142{display:grid!important;margin-top:28px!important;border-top:1px solid color-mix(in srgb,var(--stage-safe-panel-text) 13%,transparent)!important}
body.public-body .stage-next-list-v142>span{padding:18px 0 8px!important;color:color-mix(in srgb,var(--stage-safe-panel-text) 64%,transparent)!important;font-size:.68rem!important;font-weight:850!important;letter-spacing:.1em!important;text-transform:uppercase!important}
body.public-body .stage-next-list-v142 a{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  padding:14px 0!important;
  color:var(--stage-safe-panel-text)!important;
  border-bottom:1px solid color-mix(in srgb,var(--stage-safe-panel-text) 10%,transparent)!important;
}
body.public-body .stage-next-list-v142 time{font-size:.72rem!important;font-weight:850!important;letter-spacing:.04em!important;text-transform:uppercase!important}
body.public-body .stage-next-list-v142 strong{color:inherit!important;font-size:.94rem!important;line-height:1.25!important}
body.public-body .stage-brief-link-v142{display:inline-flex!important;margin-top:28px!important;color:var(--stage-safe-panel-text)!important;font-weight:850!important}

/* Variantes configurables del protagonista. */
body.public-body .home-stage-v142.stage-layout-brief .stage-grid-v142{grid-template-columns:minmax(0,1fr) minmax(300px,.55fr)!important}
body.public-body .home-stage-v142.stage-layout-brief .stage-copy-v142 h1{font-size:clamp(3rem,5vw,5.7rem)!important;max-width:15ch!important}
body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-grid-v142{grid-template-columns:1fr!important}
body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-copy-v142{
  position:relative!important;
  z-index:3!important;
  grid-area:1/1!important;
  width:min(64%,940px)!important;
  min-height:inherit!important;
  padding-right:clamp(40px,8vw,130px)!important;
  background:linear-gradient(90deg,color-mix(in srgb,var(--stage-safe-bg) 96%,transparent) 0%,color-mix(in srgb,var(--stage-safe-bg) 89%,transparent) 58%,transparent 100%)!important;
}
body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-visual-v142{grid-area:1/1!important;padding:0!important;border:0!important;background:transparent!important}
body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-image-v142{position:absolute!important;inset:0!important;border:0!important;border-radius:0!important}
body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-image-v142::after{height:100%!important;background:linear-gradient(90deg,color-mix(in srgb,var(--stage-safe-bg) 76%,transparent),transparent 72%)!important}
body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-date-plate-v142{left:auto!important;right:0!important;border-radius:10px 0 0 10px!important}
body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-image-v142 figcaption{left:auto!important;max-width:36%!important;text-align:right!important}

/* Indicadores: una franja de prueba, no tarjetas de dashboard. */
body.public-body .home-proof-v142{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  margin:clamp(-60px,-4vw,-38px) auto 0!important;
  padding:0 clamp(18px,3vw,38px)!important;
  color:var(--public-proof-text,var(--text))!important;
  background:var(--public-proof-bg,var(--surface))!important;
  border:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 12%,transparent)!important;
  border-radius:12px!important;
  box-shadow:0 22px 58px color-mix(in srgb,var(--text) 9%,transparent)!important;
  overflow:hidden!important;
  position:relative!important;
  z-index:5!important;
}
body.public-body .home-proof-v142 a{
  display:flex!important;
  align-items:baseline!important;
  gap:10px!important;
  min-width:0!important;
  padding:20px clamp(14px,2.2vw,32px)!important;
  color:inherit!important;
  background:transparent!important;
  border-left:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 12%,transparent)!important;
}
body.public-body .home-proof-v142 a:first-child{border-left:0!important}
body.public-body .home-proof-v142 strong{color:inherit!important;font-size:clamp(1.45rem,2.2vw,2.25rem)!important;line-height:1!important;letter-spacing:-.045em!important;white-space:nowrap!important}
body.public-body .home-proof-v142 span{color:color-mix(in srgb,var(--public-proof-text,var(--text)) 66%,transparent)!important;font-size:.82rem!important;line-height:1.25!important}

/* La antigua franja institucional se integra como índice editorial liviano. */
body.public-body .home-institution-strip{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  padding:0!important;
  background:transparent!important;
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.public-body .home-institution-strip article{
  min-height:0!important;
  padding:24px!important;
  background:var(--surface)!important;
  border:0!important;
  border-left:1px solid var(--line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.public-body .home-institution-strip article:first-child{border-left:0!important}
body.public-body .home-institution-strip article>span{
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0 0 18px!important;
  padding:0!important;
  color:var(--public-link)!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  font-size:.72rem!important;
  font-weight:900!important;
  letter-spacing:.1em!important;
}
body.public-body .home-institution-strip h3{margin:0 0 8px!important;font-size:1rem!important}
body.public-body .home-institution-strip p{margin:0!important;font-size:.86rem!important;line-height:1.5!important;color:var(--muted)!important}

/* Rutas de participación: tres decisiones claras en vez de seis módulos iguales. */
body.public-body .expertise-showcase-v141.expertise-layout-grouped{
  display:grid!important;
  gap:clamp(28px,4vw,54px)!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.public-body .expertise-showcase-v141.expertise-layout-grouped .expertise-intro-v141{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:30px!important;
  padding:0 0 26px!important;
  border-bottom:1px solid var(--line)!important;
}
body.public-body .expertise-showcase-v141.expertise-layout-grouped .expertise-copy-v141 h2{
  max-width:23ch!important;
  font-size:clamp(2rem,3.6vw,4rem)!important;
  letter-spacing:-.055em!important;
}
body.public-body .expertise-groups-v142{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  border-top:2px solid var(--text)!important;
  border-bottom:1px solid var(--line)!important;
}
body.public-body .expertise-group-v142{
  display:grid!important;
  align-content:start!important;
  gap:24px!important;
  min-width:0!important;
  padding:clamp(24px,2.8vw,42px)!important;
  background:transparent!important;
  border:0!important;
  border-left:1px solid var(--line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.public-body .expertise-group-v142:first-child{border-left:0!important}
body.public-body .expertise-group-v142>header{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
}
body.public-body .expertise-group-v142>header>span{
  color:var(--public-link)!important;
  font-size:.72rem!important;
  font-weight:900!important;
  letter-spacing:.1em!important;
  line-height:1.4!important;
}
body.public-body .expertise-group-v142 h3{margin:0!important;font-size:clamp(1.2rem,1.7vw,1.65rem)!important;line-height:1.08!important}
body.public-body .expertise-group-v142 header p{margin:9px 0 0!important;color:var(--muted)!important;font-size:.9rem!important;line-height:1.5!important}
body.public-body .expertise-group-links-v142{display:grid!important;border-top:1px solid var(--line)!important}
body.public-body .expertise-group-links-v142>a{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:12px!important;
  padding:18px 0!important;
  color:var(--text)!important;
  border-bottom:1px solid var(--line)!important;
}
body.public-body .expertise-group-links-v142>a:hover{color:var(--public-link)!important}
body.public-body .expertise-group-links-v142 i{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  margin-top:1px!important;
  color:var(--public-link)!important;
  background:var(--public-accent-soft)!important;
  border-radius:6px!important;
  font-size:.68rem!important;
  font-style:normal!important;
  font-weight:900!important;
}
body.public-body .expertise-group-links-v142 span{display:grid!important;gap:5px!important;min-width:0!important}
body.public-body .expertise-group-links-v142 strong{color:inherit!important;font-size:.98rem!important;line-height:1.2!important}
body.public-body .expertise-group-links-v142 small{color:var(--muted)!important;font-size:.82rem!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.public-body .expertise-group-links-v142 em{font-size:1rem!important;font-style:normal!important;color:var(--public-link)!important}

/* Agenda posterior: el héroe ya presentó el evento principal. */
body.public-body .agenda-smart-v71 .section-head-v21{padding-bottom:22px!important;border-bottom:1px solid var(--line)!important}
body.public-body .agenda-board-v71,
body.public-body .agenda-feature-v71,
body.public-body .agenda-panel-v71{border-radius:clamp(10px,1vw,16px)!important;box-shadow:none!important}
body.public-body .agenda-feature-v71{border-color:var(--line)!important}
body.public-body .agenda-row-v71{border-radius:0!important}

@media(max-width:1180px){
  body.public-body .stage-grid-v142{grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important}
  body.public-body .stage-copy-v142{padding-inline:clamp(28px,4.5vw,58px)!important}
  body.public-body .stage-copy-v142 h1{font-size:clamp(3rem,5.8vw,5.6rem)!important}
  body.public-body .home-proof-v142{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.public-body .home-proof-v142 a:nth-child(3){border-left:0!important;border-top:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 12%,transparent)!important}
  body.public-body .home-proof-v142 a:nth-child(4){border-top:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 12%,transparent)!important}
}

@media(max-width:960px){
  body.public-body .home-stage-v142{min-height:0!important}
  body.public-body .stage-grid-v142,
  body.public-body .home-stage-v142.stage-layout-brief .stage-grid-v142{grid-template-columns:1fr!important;min-height:0!important}
  body.public-body .stage-copy-v142{min-height:0!important;padding:clamp(38px,7vw,66px) clamp(24px,6vw,58px)!important}
  body.public-body .stage-copy-v142 h1{max-width:15ch!important;font-size:clamp(3rem,9vw,5.4rem)!important}
  body.public-body .stage-visual-v142{min-height:420px!important;border-left:0!important;border-top:1px solid var(--stage-rule)!important}
  body.public-body .stage-image-v142 img{min-height:420px!important}
  body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-copy-v142{width:76%!important;min-height:580px!important}
  body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-visual-v142{min-height:580px!important;border:0!important}
  body.public-body .expertise-groups-v142{grid-template-columns:1fr!important}
  body.public-body .expertise-group-v142{border-left:0!important;border-top:1px solid var(--line)!important}
  body.public-body .expertise-group-v142:first-child{border-top:0!important}
  body.public-body .home-institution-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.public-body .home-institution-strip article:nth-child(3){border-left:0!important;border-top:1px solid var(--line)!important}
  body.public-body .home-institution-strip article:nth-child(4){border-top:1px solid var(--line)!important}
}

@media(max-width:700px){
  body.public-body .home-v21{gap:44px!important}
  body.public-body .home-stage-v142{border-radius:12px!important}
  body.public-body .stage-announcement-v142{align-items:flex-start!important;flex-wrap:wrap!important;padding:11px 18px!important}
  body.public-body .stage-announcement-v142 a{width:100%!important;margin-left:22px!important}
  body.public-body .stage-copy-v142{padding:34px 20px 38px!important}
  body.public-body .stage-kicker-v142{margin-bottom:15px!important}
  body.public-body .stage-copy-v142 h1{font-size:clamp(2.65rem,13vw,4rem)!important;line-height:.94!important;letter-spacing:-.062em!important}
  body.public-body .stage-lead-v142{font-size:.98rem!important;line-height:1.55!important}
  body.public-body .stage-meta-v142{display:grid!important;grid-template-columns:1fr!important;padding:0!important}
  body.public-body .stage-meta-v142>span{min-width:0!important;padding:13px 0!important;border-left:0!important;border-top:1px solid var(--stage-rule)!important}
  body.public-body .stage-meta-v142>span:first-child{border-top:0!important}
  body.public-body .stage-countdown-v142{width:100%!important}
  body.public-body .stage-countdown-v142>span{min-width:33.333%!important;padding:0 12px!important}
  body.public-body .stage-countdown-v142>span:first-child{padding-left:0!important}
  body.public-body .stage-countdown-v142 em{width:100%!important;max-width:none!important;margin:12px 0 0!important}
  body.public-body .stage-actions-v142{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  body.public-body .stage-actions-v142 .btn{width:100%!important}
  body.public-body .stage-visual-v142{min-height:320px!important;padding:14px!important}
  body.public-body .stage-image-v142 img{min-height:320px!important}
  body.public-body .stage-date-plate-v142{top:28px!important;min-width:72px!important;padding:11px 12px!important}
  body.public-body .stage-image-v142 figcaption strong{display:none!important}
  body.public-body .stage-brief-v142{padding:26px 22px!important}
  body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-copy-v142{width:100%!important;min-height:620px!important;padding:42px 20px 170px!important;background:linear-gradient(180deg,color-mix(in srgb,var(--stage-safe-bg) 97%,transparent) 0%,color-mix(in srgb,var(--stage-safe-bg) 88%,transparent) 62%,transparent 100%)!important}
  body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-image-v142::after{background:linear-gradient(180deg,color-mix(in srgb,var(--stage-safe-bg) 65%,transparent),transparent 70%)!important}
  body.public-body .home-stage-v142.stage-layout-cover.has-stage-image .stage-image-v142 figcaption{max-width:none!important;left:18px!important;text-align:left!important}
  body.public-body .home-proof-v142{grid-template-columns:1fr 1fr!important;margin-top:-24px!important;padding:0!important}
  body.public-body .home-proof-v142 a{display:grid!important;gap:4px!important;padding:16px!important}
  body.public-body .home-proof-v142 strong{font-size:1.5rem!important}
  body.public-body .home-proof-v142 a:nth-child(3){border-top:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 12%,transparent)!important}
  body.public-body .expertise-showcase-v141.expertise-layout-grouped .expertise-intro-v141{grid-template-columns:1fr!important}
  body.public-body .expertise-group-v142{padding:26px 0!important}
  body.public-body .home-institution-strip{grid-template-columns:1fr!important}
  body.public-body .home-institution-strip article{border-left:0!important;border-top:1px solid var(--line)!important}
  body.public-body .home-institution-strip article:first-child{border-top:0!important}
}

@media(prefers-reduced-motion:reduce){
  body.public-body .stage-live-dot-v142{box-shadow:none!important}
}

body.public-body .agenda-smart-v71{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;overflow:visible!important}


/* ========================================================================== 
   v143 · Spotlight legible, poster integrado, métricas en cards y rutas aireadas
   ========================================================================== */

body.public-body .home-v21{gap:clamp(64px,7vw,108px)!important}

/* Protagonista: card editorial con espacio útil, no dos paneles pegados. */
body.public-body .home-stage-v143{
  min-height:0!important;
  overflow:hidden!important;
  border-color:color-mix(in srgb,var(--stage-safe-text) 11%,transparent)!important;
  border-radius:clamp(18px,2vw,28px)!important;
  background:
    radial-gradient(circle at 86% 18%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 34%),
    linear-gradient(145deg,color-mix(in srgb,var(--stage-safe-bg) 98%,#fff),var(--stage-safe-bg))!important;
  box-shadow:0 24px 72px color-mix(in srgb,var(--text) 8%,transparent)!important;
}
body.public-body .home-stage-v143::before{opacity:.28!important;mask-image:linear-gradient(90deg,#000,transparent 64%)!important}
body.public-body .home-stage-v143::after{display:none!important}
body.public-body .home-stage-v143 .stage-announcement-v142{
  min-height:44px!important;
  padding:10px clamp(22px,3vw,40px)!important;
  background:color-mix(in srgb,var(--public-announce-bg,var(--stage-safe-bg)) 72%,transparent)!important;
}
body.public-body .home-stage-v143 .stage-grid-v142{
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr)!important;
  gap:clamp(28px,4vw,64px)!important;
  align-items:center!important;
  min-height:var(--stage-height,560px)!important;
  padding:clamp(30px,4vw,58px)!important;
}
body.public-body .home-stage-v143.has-stage-announcement .stage-grid-v142{min-height:calc(var(--stage-height,560px) - 44px)!important}
body.public-body .home-stage-v143 .stage-copy-v142{
  justify-content:center!important;
  min-height:0!important;
  padding:0!important;
}
body.public-body .home-stage-v143 .stage-kicker-v142{margin-bottom:16px!important;font-size:.72rem!important}
body.public-body .home-stage-v143 .stage-kicker-v142::before{width:26px!important}
body.public-body .home-stage-v143 .stage-copy-v142 h1{
  max-width:15ch!important;
  font-size:clamp(2.65rem,4.5vw,5.15rem)!important;
  font-weight:800!important;
  line-height:.97!important;
  letter-spacing:-.056em!important;
  overflow-wrap:anywhere!important;
}
body.public-body .home-stage-v143.stage-title-compact .stage-copy-v142 h1{font-size:clamp(2.35rem,4vw,4.45rem)!important;max-width:17ch!important}
body.public-body .home-stage-v143.stage-title-large .stage-copy-v142 h1{font-size:clamp(2.85rem,5vw,5.65rem)!important;max-width:14ch!important}
body.public-body .home-stage-v143 .stage-lead-v142{
  max-width:58ch!important;
  margin-top:20px!important;
  font-size:clamp(.98rem,1.15vw,1.12rem)!important;
  line-height:1.58!important;
}
body.public-body .home-stage-v143.stage-density-compact .stage-grid-v142{padding:clamp(24px,3vw,42px)!important;gap:clamp(22px,3vw,42px)!important}
body.public-body .home-stage-v143.stage-density-airy .stage-grid-v142{padding:clamp(42px,5.4vw,76px)!important;gap:clamp(42px,5vw,78px)!important}

/* Metadatos como mini cards, legibles y separadas. */
body.public-body .home-stage-v143 .stage-meta-v143{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  max-width:760px!important;
  margin:26px 0 0!important;
  padding:0!important;
  border:0!important;
}
body.public-body .home-stage-v143 .stage-meta-v143>span{
  min-width:0!important;
  padding:13px 15px!important;
  background:color-mix(in srgb,var(--stage-safe-text) 4.5%,var(--stage-safe-bg))!important;
  border:1px solid var(--stage-rule)!important;
  border-radius:12px!important;
}
body.public-body .home-stage-v143 .stage-meta-v143>span:first-child{padding-left:15px!important;border-left:1px solid var(--stage-rule)!important}
body.public-body .home-stage-v143 .stage-meta-v143 small{font-size:.63rem!important;letter-spacing:.09em!important}
body.public-body .home-stage-v143 .stage-meta-v143 strong{font-size:.9rem!important;line-height:1.35!important}

body.public-body .stage-deadline-v143{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px 12px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:18px 0 0!important;
  padding:10px 13px!important;
  color:var(--stage-safe-text)!important;
  background:color-mix(in srgb,var(--public-deadline-bg,var(--accent)) 10%,var(--stage-safe-bg))!important;
  border:1px solid color-mix(in srgb,var(--public-deadline-bg,var(--accent)) 28%,transparent)!important;
  border-radius:10px!important;
}
body.public-body .stage-deadline-v143 span{color:var(--stage-muted)!important;font-size:.7rem!important;font-weight:800!important;letter-spacing:.07em!important;text-transform:uppercase!important}
body.public-body .stage-deadline-v143 strong{color:var(--stage-safe-text)!important;font-size:.88rem!important}

body.public-body .home-stage-v143 .stage-countdown-v143{
  width:max-content!important;
  max-width:100%!important;
  margin-top:18px!important;
  padding:13px 15px!important;
  background:color-mix(in srgb,var(--stage-safe-text) 4.5%,var(--stage-safe-bg))!important;
  border:1px solid var(--stage-rule)!important;
  border-radius:12px!important;
}
body.public-body .home-stage-v143 .stage-countdown-v143>span{min-width:64px!important;padding:0 14px!important}
body.public-body .home-stage-v143 .stage-countdown-v143 strong{font-size:1.35rem!important}
body.public-body .home-stage-v143 .stage-countdown-v143 em{max-width:160px!important}
body.public-body .home-stage-v143 .stage-actions-v143{margin-top:24px!important;gap:10px!important}
body.public-body .home-stage-v143 .stage-actions-v143 .btn{min-height:46px!important;padding-inline:20px!important;border-radius:11px!important}

/* Lienzo de imagen: integra flyers verticales sin recortarlos ni pegarlos al borde. */
body.public-body .home-stage-v143 .stage-visual-v142{
  display:grid!important;
  place-items:center!important;
  min-height:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
body.public-body .home-stage-v143 .stage-image-v143{
  position:relative!important;
  isolation:isolate!important;
  width:min(100%,480px)!important;
  height:min(500px,calc(var(--stage-height,560px) - 62px))!important;
  min-height:360px!important;
  margin:auto!important;
  overflow:hidden!important;
  background:var(--stage-safe-panel)!important;
  border:1px solid color-mix(in srgb,var(--stage-safe-text) 14%,transparent)!important;
  border-radius:20px!important;
  box-shadow:0 24px 60px color-mix(in srgb,#020617 18%,transparent)!important;
}
body.public-body .home-stage-v143 .stage-image-v143::after{
  z-index:2!important;
  height:34%!important;
  background:linear-gradient(transparent,color-mix(in srgb,#020617 70%,transparent))!important;
}
body.public-body .home-stage-v143 .stage-image-v143 .stage-image-backdrop-v143{
  position:absolute!important;
  z-index:0!important;
  inset:-24px!important;
  width:calc(100% + 48px)!important;
  height:calc(100% + 48px)!important;
  min-height:0!important;
  object-fit:cover!important;
  opacity:.34!important;
  filter:blur(22px) saturate(.9)!important;
  transform:scale(1.05)!important;
}
body.public-body .home-stage-v143 .stage-image-v143 .stage-image-main-v143{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:clamp(10px,1.4vw,18px)!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:var(--px-image-filter)!important;
}
body.public-body .home-stage-v143.stage-fit-cover .stage-image-v143 .stage-image-main-v143{padding:0!important;object-fit:cover!important}
body.public-body .home-stage-v143.stage-position-top .stage-image-v143 .stage-image-main-v143{object-position:center top!important}
body.public-body .home-stage-v143.stage-position-bottom .stage-image-v143 .stage-image-main-v143{object-position:center bottom!important}
body.public-body .home-stage-v143.stage-position-left .stage-image-v143 .stage-image-main-v143{object-position:left center!important}
body.public-body .home-stage-v143.stage-position-right .stage-image-v143 .stage-image-main-v143{object-position:right center!important}
body.public-body .home-stage-v143 .stage-image-v143 figcaption{z-index:4!important;left:18px!important;right:18px!important;bottom:18px!important}
body.public-body .home-stage-v143 .stage-image-v143 figcaption span{padding:6px 9px!important;border-radius:8px!important;font-size:.66rem!important}
body.public-body .home-stage-v143 .stage-image-v143 figcaption strong{max-width:58%!important;font-size:.76rem!important;line-height:1.3!important}
body.public-body .home-stage-v143 .stage-date-plate-v142{display:none!important}

body.public-body .home-stage-v143.stage-media-poster .stage-image-v143{width:min(100%,400px)!important;aspect-ratio:4/5!important;height:auto!important;max-height:500px!important}
body.public-body .home-stage-v143.stage-media-edge .stage-image-v143{width:100%!important;height:min(520px,calc(var(--stage-height,560px) - 48px))!important;border-radius:18px!important}
body.public-body .home-stage-v143.stage-media-edge .stage-image-backdrop-v143{display:none!important}
body.public-body .home-stage-v143.stage-media-edge .stage-image-main-v143{padding:0!important;object-fit:cover!important}
body.public-body .home-stage-v143.stage-layout-poster .stage-grid-v142{grid-template-columns:minmax(0,1.18fr) minmax(300px,.72fr)!important}
body.public-body .home-stage-v143.stage-layout-poster .stage-image-v143{width:min(100%,390px)!important;aspect-ratio:4/5!important;height:auto!important}
body.public-body .home-stage-v143.stage-layout-compact .stage-grid-v142{grid-template-columns:minmax(0,1.25fr) minmax(280px,.65fr)!important}
body.public-body .home-stage-v143.stage-layout-compact .stage-copy-v142 h1{font-size:clamp(2.4rem,4vw,4.4rem)!important;max-width:17ch!important}
body.public-body .home-stage-v143.stage-layout-compact .stage-image-v143{height:min(410px,calc(var(--stage-height,520px) - 56px))!important}
body.public-body .home-stage-v143.stage-layout-wide.has-stage-image .stage-grid-v142{grid-template-columns:minmax(0,.9fr) minmax(390px,1.1fr)!important}
body.public-body .home-stage-v143.stage-layout-wide.has-stage-image .stage-image-v143{width:100%!important;height:min(500px,calc(var(--stage-height,560px) - 52px))!important}

/* Indicadores: por defecto cards independientes, no una barra de dashboard. */
body.public-body .home-proof-v143{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin:18px 0 0!important;
  padding:0!important;
  color:var(--public-proof-text,var(--text))!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.public-body .home-proof-v143 a{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-height:78px!important;
  padding:17px 19px!important;
  color:inherit!important;
  background:var(--public-proof-bg,var(--surface))!important;
  border:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 11%,transparent)!important;
  border-radius:14px!important;
  box-shadow:0 12px 34px color-mix(in srgb,var(--text) 5.5%,transparent)!important;
}
body.public-body .home-proof-v143 a:first-child{border-left:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 11%,transparent)!important}
body.public-body .home-proof-v143 strong{font-size:clamp(1.55rem,2.1vw,2rem)!important}
body.public-body .home-proof-v143 span{font-size:.79rem!important}
body.public-body .home-proof-v143.proof-style-strip{gap:0!important;background:var(--public-proof-bg,var(--surface))!important;border:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 11%,transparent)!important;border-radius:14px!important;overflow:hidden!important}
body.public-body .home-proof-v143.proof-style-strip a{border:0!important;border-left:1px solid color-mix(in srgb,var(--public-proof-text,var(--text)) 11%,transparent)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body.public-body .home-proof-v143.proof-style-strip a:first-child{border-left:0!important}
body.public-body .home-proof-v143.proof-style-minimal{gap:0!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important}
body.public-body .home-proof-v143.proof-style-minimal a{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}

/* Áreas públicas: tres cards con respiración y jerarquía. */
body.public-body .expertise-showcase-v143.expertise-layout-grouped{gap:clamp(30px,4.5vw,58px)!important}
body.public-body .expertise-showcase-v143.expertise-layout-grouped .expertise-intro-v141{
  display:block!important;
  padding:0!important;
  border:0!important;
}
body.public-body .expertise-showcase-v143.expertise-layout-grouped .expertise-head-v116{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:24px!important;
}
body.public-body .expertise-showcase-v143.expertise-layout-grouped .expertise-copy-v141 h2{
  max-width:20ch!important;
  font-size:clamp(2.3rem,4vw,4.35rem)!important;
  line-height:.99!important;
  letter-spacing:-.052em!important;
}
body.public-body .expertise-showcase-v143.expertise-layout-grouped .expertise-copy-v141 p{max-width:64ch!important;margin-top:14px!important}
body.public-body .expertise-showcase-v143 .expertise-actions-v116{align-self:end!important}
body.public-body .expertise-groups-v143{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(16px,2vw,24px)!important;
  border:0!important;
}
body.public-body .expertise-group-v143{
  gap:22px!important;
  min-width:0!important;
  padding:clamp(24px,2.7vw,34px)!important;
  background:var(--surface)!important;
  border:1px solid var(--line)!important;
  border-radius:18px!important;
  box-shadow:0 16px 44px color-mix(in srgb,var(--text) 5.5%,transparent)!important;
}
body.public-body .expertise-group-v143:first-child{border-left:1px solid var(--line)!important}
body.public-body .expertise-group-v143>header{grid-template-columns:36px minmax(0,1fr)!important;gap:14px!important}
body.public-body .expertise-group-v143>header>span{
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:36px!important;
  color:var(--public-link)!important;
  background:var(--public-accent-soft)!important;
  border:1px solid color-mix(in srgb,var(--public-link) 14%,transparent)!important;
  border-radius:10px!important;
  font-size:.65rem!important;
}
body.public-body .expertise-group-v143 h3{font-size:clamp(1.25rem,1.65vw,1.55rem)!important}
body.public-body .expertise-group-v143 header p{font-size:.88rem!important;line-height:1.5!important}
body.public-body .expertise-group-links-v143{border-top:1px solid var(--line)!important}
body.public-body .expertise-group-links-v143>a{padding:16px 0!important;gap:11px!important}
body.public-body .expertise-group-links-v143>a:last-child{border-bottom:0!important;padding-bottom:0!important}
body.public-body .expertise-group-links-v143 i{width:27px!important;height:27px!important;border-radius:8px!important}
body.public-body .expertise-group-links-v143 strong{font-size:.94rem!important}
body.public-body .expertise-group-links-v143 small{font-size:.8rem!important;line-height:1.42!important}
body.public-body .expertise-showcase-v143.expertise-group-style-soft .expertise-group-v143{background:var(--surface-2)!important;box-shadow:none!important}
body.public-body .expertise-showcase-v143.expertise-group-style-plain .expertise-group-v143{padding-inline:0!important;background:transparent!important;border-width:1px 0 0!important;border-radius:0!important;box-shadow:none!important}
body.public-body .expertise-showcase-v143.expertise-group-style-plain .expertise-group-v143:first-child{border-left:0!important}
body.public-body .expertise-showcase-v143.expertise-group-density-compact .expertise-group-v143{padding:22px!important;gap:18px!important}
body.public-body .expertise-showcase-v143.expertise-group-density-compact .expertise-group-links-v143>a{padding:13px 0!important}
body.public-body .expertise-showcase-v143.expertise-group-density-airy .expertise-group-v143{padding:clamp(30px,3.2vw,42px)!important;gap:28px!important}
body.public-body .expertise-showcase-v143.expertise-group-density-airy .expertise-group-links-v143>a{padding:20px 0!important}

@media(max-width:1100px){
  body.public-body .home-stage-v143 .stage-grid-v142{grid-template-columns:minmax(0,1fr) minmax(300px,.8fr)!important;gap:34px!important}
  body.public-body .home-stage-v143 .stage-copy-v142 h1{font-size:clamp(2.6rem,5vw,4.7rem)!important}
  body.public-body .home-stage-v143 .stage-meta-v143{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.public-body .home-proof-v143{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  body.public-body .home-stage-v143 .stage-grid-v142,
  body.public-body .home-stage-v143.stage-layout-poster .stage-grid-v142,
  body.public-body .home-stage-v143.stage-layout-compact .stage-grid-v142,
  body.public-body .home-stage-v143.stage-layout-wide.has-stage-image .stage-grid-v142{grid-template-columns:1fr!important;min-height:0!important}
  body.public-body .home-stage-v143 .stage-copy-v142 h1{max-width:16ch!important}
  body.public-body .home-stage-v143 .stage-visual-v142{min-height:0!important;border:0!important}
  body.public-body .home-stage-v143 .stage-image-v143{width:min(100%,560px)!important;height:min(500px,66vw)!important;min-height:340px!important}
  body.public-body .expertise-groups-v143{grid-template-columns:1fr!important}
  body.public-body .expertise-group-v143{border:1px solid var(--line)!important}
}
@media(max-width:700px){
  body.public-body .home-v21{gap:52px!important}
  body.public-body .home-stage-v143{border-radius:16px!important}
  body.public-body .home-stage-v143 .stage-grid-v142{padding:30px 20px 22px!important;gap:28px!important}
  body.public-body .home-stage-v143 .stage-copy-v142 h1{font-size:clamp(2.35rem,11.4vw,3.55rem)!important;line-height:.98!important;letter-spacing:-.052em!important}
  body.public-body .home-stage-v143 .stage-meta-v143{grid-template-columns:1fr!important;gap:8px!important}
  body.public-body .home-stage-v143 .stage-meta-v143>span{padding:12px 13px!important}
  body.public-body .home-stage-v143 .stage-countdown-v143{display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:100%!important}
  body.public-body .home-stage-v143 .stage-countdown-v143>span{min-width:0!important;padding:0 10px!important}
  body.public-body .home-stage-v143 .stage-countdown-v143 em{grid-column:1/-1!important;max-width:none!important;margin:10px 0 0!important;padding-top:10px!important;border-top:1px solid var(--stage-rule)!important}
  body.public-body .home-stage-v143 .stage-image-v143{height:min(430px,108vw)!important;min-height:300px!important;border-radius:15px!important}
  body.public-body .home-stage-v143 .stage-image-v143 .stage-image-main-v143{padding:8px!important}
  body.public-body .home-stage-v143 .stage-image-v143 figcaption strong{display:none!important}
  body.public-body .home-proof-v143{grid-template-columns:1fr 1fr!important;gap:10px!important}
  body.public-body .home-proof-v143 a{grid-template-columns:1fr!important;gap:5px!important;min-height:84px!important;padding:15px!important}
  body.public-body .expertise-showcase-v143.expertise-layout-grouped .expertise-head-v116{grid-template-columns:1fr!important;align-items:start!important}
  body.public-body .expertise-showcase-v143 .expertise-actions-v116{justify-content:flex-start!important}
  body.public-body .expertise-group-v143{padding:24px!important;border-radius:15px!important}
}

/* v144: tratamiento inteligente del protagonista según proporción de la imagen. */
body.public-body .home-stage-v143{
  --stage-visual-soft:color-mix(in srgb,var(--stage-safe-text) 3%,transparent);
  --stage-visual-color:color-mix(in srgb,var(--brand) 9%,var(--surface));
}
body.public-body .home-stage-v143.stage-backdrop-none .stage-visual-v142{
  background:transparent!important;
  border-left:0!important;
}
body.public-body .home-stage-v143.stage-backdrop-soft .stage-visual-v142{
  background:var(--stage-visual-soft)!important;
}
body.public-body .home-stage-v143.stage-backdrop-color .stage-visual-v142{
  background:linear-gradient(180deg,color-mix(in srgb,var(--brand) 8%,var(--surface)),color-mix(in srgb,var(--brand-2) 10%,var(--surface)))!important;
}
body.public-body .home-stage-v143.stage-profile-poster .stage-grid-v142,
body.public-body .home-stage-v143.stage-profile-square .stage-grid-v142{
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr)!important;
}
body.public-body .home-stage-v143.stage-profile-poster .stage-copy-v142 h1{
  max-width:10ch!important;
  font-size:clamp(2.65rem,5vw,5rem)!important;
}
body.public-body .home-stage-v143.stage-profile-poster .stage-visual-v142{
  padding:clamp(20px,2.2vw,28px)!important;
  align-items:center!important;
}
body.public-body .home-stage-v143.stage-profile-poster .stage-image-v142{
  display:grid!important;
  align-content:start!important;
  gap:12px!important;
  width:min(100%,390px)!important;
  max-width:390px!important;
  min-height:0!important;
  margin-inline:auto!important;
  padding:18px!important;
  border-radius:28px!important;
  background:color-mix(in srgb,var(--surface) 96%,transparent)!important;
  border:1px solid var(--line)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.08)!important;
}
body.public-body .home-stage-v143.stage-profile-poster .stage-image-v142::after,
body.public-body .home-stage-v143.stage-profile-poster .stage-image-backdrop-v143{display:none!important}
body.public-body .home-stage-v143.stage-profile-poster .stage-image-main-v143{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  object-fit:contain!important;
  background:transparent!important;
  border-radius:20px!important;
  aspect-ratio:auto!important;
}
body.public-body .home-stage-v143.stage-profile-poster .stage-image-v142 figcaption{
  position:static!important;
  left:auto!important;right:auto!important;bottom:auto!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  color:var(--stage-safe-text)!important;
}
body.public-body .home-stage-v143.stage-profile-poster .stage-image-v142 figcaption span{
  background:var(--public-accent-soft)!important;
  color:var(--public-link)!important;
  border:1px solid color-mix(in srgb,var(--public-link) 18%,var(--line))!important;
}
body.public-body .home-stage-v143.stage-profile-poster .stage-image-v142 figcaption strong{
  color:var(--stage-safe-text)!important;
  text-align:right!important;
}
body.public-body .home-stage-v143.stage-profile-square .stage-image-backdrop-v143{display:none!important}
body.public-body .home-stage-v143.stage-profile-square .stage-image-v142{
  width:min(100%,430px)!important;
  max-width:430px!important;
  min-height:0!important;
  margin-inline:auto!important;
  padding:16px!important;
  border-radius:24px!important;
  background:color-mix(in srgb,var(--surface) 97%,transparent)!important;
}
body.public-body .home-stage-v143.stage-profile-square .stage-image-main-v143{
  min-height:0!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  border-radius:18px!important;
  background:var(--surface)!important;
}
body.public-body .home-stage-v143.stage-profile-square .stage-image-v142::after{display:none!important}
body.public-body .home-stage-v143.stage-profile-photo .stage-image-v142,
body.public-body .home-stage-v143.stage-profile-photo .stage-image-main-v143{
  min-height:420px!important;
}
body.public-body .home-stage-v143.stage-profile-photo.stage-backdrop-none .stage-image-backdrop-v143,
body.public-body .home-stage-v143.stage-profile-square.stage-backdrop-none .stage-image-backdrop-v143{display:none!important}
body.public-body .home-stage-v143.stage-profile-photo.stage-backdrop-soft .stage-image-backdrop-v143{
  opacity:.22!important;
  transform:scale(1.07)!important;
  filter:blur(20px) saturate(.88)!important;
}
body.public-body .home-stage-v143 .stage-image-backdrop-v143{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  transform:scale(1.06)!important;
  filter:blur(26px) saturate(.92)!important;
  opacity:.28!important;
}
body.public-body .home-stage-v143 .stage-image-main-v143{position:relative!important;z-index:1!important}
body.public-body .home-stage-v143.stage-backdrop-none .stage-image-v142{box-shadow:none!important}
@media(max-width:980px){
  body.public-body .home-stage-v143.stage-profile-poster .stage-grid-v142,
  body.public-body .home-stage-v143.stage-profile-square .stage-grid-v142{grid-template-columns:1fr!important}
  body.public-body .home-stage-v143.stage-profile-poster .stage-visual-v142,
  body.public-body .home-stage-v143.stage-profile-square .stage-visual-v142{border-top:1px solid var(--stage-rule)!important}
}
@media(max-width:640px){
  body.public-body .home-stage-v143.stage-profile-poster .stage-image-v142,
  body.public-body .home-stage-v143.stage-profile-square .stage-image-v142{width:100%!important;max-width:100%!important;padding:14px!important;border-radius:22px!important}
  body.public-body .home-stage-v143.stage-profile-poster .stage-copy-v142 h1{max-width:12ch!important}
}

/* v145: imágenes reales, rutas heredadas y fallbacks editoriales sin SVG repetido. */
body.public-body .media-missing-v145{
  background:
    radial-gradient(circle at 88% 14%,color-mix(in srgb,var(--brand) 14%,transparent),transparent 34%),
    linear-gradient(145deg,color-mix(in srgb,var(--brand) 7%,var(--surface)),color-mix(in srgb,var(--accent) 5%,var(--surface-2)))!important;
}
body.public-body .public-media-fallback-v145{
  display:flex!important;
  width:100%!important;
  height:100%!important;
  min-height:inherit!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:8px!important;
  padding:clamp(20px,3vw,34px)!important;
  color:var(--text)!important;
  background:
    linear-gradient(145deg,transparent 35%,color-mix(in srgb,var(--brand) 8%,transparent)),
    repeating-linear-gradient(90deg,color-mix(in srgb,var(--line) 34%,transparent) 0 1px,transparent 1px 68px)!important;
  overflow:hidden!important;
}
body.public-body .public-media-fallback-v145 small{
  width:max-content!important;
  max-width:100%!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  background:var(--public-accent-soft)!important;
  color:var(--public-link)!important;
  font-size:.68rem!important;
  font-weight:850!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}
body.public-body .public-media-fallback-v145 strong{
  max-width:22ch!important;
  color:var(--text)!important;
  font-size:clamp(1rem,1.75vw,1.45rem)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
body.public-body .public-media-mini-fallback-v145{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  min-height:56px!important;
  background:linear-gradient(145deg,var(--public-accent-soft),color-mix(in srgb,var(--brand) 9%,var(--surface)))!important;
  color:var(--public-link)!important;
  font-size:1.15rem!important;
  font-weight:950!important;
}
body.public-body .content-row-v71:has(.public-media-mini-fallback-v145){grid-template-columns:96px minmax(0,1fr)!important}
body.public-body .post-card-thumb-v70.media-missing-v145,
body.public-body .event-list-media-v91.media-missing-v145,
body.public-body .event-feature-media-v91.media-missing-v145,
body.public-body .agenda-feature-media-v71.media-missing-v145,
body.public-body .content-lead-img-v71.media-missing-v145{
  min-height:220px!important;
  overflow:hidden!important;
}
body.public-body .post-card-thumb-v70.media-missing-v145 img,
body.public-body .event-list-media-v91.media-missing-v145 img,
body.public-body .event-feature-media-v91.media-missing-v145 img{display:none!important}
body.public-body .post-article-media-v70.media-missing-v145 .post-media-fallback-v39,
body.public-body .post-article-media-v70.is-broken .post-media-fallback-v39{
  display:flex!important;
}
body.public-body .post-article-media-v70 .post-media-fallback-v39.public-media-fallback-v145{
  position:absolute!important;
  inset:0!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
}
body.public-body .event-hero-detail-v140.event-hero-no-image-v145{
  background:
    radial-gradient(circle at 82% 18%,color-mix(in srgb,var(--accent) 20%,transparent),transparent 31%),
    linear-gradient(135deg,color-mix(in srgb,var(--brand-2) 90%,#020617),var(--brand))!important;
}
body.public-body .event-hero-detail-v140.event-hero-no-image-v145::before{display:none!important}
body.public-body .sciv74-photo.no-img-v145{
  background:linear-gradient(145deg,color-mix(in srgb,var(--brand) 12%,var(--surface)),color-mix(in srgb,var(--accent) 9%,var(--surface)))!important;
  color:var(--brand)!important;
}
body.public-body .sciv74-photo.no-img-v145 span{
  display:grid!important;
  opacity:1!important;
  color:inherit!important;
  font-weight:950!important;
  letter-spacing:.035em!important;
}
@media(max-width:680px){
  body.public-body .public-media-fallback-v145{padding:20px!important}
  body.public-body .post-card-thumb-v70.media-missing-v145,
  body.public-body .event-list-media-v91.media-missing-v145,
  body.public-body .event-feature-media-v91.media-missing-v145{min-height:190px!important}
}

/* v146: recuperación compatible de imágenes y escala tipográfica inteligente. */
body.public-body .home-stage-v143.stage-heading-normal-v146 .stage-copy-v142 h1{
  font-size:clamp(2.45rem,4.15vw,4.65rem)!important;
  max-width:15ch!important;
}
body.public-body .home-stage-v143.stage-heading-long-v146 .stage-copy-v142 h1{
  font-size:clamp(2.25rem,3.55vw,3.95rem)!important;
  line-height:1!important;
  letter-spacing:-.047em!important;
  max-width:15ch!important;
}
body.public-body .home-stage-v143.stage-heading-very-long-v146 .stage-copy-v142 h1{
  font-size:clamp(2.05rem,3vw,3.35rem)!important;
  line-height:1.025!important;
  letter-spacing:-.038em!important;
  max-width:18ch!important;
}
body.public-body .home-stage-v143.stage-profile-poster.stage-heading-long-v146 .stage-copy-v142 h1,
body.public-body .home-stage-v143.stage-profile-poster.stage-heading-very-long-v146 .stage-copy-v142 h1{
  max-width:16ch!important;
}

body.public-body .content-hub-v71 .section-head-v21 h2{
  font-size:clamp(1.9rem,2.8vw,2.75rem)!important;
  line-height:1.06!important;
  letter-spacing:-.042em!important;
}
body.public-body .content-lead-copy-v71>strong{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  font-size:clamp(1.25rem,1.75vw,1.72rem)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto!important;
}
body.public-body .content-lead-v71.content-heading-long-v146 .content-lead-copy-v71>strong{
  font-size:clamp(1.15rem,1.5vw,1.48rem)!important;
  -webkit-line-clamp:4!important;
}
body.public-body .content-lead-v71.content-heading-very-long-v146 .content-lead-copy-v71>strong{
  font-size:clamp(1.08rem,1.35vw,1.34rem)!important;
  line-height:1.12!important;
  -webkit-line-clamp:4!important;
}
body.public-body .content-row-v71 strong,
body.public-body .resource-row-v71 strong{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  line-height:1.18!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.public-body .post-card-content-v70 h2,
body.public-body .event-list-body-v91 h2,
body.public-body .event-feature-copy-v91 h2{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  font-size:clamp(1.18rem,1.55vw,1.55rem)!important;
  line-height:1.1!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto!important;
}
body.public-body .public-media-fallback-compact-v146{
  justify-content:flex-end!important;
  gap:7px!important;
}
body.public-body .public-media-fallback-compact-v146 strong{
  max-width:none!important;
  font-size:clamp(1.05rem,1.3vw,1.28rem)!important;
  line-height:1.1!important;
}
body.public-body .public-media-fallback-compact-v146 em{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  max-width:42ch!important;
  overflow:hidden!important;
  color:var(--muted)!important;
  font-size:.88rem!important;
  font-style:normal!important;
  line-height:1.35!important;
}

/* Las imágenes recuperadas conservan su composición, sin filtros que oculten texto de flyers. */
body.public-body .stage-image-main-v143,
body.public-body .content-lead-img-v71 img,
body.public-body .content-row-v71 img,
body.public-body .post-card-thumb-v70 img,
body.public-body .event-list-media-v91 img,
body.public-body .event-feature-media-v91 img{
  filter:none!important;
}
body.public-body .content-lead-img-v71 img,
body.public-body .post-card-thumb-v70 img,
body.public-body .event-list-media-v91 img,
body.public-body .event-feature-media-v91 img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.public-body .content-row-v71 img{
  object-fit:cover!important;
}

@media(max-width:900px){
  body.public-body .home-stage-v143.stage-heading-long-v146 .stage-copy-v142 h1,
  body.public-body .home-stage-v143.stage-heading-very-long-v146 .stage-copy-v142 h1{
    font-size:clamp(2.1rem,7.8vw,3.45rem)!important;
    max-width:18ch!important;
  }
}
@media(max-width:560px){
  body.public-body .home-stage-v143 .stage-copy-v142 h1,
  body.public-body .home-stage-v143.stage-heading-long-v146 .stage-copy-v142 h1,
  body.public-body .home-stage-v143.stage-heading-very-long-v146 .stage-copy-v142 h1{
    font-size:clamp(2rem,10.5vw,2.85rem)!important;
    line-height:1.01!important;
    max-width:100%!important;
  }
  body.public-body .content-hub-v71 .section-head-v21 h2{font-size:clamp(1.75rem,8vw,2.25rem)!important}
}

/* Detalle editorial: el titular también se adapta a su longitud. */
body.public-body .post-article-hero-v70 .post-copy-inner-v70 h1{
  font-size:clamp(2rem,3.75vw,4.2rem)!important;
  line-height:1.01!important;
  letter-spacing:-.048em!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto!important;
}
body.public-body .post-article-hero-v70.post-heading-long-v146 .post-copy-inner-v70 h1{
  font-size:clamp(1.9rem,3.15vw,3.55rem)!important;
  letter-spacing:-.04em!important;
}
body.public-body .post-article-hero-v70.post-heading-very-long-v146 .post-copy-inner-v70 h1{
  font-size:clamp(1.75rem,2.7vw,3rem)!important;
  line-height:1.04!important;
  letter-spacing:-.032em!important;
}

/* v147: detalle editorial más limpio y jerarquía tipográfica controlada. */
body.public-body .post-backbar-v70{
  width:min(1180px,100%)!important;
  min-height:0!important;
  margin:0 auto 18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  justify-content:flex-start!important;
}
body.public-body .post-backbar-v70 .btn{
  min-height:40px!important;
  padding:8px 12px!important;
  background:var(--surface)!important;
}
body.public-body .post-article-hero-v70{
  width:min(1180px,100%)!important;
  margin-inline:auto!important;
  display:grid!important;
  grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr)!important;
  min-height:470px!important;
  overflow:hidden!important;
  border-radius:28px!important;
  border:1px solid var(--line)!important;
  background:var(--surface)!important;
  box-shadow:0 20px 58px color-mix(in srgb,var(--text) 8%,transparent)!important;
}
body.public-body .post-article-media-v70{
  position:relative!important;
  min-height:470px!important;
  overflow:hidden!important;
  background:var(--surface-2)!important;
  border-right:1px solid var(--line)!important;
}
body.public-body .post-article-media-v70>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:470px!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:none!important;
}
body.public-body .post-article-media-v70.media-has-image-v147 .post-media-fallback-v39,
body.public-body .post-article-media-v70.media-loaded-v147 .post-media-fallback-v39{
  display:none!important;
}
body.public-body .post-article-media-v70.is-broken .post-media-fallback-v39,
body.public-body .post-article-media-v70.media-missing-v145 .post-media-fallback-v39{
  display:flex!important;
}
body.public-body .post-article-copy-v70{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
body.public-body .post-copy-inner-v70{
  width:100%!important;
  padding:clamp(34px,4.5vw,64px)!important;
}
body.public-body .post-article-hero-v70 .post-copy-inner-v70 h1{
  max-width:18ch!important;
  margin:16px 0 18px!important;
  font-size:clamp(2rem,3.25vw,3.55rem)!important;
  line-height:1.02!important;
  letter-spacing:-.042em!important;
  text-wrap:balance!important;
}
body.public-body .post-article-hero-v70.post-heading-long-v146 .post-copy-inner-v70 h1{
  max-width:21ch!important;
  font-size:clamp(1.85rem,2.75vw,3rem)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
body.public-body .post-article-hero-v70.post-heading-very-long-v146 .post-copy-inner-v70 h1{
  max-width:24ch!important;
  font-size:clamp(1.7rem,2.35vw,2.55rem)!important;
  line-height:1.07!important;
  letter-spacing:-.025em!important;
}
body.public-body .post-article-copy-v70 p{
  max-width:62ch!important;
  margin:0 0 20px!important;
  color:var(--muted)!important;
  font-size:clamp(.98rem,1.15vw,1.08rem)!important;
  line-height:1.65!important;
}
body.public-body .post-detail-meta-v70,
body.public-body .post-tags-v70{gap:8px!important}
body.public-body .post-detail-meta-v70 .tag-chip,
body.public-body .post-tags-v70 .tag-chip{
  border-radius:999px!important;
  padding:7px 10px!important;
  font-size:.75rem!important;
}
body.public-body .post-article-shell-v70{
  width:min(940px,100%)!important;
  margin-inline:auto!important;
  padding:clamp(28px,4vw,54px)!important;
  border-radius:24px!important;
}
body.public-body .post-rich-v70{
  max-width:76ch!important;
  margin-inline:auto!important;
  color:var(--text)!important;
  font-size:clamp(1rem,1.15vw,1.1rem)!important;
  line-height:1.82!important;
}
body.public-body .post-rich-v70 h2{
  margin:2.1em 0 .7em!important;
  font-size:clamp(1.65rem,2.4vw,2.25rem)!important;
  line-height:1.12!important;
}
body.public-body .post-rich-v70 h3{
  margin:1.8em 0 .65em!important;
  font-size:clamp(1.3rem,1.85vw,1.65rem)!important;
  line-height:1.18!important;
}
body.public-body .post-rich-v70 p{margin:0 0 1.25em!important}
body.public-body .post-rich-v70 img{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:1.5em auto!important;
  border-radius:18px!important;
}
body.public-body .post-rich-v70 blockquote{
  margin:1.6em 0!important;
  padding:18px 22px!important;
  border-left:4px solid var(--brand)!important;
  border-radius:0 16px 16px 0!important;
  background:var(--surface-2)!important;
}
body.public-body .public-media-fallback-compact-v146 em{
  opacity:.82!important;
}
@media(max-width:900px){
  body.public-body .post-article-hero-v70{grid-template-columns:1fr!important}
  body.public-body .post-article-media-v70{min-height:320px!important;border-right:0!important;border-bottom:1px solid var(--line)!important}
  body.public-body .post-article-media-v70>img{min-height:320px!important;max-height:520px!important}
  body.public-body .post-article-hero-v70 .post-copy-inner-v70 h1,
  body.public-body .post-article-hero-v70.post-heading-long-v146 .post-copy-inner-v70 h1,
  body.public-body .post-article-hero-v70.post-heading-very-long-v146 .post-copy-inner-v70 h1{max-width:100%!important}
}
@media(max-width:560px){
  body.public-body .post-article-hero-v70{border-radius:20px!important}
  body.public-body .post-copy-inner-v70{padding:26px 22px!important}
  body.public-body .post-article-media-v70,
  body.public-body .post-article-media-v70>img{min-height:240px!important}
  body.public-body .post-article-hero-v70 .post-copy-inner-v70 h1,
  body.public-body .post-article-hero-v70.post-heading-long-v146 .post-copy-inner-v70 h1,
  body.public-body .post-article-hero-v70.post-heading-very-long-v146 .post-copy-inner-v70 h1{font-size:clamp(1.7rem,9vw,2.35rem)!important;line-height:1.06!important}
}

/* ==================================================================
 * v148 · auditoría integral del detalle y registro de eventos
 * Evita solapamientos, columnas angostas y desbordes en todo el flujo.
 * ================================================================== */
body.public-body .event-hero-detail-v148,
body.public-body .event-public-menu-v148,
body.public-body .event-layout-v148,
body.public-body .event-registration-panel-v148,
body.public-body .event-registration-panel-v148 *{
  box-sizing:border-box!important;
}

/* El ancla nunca queda escondida debajo de las barras fijas. */
body.public-body #inicio,
body.public-body #registro,
body.public-body [id^="sec-"],
body.public-body [id^="block-"],
body.public-body #programa,
body.public-body #programa-inscritos{
  scroll-margin-top:156px!important;
}

/* Hero: títulos largos se ajustan sin invadir metadatos ni acciones. */
body.public-body .event-hero-detail-v148 .event-hero-copy-v140{
  width:min(100%,980px)!important;
  min-width:0!important;
}
body.public-body .event-hero-detail-v148 h1{
  max-width:16ch!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto!important;
  text-wrap:balance!important;
}
body.public-body .event-hero-detail-v148.event-title-long-v148 h1{
  max-width:19ch!important;
  font-size:clamp(2.25rem,4.7vw,4.8rem)!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
}
body.public-body .event-hero-detail-v148.event-title-very-long-v148 h1{
  max-width:22ch!important;
  font-size:clamp(2rem,4vw,4rem)!important;
  line-height:1.035!important;
  letter-spacing:-.045em!important;
}
body.public-body .event-hero-detail-v148 .event-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  min-width:0!important;
}
body.public-body .event-hero-detail-v148 .event-meta span{
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Menú interno: estable, desplazable y sin cubrir contenido. */
body.public-body .event-public-menu-v148{
  position:sticky!important;
  top:78px!important;
  z-index:12!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin!important;
  overscroll-behavior-inline:contain!important;
}
body.public-body .event-public-menu-v148 a{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:9px 13px!important;
}

/* Layout principal: todo hijo puede encogerse sin invadir la otra columna. */
body.public-body .event-layout-v148{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(400px,460px)!important;
  gap:clamp(28px,3.2vw,48px)!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
}
body.public-body .event-layout-v148>div,
body.public-body .event-layout-v148>aside,
body.public-body .event-layout-v148 article,
body.public-body .event-layout-v148 section{
  min-width:0!important;
  max-width:100%!important;
}

/* Contenido editorial del evento con escala coherente. */
body.public-body .event-layout-v148>div>.card.section{
  overflow:visible!important;
}
body.public-body .event-layout-v148>div>.card.section>h2{
  max-width:24ch!important;
  font-size:clamp(1.75rem,2.45vw,2.45rem)!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.public-body .event-layout-v148 .rich{
  min-width:0!important;
  max-width:78ch!important;
  color:var(--text)!important;
  font-size:clamp(.98rem,1.05vw,1.08rem)!important;
  line-height:1.72!important;
}
body.public-body .event-layout-v148 .rich h1{
  margin:1.35em 0 .55em!important;
  font-size:clamp(2rem,3vw,3rem)!important;
  line-height:1.06!important;
  letter-spacing:-.045em!important;
}
body.public-body .event-layout-v148 .rich h2{
  margin:1.45em 0 .58em!important;
  font-size:clamp(1.65rem,2.35vw,2.25rem)!important;
  line-height:1.1!important;
  letter-spacing:-.04em!important;
}
body.public-body .event-layout-v148 .rich h3{
  margin:1.3em 0 .55em!important;
  font-size:clamp(1.3rem,1.75vw,1.65rem)!important;
  line-height:1.16!important;
}
body.public-body .event-layout-v148 .rich :where(h1,h2,h3,h4,p,li,a,strong){
  max-width:100%!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
body.public-body .event-layout-v148 .rich p{margin:0 0 1.05em!important}
body.public-body .event-layout-v148 .rich ul,
body.public-body .event-layout-v148 .rich ol{padding-left:1.35em!important;margin:.75em 0 1.25em!important}
body.public-body .event-layout-v148 .rich img,
body.public-body .event-subpage-hero,
body.public-body .event-block-image{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
}
body.public-body .event-layout-v148 .grid.two,
body.public-body .event-layout-v148 .grid.three{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body.public-body .event-layout-v148 .side-note,
body.public-body .event-layout-v148 .timeline-item,
body.public-body .event-layout-v148 .option-row{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}

/* Panel de registro: se elimina cualquier layout heredado que superponga badge,
   título y descripción. */
body.public-body .event-registration-panel-v148{
  position:sticky!important;
  top:138px!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:460px!important;
  padding:0!important;
  margin:0!important;
  overflow:clip!important;
  isolation:isolate!important;
  contain:layout paint!important;
}
body.public-body .registration-panel-head-v148{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  align-items:start!important;
  justify-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:clamp(22px,2.3vw,30px)!important;
  overflow:visible!important;
}
body.public-body .registration-status-row-v148{
  position:static!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}
body.public-body .registration-status-row-v148 .badge{
  position:static!important;
  inset:auto!important;
  float:none!important;
  display:inline-flex!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:6px 10px!important;
  white-space:normal!important;
  line-height:1.25!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
  transform:none!important;
}
body.public-body .registration-heading-copy-v148{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
body.public-body .registration-heading-copy-v148 h2{
  position:static!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:clamp(1.8rem,2.5vw,2.45rem)!important;
  line-height:1.03!important;
  letter-spacing:-.045em!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.public-body .registration-heading-copy-v148 p{
  position:static!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:38ch!important;
  margin:0!important;
  padding:0!important;
  font-size:.96rem!important;
  line-height:1.58!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  columns:auto!important;
}

/* Contenido interno del registro: respiración uniforme y cero desbordes. */
body.public-body .event-registration-panel-v148>:not(.registration-panel-head-v148){
  margin-left:clamp(18px,2vw,24px)!important;
  margin-right:clamp(18px,2vw,24px)!important;
}
body.public-body .event-registration-panel-v148>:last-child{
  margin-bottom:clamp(20px,2.2vw,28px)!important;
}
body.public-body .event-registration-panel-v148 :where(
  .registration-guide-v128,
  .registration-catalog-v76,
  .registration-success-v76,
  .event-payment-section-v128,
  .regtype-card-v76,
  .registration-details-v76,
  .event-register-wizard-v76,
  .event-register-form,
  .payment-choice-list,
  .pricing-line-v76
){
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
}
body.public-body .registration-guide-v128{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin-top:18px!important;
  margin-bottom:18px!important;
}
body.public-body .registration-guide-title-v128{
  position:relative!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-areas:"number title" "number text"!important;
  align-items:start!important;
  gap:2px 10px!important;
  min-width:0!important;
  padding:12px!important;
  border:1px solid var(--line)!important;
  border-radius:14px!important;
  background:var(--surface)!important;
}
body.public-body .registration-guide-title-v128>span{
  grid-area:number!important;
  position:static!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  border-radius:10px!important;
}
body.public-body .registration-guide-title-v128>strong{
  grid-area:title!important;
  min-width:0!important;
  margin:0!important;
  line-height:1.25!important;
  overflow-wrap:break-word!important;
}
body.public-body .registration-guide-title-v128>small{
  grid-area:text!important;
  min-width:0!important;
  margin:0!important;
  color:var(--muted)!important;
  line-height:1.4!important;
  overflow-wrap:break-word!important;
}

body.public-body .registration-catalog-v76{display:grid!important;gap:14px!important}
body.public-body .regtype-card-v76{
  width:100%!important;
  min-width:0!important;
  padding:16px!important;
  overflow:hidden!important;
}
body.public-body .regtype-main-v76{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:12px!important;
  min-width:0!important;
}
body.public-body .regtype-main-v76>div{min-width:0!important}
body.public-body .regtype-main-v76 h3,
body.public-body .regtype-main-v76 p{
  max-width:100%!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
body.public-body .regtype-main-v76>strong{
  max-width:130px!important;
  white-space:normal!important;
  text-align:right!important;
  overflow-wrap:anywhere!important;
}
body.public-body .feature-chips-v76,
body.public-body .reg-steps-v76,
body.public-body .reg-steps-v37{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  min-width:0!important;
}
body.public-body .feature-chips-v76 span,
body.public-body .reg-steps-v76 span,
body.public-body .reg-steps-v37 span{
  flex:0 1 auto!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.25!important;
}
body.public-body .price-chip-v76{
  grid-template-columns:minmax(0,1fr) auto!important;
  min-width:0!important;
}
body.public-body .price-chip-v76 :where(span,b,small){
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}
body.public-body .registration-details-v76 summary{
  width:100%!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
body.public-body .reg-wizard-panel-v37{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
body.public-body .event-register-form :where(input,select,textarea,button),
body.public-body .event-dyn-field :where(input,select,textarea),
body.public-body .payment-choice-list,
body.public-body .check-pill{
  min-width:0!important;
  max-width:100%!important;
}
body.public-body .event-register-form :where(input,select,textarea){width:100%!important}
body.public-body .check-pill{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:start!important;
  gap:9px!important;
  white-space:normal!important;
}
body.public-body .check-pill span,
body.public-body .check-pill small{min-width:0!important;overflow-wrap:break-word!important}
body.public-body .reg-wizard-actions-v37{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:8px!important;
}

/* Medios de pago: una columna dentro del lateral, sin cards que se monten. */
body.public-body .event-payment-section-v128{
  display:grid!important;
  gap:14px!important;
  margin-top:22px!important;
  padding-top:22px!important;
  border-top:1px solid var(--line)!important;
}
body.public-body .event-payment-heading-v128{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  min-width:0!important;
}
body.public-body .event-payment-heading-v128>div{min-width:0!important}
body.public-body .event-payment-heading-v128 h3{
  margin:6px 0!important;
  font-size:1.45rem!important;
  line-height:1.1!important;
}
body.public-body .event-payment-heading-v128 p{
  margin:0!important;
  font-size:.92rem!important;
  line-height:1.52!important;
}
body.public-body .event-payment-heading-v128>.badge{
  justify-self:start!important;
  position:static!important;
  max-width:100%!important;
  white-space:normal!important;
}
body.public-body .event-payment-grid-v128{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
}
body.public-body .event-payment-card-v128{
  min-width:0!important;
  max-width:100%!important;
  padding:14px!important;
  overflow:hidden!important;
}
body.public-body .event-payment-card-head-v128{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:start!important;
  gap:10px!important;
  min-width:0!important;
}
body.public-body .event-payment-card-head-v128>div,
body.public-body .event-payment-card-v128 p,
body.public-body .event-payment-facts-v128,
body.public-body .event-payment-facts-v128 div{
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:break-word!important;
}
body.public-body .event-payment-facts-v128{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
}
body.public-body .event-payment-facts-v128 div{
  display:grid!important;
  grid-template-columns:110px minmax(0,1fr)!important;
  gap:8px!important;
}
body.public-body .event-payment-note-v128{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:10px!important;
  min-width:0!important;
}
body.public-body .event-payment-note-v128 p{min-width:0!important;margin:0!important;overflow-wrap:break-word!important}

@media(max-width:1180px){
  body.public-body .event-layout-v148{
    grid-template-columns:minmax(0,1fr) minmax(360px,410px)!important;
    gap:28px!important;
  }
}
@media(max-width:1020px){
  body.public-body .event-public-menu-v148{top:68px!important}
  body.public-body .event-layout-v148{grid-template-columns:minmax(0,1fr)!important}
  body.public-body .event-registration-panel-v148{
    position:static!important;
    top:auto!important;
    max-width:none!important;
    contain:none!important;
  }
  body.public-body .registration-heading-copy-v148 p{max-width:62ch!important}
  body.public-body .registration-guide-v128{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.public-body .event-payment-grid-v128{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body.public-body #inicio,
  body.public-body #registro,
  body.public-body [id^="sec-"],
  body.public-body [id^="block-"]{scroll-margin-top:118px!important}
  body.public-body .event-public-menu-v148{
    position:sticky!important;
    top:60px!important;
    margin:12px 0 24px!important;
  }
  body.public-body .event-hero-detail-v148.event-title-long-v148 h1,
  body.public-body .event-hero-detail-v148.event-title-very-long-v148 h1{
    max-width:100%!important;
    font-size:clamp(2rem,10.5vw,3rem)!important;
    line-height:1.02!important;
  }
  body.public-body .event-layout-v148 .grid.two,
  body.public-body .event-layout-v148 .grid.three,
  body.public-body .registration-guide-v128,
  body.public-body .event-payment-grid-v128{grid-template-columns:1fr!important}
  body.public-body .registration-panel-head-v148{padding:22px!important}
  body.public-body .event-registration-panel-v148>:not(.registration-panel-head-v148){margin-left:16px!important;margin-right:16px!important}
  body.public-body .regtype-main-v76{grid-template-columns:minmax(0,1fr)!important}
  body.public-body .regtype-main-v76>strong{max-width:none!important;text-align:left!important}
  body.public-body .reg-wizard-actions-v37{display:grid!important;grid-template-columns:1fr!important}
  body.public-body .reg-wizard-actions-v37 .btn{width:100%!important}
}
@media(max-width:480px){
  body.public-body .registration-heading-copy-v148 h2{font-size:1.75rem!important}
  body.public-body .event-payment-facts-v128 div{grid-template-columns:1fr!important;gap:2px!important}
  body.public-body .event-registration-panel-v148{border-radius:18px!important}
}

/* El micrositio es operativo: las cards no deben saltar al pasar el cursor. */
body.public-body .event-layout-v148 .card:hover,
body.public-body .event-registration-panel-v148:hover{
  transform:none!important;
  border-color:var(--line)!important;
}
body.public-body .event-registration-panel-v148 .option-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  min-width:0!important;
}
body.public-body .event-registration-panel-v148 .option-row>div{
  flex:1 1 210px!important;
  min-width:0!important;
}
body.public-body .event-registration-panel-v148 .option-row>.badge{
  flex:0 1 auto!important;
  position:static!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
