/* ==========================================================================
   Dante Theme — sistema visual
   Paleta derivada del logo: azul institucional #004078, celeste #5080B0,
   franjas verde/blanco/rojo. Dirección: humana y educativa.
   ========================================================================== */

:root {
	--navy: #004078;
	--navy-900: #002448;
	--navy-800: #003466;
	--accent: #2F6B9A;
	--sky: #5080B0;
	--sky-100: #E8EFF7;
	--sky-50: #F3F7FB;
	--green: #3E7A35;
	--red: #B3261E;
	--cream: #FBF8F3;
	--cream-200: #F3EEE5;
	--ink: #14202E;
	--muted: #4A5868;
	--line: #DCE3EB;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(0, 36, 72, .06), 0 6px 20px rgba(0, 36, 72, .07);
	--shadow-lg: 0 12px 40px rgba(0, 36, 72, .16);
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 84px;
	--focus: #004078;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 650; margin: 0 0 .6em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark, .topbar, .hero, .page-hero, .site-footer, .section--access { --focus: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: .8rem 1.2rem; background: var(--navy); color: #fff; border-radius: 0 0 10px 10px; font-weight: 700; }
.skip-link:focus { top: 0; color: #fff; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.site-main:focus { outline: none; }

/* Franja tricolor (recurso gráfico derivado del logo) */
.stripes { display: block; height: 6px; background: linear-gradient(90deg, var(--navy) 0 46%, var(--sky) 46% 64%, var(--green) 64% 76%, #fff 76% 88%, var(--red) 88% 100%); }

/* ---------- Botones ---------- */
.btn, .dante-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn:hover, .dante-btn--primary:hover, .wp-block-button__link:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }
.btn--outline, .dante-btn:not(.dante-btn--primary) { background: transparent; color: var(--navy); }
.btn--outline:hover, .dante-btn:not(.dante-btn--primary):hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky-100); color: var(--navy-900); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 46px; min-height: 46px; padding: .5rem; border: 0; border-radius: 12px; background: transparent; color: var(--navy); cursor: pointer; }
.icon-btn:hover { background: var(--sky-100); }
.more-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.more-link .icon { transition: transform .2s var(--ease); }
.more-link:hover .icon { transform: translateX(4px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-900); color: #fff; font-size: .9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.topbar__lema { margin: 0; font-family: var(--serif); font-style: italic; opacity: .92; }
.topbar__tools { display: flex; align-items: center; gap: .25rem 1rem; margin-left: auto; }
.topbar a, .topbar button { color: #fff; }
.topbar__contact, .topbar__a11y { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .4rem; background: none; border: 0; text-decoration: none; cursor: pointer; font-weight: 600; }
.topbar__contact:hover, .topbar__a11y:hover { text-decoration: underline; color: #fff; }
.lang-switch { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 .5rem; border-radius: 8px; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.lang-switch a.is-current { background: rgba(255,255,255,.16); }
.social { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; }
.social a:hover { background: rgba(255,255,255,.14); }
.a11y-panel { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.12); }
.a11y-panel__inner { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: .75rem; }
.a11y-panel button { min-height: 40px; padding: .35rem .9rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.6); background: transparent; color: #fff; font-weight: 600; cursor: pointer; }
.a11y-panel button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(0,36,72,.1); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.site-logo { display: flex; align-items: center; flex: none; padding-block: .5rem; }
.site-logo__img { height: 68px; width: auto; transition: height .25s var(--ease); }
.site-header.is-scrolled .site-logo__img { height: 56px; }
.site-logo--text { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.site-header__name { display: none; margin: 0; font-family: var(--serif); font-weight: 650; color: var(--navy); line-height: 1.2; font-size: 1rem; max-width: 12.5rem; }
.site-header__actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-open__label { font-weight: 700; }

/* Navegación principal / mega menú (escritorio) */
.primary-nav .menu { display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu > li > a, .menu-toggle-sub { display: inline-flex; align-items: center; gap: .3rem; min-height: 46px; padding: .5rem .8rem; border: 0; border-radius: 10px; background: none; color: var(--navy); font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.menu-toggle-sub .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.primary-nav .menu > li > a:hover, .menu-toggle-sub:hover, .has-mega.is-open > .menu-toggle-sub { background: var(--sky-100); }
.has-mega.is-open > .menu-toggle-sub .icon { transform: rotate(180deg); }
.primary-nav .menu > li.is-current > a, .primary-nav .menu > li.is-current > .menu-toggle-sub { box-shadow: inset 0 -3px 0 var(--sky); }
.primary-nav__head, .primary-nav__extra { display: none; }

@media (min-width: 1100px) {
	.primary-nav { margin-left: auto; }
	.site-header__actions { margin-left: .25rem; }
	.nav-open { display: none; }
	.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); }
	.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .22s var(--ease), visibility 0s .22s; }
	.has-mega.is-open > .mega, .no-js .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .22s var(--ease); }
	.mega__inner { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 2.5rem; max-width: 1280px; margin: 0 auto; padding: 2rem clamp(1.1rem, 4vw, 2.5rem) 2.25rem; }
	.mega__intro { padding-right: 2rem; border-right: 1px solid var(--line); }
	.mega__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
	.mega__title { font-family: var(--serif); font-size: 1.6rem; font-weight: 650; color: var(--navy); margin: 0 0 .4rem; }
	.mega__desc { color: var(--muted); font-size: .98rem; }
	.mega__all { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
	.mega__list { columns: 2 220px; column-gap: 2rem; margin: 0; padding: 0; list-style: none; align-self: start; }
	.mega__list li { break-inside: avoid; }
	.mega__list a { display: flex; align-items: center; gap: .4rem; padding: .7rem .8rem; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; border-left: 3px solid transparent; }
	.mega__list a:hover { background: var(--sky-50); border-left-color: var(--sky); color: var(--navy); }
	.mega__list a[aria-current] { border-left-color: var(--navy); color: var(--navy); }
}
@media (min-width: 1100px) and (max-width: 1279px) {
	.primary-nav .menu > li > a, .menu-toggle-sub { padding-inline: .55rem; font-size: .93rem; }
}

/* Navegación móvil: panel lateral con acordeón */
@media (max-width: 1099.98px) {
	:root { --header-h: 68px; }
	.site-logo__img { height: 52px; }
	.site-header.is-scrolled .site-logo__img { height: 46px; }
	.topbar__lema, .topbar__contact, .topbar .social--top { display: none; }
	.topbar__a11y span { font-size: .85rem; }
	.primary-nav { position: fixed; inset: 0 0 0 auto; z-index: 300; width: min(92vw, 420px); display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; overscroll-behavior: contain; }
	.nav-is-open .primary-nav { transform: none; visibility: visible; transition: transform .3s var(--ease); }
	.primary-nav__head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem .75rem 1.25rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
	.primary-nav__label { font-family: var(--serif); font-size: 1.3rem; font-weight: 650; color: var(--navy); }
	.nav-close { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--sky-100); color: var(--navy); cursor: pointer; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; padding: .5rem; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a, .menu-toggle-sub { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.08rem; padding: .75rem; }
	.primary-nav .menu > li.is-current > a, .primary-nav .menu > li.is-current > .menu-toggle-sub { box-shadow: inset 4px 0 0 var(--sky); }
	.mega { display: none; padding: 0 .5rem 1rem; }
	.has-mega.is-open > .mega, .no-js .has-mega:focus-within > .mega { display: block; }
	.mega__img, .mega__desc, .mega__title { display: none; }
	.mega__all { display: flex; align-items: center; gap: .4rem; padding: .6rem .75rem; font-weight: 700; text-decoration: none; }
	.mega__list { margin: 0; padding: 0; list-style: none; }
	.mega__list a { display: flex; align-items: center; gap: .4rem; min-height: 48px; padding: .6rem .75rem .6rem 1.25rem; color: var(--ink); text-decoration: none; border-radius: 10px; }
	.mega__list a:hover, .mega__list a[aria-current] { background: var(--sky-50); color: var(--navy); }
	.primary-nav__extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding: 1.25rem; background: var(--navy-900); color: #fff; }
	.primary-nav__extra a { color: #fff; }
	.primary-nav__extra { --focus: #fff; }
	.nav-backdrop { position: fixed; inset: 0; z-index: 250; background: rgba(0, 20, 40, .5); }
	body.nav-is-open { overflow: hidden; }
	body.nav-is-open .site-header { z-index: 400; }
}

/* Diálogo de búsqueda */
.search-dialog { width: min(720px, calc(100% - 2rem)); margin: 12vh auto auto; padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.search-dialog::backdrop { background: rgba(0, 20, 40, .55); }
.search-dialog__inner { position: relative; padding: 2rem; }
.search-dialog__title { font-size: 1.5rem; margin-right: 3rem; }
.search-close { position: absolute; top: 1rem; right: 1rem; }
.search-form { display: flex; gap: .5rem; }
.search-form__input { flex: 1; min-width: 0; min-height: 52px; padding: .75rem 1rem; border: 2px solid var(--line); border-radius: 12px; font: inherit; font-size: 1.05rem; }
.search-form__input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px var(--sky-100); }
.search-form__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 52px; padding: 0 1.2rem; border: 0; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
@media (max-width: 560px) { .search-form__btn span { display: none; } }

/* ---------- Portada: hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(560px, calc(100svh - var(--header-h) - 44px)); color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__pattern { position: absolute; inset: 0; background: url(../img/pattern.svg) center / cover no-repeat; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,40,.15) 0%, rgba(0,20,40,.2) 40%, rgba(0,26,52,.82) 100%), linear-gradient(90deg, rgba(0,26,52,.55) 0%, rgba(0,26,52,0) 60%); }
.hero--brand .hero__shade { background: linear-gradient(90deg, rgba(0,26,52,.35), rgba(0,26,52,0) 70%); }
.hero > .container { width: 100%; }
.hero__content { display: flex; flex-direction: column; padding-block: clamp(3rem, 9vh, 6rem); }
.hero__title { order: -1; margin: 0 0 1rem; font-family: var(--sans); font-size: clamp(.95rem, 1.6vw, 1.1rem); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.hero__lema { max-width: 17ch; margin: 0 0 1.25rem; font-family: var(--serif); font-size: clamp(2.4rem, 6.2vw, 5rem); font-weight: 600; line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero__text { max-width: 52ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); opacity: .95; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.hero__toggle { position: absolute; right: clamp(1rem, 4vw, 2.5rem); bottom: 1.5rem; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: rgba(0,20,40,.35); color: #fff; cursor: pointer; }
.hero .stripes--hero { position: absolute; left: 0; right: 0; bottom: 0; }
.hero .editor-note { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); max-width: 640px; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section__title { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section__head .section__title::after, .section--access .section__title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .65rem; border-radius: 4px; background: linear-gradient(90deg, var(--green) 0 33%, var(--sky) 33% 66%, var(--red) 66%); }

.section--identity { background: #fff; }
.identity { max-width: 1080px; margin-inline: auto; }
.identity > p:first-child, .identity .is-style-lead { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--navy); }
.identity .wp-block-columns { gap: 2rem; }
.identity .wp-block-column { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--cream); }

.section--levels { background: var(--cream); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.level { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border-top: 6px solid var(--sky); transition: transform .25s var(--ease), box-shadow .25s; }
.level--inicial { border-top-color: var(--green); }
.level--secundario { border-top-color: var(--red); }
.level:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.level__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-100); }
.level__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.level:hover .level__media img { transform: scale(1.04); }
.level__ph, .news-card__ph, .tile__media--ph, .dante-card__ph { display: block; width: 100%; height: 100%; background: var(--sky-100) url(../img/pattern-light.svg) center / cover; }
.level__body { padding: 1.4rem 1.5rem 1.6rem; }
.level__title { font-size: 1.6rem; margin-bottom: .4rem; }
.level__title a { text-decoration: none; }
.level__title a::after { content: ""; position: absolute; inset: 0; }
.level { position: relative; }
.level__excerpt { color: var(--muted); }
.level__links { position: relative; z-index: 1; margin: .75rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.level__links a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: .5rem 0; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.level__links a::after { content: "→"; transition: transform .2s var(--ease); }
.level__links a:hover::after { transform: translateX(4px); }

.section--coms { background: #fff; }
.coms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.section--news { background: var(--cream); }
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
.news-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.news-card--lead { grid-row: span 2; }
.news-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-100); }
.news-card--lead .news-card__media { aspect-ratio: auto; flex: 1; min-height: 260px; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { padding: 1.1rem 1.25rem 1.3rem; }
.news-card__date { margin: 0 0 .3rem; font-size: .85rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.news-card__title { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.news-card--lead .news-card__title { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.news-card__title a { text-decoration: none; color: var(--ink); }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card:hover .news-card__title a { color: var(--navy); }
.news-grid .news-card:nth-child(4) { grid-column: 2 / 4; flex-direction: row; }
.news-grid .news-card:nth-child(4) .news-card__media { flex: 0 0 45%; aspect-ratio: auto; }

.section--access { background: var(--navy); color: #fff; background-image: url(../img/pattern.svg); background-size: cover; background-position: center; }
.section--access .section__title { color: #fff; margin-bottom: 1.75rem; }
.access-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.access-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; padding: 1.1rem 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.35); color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; backdrop-filter: blur(4px); transition: background .2s, transform .2s var(--ease); }
.access-list a:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

.section--services { background: #fff; }
.services-block + .services-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--sky-50); text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--navy); }
.tile__media { display: block; flex: none; aspect-ratio: 16 / 10; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile--noimg .tile__media { aspect-ratio: 16 / 5; height: auto; }
.tile__title { margin: 0; padding: .9rem 1.1rem 1.1rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 800; color: inherit; display: flex; align-items: center; gap: .4rem; }

.section--facilities { background: var(--cream); }
.section--facilities .dante-grid { grid-template-columns: repeat(3, 1fr); }
.section--allies { background: #fff; }
.dante-allies + .dante-allies { margin-top: 2rem; }
.dante-allies__title { font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dante-allies__item { border: 1px solid var(--line); min-height: 110px; transition: box-shadow .2s; }
.dante-allies__item:hover { box-shadow: var(--shadow); }
.dante-allies__item img { filter: grayscale(.2); }
.dante-allies__name { font-weight: 700; text-align: center; color: var(--navy); }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy) url(../img/pattern.svg) center / cover; overflow: hidden; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,26,52,.88), rgba(0,26,52,.45)); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { padding-block: clamp(2rem, 5vw, 3.75rem) clamp(2.25rem, 5vw, 3.5rem); }
.page-hero__kicker { margin: 0 0 .4rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; opacity: .9; }
.page-hero__title { margin: 0; color: #fff; font-size: clamp(2rem, 4.8vw, 3.4rem); max-width: 22ch; text-wrap: balance; }
.page-hero__lead { max-width: 60ch; margin: 1rem 0 0; font-size: 1.15rem; opacity: .95; }
.page-hero .stripes { position: absolute; left: 0; right: 0; bottom: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .9rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; opacity: .6; }
.breadcrumbs a { color: #fff; opacity: .85; }
.breadcrumbs a:hover { opacity: 1; color: #fff; }
.breadcrumbs [aria-current] { opacity: .85; }
.page-body { padding-block: clamp(2rem, 5vw, 4rem); }
.page-body > .tile-grid { margin-top: 2rem; }
.updated { margin-top: 3rem; font-size: .9rem; color: var(--muted); }
.external-cta { margin-bottom: 2rem; }

/* Contenido editorial (Gutenberg) */
.entry-content { max-width: 760px; }
.entry-content > .alignwide { max-width: 1240px; }
.entry-content > .alignfull { max-width: none; }
.page-body > .entry-content, .single-body > .entry-content { margin-inline: auto; }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2em; }
.entry-content h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 2rem 0; }
.entry-content figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry-content th, .entry-content td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 4px solid var(--sky); font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.entry-content .wp-block-file { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--sky-50); }
.entry-content .wp-block-file .wp-block-file__button { border-radius: 999px; background: var(--navy); padding: .5rem 1rem; }
.entry-content .wp-block-gallery img { border-radius: 10px; }

.single-body { padding-block: clamp(2rem, 5vw, 3.5rem); }
.single-meta { max-width: 760px; margin: 0 auto 1.5rem; color: var(--muted); }
.single-meta p { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-bottom: .4rem; }
.single-figure { max-width: 1000px; margin: 0 auto 2rem; }
.single-figure img { width: 100%; border-radius: var(--radius-lg); }
.single-body > p, .single-body > .post-nav, .single-body > .datalist { max-width: 760px; margin-inline: auto; }
.datalist { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; padding: 1.25rem; background: var(--sky-50); border-radius: var(--radius); }
.datalist dt { font-weight: 800; }
.datalist dd { margin: 0; }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-nav a { display: block; padding: 1rem; border-radius: var(--radius); background: var(--cream); text-decoration: none; font-weight: 700; }
.post-nav .nav-next { text-align: right; }
.post-nav__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Páginas de nivel */
.level-tabs { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.level-tabs ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.level-tabs a { display: inline-flex; align-items: center; gap: .4rem; min-height: 54px; padding: 0 1rem; font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.level-tabs a.is-active, .level-tabs a:hover { border-bottom-color: var(--navy); }
.level-tabs .count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .4rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .8rem; }
.level-page { padding-block: clamp(1.5rem, 4vw, 3rem); }
.level-section { padding-block: clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.level-section:last-child { border-bottom: 0; }
.level-section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.level-section__sub { margin-top: 2rem; font-size: 1.3rem; }
.level-section--coms .dante-com-list { max-width: 900px; }
.level-section--adm { background: var(--cream); margin-inline: calc(-1 * clamp(1.1rem, 4vw, 2.5rem)); padding-inline: clamp(1.1rem, 4vw, 2.5rem); border-radius: var(--radius-lg); }
.level-page--inicial .level-section__title::before, .level-page--primario .level-section__title::before, .level-page--secundario .level-section__title::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: .6rem; border-radius: 50%; background: var(--sky); vertical-align: .15em; }
.level-page--inicial .level-section__title::before { background: var(--green); }
.level-page--secundario .level-section__title::before { background: var(--red); }

/* Resultados de búsqueda */
.search-page-form { max-width: 720px; margin-bottom: 1rem; }
.result-list { display: grid; gap: 1rem; max-width: 860px; }
.result { padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--sky-50); border-left: 4px solid var(--sky); }
.result__type { margin: 0 0 .25rem; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.result__title { font-size: 1.3rem; margin-bottom: .35rem; }
.result__excerpt { margin: 0; color: var(--muted); }
.dante-results { color: var(--muted); font-weight: 600; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .75rem; border-radius: 10px; background: var(--sky-50); font-weight: 700; text-decoration: none; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; }

/* Componentes de Dante Core (refinamiento visual) */
.dante-card { border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; }
.dante-card__title a { color: var(--ink); text-decoration: none; }
.dante-card__title a::after { content: ""; position: absolute; inset: 0; }
.dante-card:hover .dante-card__title a { color: var(--navy); }
.dante-card__kicker { color: var(--accent); font-weight: 800; opacity: 1; }
.dante-card__excerpt { color: var(--muted); font-size: .98rem; margin: 0; }
.dante-com { background: var(--sky-50); border-radius: 0 var(--radius) var(--radius) 0; }
.dante-com__title a { color: var(--ink); text-decoration: none; }
.dante-com__title a:hover { color: var(--navy); text-decoration: underline; }
.dante-com__date { color: var(--muted); opacity: 1; }
.dante-badge { font-weight: 700; }
.dante-event__date { background: var(--navy); }
.dante-event__meta { color: var(--muted); opacity: 1; }
.dante-empty { color: var(--muted); background: var(--sky-50); }
.dante-history { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--cream); }
.dante-history summary { cursor: pointer; font-weight: 800; color: var(--navy); min-height: 32px; }
.dante-form-wrap { margin-top: 2rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); background: var(--cream); max-width: 760px; }
.dante-form label { font-weight: 700; }
.dante-form input:not([type=checkbox]):not([type=file]), .dante-form select, .dante-form textarea { min-height: 48px; border: 1.5px solid #8a99ab; background: #fff; }
.dante-form input:focus, .dante-form select:focus, .dante-form textarea:focus { border-color: var(--navy); outline: 3px solid var(--sky-100); outline-offset: 0; }
.dante-form input[type=checkbox] { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--navy); flex: none; }
.dante-form__note { margin: 0; font-size: .9rem; color: var(--muted); }
.dante-filter { padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--sky-50); }
.dante-filter select, .dante-filter input { min-height: 44px; padding: .5rem .75rem; border: 1.5px solid #8a99ab; border-radius: 10px; font: inherit; background: #fff; }
.dante-filter label { font-weight: 700; font-size: .9rem; }
.dante-cal__grid { background: #fff; border-radius: var(--radius); overflow: hidden; }
.dante-cal__grid th { background: var(--navy); color: #fff; }
.dante-cal__grid abbr { text-decoration: none; }
.dante-menu-card { padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border-top: 5px solid var(--green); }
.dante-doclist__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.dante-doclist__item > a:first-child { font-weight: 700; }
.editor-note { margin: 1rem 0; padding: .9rem 1.1rem; border-radius: 10px; background: #FFF4D6; border: 1px dashed #B88A00; color: #4d3a00; font-size: .95rem; }
.hero .editor-note { color: #4d3a00; }

/* ---------- Pie ---------- */
.site-footer { position: relative; background: var(--navy-900); color: #dbe6f2; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
.footer-logo__img { height: 110px; width: auto; }
.footer-logo--text { font-family: var(--serif); font-size: 1.4rem; color: #fff; text-decoration: none; }
.site-footer__lema { margin-top: 1rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #fff; max-width: 24ch; }
.site-footer__title { font-family: var(--sans); font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9fb8d3; margin-bottom: 1rem; }
.contact-list, .footer-menu { margin: 0 0 1rem; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.contact-list .icon { margin-top: .15em; color: #9fb8d3; }
.footer-menu a { display: inline-block; padding: .35rem 0; text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.site-footer__bottom { padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
.stripes--top { position: absolute; top: 0; left: 0; right: 0; }

/* Barra de accesos rápidos móvil */
.mobile-bar { display: none; }
@media (max-width: 1099.98px) {
	.mobile-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,36,72,.08); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
	.mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; width: 100%; min-height: 62px; border: 0; background: none; color: var(--navy); font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; }
	.mobile-bar [aria-current] { color: var(--accent); box-shadow: inset 0 3px 0 var(--navy); }
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	.site-header .nav-open .nav-open__label { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.levels { grid-template-columns: 1fr; }
	.level { flex-direction: row; }
	.level__media { flex: 0 0 38%; aspect-ratio: auto; }
	.coms-grid { grid-template-columns: 1fr; }
	.news-grid { grid-template-columns: 1fr 1fr; }
	.news-card--lead { grid-column: 1 / -1; grid-row: auto; }
	.news-grid .news-card:nth-child(4) { grid-column: auto; flex-direction: column; }
	.news-grid .news-card:nth-child(4) .news-card__media { flex: none; aspect-ratio: 4 / 3; }
	.section--facilities .dante-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; }
	.site-footer__lema { margin: 0; }
}
@media (max-width: 680px) {
	body { font-size: 1.03rem; }
	.hero { min-height: calc(100svh - var(--header-h) - 44px - 62px); }
	.hero__ctas .btn { flex: 1 1 auto; }
	.level { flex-direction: column; }
	.level__media { aspect-ratio: 16 / 9; }
	/* Noticias como carrusel deslizable en móvil */
	.news-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: calc(-1 * clamp(1.1rem, 4vw, 2.5rem)); padding: .25rem clamp(1.1rem, 4vw, 2.5rem) 1rem; scrollbar-width: thin; }
	.news-card, .news-grid .news-card:nth-child(4) { flex: 0 0 82%; scroll-snap-align: start; flex-direction: column; }
	.news-card--lead .news-card__media { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
	.section--facilities .dante-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
	.section--facilities .dante-card__body { padding: .75rem; }
	.section--facilities .dante-card__title { font-size: 1rem; }
	.tile-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
	.tile--noimg .tile__media { aspect-ratio: 16 / 4; }
	.tile__title { font-size: .98rem; padding: .7rem .8rem .85rem; }
	.access-list a { min-height: 64px; font-size: 1.05rem; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__brand { flex-direction: column; align-items: flex-start; }
	.footer-logo__img { height: 90px; }
	.post-nav .nav-links { grid-template-columns: 1fr; }
	.dante-filter { flex-direction: column; align-items: stretch; }
	.section__head .more-link { font-size: .95rem; }
}

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

/* ---------- Herramientas de accesibilidad ---------- */
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
html.a11y-text-3 { font-size: 140%; }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-spacing body { letter-spacing: .06em; word-spacing: .12em; line-height: 1.9; }
html.a11y-spacing p { margin-bottom: 1.6em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .reveal { opacity: 1; transform: none; }
html.a11y-contrast body, html.a11y-contrast .site-header, html.a11y-contrast .section, html.a11y-contrast .level, html.a11y-contrast .news-card, html.a11y-contrast .tile, html.a11y-contrast .dante-card, html.a11y-contrast .dante-com, html.a11y-contrast .mega, html.a11y-contrast .primary-nav, html.a11y-contrast .mobile-bar, html.a11y-contrast .level-tabs, html.a11y-contrast .dante-form-wrap { background: #000 !important; color: #fff !important; background-image: none !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast p, html.a11y-contrast li, html.a11y-contrast label, html.a11y-contrast time, html.a11y-contrast span { color: #fff !important; }
html.a11y-contrast a, html.a11y-contrast button, html.a11y-contrast .menu-toggle-sub { color: #FFE14D !important; }
html.a11y-contrast .btn, html.a11y-contrast .dante-btn { background: #000 !important; border-color: #FFE14D !important; }
html.a11y-contrast img, html.a11y-contrast video { filter: grayscale(1) contrast(1.1); }
html.a11y-contrast { --focus: #FFE14D; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .mobile-bar, .site-footer, .level-tabs, .hero__toggle { display: none !important; }
	.page-hero { background: none; color: #000; }
	.page-hero__title { color: #000; }
}

/* Páginas con listados funcionales: más ancho que el texto corrido */
.entry-content:has(> .dante-cal, > .dante-grid, > .dante-table-wrap, > .dante-canteen, > .dante-allies, > .dante-com-list) { max-width: 1240px; }
.level-section--adm .dante-form-wrap { background: #fff; }
.entry-content { overflow-wrap: anywhere; }
.entry-content .dante-map { display: block; border-radius: var(--radius); margin: 1.5rem 0; }

/* ==========================================================================
   v0.2 — Logo destacado, hero con fundido, admisiones y páginas internas
   ========================================================================== */

/* Logo de la portada: más grande, «colgado» de la barra blanca sobre el hero */
.home .site-header .site-logo { position: relative; z-index: 6; align-self: flex-start; margin-bottom: -112px; padding: 14px 20px 22px; background: #fff; border-radius: 0 0 22px 22px; box-shadow: 0 14px 30px rgba(0, 36, 72, .18); transition: margin .3s var(--ease), padding .3s var(--ease); }
.home .site-header .site-logo__img { height: 168px; }
.home .site-header.is-scrolled .site-logo { margin-bottom: 0; padding: .5rem 0; box-shadow: none; background: transparent; }
.home .site-header.is-scrolled .site-logo__img { height: 56px; }
.home .hero__content { padding-top: 150px; }
@media (max-width: 1099.98px) {
	.home .site-header .site-logo { margin-bottom: -58px; padding: 8px 12px 12px; border-radius: 0 0 16px 16px; }
	.home .site-header .site-logo__img { height: 104px; }
	.home .site-header.is-scrolled .site-logo__img { height: 46px; }
	.home .hero__content { padding-top: 90px; }
}

/* Hero: la bandera se muestra primero y se funde al video o la foto */
.hero--media .hero__pattern { z-index: 1; transition: opacity 1.6s ease; }
.hero--media .hero__shade { z-index: 2; }
.hero--media.is-media-on .hero__pattern { opacity: 0; }
.hero--media .hero__video, .hero--media .hero__poster { z-index: 0; }
.btn--accent { background: var(--red); border-color: var(--red); color: #fff; }
.btn--accent:hover { background: #8f1e18; border-color: #8f1e18; color: #fff; }

/* Admisiones en la portada */
.section--admissions { position: relative; background: linear-gradient(180deg, var(--sky-50), #fff); border-bottom: 1px solid var(--line); }
.admissions__head { max-width: 760px; margin-bottom: 2rem; }
.admissions__kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; padding: .3rem .8rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.admissions__text { font-size: 1.1rem; color: var(--muted); margin-top: 1rem; }
.admissions__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.adm-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border-top: 6px solid var(--sky); }
.adm-card--inicial { border-top-color: var(--green); }
.adm-card--secundario { border-top-color: var(--red); }
.adm-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.adm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.adm-card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.adm-card__body .btn { margin-top: auto; align-self: flex-start; }
.adm-card__title { margin: 0; font-size: 1.5rem; }
.adm-card__date { display: flex; align-items: center; gap: .4rem; margin: 0; font-weight: 800; color: var(--accent); }
.adm-card__text { margin: 0; color: var(--muted); }

/* Encabezado de páginas internas con foto, cinta tricolor y logo del área */
.page-hero { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero--photo { min-height: clamp(320px, 42vw, 460px); background: var(--navy-900); }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 26, 52, .9) 0%, rgba(0, 26, 52, .62) 45%, rgba(0, 26, 52, .15) 100%), linear-gradient(0deg, rgba(0, 26, 52, .55), rgba(0, 26, 52, 0) 55%); }
.page-hero__ribbon { position: absolute; z-index: 0; right: -6%; bottom: -10%; width: min(70%, 900px); height: 120%; background: url(../img/ribbon.svg) right bottom / contain no-repeat; opacity: .9; pointer-events: none; }
.page-hero:not(.page-hero--photo) .page-hero__ribbon { opacity: .5; }
.page-hero__inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; width: 100%; }
.page-hero__text { max-width: 760px; }
.page-hero__title { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.page-hero__meta { margin-top: 1.25rem; }
.page-hero__logo { flex: none; display: flex; align-items: center; justify-content: center; width: clamp(120px, 15vw, 190px); aspect-ratio: 1; padding: 1rem; background: #fff; border-radius: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); margin-bottom: -3.5rem; transform: rotate(-2deg); }
.page-hero__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tr-notice { background: #FFF4D6; color: #4d3a00; border-bottom: 1px solid #e8cf7f; font-weight: 700; font-size: .95rem; padding: .6rem 0; }
@media (max-width: 760px) {
	.page-hero__inner { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
	.page-hero__logo { width: 96px; margin: 0; transform: none; border-radius: 16px; padding: .6rem; }
	.page-hero__ribbon { width: 120%; opacity: .55; }
}

/* Diseño de páginas: contenido + lateral de la sección */
.page-layout { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.page-layout--aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.page-layout--aside .entry-content { margin-inline: 0; }
.page-layout:not(.page-layout--aside) .entry-content:not(.entry-content--wide) { margin-inline: auto; }
.entry-content--wide { max-width: none; }
.page-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.section-nav { padding: 1.25rem; border-radius: var(--radius-lg); background: var(--cream); }
.section-nav__title { margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 650; }
.section-nav__title a { text-decoration: none; }
.section-nav ul { margin: 0; padding: 0; list-style: none; }
.section-nav li a { display: flex; align-items: center; gap: .35rem; min-height: 42px; padding: .45rem .75rem; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; border-left: 3px solid transparent; }
.section-nav li a:hover { background: #fff; color: var(--navy); }
.section-nav li a.is-current { background: #fff; color: var(--navy); border-left-color: var(--navy); font-weight: 800; }
.aside-card { padding: 1.25rem; border-radius: var(--radius-lg); border: 1px solid var(--line); text-align: center; }
.aside-card__title { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin-bottom: .75rem; }
@media (max-width: 1024px) {
	.page-layout--aside { grid-template-columns: 1fr; }
	.page-aside { position: static; }
}

/* Contenido editorial con más vida */
.entry-content > p:first-child, .entry-content > .wp-block-heading:first-child + p { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.entry-content h2.wp-block-heading, .entry-content > h2 { position: relative; padding-top: .9rem; }
.entry-content h2.wp-block-heading::before, .entry-content > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green) 0 33%, var(--sky) 33% 66%, var(--red) 66%); }
.entry-content ul:not(.wp-block-gallery):not([class*="dante-"]) { list-style: none; padding-left: 0; }
.entry-content ul:not(.wp-block-gallery):not([class*="dante-"]) > li { position: relative; padding-left: 1.6rem; }
.entry-content ul:not(.wp-block-gallery):not([class*="dante-"]) > li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px var(--sky-100); }
.entry-content .wp-block-image img, .entry-content > figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.entry-content > .wp-block-buttons { display: inline-flex; margin: 0 .5rem .6rem 0; vertical-align: top; }
.entry-content > .wp-block-buttons + :not(.wp-block-buttons) { margin-top: 1rem; }
.entry-content .wp-block-button__link { text-transform: none; }
.entry-content .wp-block-gallery { gap: .6rem; }
.entry-content .wp-block-gallery .wp-block-image img { box-shadow: none; border-radius: 12px; }
.entry-content a:not(.wp-block-button__link):not(.btn) { font-weight: 600; }
.entry-content table { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.entry-content th { background: var(--sky-50); }

/* Portadas de sección: tarjetas grandes con foto y título superpuesto */
.landing-tiles { margin-top: 2rem; }
.page-layout--landing .tile-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.page-layout--landing .tile { min-height: 240px; border: 0; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.page-layout--landing .tile .tile__media { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.page-layout--landing .tile .tile__media img.tile__img { transition: transform .5s var(--ease); }
.page-layout--landing .tile:hover .tile__img { transform: scale(1.05); }
.page-layout--landing .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 26, 52, .88) 0%, rgba(0, 26, 52, .25) 55%, rgba(0, 26, 52, .05) 100%); }
.page-layout--landing .tile .tile__title { position: relative; z-index: 1; margin-top: auto; padding: 1.25rem 1.4rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 650; color: #fff; }
.page-layout--landing .tile--noimg .tile__media { background: url(../img/pattern.svg) center / cover; }
.page-layout--landing .tile:hover { color: #fff; }
.tile__logo { position: absolute; z-index: 2; top: .9rem; right: .9rem; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; padding: .45rem; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.tile__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tile { position: relative; }

/* Franja de fotos y relacionados */
.photo-strip { margin-top: clamp(2.5rem, 5vw, 4rem); }
.photo-strip__more { margin-top: 1rem; }
.related { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.related__title { font-size: 1.6rem; }

/* Entradas: foto completa cuando es vertical */
.single-figure--full { max-width: 760px; }
.single-figure--full img { width: auto; max-width: 100%; max-height: 80vh; margin-inline: auto; display: block; }

/* Pestañas de nivel: admisiones abiertas */
.level-tabs a.is-highlight { color: var(--red); }
.level-tabs .count--new { background: var(--green); }

/* ==========================================================================
   v0.3 — Logo sin recuadro, encabezados internos azules y fotos en el contenido
   ========================================================================== */
.home .site-header .site-logo { margin-bottom: -132px; padding: 10px 0 0; background: none; border-radius: 0; box-shadow: none; transition: margin .3s var(--ease); }
.home .site-header .site-logo__img { height: 196px; filter: drop-shadow(0 10px 22px rgba(0, 20, 45, .35)); }
.home .site-header.is-scrolled .site-logo,
.home .site-header.has-open-menu .site-logo,
.home .site-header:has(.has-mega.is-open) .site-logo,
.home .site-header:has(.has-mega:focus-within) .site-logo,
body.home.nav-is-open .site-header .site-logo { margin-bottom: 0; padding: .5rem 0; }
.home .site-header.is-scrolled .site-logo__img,
.home .site-header.has-open-menu .site-logo__img,
.home .site-header:has(.has-mega.is-open) .site-logo__img,
.home .site-header:has(.has-mega:focus-within) .site-logo__img,
body.home.nav-is-open .site-header .site-logo__img { height: 56px; filter: none; }
.home .hero__content { padding-top: 170px; }
@media (max-width: 1099.98px) {
	.home .site-header .site-logo { margin-bottom: -62px; padding: 6px 0 0; border-radius: 0; }
	.home .site-header .site-logo__img { height: 116px; }
	.home .site-header.is-scrolled .site-logo__img, body.home.nav-is-open .site-header .site-logo__img { height: 46px; }
	.home .hero__content { padding-top: 96px; }
}
@media (prefers-reduced-motion: reduce) { .home .site-header .site-logo, .site-logo__img { transition: none; } }

/* Encabezado interno: siempre azul con la bandera, ~20 % más bajo */
.page-hero, .page-hero--photo { min-height: 208px; background: var(--navy) url(../img/pattern.svg) center / cover; }
.page-hero__inner { padding-block: clamp(1.6rem, 4vw, 3rem) clamp(1.8rem, 4vw, 2.8rem); align-items: center; }
.page-hero .page-hero__ribbon { opacity: .55; }
.page-hero__logo { width: clamp(110px, 12vw, 150px); padding: .85rem; border-radius: 18px; box-shadow: 0 10px 28px rgba(0, 0, 0, .22); margin: 0 4% 0 0; transform: none; position: relative; z-index: 2; }
@media (max-width: 760px) {
	.page-hero__inner { flex-direction: row; align-items: center; }
	.page-hero__logo { width: 76px; padding: .45rem; border-radius: 12px; margin: 0; }
}

/* Foto de la página dentro del contenido */
.page-figure { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; background: var(--sky-50); }
.page-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-figure--level { aspect-ratio: 21 / 8; }
.single-figure:not(.single-figure--full) { aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius-lg); }
.single-figure:not(.single-figure--full) img { height: 100%; object-fit: cover; }

/* Línea de tiempo (Nuestra Historia): grupo con la clase «dante-timeline» y un grupo «dante-timeline__item» por hito */
.entry-content .dante-timeline { position: relative; margin: 2.5rem 0; padding-left: 2.25rem; }
.entry-content .dante-timeline::before { content: ""; position: absolute; left: .55rem; top: .4rem; bottom: .4rem; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--sky) 0%, var(--green) 40%, #e9eef4 60%, var(--red) 100%); }
.entry-content .dante-timeline__item { position: relative; margin: 0 0 1.5rem; padding: 1.35rem 1.5rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 6px 20px rgba(0, 36, 72, .06); }
.entry-content .dante-timeline__item::before { content: ""; position: absolute; left: calc(-2.25rem + .1rem); top: 1.6rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #fff; border: 4px solid var(--navy); box-shadow: 0 0 0 4px #fff; }
.entry-content .dante-timeline__item > * { margin-block: 0; }
.entry-content .dante-timeline__item > * + * { margin-top: .6rem; }
.entry-content .dante-timeline__year { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.4rem); line-height: 1; color: var(--accent); }
.entry-content .dante-timeline__title { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.3; color: var(--navy); }
.entry-content .dante-timeline__alt { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.entry-content .dante-timeline__alt summary { cursor: pointer; font-weight: 800; font-size: .9rem; color: var(--accent); display: inline-flex; align-items: center; gap: .4rem; }
.entry-content .dante-timeline__alt summary::before { content: ""; width: 1.1rem; height: .75rem; border-radius: 2px; background: linear-gradient(90deg, #2e7d32 33%, #fff 33% 66%, #c62828 66%); box-shadow: 0 0 0 1px var(--line); }
.entry-content .dante-timeline__alt[open] summary { margin-bottom: .6rem; }
.entry-content .dante-timeline__alt p { margin: 0 0 .5rem; color: var(--muted); }
.entry-content .dante-timeline__alt-title { font-weight: 700; color: var(--ink, #1a2733) !important; }
@media (min-width: 900px) {
	.entry-content .dante-timeline__item { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 1.5rem; }
	.entry-content .dante-timeline__item > * { grid-column: 2; }
	.entry-content .dante-timeline__item > .dante-timeline__year { grid-column: 1; grid-row: 1 / span 4; margin: 0; padding-top: .1rem; }
	.entry-content .dante-timeline__item > .dante-timeline__title { margin-top: 0; }
}

/* ==========================================================================
   v0.4 — Encabezado interno centrado, logo colgante en todo el sitio, animaciones
   ========================================================================== */
/* Logo colgante en todas las páginas: se achica al hacer scroll, al abrir un submenú o el menú móvil */
.site-header .site-logo { position: relative; z-index: 6; align-self: flex-start; margin-bottom: -132px; padding: 10px 0 0; background: none; box-shadow: none; transition: margin .3s var(--ease), padding .3s var(--ease); }
.site-header .site-logo__img { height: 196px; filter: drop-shadow(0 10px 22px rgba(0, 20, 45, .35)); transition: height .3s var(--ease), filter .3s; }
.site-header.is-scrolled .site-logo,
.site-header.has-open-menu .site-logo,
.site-header:has(.has-mega.is-open) .site-logo,
.site-header:has(.has-mega:focus-within) .site-logo,
body.nav-is-open .site-header .site-logo { margin-bottom: 0; padding: .5rem 0; }
.site-header.is-scrolled .site-logo__img,
.site-header.has-open-menu .site-logo__img,
.site-header:has(.has-mega.is-open) .site-logo__img,
.site-header:has(.has-mega:focus-within) .site-logo__img,
body.nav-is-open .site-header .site-logo__img { height: 56px; filter: none; }
@media (max-width: 1099.98px) {
	.site-header .site-logo { margin-bottom: -62px; padding: 6px 0 0; }
	.site-header .site-logo__img { height: 116px; }
	.site-header.is-scrolled .site-logo__img, body.nav-is-open .site-header .site-logo__img { height: 46px; }
}

/* Encabezado interno: solo el patrón (como la portada), texto centrado */
.page-hero .page-hero__ribbon { display: none; }
.page-hero, .page-hero--photo { background: var(--navy) url(../img/pattern.svg) center / cover no-repeat; min-height: 240px; justify-content: center; }
.page-hero__inner { justify-content: center; padding-block: 2.6rem 2.8rem; }
.page-hero__text { max-width: min(760px, calc(100% - 2 * 200px)); margin-inline: auto; text-align: center; }
.page-hero__title { margin-inline: auto; }
.page-hero__lead { margin-inline: auto; }
.page-hero .breadcrumbs ol, .page-hero .breadcrumbs { justify-content: center; }
.page-hero__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.page-hero__logo { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
@media (max-width: 1099.98px) {
	.page-hero__inner { padding-block: 4.75rem 2.2rem; }
	.page-hero__text { max-width: 100%; }
	.page-hero__logo { top: .9rem; transform: none; width: 56px; padding: .4rem; border-radius: 12px; }
}

/* Entrada suave del encabezado y del contenido */
@media (prefers-reduced-motion: no-preference) {
	.page-hero__text > * { animation: dante-rise .7s var(--ease) both; }
	.page-hero__text > :nth-child(2) { animation-delay: .08s; }
	.page-hero__text > :nth-child(3) { animation-delay: .16s; }
	.page-hero__text > :nth-child(4) { animation-delay: .24s; }
	.page-hero__logo { animation: dante-fade .8s .25s var(--ease) both; }
	.reveal--side { transform: translateX(-18px); }
	.reveal--side.is-visible { transform: none; }
	.page-figure.reveal img { transform: scale(1.04); transition: transform 1.2s var(--ease); }
	.page-figure.reveal.is-visible img { transform: none; }
}
@keyframes dante-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dante-fade { from { opacity: 0; } to { opacity: 1; } }
html.a11y-motion .page-hero__text > *, html.a11y-motion .page-hero__logo { animation: none; }
html.a11y-motion .page-figure img { transform: none; }

/* v0.4.1 — Header de escritorio a todo el ancho: logo y barra superior hacia los costados, menú centrado */
@media (min-width: 1100px) {
	.topbar__inner, .site-header__inner { max-width: none; padding-inline: clamp(1.5rem, 3.2vw, 3.5rem); }
}
@media (min-width: 1400px) {
	.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
	.site-header__inner > .site-logo { justify-self: start; }
	.site-header__inner > .site-header__name { display: none; }
	.site-header__inner > .primary-nav { margin: 0; grid-column: 2; }
	.site-header__inner > .site-header__actions { justify-self: end; grid-column: 3; margin: 0; }
}

/* v0.4.2 — Logo colgante de 250 px en escritorio y proporcional en móvil */
.site-header .site-logo, .home .site-header .site-logo { margin-bottom: -186px; }
.site-header .site-logo__img, .home .site-header .site-logo__img { height: 250px; }
.home .hero__content { padding-top: 230px; }
.page-hero__text { max-width: min(760px, calc(100% - 2 * 250px)); }
.page-hero { min-height: 260px; }
@media (max-width: 1099.98px) {
	.site-header .site-logo, .home .site-header .site-logo { margin-bottom: -94px; }
	.site-header .site-logo__img, .home .site-header .site-logo__img { height: 148px; }
	.home .hero__content { padding-top: 130px; }
	.page-hero__inner { padding-block: 6.6rem 2.2rem; }
	.page-hero__text { max-width: 100%; }
}
.site-header.is-scrolled .site-logo,
.site-header.has-open-menu .site-logo,
.site-header:has(.has-mega.is-open) .site-logo,
.site-header:has(.has-mega:focus-within) .site-logo,
body.nav-is-open .site-header .site-logo,
.home .site-header.is-scrolled .site-logo,
.home .site-header.has-open-menu .site-logo { margin-bottom: 0; }
.home .site-header.is-scrolled .site-logo__img,
.home .site-header.has-open-menu .site-logo__img,
body.home.nav-is-open .site-header .site-logo__img { height: 56px; }
@media (max-width: 1099.98px) {
	.home .site-header.is-scrolled .site-logo__img, body.home.nav-is-open .site-header .site-logo__img { height: 46px; }
}

/* v0.4.3 — Patrón propio para el encabezado interno: pocas líneas, hacia la derecha */
.page-hero, .page-hero--photo { background: var(--navy) url(../img/pattern-page.svg) right center / cover no-repeat; }

/* ==========================================================================
   v0.5 — Páginas de nivel: secciones, fichas, equipo, documentos y acordeones
   ========================================================================== */
:root {
	--ico-reloj: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E");
	--ico-grupo: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M3%2020c0-3.3%202.7-6%206-6s6%202.7%206%206%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%229%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M15.5%2014.2c3%20.2%205.5%202.6%205.5%205.8%22%2F%3E%3C%2Fsvg%3E");
	--ico-edad: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3.5%2010h17M8%203v4M16%203v4%22%2F%3E%3C%2Fsvg%3E");
	--ico-reglamento: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%204.5A1.5%201.5%200%200%201%206.5%203H19v16H6.5A1.5%201.5%200%200%200%205%2020.5z%22%2F%3E%3Cpath%20d%3D%22M5%2020.5A1.5%201.5%200%200%200%206.5%2022H19v-3M9%207h6M9%2011h6%22%2F%3E%3C%2Fsvg%3E");
	--ico-pdf: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H7a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%203v5h5M9%2013h6M9%2017h4%22%2F%3E%3C%2Fsvg%3E");
	--ico-lista: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%206h11M9%2012h11M9%2018h11%22%2F%3E%3Cpath%20d%3D%22M4%206l1%201%202-2M4%2012l1%201%202-2M4%2018l1%201%202-2%22%2F%3E%3C%2Fsvg%3E");
	--ico-uniforme: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203l-5%203%202%205%203-1v11h8V10l3%201%202-5-5-3c0%201.7-1.3%203-3%203S8%204.7%208%203z%22%2F%3E%3C%2Fsvg%3E");
	--ico-cert: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l7%203v5c0%204.5-3%208.2-7%2010-4-1.8-7-5.5-7-10V6z%22%2F%3E%3Cpath%20d%3D%22M12%209v6M9%2012h6%22%2F%3E%3C%2Fsvg%3E");
	--ico-equipo: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M3%2020c0-3.3%202.7-6%206-6s6%202.7%206%206%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%229%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M15.5%2014.2c3%20.2%205.5%202.6%205.5%205.8%22%2F%3E%3C%2Fsvg%3E");
	--ico-persona: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021c0-4.4%203.6-8%208-8s8%203.6%208%208%22%2F%3E%3C%2Fsvg%3E");
	--ico-flecha: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14M13%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E");
	--ico-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012.5l4.5%204.5L19%207.5%22%2F%3E%3C%2Fsvg%3E");
}

/* Contenedor del contenido del nivel: cada sección es una banda a todo el ancho */
.level-content.entry-content { max-width: none; }
.level-content > .level-block { --gut: max(clamp(1.1rem, 4vw, 2.5rem), calc((100% - 1200px) / 2)); padding: clamp(2.75rem, 6vw, 4.75rem) var(--gut); margin: 0; }
.level-content > .level-block:nth-of-type(even) { background: var(--sky-50); }
.level-content > .level-block > * { max-width: none; }
.level-content > .level-block > * + * { margin-top: 1.25rem; }
.level-block__kicker { margin: 0 !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-size: .85rem; }
.entry-content .level-block__title { margin-top: .35rem !important; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.level-block__kicker + .level-block__title { margin-top: .2rem !important; }
.entry-content .level-sub { margin-top: clamp(2.25rem, 5vw, 3.25rem) !important; font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.entry-content .level-sub::first-letter, .dante-doc__title::first-letter, .dante-fact__label::first-letter { text-transform: uppercase; }
.level-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink); max-width: 62ch; }

/* Intro: texto + foto */
.level-intro.wp-block-columns { gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 1.75rem !important; }
.level-intro .wp-block-column > * + * { margin-top: 1.25rem; }
.entry-content .level-photo { margin: 0; }
.entry-content .level-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 782px) { .level-intro .wp-block-column:last-child { position: relative; } .level-intro .wp-block-column:last-child::before { content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--green), var(--sky) 50%, var(--red)); opacity: .18; z-index: 0; } .level-intro .level-photo { position: relative; z-index: 1; } }

/* Fichas de datos clave */
.dante-facts { display: grid; gap: .85rem; }
.dante-fact { position: relative; padding: 1rem 1.15rem 1rem 3.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dante-fact::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--sky-100); }
.dante-fact::after { content: ""; position: absolute; left: 1.35rem; top: 1.4rem; width: 1.15rem; height: 1.15rem; background: var(--navy); -webkit-mask: var(--ico-reloj) center / contain no-repeat; mask: var(--ico-reloj) center / contain no-repeat; }
.dante-fact--grupo::after { -webkit-mask-image: var(--ico-grupo); mask-image: var(--ico-grupo); }
.dante-fact--edad::after { -webkit-mask-image: var(--ico-edad); mask-image: var(--ico-edad); }
.dante-fact p { margin: 0; }
.dante-fact p + p { margin-top: .35rem; }
.dante-fact__label { font-size: .95rem; text-transform: lowercase; color: var(--navy); }

/* Tarjetas de áreas / orientaciones / exámenes */
.dante-areas { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 1.25rem !important; }
.dante-areas--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dante-areas--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.dante-area { position: relative; padding: 1.4rem 1.4rem 1.3rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.dante-area::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--sky); }
.dante-area:nth-child(4n+2)::before { background: var(--green); }
.dante-area:nth-child(4n+3)::before { background: var(--red); }
.dante-area:nth-child(4n+4)::before { background: var(--navy); }
.dante-area--it::before { background: linear-gradient(90deg, #3E7A35 33%, #fff 33% 66%, #B3261E 66%) !important; }
.dante-area:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dante-area p { margin: 0; }
.dante-area p + p { margin-top: .6rem; }
.dante-area__name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.level-content > .level-block:nth-of-type(even) .dante-area, .level-content > .level-block:nth-of-type(even) .dante-fact { background: #fff; }

/* Bloques destacados */
.dante-highlight { margin-top: clamp(2rem, 4vw, 2.75rem) !important; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--navy); color: #fff; background-image: url(../img/pattern-page.svg); background-size: cover; background-position: right center; }
.dante-highlight h3, .dante-highlight a { color: #fff; }
.dante-highlight h3 { margin-top: 0 !important; }
.dante-highlight p, .dante-highlight li { color: rgba(255, 255, 255, .92); }
.dante-highlight > * + * { margin-top: .75rem; }
.dante-highlight__lead { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); color: #fff !important; }
.dante-highlight ul { padding: 0; list-style: none; display: grid; gap: .5rem; }
.dante-highlight li { position: relative; padding-left: 1.6rem; margin: 0; }
.dante-highlight li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1rem; height: 1rem; background: #fff; -webkit-mask: var(--ico-check) center / contain no-repeat; mask: var(--ico-check) center / contain no-repeat; }
.dante-highlight--italia { background-color: #0b3a2b; background-image: linear-gradient(120deg, rgba(62, 122, 53, .95), rgba(0, 52, 102, .96) 60%, rgba(179, 38, 30, .9)); }
.dante-highlight .wp-block-button__link { background: #fff; color: var(--navy); border-color: #fff; }

.entry-content ul.dante-checklist { list-style: none; padding: 0; display: grid; gap: .55rem; }
.dante-checklist li { position: relative; padding-left: 1.9rem; margin: 0; }
.dante-checklist li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--green); -webkit-mask: none; }
.dante-checklist li::after { content: ""; position: absolute; left: .27rem; top: .42em; width: .78rem; height: .78rem; background: #fff; -webkit-mask: var(--ico-check) center / contain no-repeat; mask: var(--ico-check) center / contain no-repeat; }

/* Equipo directivo */
.dante-team { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 1.5rem !important; }
.dante-person { position: relative; padding: 1.25rem 1.25rem 1.2rem 4.4rem; min-height: 6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.dante-person::before { content: ""; position: absolute; left: 1.1rem; top: 1.2rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: linear-gradient(135deg, var(--sky-100), #fff); box-shadow: inset 0 0 0 2px var(--sky-100); }
.dante-person::after { content: ""; position: absolute; left: 1.75rem; top: 1.85rem; width: 1.3rem; height: 1.3rem; background: var(--navy); -webkit-mask: var(--ico-persona) center / contain no-repeat; mask: var(--ico-persona) center / contain no-repeat; }
.dante-person p { margin: 0; }
.dante-person__role { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.dante-person__name { margin-top: .2rem !important; font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.dante-person__mail { margin-top: .35rem !important; font-size: .88rem; overflow-wrap: anywhere; }
.dante-person__mail a { color: var(--muted); }
.dante-person__mail a:hover { color: var(--navy); }

/* Documentos y trámites */
.dante-docs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; margin-top: 1.5rem !important; }
.dante-doc { position: relative; padding: 1.35rem 1.4rem 1.35rem 4.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.dante-doc::before { content: ""; position: absolute; left: 1.2rem; top: 1.25rem; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--navy); }
.dante-doc::after { content: ""; position: absolute; left: 1.75rem; top: 1.8rem; width: 1.4rem; height: 1.4rem; background: #fff; -webkit-mask: var(--ico-pdf) center / contain no-repeat; mask: var(--ico-pdf) center / contain no-repeat; }
.dante-doc--reglamento::after { -webkit-mask-image: var(--ico-reglamento); mask-image: var(--ico-reglamento); }
.dante-doc--lista::after { -webkit-mask-image: var(--ico-lista); mask-image: var(--ico-lista); }
.dante-doc--uniforme::after { -webkit-mask-image: var(--ico-uniforme); mask-image: var(--ico-uniforme); }
.dante-doc--cert::after { -webkit-mask-image: var(--ico-cert); mask-image: var(--ico-cert); }
.dante-doc--equipo::after { -webkit-mask-image: var(--ico-equipo); mask-image: var(--ico-equipo); }
.dante-doc--lista::before { background: var(--green); }
.dante-doc--cert::before { background: var(--red); }
.dante-doc--uniforme::before { background: var(--sky); }
.dante-doc > * { margin: 0; }
.dante-doc > * + * { margin-top: .8rem !important; }
.entry-content .dante-doc__title { margin: .35rem 0 0 !important; font-size: 1.2rem; line-height: 1.3; }
.entry-content .dante-doc__title::before { display: none; }
.dante-doc__title a { color: var(--navy); text-decoration: none; }
.dante-doc--link .dante-doc__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.dante-doc--link .dante-doc__title { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.dante-doc--link .dante-doc__title::after { content: ""; flex: none; width: 1.2rem; height: 1.2rem; background: var(--accent); -webkit-mask: var(--ico-flecha) center / contain no-repeat; mask: var(--ico-flecha) center / contain no-repeat; transition: transform .25s var(--ease); }
.dante-doc--link:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dante-doc--link:hover .dante-doc__title::after { transform: translateX(4px); }
.dante-doc p { font-size: .98rem; color: var(--muted); }

/* Botones tipo «chip» (listados por sección o grado) */
.entry-content .dante-chips { gap: .5rem; }
.entry-content .dante-chips .wp-block-button__link { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; background: var(--sky-50); color: var(--navy); border: 1px solid var(--line); }
.entry-content .dante-chips .wp-block-button__link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.entry-content .dante-chips .wp-block-button__link::first-letter { text-transform: uppercase; }
.entry-content .dante-doc__actions .wp-block-button__link { min-height: 42px; padding: .5rem 1.1rem; font-size: .92rem; }
.entry-content .dante-doc__actions .wp-block-button__link::after { content: ""; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: var(--ico-flecha) center / contain no-repeat; mask: var(--ico-flecha) center / contain no-repeat; }
.entry-content .dante-doc__actions .wp-block-button__link::first-letter { text-transform: uppercase; }

/* Acordeones (bloque Detalles) */
.entry-content .dante-accordion { border-top: 1px solid var(--line); padding-top: .85rem; }
.dante-accordion > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--accent); }
.dante-accordion > summary::-webkit-details-marker { display: none; }
.dante-accordion > summary::before { content: ""; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sky-100) no-repeat center / 0.8rem; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004078' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.dante-accordion[open] > summary::before { transform: rotate(45deg); }
.dante-accordion[open] > summary { margin-bottom: 1rem; }
.dante-accordion > :not(summary) { font-size: .95rem; color: var(--ink); }
.dante-accordion h4 { margin: 1.25rem 0 .4rem; font-size: 1rem; color: var(--navy); }
.dante-accordion ul { padding-left: 1.1rem; }
.dante-accordion p, .dante-accordion li { color: var(--ink); }
.dante-docs .dante-doc:has(.dante-accordion[open]) { grid-column: 1 / -1; }

/* Bandas automáticas: comunicaciones, novedades y admisiones */
.level-band { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.level-band--coms { background: #fff; border-top: 1px solid var(--line); }
.level-band--news { background: var(--cream); }
.level-band__head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.level-band__head .level-section__title { margin: 0; }
.level-band__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .level-band__grid:not(.level-band__grid--single) { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); } }
.level-agenda { padding: 1.4rem; border-radius: var(--radius-lg); background: var(--sky-50); border: 1px solid var(--line); align-self: start; }
.level-agenda__title { margin: 0 0 1rem; font-size: 1.2rem; }
.level-band--adm { background: var(--navy) url(../img/pattern-page.svg) right center / cover no-repeat; color: #fff; }
.level-adm { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 960px) { .level-adm { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr); } }
.level-adm .level-section__title { color: #fff; margin: .4rem 0 0; }
.level-adm__badge { display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .35rem .85rem; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.level-adm__badge::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #fff; animation: dante-pulse 1.8s infinite; }
@keyframes dante-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.level-adm .entry-content { max-width: none; padding: clamp(1.4rem, 3vw, 2.25rem); background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.level-band--adm .dante-form-wrap { background: var(--sky-50); }
html.a11y-motion .level-adm__badge::before { animation: none; }
.level-page .level-section__title::before { display: none; }
@media (max-width: 781px) {
	.dante-doc { padding-left: 1.2rem; padding-top: 4.1rem; }
	.dante-doc::before { top: 1.1rem; }
	.dante-doc::after { top: 1.65rem; }
}
.dante-docs > *, .dante-areas > *, .dante-team > *, .dante-facts > * { margin: 0 !important; }

/* v0.5.1 — Video de Vimeo como fondo del hero */
.hero__vimeo { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; border: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }

/* ==========================================================================
   v0.6 — Frases del hero, admisiones unificadas y aviso emergente
   ========================================================================== */
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; align-self: end; }
.hero__slides--rotating .hero__slide { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), visibility 0s linear 1.1s; }
.hero__slides--rotating .hero__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 1.1s var(--ease) .25s, transform 1.2s var(--ease) .25s, visibility 0s; }
.hero__slide .hero__lema { margin: 0; max-width: 20ch; }
.hero__slide .hero__text { margin: 1rem 0 0; max-width: 46ch; }
.hero__slide:not(:first-child) .hero__lema { font-size: clamp(2.1rem, 5vw, 4.2rem); }
.hero__content > .hero__title { order: 0; }
.hero__slides + .screen-reader-text + .hero__ctas, .hero__slides + .hero__ctas { margin-top: 2rem; }
@media (prefers-reduced-motion: reduce) { .hero__slides--rotating .hero__slide { transition: none; transform: none; } }
html.a11y-motion .hero__slides--rotating .hero__slide { transition: none; transform: none; }
.hero__toggle { z-index: 5; }

/* Admisiones: botón en la banda de la portada */
.admissions__head .btn { margin-top: 1.25rem; }

/* Admisiones en cada nivel: llamada única al formulario */
.level-adm--cta { align-items: center; }
.level-adm__body { display: grid; gap: 1rem; justify-items: start; }
.level-adm__text { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: 52ch; }
.level-adm__text--level { font-size: 1rem; }
.btn--lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.05rem; }

/* Aviso emergente */
.dante-popup { padding: 0; border: 0; border-radius: 22px; width: min(520px, calc(100% - 2rem)); max-height: calc(100% - 2rem); box-shadow: 0 30px 80px rgba(0, 20, 45, .45); overflow: hidden; background: #fff; color: var(--ink); }
.dante-popup::backdrop { background: rgba(0, 25, 50, .55); backdrop-filter: blur(3px); }
.dante-popup[open] { animation: dante-pop .45s var(--ease); }
.dante-popup[open]::backdrop { animation: dante-fade .45s ease; }
@keyframes dante-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dante-popup[open], .dante-popup[open]::backdrop { animation: none; } }
.dante-popup__box { position: relative; padding: 2.5rem clamp(1.5rem, 5vw, 2.5rem) 2.25rem; text-align: center; background: var(--navy) url(../img/pattern-page.svg) right center / cover no-repeat; color: #fff; }
.dante-popup__flag { display: block; width: 76px; height: 6px; margin: 0 auto 1.25rem; border-radius: 6px; background: linear-gradient(90deg, #3E7A35 33%, #fff 33% 66%, #B3261E 66%); }
.dante-popup__kicker { margin: 0; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--sky-100); }
.dante-popup__title { margin: .4rem 0 0; font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.1; color: #fff; }
.dante-popup__text { margin: 1rem auto 0; max-width: 38ch; font-size: 1.08rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.dante-popup__btn { margin-top: 1.6rem; }
.dante-popup__close { position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.dante-popup__close:hover, .dante-popup__close:focus-visible { background: rgba(255, 255, 255, .25); }
.dante-popup__close svg { width: 20px; height: 20px; }

/* v0.6.1 — El logo nunca se deforma: ancho según su proporción y columna del header a su medida */
.site-logo__img, .site-header .site-logo__img { width: auto !important; max-width: none; object-fit: contain; }
.site-header .site-logo { flex: none; }
@media (min-width: 1400px) {
	.site-header__inner { grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); column-gap: 1.5rem; }
}

/* ==========================================================================
   v0.7 — Header más aireado, logo contraído más grande, tarjetas de igual alto
   ========================================================================== */
@media (min-width: 1400px) {
	.topbar__inner, .site-header__inner { padding-inline: clamp(3rem, 6.4vw, 7rem); }
}
/* Logo contraído (al scrollear o con un submenú abierto): ocupa el alto de la barra */
.site-header.is-scrolled .site-logo,
.site-header.has-open-menu .site-logo,
.site-header:has(.has-mega.is-open) .site-logo,
.site-header:has(.has-mega:focus-within) .site-logo,
body.nav-is-open .site-header .site-logo,
.home .site-header.is-scrolled .site-logo,
.home .site-header.has-open-menu .site-logo { padding-block: .3rem; }
.site-header.is-scrolled .site-logo__img,
.site-header.has-open-menu .site-logo__img,
.site-header:has(.has-mega.is-open) .site-logo__img,
.site-header:has(.has-mega:focus-within) .site-logo__img,
body.nav-is-open .site-header .site-logo__img,
.home .site-header.is-scrolled .site-logo__img,
.home .site-header.has-open-menu .site-logo__img,
body.home.nav-is-open .site-header .site-logo__img { height: 76px; }
@media (max-width: 1099.98px) {
	.site-header.is-scrolled .site-logo__img, body.nav-is-open .site-header .site-logo__img,
	.home .site-header.is-scrolled .site-logo__img, body.home.nav-is-open .site-header .site-logo__img { height: 56px; }
}

/* Tarjetas de una misma fila con el mismo alto */
.dante-docs, .dante-areas, .dante-team, .dante-facts, .admissions__grid, .tiles, .dante-grid { align-items: stretch; }
.dante-doc, .dante-area, .dante-person, .dante-fact { height: 100%; box-sizing: border-box; }
.dante-doc { display: flex; flex-direction: column; }
.dante-doc > .dante-doc__actions, .dante-doc > .dante-chips { margin-top: auto !important; padding-top: .8rem; }
.dante-doc--link { justify-content: center; }
.dante-doc--link::before { top: 50%; margin-top: -1.25rem; }
.dante-doc--link::after { top: 50%; margin-top: -.7rem; }
.dante-doc--aviso p { font-weight: 700; color: var(--navy); }
