:root {
  --navy-950: #071a3d;
  --navy-900: #0b2b5c;
  --navy-800: #124a91;
  --blue-600: #1d4ed8;
  --teal-500: #3b82f6;
  --gold-500: #60a5fa;
  --gold-300: #bfdbfe;
  --brown-700: #123f86;
  --brown-500: #2563eb;
  --brown-100: #eff6ff;
  --cream: #f5f9ff;
  --paper: #ffffff;
  --ink: #10233f;
  --muted: #60708a;
  --line: #dbe7f5;
  --shadow: 0 24px 70px rgba(7, 26, 61, .15);
  --serif: "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
em, i, cite, dfn, address { font-style: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; width: 100%; margin-inline: auto; overflow: visible; background: rgba(255,254,254,.94); border: 1px solid transparent; border-bottom-color: rgba(36,52,196,.16); border-radius: 0; box-shadow: 0 8px 30px rgba(8,13,59,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); will-change: top, width, border-radius; transition: top .42s cubic-bezier(.22,1,.36,1), width .42s cubic-bezier(.22,1,.36,1), border-radius .42s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { top: 12px; width: min(calc(100% - 32px), 1320px); border-color: rgba(37,99,235,.15); border-radius: 999px; box-shadow: 0 14px 38px rgba(7,26,61,.16); }
.site-header--solid { box-shadow: 0 6px 24px rgba(8,13,59,.09); }
[id] { scroll-margin-top: 105px; }
.nav { position: relative; min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; transition: min-height .42s cubic-bezier(.22,1,.36,1); }
.nav.container { width: min(calc(100% - 32px), 1520px); }
.site-header.is-scrolled .nav { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-950); }
.brand__mark { width: 60px; height: 60px; display: grid; flex: 0 0 60px; place-items: center; }
.brand__mark img { content: url("../assets/logo-curia.png?v=60"); width: 60px; height: 60px; object-fit: contain; object-position: center; }
.brand strong, .brand small { display: block; line-height: 1.08; }
.brand strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.brand small { margin-top: 2px; color: var(--brown-700); font-size: .62rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.brand__foundation { display: block; margin-top: 2px; color: var(--brown-500); font-size: .49rem; font-weight: 700; letter-spacing: .13em; line-height: 1.1; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 16px; color: #343b62; font-size: .72rem; font-weight: 650; white-space: nowrap; }
.nav-menu > a:not(.button) { position: relative; padding: 30px 0; }
.nav-menu > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; background: var(--brown-500); transform: scaleX(0); transition: transform .2s; }
.nav-menu > a:hover::after, .nav-menu > a.is-active::after { transform: scaleX(1); }
.header-profile { position: relative; flex: 0 0 auto; }
.header-profile__trigger { min-height: 46px; display: inline-flex; align-items: center; gap: 9px; padding: 4px 12px 4px 5px; color: var(--navy-900); background: white; border: 1px solid rgba(36,52,196,.24); border-radius: 999px; box-shadow: 0 8px 22px rgba(8,13,59,.1); font-size: .78rem; font-weight: 750; transition: border-color .2s, box-shadow .2s, transform .2s; }
.header-profile__trigger:hover { border-color: rgba(36,52,196,.55); box-shadow: 0 11px 28px rgba(8,13,59,.15); transform: translateY(-1px); }
.header-profile__avatar { width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center; overflow: hidden; color: white; background: linear-gradient(145deg, var(--brown-500), var(--navy-900)); border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px rgba(36,52,196,.18); font-size: .7rem; font-weight: 850; letter-spacing: .04em; }
.header-profile__name { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-profile__chevron { color: var(--brown-500); font-size: 1rem; transition: transform .2s; }
.header-profile__trigger[aria-expanded="true"] .header-profile__chevron { transform: rotate(180deg); }
.header-profile__dropdown { position: absolute; top: calc(100% + 9px); right: 0; z-index: 130; min-width: 220px; padding: 10px; visibility: hidden; opacity: 0; pointer-events: none; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 45px rgba(8,13,59,.18); transform: translateY(-10px) scale(.96); transform-origin: top right; transition: visibility 0s linear .24s, opacity .2s ease, transform .24s cubic-bezier(.22,1,.36,1); }
.header-profile.is-open .header-profile__dropdown { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); transition-delay: 0s; }
.header-profile__dropdown span { display: block; padding: 7px 9px 10px; overflow: hidden; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.header-profile__dropdown button { width: 100%; margin-top: 6px; padding: 9px; color: var(--blue-600); background: transparent; border: 0; border-radius: 7px; font-size: .75rem; font-weight: 750; text-align: left; }
.header-profile__dropdown button:hover { background: var(--brown-100); }
.site-header .button { background: var(--brown-700); border-color: var(--brown-700); border-radius: 999px; }
.site-header .button:hover { background: var(--brown-500); border-color: var(--brown-500); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 25px; color: white; background: var(--brown-700); border: 1px solid var(--brown-700); border-radius: 2px; box-shadow: 0 10px 24px rgba(24,35,155,.18); font-size: .78rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.button:hover { background: var(--brown-500); border-color: var(--brown-500); transform: translateY(-2px); }
.button--small { min-height: 42px; padding-inline: 16px; }
.button--outline { color: var(--brown-700); background: transparent; border-color: rgba(24,35,155,.42); box-shadow: none; }
.button--outline:hover { color: white; background: var(--brown-700); border-color: var(--brown-700); }
.site-header .button--publish { color: var(--brown-700); background: transparent; border-color: rgba(24,35,155,.38); box-shadow: none; }
.site-header .button--publish:hover { color: white; background: var(--brown-500); border-color: var(--brown-500); }
.nav-search-toggle { width: 42px; height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--navy-900); background: rgba(238,240,255,.72); border: 1px solid rgba(43,59,209,.14); border-radius: 50%; transition: color .22s ease, background-color .22s ease, transform .22s ease, opacity .22s ease; }
.nav-search-toggle:hover { color: white; background: var(--blue-600); transform: translateY(-1px); }
.nav-search-toggle:active { transform: scale(.96); }
.nav-search-toggle svg, .nav-search__icon, .nav-search__close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-search { position: absolute; inset: 9px 0; z-index: 12; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 18px; color: var(--navy-900); background: rgba(255,255,255,.94); border: 1px solid rgba(43,59,209,.16); border-radius: 999px; opacity: 0; visibility: hidden; transform: scale(.985); transform-origin: center; box-shadow: 0 16px 42px rgba(7,26,61,.16); backdrop-filter: blur(18px) saturate(160%); transition: opacity .24s ease, visibility .24s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.nav-search[hidden] { display: none; }
.nav-search input { min-width: 0; flex: 1; padding: 12px 0; color: var(--navy-950); background: transparent; border: 0; outline: 0; font: inherit; font-size: .92rem; }
.nav-search input::placeholder { color: #71809a; }
.nav-search__icon { flex: 0 0 auto; color: var(--blue-600); }
.nav-search__close { width: 38px; height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: white; background: var(--blue-600); border: 0; border-radius: 50%; transition: transform .2s ease, background-color .2s ease; }
.nav-search__close:hover { background: var(--navy-800); transform: translateX(-2px); }
.nav-search__results { position: absolute; top: calc(100% + 9px); right: 0; left: 0; overflow: hidden; padding: 8px; background: rgba(255,255,255,.98); border: 1px solid rgba(43,59,209,.14); border-radius: 18px; box-shadow: 0 22px 50px rgba(7,26,61,.2); backdrop-filter: blur(18px); }
.nav-search__results[hidden] { display: none; }
.nav-search__results a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 11px 13px; color: var(--navy-900); border-radius: 11px; text-decoration: none; }
.nav-search__results a:hover, .nav-search__results a:focus { color: var(--navy-950); background: #eef2ff; outline: none; }
.nav-search__results strong { font-size: .78rem; }
.nav-search__results span { color: var(--muted); font-size: .68rem; text-align: right; }
.nav-search__results p { margin: 0; padding: 16px; color: var(--muted); font-size: .78rem; text-align: center; }
.nav > .brand, .nav > .nav-mobile-actions, .nav-menu > :not(.nav-search) { transition: opacity .2s ease, transform .24s cubic-bezier(.22,1,.36,1), visibility .2s ease; }
.nav.is-searching > .brand, .nav.is-searching > .nav-toggle, .nav.is-searching > .nav-mobile-actions, .nav.is-searching .nav-menu > :not(.nav-search) { opacity: 0; visibility: hidden; transform: translateY(-5px); pointer-events: none; }
.nav.is-searching .nav-search { opacity: 1; visibility: visible; transform: scale(1); }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-900); font-size: .86rem; font-weight: 750; }
.text-link span { color: var(--brown-500); transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; color: var(--brown-700); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: var(--brown-500); }
.eyebrow--light { color: #bfdbfe; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 12% 18%, rgba(43,59,209,.12), transparent 30%), linear-gradient(115deg, #eceffa 0%, #f6f6fb 62%, #fffefe 100%); }
.hero::before { content: none; }
.hero::after { content: none; }
.hero__grid { position: relative; z-index: 2; min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 86px; padding-block: 68px 82px; }
.legal-motion { position: absolute; z-index: 1; top: 48%; left: 42%; width: 470px; height: 470px; pointer-events: none; opacity: .82; transform: translate(-50%, -50%); will-change: transform; }
.legal-motion__orbit { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border: 1px solid rgba(43,59,209,.3); border-radius: 50%; box-shadow: inset 0 0 50px rgba(43,59,209,.04); animation: legal-orbit 28s linear infinite; will-change: transform; }
.legal-motion__orbit::before, .legal-motion__orbit::after { content: ""; position: absolute; width: 8px; height: 8px; background: rgba(36,52,196,.66); border-radius: 50%; box-shadow: 0 0 0 8px rgba(43,59,209,.1); }
.legal-motion__orbit::before { top: 44px; left: 68px; }
.legal-motion__orbit::after { right: 38px; bottom: 92px; }
.legal-motion__orbit--two { top: 58px; right: 58px; bottom: 58px; left: 58px; border-color: rgba(43,59,209,.24); border-style: dashed; animation-duration: 22s; animation-direction: reverse; }
.legal-motion__orbit--two::before { top: -4px; left: 50%; }
.legal-motion__orbit--two::after { right: auto; bottom: -4px; left: 50%; }
.legal-motion__section { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; color: rgba(43,59,209,.14); font-family: var(--serif); font-size: 18rem; line-height: 1; text-shadow: 0 12px 40px rgba(8,13,59,.08); animation: legal-breathe 7s ease-in-out infinite; will-change: transform, opacity; }
.legal-motion__scales { position: absolute; right: 30px; bottom: 25px; width: 112px; height: 100px; animation: legal-float 6s ease-in-out infinite; }
.legal-motion__pillar { position: absolute; bottom: 11px; left: 54px; width: 3px; height: 72px; background: rgba(36,52,196,.5); }
.legal-motion__pillar::before { content: ""; position: absolute; right: -14px; bottom: -2px; width: 31px; height: 3px; background: rgba(36,52,196,.22); border-radius: 50%; }
.legal-motion__beam { position: absolute; top: 20px; left: 15px; width: 83px; height: 2px; background: rgba(36,52,196,.52); transform-origin: center; animation: legal-balance 5s ease-in-out infinite; }
.legal-motion__beam::before, .legal-motion__beam::after { content: ""; position: absolute; top: 1px; width: 1px; height: 42px; background: rgba(36,52,196,.2); }
.legal-motion__beam::before { left: 5px; }
.legal-motion__beam::after { right: 5px; }
.legal-motion__pan { position: absolute; top: 61px; width: 34px; height: 12px; border: 1px solid rgba(36,52,196,.48); border-top: 0; border-radius: 0 0 50% 50%; }
.legal-motion__pan--left { left: 3px; }
.legal-motion__pan--right { right: 2px; }
.legal-motion.is-js-animated .legal-motion__orbit,
.legal-motion.is-js-animated .legal-motion__section,
.legal-motion.is-js-animated .legal-motion__scales,
.legal-motion.is-js-animated .legal-motion__beam { animation: none !important; }
@keyframes legal-orbit { to { transform: rotate(360deg); } }
@keyframes legal-breathe { 0%, 100% { transform: scale(.96); opacity: .72; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes legal-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes legal-balance { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes legal-watermark { 0%, 100% { transform: translate(-50%, -50%) scale(.96) rotate(-2deg); opacity: .7; } 50% { transform: translate(-50%, -50%) scale(1.04) rotate(2deg); opacity: 1; } }
.hero__content, .hero__visual, .contact-card > *, .footer__grid > * { min-width: 0; }
.hero h1, .page-hero h1, .article-hero h1 { margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: clamp(3rem, 5.25vw, 5.35rem); font-weight: 500; letter-spacing: -.055em; line-height: .96; }
.hero h1 em { color: var(--brown-700); font-weight: 500; }
.hero__lead { max-width: 590px; margin: 27px 0 30px; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.hero__actions .text-link { flex-basis: 100%; width: max-content; margin-top: 4px; }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 0; border-top: 0; }
.hero__highlights span { padding: 7px 12px; color: var(--brown-700); background: rgba(238,240,255,.78); border: 1px solid rgba(43,59,209,.13); border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero__stats { display: flex; gap: 44px; margin: 50px 0 0; padding-top: 27px; border-top: 1px solid var(--line); }
.hero__stats div + div { padding-left: 35px; border-left: 1px solid var(--line); }
.hero__stats dt { color: var(--navy-900); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.hero__stats dd { margin: 2px 0 0; color: var(--brown-500); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.hero__visual { position: relative; min-height: 545px; }
.hero__image { position: absolute; inset: 0 0 35px 42px; overflow: hidden; border-radius: 2px 2px 80px 2px; box-shadow: var(--shadow); }
.hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,29,43,.38)); }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 56%; }
.trust-card { position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 15px; width: 320px; padding: 20px 22px; color: white; background: linear-gradient(115deg, var(--navy-950), var(--navy-900)); border-bottom: 3px solid var(--brown-500); box-shadow: 0 15px 40px rgba(8,29,43,.22); }
.trust-card__icon { display: grid; width: 43px; height: 43px; place-items: center; color: #bfdbfe; border: 1px solid rgba(191,219,254,.5); border-radius: 50%; font-family: var(--serif); font-size: 1.35rem; }
.trust-card strong, .trust-card small { display: block; }
.trust-card strong { font-family: var(--serif); font-size: 1rem; }
.trust-card small { color: rgba(255,255,255,.65); font-size: .68rem; }
.hero__seal { position: absolute; top: 30px; right: -28px; display: grid; width: 88px; height: 88px; place-items: center; align-content: center; color: var(--navy-900); background: var(--gold-300); border: 8px solid white; border-radius: 50%; font-family: var(--serif); font-weight: 700; line-height: 1; text-align: center; box-shadow: 0 8px 24px rgba(8,29,43,.12); }
.hero__seal small { margin-top: 4px; font-family: var(--sans); font-size: .55rem; letter-spacing: .16em; }
.trust-strip { color: white; background: var(--navy-950); }
.trust-strip__grid { min-height: 87px; display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); align-items: center; gap: 24px; }
.trust-strip p { color: #bfdbfe; font-size: .71rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.trust-strip span { position: relative; padding-left: 18px; color: rgba(255,255,255,.77); font-family: var(--serif); font-size: .92rem; }
.trust-strip span::before { content: "·"; position: absolute; left: 0; color: #bfdbfe; }

.advisory-marquee {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.9);
  background: linear-gradient(90deg, var(--navy-950), var(--navy-900), var(--navy-950));
  border-top: 1px solid rgba(215,193,122,.16);
  border-bottom: 1px solid rgba(215,193,122,.18);
}
.advisory-marquee::before { display: none; }
.advisory-marquee__track {
  width: max-content;
  display: flex;
  animation: advisory-scroll 34s linear infinite;
  will-change: transform;
}
.advisory-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.advisory-marquee__group span {
  display: inline-flex;
  min-height: 74px;
  align-items: center;
  padding: 0 34px;
  font-family: var(--serif);
  font-size: 1rem;
  white-space: nowrap;
}
.advisory-marquee__group span::before {
  content: "§";
  margin-right: 18px;
  color: var(--gold-300);
  font-size: 1.15rem;
  opacity: .9;
}
.advisory-marquee:hover .advisory-marquee__track { animation-play-state: paused; }
@keyframes advisory-scroll {
  to { transform: translateX(-50%); }
}

.section { padding-block: 112px; }
.section--soft { background: linear-gradient(180deg, #eef5ff 0%, #f7faff 100%); }
.home-page main > .section:not(.contact-section) {
  background: linear-gradient(180deg, #f7faff 0%, #edf5ff 100%);
}
.home-page .home-section--research { background: linear-gradient(180deg, #eaf3ff 0%, #f3f8ff 100%); }
.home-page .home-section--youtube { background: linear-gradient(180deg, #f5f9ff 0%, #e9f3ff 100%); }
.home-page .home-section--programs { background: linear-gradient(180deg, #edf5ff 0%, #f8fbff 100%); }
.home-page .home-section--facilitators { background: linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%); }
body:not(.evaluation-page) {
  background: linear-gradient(180deg, #f4f8ff 0%, #e4efff 100%);
}
body:not(.evaluation-page) main > .section {
  background: linear-gradient(180deg, rgba(242, 248, 255, .98) 0%, rgba(224, 237, 255, .98) 100%);
}
.courses-programs,
.exam-programs {
  background: linear-gradient(180deg, #f5f9ff 0%, #eaf3ff 100%) !important;
}
.courses-programs::before,
.exam-programs::before {
  content: none !important;
}
.courses-hero,
.exams-hero {
  background: radial-gradient(circle at 82% 18%, rgba(96, 165, 250, .22), transparent 28%), linear-gradient(120deg, #071a3d 0%, #174a96 100%) !important;
}
.courses-hero__slides,
.exams-hero__slides {
  display: block !important;
}
main > section + section { position: relative; border-top: 1px solid rgba(43,59,209,.11); }
main > section + section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brown-500), transparent);
  transform: translateX(-50%);
}
.section:not(.section--soft) + .section:not(.section--soft) {
  box-shadow: inset 0 18px 34px -34px rgba(37,99,235,.28);
}
.split { display: grid; grid-template-columns: .78fr 1.22fr; gap: 120px; }
.section-heading h2, .contact-card h2 { max-width: 760px; margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: clamp(2.25rem, 3.6vw, 3.65rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 48px; }
.section-heading--row > p { max-width: 400px; margin: 0 0 8px; color: var(--muted); }
.research-heading { margin-bottom: 28px; }
.research-heading__intro { margin-top: 24px; }
.research-heading__intro p { margin: 0; color: var(--muted); }
.research-heading__actions { margin-top: 20px; }
.prose .lead, .article-content .lead { margin-top: 0; color: var(--navy-900); font-family: var(--serif); font-size: 1.43rem; line-height: 1.5; }
.home-page .split .prose > .lead,
body:not(.home-page) .split .prose > .lead,
.principle-description {
  text-align: justify;
  text-justify: inter-word;
}
.prose > p:not(.lead) { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 350px; padding: 39px 34px; background: white; border: 1px solid transparent; box-shadow: 0 9px 34px rgba(8,29,43,.055); transition: transform .25s, border-color .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(43,59,209,.32); box-shadow: var(--shadow); }
.service-card__number { position: absolute; top: 27px; right: 29px; color: #aab5b8; font-family: var(--serif); font-size: .8rem; }
.service-card__icon { width: 53px; height: 53px; display: grid; place-items: center; color: var(--brown-700); background: var(--brown-100); border-radius: 50%; font-family: var(--serif); font-size: 1.5rem; }
.service-card h3 { margin: 29px 0 12px; color: var(--navy-900); font-family: var(--serif); font-size: 1.48rem; }
.service-card p { margin: 0 0 26px; color: var(--muted); font-size: .9rem; }
.service-card a { color: var(--navy-900); font-size: .8rem; font-weight: 800; }
.service-card a span { margin-left: 7px; color: var(--brown-500); }
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; background: transparent; border: 0; }
.area-grid span { position: relative; min-height: 100px; display: flex; align-items: center; padding: 26px 30px 26px 43px; color: var(--navy-900); background: rgba(255,255,255,.84); border: 1px solid rgba(43,59,209,.12); font-family: var(--serif); font-size: 1.08rem; box-shadow: 0 12px 30px rgba(8,13,59,.05); }
.area-grid span::before { content: ""; position: absolute; left: 22px; width: 5px; height: 5px; background: var(--brown-500); border-radius: 50%; box-shadow: 0 0 0 5px rgba(43,59,209,.1); }
.values-heading { max-width: 860px; margin-bottom: 42px; }
.values-heading p { max-width: 780px; margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.values-label { margin: 0 0 18px; color: var(--navy-900); font-family: var(--serif); font-size: 1.45rem; font-weight: 600; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 40px; background: var(--line); }
.values-label + .value-grid { margin-top: 0; }
.value-grid span { padding: 28px; color: var(--navy-900); background: var(--cream); font-family: var(--serif); font-size: 1.3rem; }
.course-list-heading { max-width: 860px; margin-bottom: 48px; }
.course-list-heading p { max-width: 780px; margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.principles-section { padding-block: 82px; background: var(--cream); border-top: 1px solid rgba(43,59,209,.12); border-bottom: 1px solid rgba(43,59,209,.12); font-family: "Palatino Linotype", Palatino, Georgia, serif; }
.principles-list { max-width: 1060px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; box-shadow: 0 10px 26px rgba(8,13,59,.09); }
.principle-row { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 28px; padding: 64px 52px; background: rgba(255,255,255,.86); border: 1px solid rgba(43,59,209,.1); box-shadow: none; }
.principle-row + .principle-row { background: #e9ecfb; border-left: 0; }
.principle-label { position: relative; margin: 6px 0 0; padding-left: 42px; color: var(--brown-700); font-family: inherit; font-size: .76rem; font-weight: 800; letter-spacing: .17em; line-height: 1.4; }
.principle-label::before { content: ""; position: absolute; top: .48em; left: 0; width: 28px; height: 1px; background: var(--brown-500); }
.principle-description { margin: 0; color: var(--navy-900); font-family: inherit; font-size: 24px; font-style: normal; font-weight: 500; line-height: 36px; letter-spacing: 0; }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; color: var(--muted); }
.check-list li { position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--brown-500); font-weight: 800; }

.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.article-carousel { position: relative; display: block; padding: 0 48px 54px; }
.article-carousel__viewport { position: relative; height: 430px; }
.article-carousel__slide { position: absolute; inset: 0; height: 100%; visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(24px) scale(.985); transition: visibility 0s linear .62s, opacity .55s ease, transform .62s cubic-bezier(.22,1,.36,1); }
.article-carousel__slide.is-active { position: relative; visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(0) scale(1); transition-delay: 0s; }
.article-carousel .article-card { height: 430px; grid-template-columns: 42% 58%; border: 0; border-radius: 12px; box-shadow: 0 10px 28px rgba(7,26,61,.1); }
.article-carousel .article-card:hover { transform: none; box-shadow: 0 14px 34px rgba(7,26,61,.14); }
.article-carousel .article-card__visual { min-height: 430px; }
.article-carousel .article-card__body { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; min-height: 0; padding: clamp(30px, 5vw, 72px); overflow-y: auto; scrollbar-width: thin; }
.article-carousel .article-card h3 { max-width: 570px; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.18; }
.article-carousel .article-card__body > p:not(.article-meta) { max-width: 570px; font-size: 1rem; line-height: 1.75; }
.article-carousel .article-card .text-link { min-height: 48px; align-items: center; gap: 14px; margin-top: 18px; padding: 0 20px; color: white; background: var(--blue-600); border: 1px solid var(--blue-600); border-radius: 4px; box-shadow: 0 8px 18px rgba(37,99,235,.2); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.article-carousel .article-card .text-link:hover { color: white; background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(7,26,61,.18); }
.article-carousel .article-card .text-link span { color: white; }
.research-carousel-action { display: flex; justify-content: center; margin-top: 28px; }
.research-carousel-action .button { gap: 14px; background: var(--blue-600); border-color: var(--blue-600); border-radius: 4px; }
.research-carousel-action .button span { font-size: 1.15rem; line-height: 1; transition: transform .2s ease; }
.research-carousel-action .button:hover { background: var(--navy-900); border-color: var(--navy-900); }
.research-carousel-action .button:hover span { transform: translateX(4px); }
.article-carousel__control { position: absolute; top: 215px; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; color: white; background: var(--navy-900); border: 0; border-radius: 50%; box-shadow: 0 8px 18px rgba(7,26,61,.18); font-size: 0; line-height: 0; transform: translateY(-50%); transition: background .2s ease; }
.article-carousel__control::before { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; display: block; border: solid currentColor; border-width: 0 2px 2px 0; content: ""; transform-origin: center; }
.article-carousel__control--prev::before { transform: translate(-50%, -50%) rotate(135deg); }
.article-carousel__control--next::before { transform: translate(-50%, -50%) rotate(-45deg); }
.article-carousel__control:hover { background: var(--blue-600); }
.article-carousel__control--prev { left: 20px; }
.article-carousel__control--next { right: 20px; }
.article-carousel__dots { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; gap: 14px; }
.article-carousel__dots button { width: 12px; height: 12px; padding: 0; background: #c5d2ec; border: 0; border-radius: 50%; transition: background .25s ease, transform .25s ease; }
.article-carousel__dots button.is-active { background: var(--blue-600); transform: scale(1.18); }
.article-grid--archive { grid-template-columns: repeat(2, 1fr); }
.article-card { display: grid; grid-template-columns: 145px 1fr; min-height: 280px; overflow: hidden; background: white; border: 1px solid rgba(43,59,209,.12); transition: transform .25s, box-shadow .25s, border-color .25s; }
.article-card:hover { transform: translateY(-5px); border-color: rgba(43,59,209,.3); box-shadow: var(--shadow); }
.article-card__visual { position: relative; height: 100%; min-height: 280px; display: flex; align-items: flex-start; justify-content: space-between; padding: 22px; overflow: hidden; color: white; background: var(--brown-500); }
.article-card__visual::after { content: ""; position: absolute; width: 180px; height: 180px; right: -45px; bottom: -95px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.04), 0 0 0 60px rgba(255,255,255,.04); }
.article-card__visual span { z-index: 1; padding: 5px 10px; background: rgba(8,29,43,.32); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-card__visual strong { align-self: center; margin: auto; font-family: var(--serif); font-size: 4.7rem; font-weight: 400; opacity: .48; }
.article-card__visual--gold { background: #5366d7; }
.article-card__visual--green { background: #3347ba; }
.article-card__visual--navy { background: var(--navy-900); }
.article-card__visual--image { padding: 0; background: #eaf2ff; }
.article-card__visual--image::after { inset: auto 0 0; width: auto; height: 44%; background: linear-gradient(transparent, rgba(24,17,19,.28)); border: 0; border-radius: 0; box-shadow: none; }
.article-card__visual--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.article-card__visual--image img.article-image--placeholder,
.feed-post__image img.article-image--placeholder,
.article-cover img.article-image--placeholder { object-fit: contain; object-position: center; padding: clamp(24px, 7%, 72px); background: #eaf2ff; }
.article-card:hover .article-card__visual--image img { transform: scale(1.035); }
.article-card:hover .article-card__visual--image img.article-image--placeholder,
.feed-post:hover .feed-post__image img.article-image--placeholder { transform: none; }
.article-card__body { align-self: center; padding: 30px; }
.article-meta { margin: 0 0 14px !important; color: #7d898e !important; font-size: .68rem !important; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.article-meta span { display: inline-block; width: 3px; height: 3px; margin: 0 7px 2px; background: var(--brown-500); border-radius: 50%; }
.article-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.article-card h3 a:hover { color: var(--brown-700); }
.article-card__body > p:not(.article-meta) { color: var(--muted); font-size: .85rem; }
.article-card .text-link { margin-top: 9px; font-size: .78rem; }

.contact-section { padding-top: 25px; }
.contact-card { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; overflow: hidden; padding: 76px; color: white; background: linear-gradient(125deg, var(--navy-950), var(--navy-900)); box-shadow: var(--shadow); }
.contact-card::after { content: "§"; position: absolute; right: 35px; bottom: -115px; color: rgba(255,255,255,.035); font-family: var(--serif); font-size: 18rem; line-height: 1; }
.contact-card h2 { color: white; }
.contact-card__content > p:last-child { max-width: 470px; margin: 22px 0 0; color: rgba(255,255,255,.68); line-height: 1.75; }
.contact-form { display: grid; gap: 19px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form label { color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 0; color: white; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 0; outline: none; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold-300); }
.contact-form .button { justify-self: start; }
.form-status { min-height: 24px; margin: 0; color: var(--gold-300); font-size: .78rem; }
.contact-details { display: grid; align-content: center; gap: 10px; }
.contact-details a { color: white; font-family: var(--serif); font-size: 1.45rem; }
.contact-details p { color: rgba(255,255,255,.72); }
.contact-phone-line { display: flex; align-items: center; gap: 14px; }
.contact-phone-line > a:first-child { min-width: 0; }
.whatsapp-badge { display: inline-flex; align-items: center; color: white !important; background: transparent; border: 0; transition: transform 180ms cubic-bezier(.23,1,.32,1), opacity 180ms ease; }
.whatsapp-badge svg { width: 24px; height: 24px; fill: currentColor; }
.whatsapp-badge:hover { color: white !important; background: transparent; opacity: .72; transform: translateY(-2px); }

.site-footer { padding-top: 75px; color: rgba(255,255,255,.65); background: var(--navy-950); }
.footer__grid { display: grid; grid-template-columns: 1.6fr .8fr 1fr; gap: 90px; padding-bottom: 60px; }
.brand--footer { color: white; }
.brand--footer small, .brand--footer .brand__foundation { color: white; }
.brand--footer .brand__mark img { content: url("../assets/curialex_white.svg?v=1"); }
.footer__grid > div:first-child p { max-width: 330px; }
.footer__grid h3 { margin: 7px 0 18px; color: white; font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; }
.footer__grid a, .footer__grid span { display: block; margin: 8px 0; font-size: .82rem; }
.footer__grid a:hover { color: white; }
.social-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__grid .social-link { display: inline-flex; align-items: center; gap: 11px; margin: 0; }
.footer__grid .social-link::before { content: ""; width: 32px; height: 32px; display: block; flex: 0 0 32px; background-color: #60a5fa; border: 1px solid rgba(96,165,250,.3); border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 14px; transition: background-color .24s ease, border-color .24s ease, transform .24s ease, box-shadow .24s ease; }
.footer__grid .social-link[href*="youtube.com"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23171922' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8ZM9.6 15.6V8.4l6.3 3.6-6.3 3.6Z'/%3E%3C/svg%3E"); }
.footer__grid .social-link[href*="facebook.com"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23171922' d='M14 8h3V4.5c-.7-.1-2-.2-3.3-.2-3.2 0-5.4 1.9-5.4 5.5V13H5v4h3.3v7h4v-7h3.4l.6-4h-4v-2.8c0-1.2.4-2.2 1.7-2.2Z'/%3E%3C/svg%3E"); }
.footer__grid .social-link[href*="instagram.com"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23171922' fill-rule='evenodd' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm6.25-2.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z'/%3E%3C/svg%3E"); }
.footer__grid .social-link:hover::before { transform: translateY(-3px) scale(1.06); }
.footer__grid .social-link[href*="youtube.com"]:hover::before { background-color: #ff0000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8ZM9.6 15.6V8.4l6.3 3.6-6.3 3.6Z'/%3E%3C/svg%3E"); border-color: #ff0000; box-shadow: 0 7px 18px rgba(255,0,0,.28); }
.footer__grid .social-link[href*="facebook.com"]:hover::before { background-color: #1877f2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M14 8h3V4.5c-.7-.1-2-.2-3.3-.2-3.2 0-5.4 1.9-5.4 5.5V13H5v4h3.3v7h4v-7h3.4l.6-4h-4v-2.8c0-1.2.4-2.2 1.7-2.2Z'/%3E%3C/svg%3E"); border-color: #1877f2; box-shadow: 0 7px 18px rgba(24,119,242,.3); }
.footer__grid .social-link[href*="instagram.com"]:hover::before { background-color: #d62976; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' fill-rule='evenodd' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm6.25-2.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z'/%3E%3C/svg%3E"), radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); background-position: center, center; background-size: 14px, 100% 100%; background-repeat: no-repeat; border-color: #d62976; box-shadow: 0 7px 18px rgba(214,41,118,.34); }
.footer__bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; }
.footer__credit a { color: #93c5fd; font-weight: 700; transition: color .2s ease; }
.footer__credit a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer__credit a:focus-visible { color: white; outline: 2px solid #93c5fd; outline-offset: 4px; border-radius: 2px; }

.page-hero, .article-hero { position: relative; overflow: hidden; padding: 105px 0; color: rgba(255,255,255,.78); background: radial-gradient(circle at 90% 16%, rgba(96,165,250,.3), transparent 26%), linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 72%); }
.courses-hero { min-height: 440px; display: grid; align-items: center; isolation: isolate; padding-block: 0; background: var(--navy-950); }
.courses-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,26,61,.9) 0%, rgba(7,26,61,.68) 45%, rgba(7,26,61,.18) 100%); pointer-events: none; }
.page-hero.courses-hero::after { content: none; }
.courses-hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.courses-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; animation: courses-hero-crossfade 18s linear infinite both; will-change: opacity; }
.courses-hero__slide::before, .courses-hero__slide::after { content: none; }
.courses-hero__slide img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.courses-hero__slide:nth-child(1) img { object-position: center 35%; }
.courses-hero__slide:nth-child(2) img { object-position: center 42%; }
.courses-hero__slide:nth-child(3) img { object-position: center 48%; }
.courses-hero__slide:nth-child(1) { animation-delay: 0s; }
.courses-hero__slide:nth-child(2) { animation-delay: -12s; }
.courses-hero__slide:nth-child(3) { animation-delay: -6s; }
.courses-hero__content { position: relative; z-index: 2; padding-block: 90px; }
.courses-hero__content h1 { max-width: 620px; margin: 0; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
@keyframes courses-hero-crossfade {
  0%, 27% { opacity: 1; }
  33%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
.exams-hero { min-height: 440px; display: grid; align-items: center; isolation: isolate; padding-block: 0; background: var(--navy-950); }
.exams-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,26,61,.92) 0%, rgba(7,26,61,.68) 44%, rgba(7,26,61,.14) 100%); pointer-events: none; }
.page-hero.exams-hero::after { content: none; }
.exams-hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.exams-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; animation: exams-hero-crossfade 24s linear infinite both; will-change: opacity; }
.exams-hero__slide::before, .exams-hero__slide::after { content: none; }
.exams-hero__slide img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.exams-hero__slide:nth-child(1) { animation-delay: 0s; }
.exams-hero__slide:nth-child(2) { animation-delay: -18s; }
.exams-hero__slide:nth-child(3) { animation-delay: -12s; }
.exams-hero__slide:nth-child(4) { animation-delay: -6s; }
.exams-hero__content { position: relative; z-index: 2; padding-block: 90px; }
.exams-hero__content h1 { max-width: 620px; margin: 0; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.exams-hero__content > p:last-child { max-width: 680px; margin: 25px 0 0; color: rgba(255,255,255,.84); font-size: 1.05rem; line-height: 1.65; }
@keyframes exams-hero-crossfade {
  0%, 20% { opacity: 1; }
  25%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
.publish-hero { padding-block: 62px; }
.publish-hero .eyebrow { margin-bottom: 12px; }
.publish-hero h1 { font-size: clamp(2.5rem, 4.25vw, 4.15rem); line-height: 1; }
.page-hero::after, .article-hero::after { content: "§"; position: absolute; right: 7%; top: -65px; color: rgba(255,255,255,.035); font-family: var(--serif); font-size: 17rem; line-height: 1; }
.page-hero h1, .article-hero h1 { max-width: 900px; color: white; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.page-hero > .container > p:last-child { max-width: 680px; margin: 25px 0 0; font-size: 1.05rem; }
.filter-bar { display: flex; gap: 8px; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.filter-bar button { flex: 0 0 auto; padding: 9px 17px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 30px; font-size: .76rem; font-weight: 700; }
.filter-bar button:hover, .filter-bar button.is-active { color: white; background: var(--navy-900); border-color: var(--navy-900); }
.empty-state { padding: 40px; text-align: center; color: var(--muted); }
.pending-state { min-height: 280px; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); background: rgba(255,255,255,.58); border: 1px solid rgba(37,99,235,.1); border-radius: 18px; text-align: center; }
.pending-state span { color: rgba(37,99,235,.14); font-family: var(--serif); font-size: 5rem; line-height: 1; }
.pending-state p { margin: 0; color: var(--brown-700); font-size: .76rem; font-weight: 800; letter-spacing: .2em; }
.publish-access { padding-block: 72px 112px; background: linear-gradient(180deg, #e8effc 0%, var(--paper) 380px); }
.publish-hero .container > p:last-child { margin-top: 14px; color: rgba(255,255,255,.8); }
.feed-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 1000px; margin: 0 auto 72px; }
.feed-pagination button { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; color: var(--navy-900); background: white; border: 1px solid rgba(37,99,235,.16); border-radius: 12px; font-size: .82rem; font-weight: 750; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.feed-pagination button:hover:not(:disabled):not(.is-active) { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-1px); }
.feed-pagination button.is-active { color: white; background: var(--blue-600); border-color: var(--blue-600); box-shadow: 0 8px 18px rgba(37,99,235,.24); }
.feed-pagination button:disabled { opacity: .4; cursor: default; }
.publish-articles[hidden] + .feed-pagination { display: none; }
.publish-heading { max-width: 900px; display: flex; align-items: flex-start; flex-direction: column; gap: 24px; margin-bottom: 28px; }
.publish-heading h2 { margin: 0 0 12px; color: var(--navy-950); font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.publish-heading p { max-width: 680px; margin: 0; color: var(--muted); }
.publish-heading__actions { display: flex; flex: 0 0 auto; gap: 12px; }
.publish-heading__actions .button { border-radius: 7px; white-space: nowrap; }
.member-identity { max-width: 1000px; display: flex; align-items: center; gap: 12px; margin: 0 auto 28px; padding: 13px 16px; color: var(--navy-900); background: rgba(255,255,255,.78); border: 1px solid rgba(37,99,235,.12); border-radius: 10px; box-shadow: 0 5px 18px rgba(7,26,61,.04); }
.member-identity:not([hidden]) { animation: member-identity-in .52s cubic-bezier(.22,1,.36,1) both; }
.member-identity > span { width: 39px; height: 39px; display: grid; flex: 0 0 auto; place-items: center; color: white; background: linear-gradient(145deg, var(--navy-900), var(--navy-800)); border-radius: 50%; font-size: .7rem; font-weight: 800; }
.member-identity div { display: grid; line-height: 1.25; }
.member-identity small { color: var(--brown-700); font-size: .58rem; font-weight: 800; letter-spacing: .14em; }
.member-identity strong { margin-top: 3px; font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.member-identity .member-identity__actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.member-identity__actions .button { min-height: 39px; padding-inline: 15px; border-radius: 6px; font-size: .66rem; }
.member-identity:not([hidden]) [data-open-editor] { animation: editor-button-nudge .55s cubic-bezier(.22,1,.36,1) .48s backwards; }
@keyframes member-identity-in {
  from { opacity: 0; transform: translateY(-9px) scale(.985); box-shadow: 0 2px 8px rgba(7,26,61,0); }
  70% { box-shadow: 0 10px 26px rgba(43,59,209,.12); }
  to { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 5px 18px rgba(7,26,61,.04); }
}
@keyframes editor-button-nudge {
  0%, 100% { transform: translateY(0); }
  38% { transform: translateY(-5px); }
  68% { transform: translateY(1px); }
}
.publish-articles { max-width: 1000px; display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0 auto 26px; }
.js .publish-articles .feed-post { opacity: 0; transform: translateY(24px) scale(.99); }
.page-ready .publish-articles .feed-post { animation: feed-post-in .58s cubic-bezier(.22,1,.36,1) forwards; }
.page-ready .publish-articles .feed-post:nth-child(2) { animation-delay: .1s; }
.page-ready .publish-articles .feed-post:nth-child(3) { animation-delay: .2s; }
.page-ready .publish-articles .feed-post:nth-child(4) { animation-delay: .3s; }
.auth-open { overflow: hidden; }
.auth-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 28px; overflow-y: auto; background: rgba(7,26,61,.76); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); animation: auth-backdrop-in .25s ease both; }
.auth-modal .login-panel { width: min(940px, 100%); max-height: calc(100vh - 56px); overflow-y: auto; animation: auth-panel-in .35s cubic-bezier(.22,1,.36,1) both; }
.feed-post { overflow: hidden; background: white; border: 1px solid rgba(37,99,235,.14); border-radius: 10px; box-shadow: 0 5px 18px rgba(7,26,61,.045); transition: border-color .2s, box-shadow .2s, transform .2s; }
.feed-post:hover { border-color: rgba(43,59,209,.35); box-shadow: 0 10px 28px rgba(7,26,61,.09); transform: translateY(-2px); }
.feed-post__image { height: clamp(230px, 34vw, 430px); display: block; overflow: hidden; background: #eaf2ff; }
.feed-post__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.feed-post:hover .feed-post__image img { transform: scale(1.025); }
.feed-post__content { min-width: 0; padding: 22px 26px 16px; }
.feed-post__topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 7px; }
.feed-post__meta { margin: 0 0 6px; color: #95898c; font-size: .69rem; }
.feed-post__topline .feed-post__meta { margin: 0; }
.feed-post__meta span { color: var(--brown-700); font-weight: 800; }
.feed-post__resource { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .025em; }
.feed-post__resource--link { color: var(--brown-700); background: rgba(43,59,209,.08); border: 1px solid rgba(43,59,209,.14); }
.feed-post__resource--file { color: var(--navy-800); background: #edf5ff; border: 1px solid rgba(18,74,145,.15); }
.feed-post h3 { margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.28; }
.feed-post h3 a:hover { color: var(--brown-700); }
.feed-post__excerpt { display: -webkit-box; margin: 10px 0 14px; overflow: hidden; color: var(--muted); font-size: .92rem; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.feed-post__details { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.15fr; margin: 18px 0 14px; padding: 15px 0; border-top: 1px solid rgba(37,99,235,.1); border-bottom: 1px solid rgba(37,99,235,.1); }
.feed-post__details > div { min-width: 0; padding: 0 15px; border-left: 1px solid rgba(37,99,235,.1); }
.feed-post__details > div:first-child { padding-left: 0; border-left: 0; }
.feed-post__details dt { margin-bottom: 5px; color: #8a959b; font-size: .59rem; font-weight: 800; letter-spacing: .065em; line-height: 1.25; text-transform: uppercase; }
.feed-post__details dd { margin: 0; overflow-wrap: anywhere; color: var(--navy-900); font-size: .77rem; font-weight: 700; line-height: 1.35; }
.feed-post__actions { display: flex; flex-wrap: wrap; gap: 5px; }
.feed-post__actions a, .feed-post__actions button { padding: 6px 9px; color: var(--muted); background: transparent; border: 0; border-radius: 5px; font-size: .7rem; font-weight: 750; }
.feed-post__actions a:hover, .feed-post__actions button:hover { color: var(--navy-900); background: #eff6ff; }
.feed-post__actions .feed-post__resource-action { color: var(--navy-900); background: rgba(43,59,209,.065); }
.feed-post__actions .feed-post__resource-action:hover { color: white; background: var(--navy-800); }
.feed-post__actions .feed-post__like { display: inline-flex; align-items: center; gap: 5px; }
.feed-post__like span { color: #3b82f6; font-size: 1rem; line-height: 1; }
.feed-post__like strong { font-size: .7rem; }
.feed-post__like.is-active { color: #1d4ed8; background: rgba(29,78,216,.09); }
.feed-post__like.is-active span { color: #2563eb; }
.feed-post__actions [data-comments-toggle].is-active { color: var(--navy-900); background: #eff6ff; }
.feed-post__actions [data-comments-toggle] strong { font-size: inherit; }
.feed-comments { margin-top: 12px; padding: 16px 18px; background: #f5f9ff; border-top: 1px solid rgba(37,99,235,.11); border-radius: 8px; }
.feed-comments:not([hidden]) { animation: comments-open .3s ease both; }
.feed-comment { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
.feed-comment + .feed-comment { border-top: 1px solid rgba(37,99,235,.08); }
.feed-comment > span { width: 31px; height: 31px; display: grid; place-items: center; color: white; background: var(--navy-800); border-radius: 50%; font-size: .62rem; font-weight: 800; }
.feed-comment p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.feed-comment p:first-child { margin-bottom: 3px; color: #95898c; font-size: .67rem; }
.feed-comment p strong { color: var(--navy-900); }
.feed-comment--new { animation: comment-in .35s ease both; }
.feed-comment-form { display: flex; gap: 8px; margin-top: 12px; }
.feed-comment-form input { min-width: 0; flex: 1; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid rgba(37,99,235,.16); border-radius: 6px; outline: none; }
.feed-comment-form input:focus { border-color: var(--brown-500); box-shadow: 0 0 0 3px rgba(43,59,209,.08); }
.feed-comment-form button { padding: 0 15px; color: white; background: var(--navy-800); border: 0; border-radius: 6px; font-size: .66rem; font-weight: 800; }
@keyframes comment-in {
  from { opacity: 0; transform: translateY(7px); }
}
@keyframes comments-open {
  from { opacity: 0; transform: translateY(-5px); }
}
@keyframes feed-post-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.login-panel { max-width: 940px; display: grid; grid-template-columns: .9fr 1.1fr; margin: auto; overflow: hidden; background: white; border: 1px solid rgba(37,99,235,.11); border-radius: 24px; box-shadow: var(--shadow); }
.auth-panel { scroll-margin-top: 120px; }
.login-panel__intro { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 58px 50px; overflow: hidden; color: rgba(255,255,255,.72); background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.login-panel__intro > * { position: relative; z-index: 1; }
.login-panel__intro > p:first-of-type, .author-panel__header p { margin: 0 0 12px; color: var(--gold-300); font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.login-panel__intro h2, .author-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; line-height: 1.05; }
.login-panel__intro h2 { color: white; }
.login-panel__intro > p:last-child { margin: 22px 0 0; }
.login-form, .article-editor { display: grid; gap: 22px; padding: 58px 54px; }
.login-form label, .article-editor label { color: var(--navy-900); font-size: .75rem; font-weight: 750; letter-spacing: .035em; }
.login-form input, .article-editor input, .article-editor select, .article-editor textarea { width: 100%; margin-top: 8px; padding: 14px 15px; color: var(--ink); background: var(--paper); border: 1px solid rgba(37,99,235,.16); border-radius: 8px; outline: none; transition: border-color .2s, box-shadow .2s; }
.login-form input:focus, .article-editor input:focus, .article-editor select:focus, .article-editor textarea:focus { border-color: var(--brown-500); box-shadow: 0 0 0 3px rgba(37,99,235,.09); }
.login-form .button { justify-self: stretch; margin-top: 5px; border-radius: 7px; }
.login-form__status, .article-editor__actions p { min-height: 20px; margin: 0; color: var(--brown-700); font-size: .78rem; }
.login-form__status.is-error { color: #dc2626; font-weight: 650; }
.login-form__status.is-success { color: #15803d; font-weight: 650; }
.auth-modal.is-authenticated .login-panel { animation: auth-success-panel .7s cubic-bezier(.22,1,.36,1) both; }
.auth-modal.is-authenticated .login-form__status { width: fit-content; display: flex; align-items: center; gap: 9px; padding: 8px 13px; color: var(--navy-800); background: #eff6ff; border: 1px solid rgba(37,99,235,.18); border-radius: 999px; animation: auth-success-message .52s cubic-bezier(.22,1,.36,1) both; }
.auth-modal.is-authenticated .login-form__status::before { content: "✓"; width: 22px; height: 22px; display: grid; flex: 0 0 22px; place-items: center; color: white; background: var(--blue-600); border-radius: 50%; font-size: .75rem; animation: auth-success-check .75s ease-out .12s both; }
.auth-modal.is-closing { pointer-events: none; animation: auth-backdrop-out .4s ease forwards; }
.auth-modal.is-closing .login-panel { animation: auth-panel-out .4s cubic-bezier(.4,0,1,1) forwards; }
@keyframes auth-success-panel {
  0%, 100% { box-shadow: 0 24px 70px rgba(7,26,61,.3); }
  50% { box-shadow: 0 24px 75px rgba(46,125,80,.36), 0 0 30px rgba(46,125,80,.16), 0 0 0 3px rgba(46,125,80,.16); }
}
@keyframes auth-success-message {
  from { opacity: 0; transform: translateY(7px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auth-success-check {
  0% { opacity: 0; transform: scale(.55); box-shadow: 0 0 0 0 rgba(46,125,80,.3); }
  55% { opacity: 1; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(46,125,80,.08); }
  100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(46,125,80,0); }
}
@keyframes auth-backdrop-out {
  to { opacity: 0; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
}
@keyframes auth-panel-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-6px) scale(.99); }
}
.login-form small { color: var(--muted); line-height: 1.5; text-align: center; }
.auth-panel__switch { justify-self: center; padding: 7px 10px; color: var(--muted); background: transparent; border: 0; border-radius: 6px; font-size: .78rem; }
.auth-panel__switch strong { color: var(--brown-700); }
.auth-panel__switch:hover { color: var(--navy-900); background: var(--brown-100); }
.auth-modal .login-panel { position: relative; width: min(980px, 100%); max-width: 980px; grid-template-columns: .94fr 1.06fr; min-height: 620px; border: 0; box-shadow: 0 30px 80px rgba(7,26,61,.28); }
.auth-modal .login-panel__intro { justify-content: center; padding: 38px 42px; background: radial-gradient(circle at 85% 8%, rgba(96,165,250,.28), transparent 34%), linear-gradient(150deg, var(--blue-600), var(--navy-950) 74%); }
.auth-modal .login-panel__intro > h2 { max-width: 350px; margin-top: 0; font-size: clamp(2.05rem, 3.1vw, 2.9rem); letter-spacing: -.045em; }
.auth-modal .login-panel__intro > h2::after { content: "."; color: #93c5fd; }
.auth-modal .login-panel__intro > p { max-width: 360px; margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 400; letter-spacing: normal; line-height: 1.6; }
.auth-brand { display: flex; align-items: center; gap: 12px; }
.auth-modal .login-panel__intro > .auth-brand { position: absolute; top: 38px; left: 42px; }
.auth-brand > span { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; }
.auth-brand img { width: 34px; height: 34px; object-fit: contain; }
.auth-brand strong { color: white; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; letter-spacing: .02em; }
.auth-brand small { display: block; margin-top: 2px; color: rgba(255,255,255,.62); font-family: var(--sans); font-size: .5rem; letter-spacing: .16em; }
.auth-benefits { display: grid; gap: 10px; margin-top: 24px; }
.auth-benefits p { display: flex; align-items: center; gap: 10px; margin: 0 !important; color: rgba(255,255,255,.82) !important; font-size: .76rem; }
.auth-benefits p span { width: 22px; height: 22px; display: grid; flex: 0 0 22px; place-items: center; color: var(--navy-900); background: #dbeafe; border-radius: 50%; font-size: .65rem; font-weight: 900; }
.auth-trust { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.auth-trust span { color: #fbbf24; font-size: .72rem; letter-spacing: .08em; }
.auth-trust small { color: rgba(255,255,255,.62); font-size: .67rem; }
.auth-modal .login-form { position: relative; align-content: center; gap: 16px; padding: 0; }
.auth-tabs { position: relative; display: flex; gap: 4px; isolation: isolate; margin-bottom: 20px; padding: 4px; background: #eef1f5; border-radius: 999px; }
.auth-tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; z-index: 0; width: calc((100% - 12px) / 2); background: white; border-radius: 999px; box-shadow: 0 3px 10px rgba(7,26,61,.08); transform: translateX(0); transition: transform 220ms cubic-bezier(.77,0,.175,1), box-shadow 180ms ease; }
.auth-tabs.is-register::before { transform: translateX(calc(100% + 4px)); }
.auth-tabs button { position: relative; z-index: 1; min-height: 40px; flex: 1; padding: 8px 12px; color: #6b788c; background: transparent; border: 0; border-radius: 999px; font-size: .76rem; font-weight: 800; transition: color 180ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
.auth-tabs button.is-active { color: var(--navy-950); background: transparent; box-shadow: none; }
.auth-tabs button:active { transform: scale(.97); }
.auth-form__heading { margin: 5px 0 4px; }
.auth-form__heading h2 { margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: 1.65rem; font-weight: 600; letter-spacing: -.025em; }
.auth-form__heading p { margin: 6px 0 0; color: var(--muted); font-size: .8rem; }
.auth-modal .login-form > label, .auth-modal .login-form .auth-field-row label { display: block; color: #36404f; font-size: .72rem; font-weight: 800; letter-spacing: 0; }
.auth-label__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.auth-forgot { color: var(--blue-600); font-size: .67rem; font-weight: 700; text-align: right; transition: color .2s ease; }
.auth-forgot:hover { color: var(--navy-950); text-decoration: underline; }
.auth-field__control { position: relative; display: block; margin-top: 7px; }
.auth-field__control > svg { position: absolute; top: 50%; left: 14px; z-index: 1; width: 17px; height: 17px; fill: none; stroke: #98a4b6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: translateY(-50%); pointer-events: none; }
.auth-modal .login-form .auth-field__control input { margin: 0; padding: 13px 14px 13px 43px; background: white; border-color: #e2e7ee; border-radius: 12px; font-size: .86rem; }
.auth-modal .login-form .auth-field__control input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37,99,235,.13); }
.auth-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-modal .login-form .auth-field__control select { width: 100%; margin: 0; padding: 13px 34px 13px 43px; color: var(--ink); background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a4b6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 15px; border: 1px solid #e2e7ee; border-radius: 12px; outline: none; font: inherit; font-size: .86rem; appearance: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s; }
.auth-modal .login-form .auth-field__control select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37,99,235,.13); }
.auth-modal .login-form .auth-field__control select:invalid { color: #98a4b6; }
.auth-modal .login-form > .auth-remember { display: flex; align-items: center; gap: 9px; width: fit-content; color: #526076; font-size: .71rem; font-weight: 650; cursor: pointer; }
.auth-modal .auth-remember input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; padding: 0; accent-color: var(--blue-600); box-shadow: none; }
.auth-modal .auth-remember input:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.auth-modal .login-form > .button { min-height: 48px; display: flex; justify-content: center; gap: 10px; margin-top: 3px; background: var(--blue-600); border-color: var(--blue-600); border-radius: 12px; box-shadow: 0 10px 24px rgba(37,99,235,.22); }
.auth-modal .login-form > .button:hover { background: var(--navy-800); border-color: var(--navy-800); }
.auth-modal .login-form > .button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.auth-modal .login-form > .button:hover svg { transform: translateX(3px); }
.auth-community-proof { display: flex; align-items: center; gap: 9px; margin: -2px 0 0; padding: 10px 12px; color: #69778c; background: #f4f7fc; border: 1px solid #e5ebf4; border-radius: 9px; font-size: .66rem; line-height: 1.45; }
.auth-community-proof::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; background: var(--blue-600); border-radius: 50%; box-shadow: 0 0 0 4px rgba(37,99,235,.1); }
.auth-modal .login-form > small { color: #98a4b6; font-size: .67rem; }
.auth-modal .auth-legal { max-width: 320px; justify-self: center; line-height: 1.55; }
.auth-modal .auth-panel__switch { justify-self: center; margin-top: -2px; padding: 2px 6px; color: #6b788c; background: transparent; font-size: .72rem; }
.auth-modal .auth-panel__switch strong { color: var(--blue-600); font-weight: 750; }
.auth-modal .auth-panel__switch:hover { color: var(--navy-950); background: transparent; text-decoration: underline; }
.auth-panel__close { position: absolute; z-index: 6; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; color: #6b788c; background: white; border: 1px solid #e2e7ee; border-radius: 50%; }
.auth-panel__close:hover { color: var(--navy-950); background: #eef1f5; }
.auth-panel__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.auth-form-col { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 38px 46px; }
.auth-stack { display: grid; }
.auth-stack > .auth-pane { grid-area: 1 / 1; transition: opacity 180ms ease, transform 240ms cubic-bezier(.23,1,.32,1); }
.auth-stack > .auth-pane[data-hidden] { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms ease, transform 220ms cubic-bezier(.23,1,.32,1), visibility 0s 220ms; }
.auth-pane--login[data-hidden] { transform: translateX(-20px); }
.auth-pane--register[data-hidden] { transform: translateX(20px); }
.auth-modal .login-panel__intro > h2, .auth-modal .login-panel__intro > p { transition: opacity .18s ease, transform .18s ease; }
.auth-modal.is-intro-fading .login-panel__intro > h2, .auth-modal.is-intro-fading .login-panel__intro > p { opacity: 0; transform: translateY(6px); }
@keyframes auth-backdrop-in {
  from { opacity: 0; }
}
@keyframes auth-panel-in {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
}
.author-panel { max-width: 1000px; margin: auto; overflow: hidden; background: white; border: 1px solid rgba(37,99,235,.11); border-radius: 24px; box-shadow: var(--shadow); }
.author-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 44px; color: white; background: linear-gradient(110deg, var(--navy-950), var(--navy-800)); }
.author-panel__header .text-link { color: white; background: none; border: 0; }
.author-panel__nav { display: flex; align-items: center; gap: 18px; }
.article-editor { padding: 44px; }
.article-editor textarea { min-height: 230px; resize: vertical; }
.article-media-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.article-editor .upload-field { display: flex; flex-direction: column; padding: 20px; background: #f5f9ff; border: 1px dashed rgba(43,59,209,.32); border-radius: 12px; transition: border-color .2s, background .2s; }
.article-editor .upload-field:hover { background: var(--brown-100); border-color: var(--brown-500); }
.article-editor .upload-field > span { margin-top: 4px; color: var(--muted); font-size: .67rem; font-weight: 500; letter-spacing: 0; }
.article-editor .upload-field input[type="file"] { margin-top: 15px; padding: 10px; background: white; border-radius: 8px; }
.article-editor .upload-field input[type="file"]::file-selector-button { margin-right: 10px; padding: 8px 11px; color: white; background: var(--brown-700); border: 0; border-radius: 6px; font-size: .68rem; font-weight: 750; cursor: pointer; }
.cover-preview { position: relative; overflow: hidden; background: #edf5ff; border-radius: 14px; }
.cover-preview img { width: 100%; max-height: 390px; object-fit: cover; }
.cover-preview span { position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 10px; overflow: hidden; color: white; background: rgba(24,17,19,.72); border-radius: 999px; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(8px); }
.attachments-preview { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.attachments-preview li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 11px 13px; background: #f8fbff; border: 1px solid var(--line); border-radius: 9px; }
.attachments-preview li span { padding: 3px 7px; color: var(--brown-700); background: var(--brown-100); border-radius: 999px; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.attachments-preview li strong { overflow: hidden; color: var(--ink); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.attachments-preview li small { color: var(--muted); font-size: .66rem; }
.article-editor__actions { display: flex; align-items: center; gap: 20px; }
.courses-programs { position: relative; isolation: isolate; overflow: hidden; background: #f3f6fb !important; }
.courses-programs::before { content: ""; position: absolute; top: 0; right: 0; z-index: -1; width: min(46vw, 720px); height: 500px; background: url("../assets/diplomado3.jpeg") center 34% / cover no-repeat; opacity: .055; filter: grayscale(1) contrast(.85); -webkit-mask-image: linear-gradient(135deg, transparent 8%, #000 62%, transparent 100%); mask-image: linear-gradient(135deg, transparent 8%, #000 62%, transparent 100%); pointer-events: none; }
.courses-programs > .container { position: relative; z-index: 1; }
.course-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 34px; }
.course-filters button { min-height: 36px; padding: 8px 13px; color: #53627a; background: rgba(255,255,255,.7); border: 1px solid #dbe4f1; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .025em; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
.course-filters button:active { transform: scale(.97); }
.course-filters button.is-active { color: white; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 7px 18px rgba(17,45,90,.14); }
.course-filters button:focus-visible { outline: 3px solid rgba(37,99,235,.24); outline-offset: 2px; }
.course-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 24px; }
.course { position: relative; width: 100%; min-height: 610px; display: flex; flex-direction: column; padding: 0 26px 25px; overflow: hidden; background: #fff; border: 1px solid #d9e1ec; border-radius: 10px; box-shadow: 0 12px 28px rgba(17,45,90,.1); font-size: .84rem; line-height: 1.5; transition: transform 220ms cubic-bezier(.23,1,.32,1), border-color 180ms ease, box-shadow 220ms ease; }
.course[hidden] { display: none; }
.course__visual { position: relative; min-height: 168px; display: flex; align-items: flex-start; margin: 0 -26px 27px; padding: 22px 24px; overflow: hidden; background: linear-gradient(135deg, #8d3f2d 0%, #c9783d 100%); border-bottom: 0; }
.course:nth-child(3n + 2) .course__visual { background: linear-gradient(135deg, #315b64 0%, #4f8a83 100%); }
.course:nth-child(3n) .course__visual { background: linear-gradient(135deg, #6c416c 0%, #a8687b 100%); }
.course[data-course-area="practica-juridica"] .course__visual { background: linear-gradient(135deg, #9b482f 0%, #c9793e 100%); }
.course[data-course-area="penal"] .course__visual { background: linear-gradient(135deg, #7d5438 0%, #b07a4b 100%); }
.course[data-course-area="persona-familia"] .course__visual, .course[data-course-area="civil-comercial"] .course__visual { background: linear-gradient(135deg, #74455e 0%, #a96b7d 100%); }
.course[data-course-area="laboral"] .course__visual, .course[data-course-area="seguridad-social"] .course__visual { background: linear-gradient(135deg, #426a5d 0%, #719178 100%); }
.course[data-course-area="migratorio"] .course__visual { background: linear-gradient(135deg, #a96735 0%, #d0914d 100%); }
.course[data-course-area="inmobiliario"] .course__visual { background: linear-gradient(135deg, #805149 0%, #b4775c 100%); }
.course[data-course-area="corporativo"] .course__visual, .course[data-course-area="internacional"] .course__visual { background: linear-gradient(135deg, #656049 0%, #988b61 100%); }
.course__visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(37,99,235,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.035) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%); mask-image: linear-gradient(90deg, #000, transparent 72%); }
.course .course__category { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; color: var(--navy-900); background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.76); border-radius: 999px; box-shadow: 0 6px 16px rgba(7,26,61,.12); font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.course__category::before { content: ""; width: 7px; height: 7px; background: var(--blue-600); border-radius: 50%; box-shadow: 0 0 0 4px rgba(37,99,235,.2); }
.course__area-icon { position: absolute; top: 42px; right: 22px; color: rgba(255,255,255,.72); transition: transform 220ms cubic-bezier(.23,1,.32,1), color 180ms ease; }
.course__area-icon svg { width: 78px; height: 78px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.course-list .course h2 { min-height: 58px; margin-bottom: 13px; font-size: clamp(1.16rem, 1.55vw, 1.48rem); line-height: 1.18; }
.course__price, .course__price--mobile { display: none; }
.course__description { min-height: 100px; margin: 0 0 23px; }
.course__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: auto 0 0; padding: 18px; background: #f7f9fc; border: 1px solid #dce5f1; border-radius: 8px; }
.course__details > div { min-width: 0; }
.course__details > div:last-child { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(23,74,150,.09); }
.course__details dt { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #76849a; font-size: .57rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.course__details dt svg { width: 13px; height: 13px; fill: none; stroke: var(--blue-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.course__details dd { margin: 0; color: var(--navy-900); font-size: .76rem; font-weight: 760; line-height: 1.35; }
.course__modality { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: .62rem; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.course__modality::before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.course__modality--hybrid { color: #174a96; background: #e9f0ff; }
.course__modality--presential { color: #365b72; background: #e8f1f5; }
.course__modality--virtual { color: #52529e; background: #eeeefe; }
.course__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e3eaf4; }
.course__investment span, .course__investment strong, .course__investment small { display: block; }
.course__investment span { margin-bottom: 3px; color: #7d899a; font-size: .56rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.course__investment strong { color: var(--navy-900); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.1; }
.course__investment small { margin-top: 4px; color: var(--muted); font-size: .48rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.course__contact { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 15px; color: white; background: var(--blue-600); border: 1px solid var(--blue-600); border-radius: 4px; font-size: .67rem; font-weight: 850; line-height: 1; text-decoration: none; text-transform: uppercase; transition: color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1), background-color 160ms ease, border-color 160ms ease, box-shadow 180ms ease; }
.course__contact span { color: var(--blue-600); font-size: .95rem; transition: color 160ms ease, transform 180ms cubic-bezier(.23,1,.32,1); }
.course__contact:active { transform: scale(.97); }
.course__contact:focus-visible { outline: 3px solid rgba(37,99,235,.24); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .course-filters button:hover { color: var(--navy-900); background: white; border-color: #b9ccea; }
  .course:hover { z-index: 1; transform: translateY(-3px); border-color: #b9ccea; box-shadow: 0 14px 34px rgba(17,45,90,.1); }
  .course:hover .course__area-icon { color: rgba(23,74,150,.19); transform: translate(-2px, 2px) scale(1.035); }
  .course__contact:hover { color: white; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 7px 18px rgba(17,45,90,.14); }
  .course__contact:hover span { color: white; transform: translateX(2px); }
}
.course-inquiry { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; overflow-y: auto; background: rgba(7,26,61,.68); opacity: 0; backdrop-filter: blur(7px); transition: opacity .22s ease; }
.course-inquiry[hidden] { display: none; }
.course-inquiry.is-open { opacity: 1; }
.course-inquiry-open { overflow: hidden; }
.course-inquiry__panel { position: relative; width: min(920px, 100%); display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; background: white; border-radius: 18px; box-shadow: 0 30px 80px rgba(3,15,39,.34); transform: translateY(18px) scale(.98); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.course-inquiry.is-open .course-inquiry__panel { transform: translateY(0) scale(1); }
.course-inquiry__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; color: var(--navy-900); background: white; border: 1px solid var(--line); border-radius: 50%; font-size: 1.45rem; line-height: 1; }
.course-inquiry__heading { position: relative; padding: 54px 42px; color: white; background: linear-gradient(145deg, var(--navy-950), var(--navy-900)); }
.course-inquiry__heading::after { content: "§"; position: absolute; right: 20px; bottom: -48px; color: rgba(255,255,255,.05); font-family: var(--serif); font-size: 11rem; line-height: 1; }
.course-inquiry__heading .eyebrow { color: #bfdbfe; }
.course-inquiry__heading h2 { position: relative; z-index: 1; margin: 24px 0 30px; color: white; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 500; line-height: 1.12; }
.course-inquiry__summary { position: relative; z-index: 1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.course-inquiry__summary span, .course-inquiry__summary strong { display: block; }
.course-inquiry__summary span { margin-bottom: 6px; color: rgba(255,255,255,.62); font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.course-inquiry__summary strong { color: #bfdbfe; font-family: var(--serif); font-size: 1.6rem; }
.course-inquiry__form { display: grid; gap: 17px; padding: 48px 46px 38px; }
.course-inquiry__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.course-inquiry__form label { color: #36404f; font-size: .7rem; font-weight: 800; }
.course-inquiry__form input, .course-inquiry__form select, .course-inquiry__form textarea { width: 100%; margin-top: 7px; padding: 12px 13px; color: var(--ink); background: #f8fafc; border: 1px solid #dfe5ec; border-radius: 8px; outline: none; font: inherit; font-size: .84rem; transition: border-color .2s, box-shadow .2s; }
.course-inquiry__form textarea { resize: vertical; }
.course-inquiry__form input:focus, .course-inquiry__form select:focus, .course-inquiry__form textarea:focus { background: white; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37,99,235,.11); }
.course-inquiry__form .button { justify-self: start; gap: 10px; }
.course-inquiry__note { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.course-inquiry__status { min-height: 20px; margin: -6px 0 0; color: var(--blue-600); font-size: .7rem; font-weight: 750; }
.exam-programs { position: relative; isolation: isolate; overflow: hidden; background: #f3f6fb !important; }
.exam-programs::before { content: ""; position: absolute; top: 0; right: 0; z-index: -1; width: min(46vw, 720px); height: 500px; background: url("../assets/examenes-hero-2.png") center / cover no-repeat; opacity: .04; filter: grayscale(1) contrast(.85); -webkit-mask-image: linear-gradient(135deg, transparent 8%, #000 62%, transparent 100%); mask-image: linear-gradient(135deg, transparent 8%, #000 62%, transparent 100%); pointer-events: none; }
.exam-programs > .container { position: relative; z-index: 1; }
.exam-list-heading { max-width: 860px; margin-bottom: 48px; }
.exam-list-heading p { max-width: 780px; margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.exam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 22px; }
.exam-card { position: relative; width: 100%; height: 190px; min-height: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto; align-items: start; padding: 0 20px 14px 0; overflow: hidden; background: white; border: 1px solid #d9e1ec; border-radius: 10px; box-shadow: 0 12px 28px rgba(17,45,90,.1); transition: transform 220ms cubic-bezier(.23,1,.32,1), border-color 180ms ease, box-shadow 220ms ease; }
.exam-card[hidden] { display: none; }
.exam-card__visual { position: relative; min-height: 100%; grid-column: 1; grid-row: 1 / -1; display: flex; align-items: center; justify-content: center; margin: 0 20px 0 0; padding: 20px 10px; overflow: hidden; background: var(--navy-900); border: 0; }
.exam-card__visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(37,99,235,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.035) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%); mask-image: linear-gradient(90deg, #000, transparent 72%); }
.exam-card__category { grid-column: 2; grid-row: 1; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin: 21px 0 7px; color: var(--navy-800); font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.exam-card__category::before { content: ""; width: 7px; height: 7px; background: var(--blue-600); border-radius: 50%; box-shadow: 0 0 0 5px rgba(37,99,235,.09); }
.exam-card__area-icon { position: relative; z-index: 1; color: rgba(255,255,255,.9); transition: transform 220ms cubic-bezier(.23,1,.32,1), color 180ms ease; }
.exam-card__area-icon svg { width: 78px; height: 78px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.exam-card h2 { grid-column: 2; grid-row: 2; min-height: 0; margin: 0 0 8px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(1.18rem, 1.55vw, 1.48rem); font-weight: 600; line-height: 1.18; }
.exam-card > p { grid-column: 2; grid-row: 4; min-height: 0; max-height: 26px; display: -webkit-box; align-self: start; margin: 0; overflow: hidden; color: var(--muted); font-size: .68rem; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.exam-card__meta { grid-column: 2; grid-row: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.exam-card__meta > div { display: flex; align-items: center; gap: 6px; }
.exam-card__meta > div:nth-child(3) { position: absolute; bottom: 12px; left: 96px; gap: 4px; }
.exam-card__meta > div:nth-child(3) dt { margin: 0; color: #7d899a; font-size: .4rem; letter-spacing: .04em; }
.exam-card__meta > div:nth-child(3) .exam-card__difficulty { padding: 3px 5px; font-size: .44rem; }
.exam-card__meta > div { min-width: 0; }
.exam-card__meta > div:last-child { padding-top: 0; border-top: 0; }
.exam-card__meta dt { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #76849a; font-size: .57rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.exam-card__meta dt svg { width: 13px; height: 13px; fill: none; stroke: var(--blue-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.exam-card__meta dd { margin: 0; color: var(--navy-900); font-size: .78rem; font-weight: 800; line-height: 1.35; }
.exam-card__difficulty { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: .62rem; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.exam-card__difficulty::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; background: currentColor; border-radius: 50%; }
.exam-card__difficulty--basic { color: #166534; background: #dcfce7; }
.exam-card__difficulty--intermediate { color: #695400; background: #fff4a8; }
.exam-card__difficulty--advanced { color: #991b1b; background: #fee2e2; }
.exam-card__footer { position: absolute; right: 20px; bottom: 12px; left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 0; padding-top: 0; border-top: 0; }
.exam-card__footer-label { color: #7d899a; font-size: .5rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.exam-card__footer-label { display: none; }
.exam-card__start { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; color: var(--navy-900); background: transparent; border: 1px solid var(--blue-600); border-radius: 4px; font-size: .58rem; font-weight: 850; line-height: 1; text-align: center; text-decoration: none; text-transform: uppercase; transition: color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1), background-color 160ms ease, border-color 160ms ease, box-shadow 180ms ease; }
.exam-card__start span { color: var(--blue-600); font-size: .95rem; transition: color 160ms ease, transform 180ms cubic-bezier(.23,1,.32,1); }
.exam-card__start:active { transform: scale(.97); }
.exam-card__start:focus-visible { outline: 3px solid rgba(37,99,235,.24); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .exam-card:hover { z-index: 1; transform: translateY(-3px); border-color: #b9ccea; box-shadow: 0 14px 34px rgba(17,45,90,.1); }
  .exam-card:hover .exam-card__area-icon { color: rgba(255,255,255,.98); transform: translate(-2px, 2px) scale(1.035); }
  .exam-card__start:hover { color: white; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 7px 18px rgba(17,45,90,.14); }
  .exam-card__start:hover span { color: white; transform: translateX(2px); }
}
.evaluation-page { min-height: 100vh; background: #f5f7fc; user-select: none; -webkit-user-select: none; }
.evaluation-page::before { content: "CURIA LEX · EVALUACIÓN · CURIA LEX · EVALUACIÓN"; position: fixed; top: 48%; left: 50%; z-index: 0; width: 120vw; color: rgba(37,99,235,.025); font-size: clamp(2rem, 5vw, 5rem); font-weight: 850; letter-spacing: .1em; text-align: center; transform: translate(-50%, -50%) rotate(-18deg); pointer-events: none; }
.evaluation-toolbar { position: sticky; top: 0; z-index: 20; min-height: 72px; display: flex; align-items: center; justify-content: flex-end; padding: 12px max(20px, calc((100vw - var(--max)) / 2)); background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(43,59,209,.12); box-shadow: 0 8px 28px rgba(8,13,59,.06); backdrop-filter: blur(16px); }
.evaluation-exit { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; color: white; background: var(--blue-600); border-radius: 999px; font-size: .72rem; font-weight: 850; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease, transform .2s ease; }
.evaluation-exit:hover { color: white; background: var(--navy-800); transform: translateX(-2px); }
.evaluation-section { position: relative; z-index: 1; padding-top: 48px; }
.evaluation-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 36px; }
.evaluation-intro { grid-column: 1 / -1; max-width: 820px; margin-bottom: 10px; }
.evaluation-intro p { margin: 0 0 10px; color: var(--blue-600); font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.evaluation-intro h1 { margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.evaluation-intro > span { display: block; margin-top: 17px; color: var(--muted); }
.evaluation-summary { position: sticky; top: 120px; padding: 25px; color: var(--muted); background: white; border: 1px solid rgba(43,59,209,.12); box-shadow: 0 14px 35px rgba(8,13,59,.055); }
.evaluation-summary span { display: block; margin-bottom: 14px; color: var(--blue-600); font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.evaluation-summary strong { display: block; color: var(--navy-900); font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.evaluation-summary p { margin: 14px 0 0; font-size: .78rem; line-height: 1.55; }
.evaluation-form { display: grid; gap: 18px; }
.evaluation-question { margin: 0; padding: 27px; background: white; border: 1px solid rgba(43,59,209,.12); box-shadow: 0 12px 30px rgba(8,13,59,.045); }
.evaluation-question legend { width: 100%; display: flex; align-items: flex-start; gap: 13px; padding: 0 0 18px; color: var(--navy-900); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.35; }
.evaluation-question legend span { flex: 0 0 auto; color: var(--blue-600); font-family: var(--sans); font-size: .7rem; font-weight: 850; }
.evaluation-question label { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 11px 13px; color: var(--muted); background: #f8fbff; border: 1px solid transparent; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.evaluation-question label:hover { background: white; border-color: rgba(43,59,209,.22); }
.evaluation-question input { accent-color: var(--blue-600); }
.evaluation-submit { width: fit-content; margin-top: 8px; }
.evaluation-result { padding: 25px; color: var(--muted); background: #eef8f2; border: 1px solid rgba(37,170,94,.2); }
.evaluation-result strong { color: #157a3d; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.evaluation-result p { margin: 8px 0 0; }
.exam-security-notice { position: fixed; right: 20px; bottom: 20px; z-index: 100; max-width: min(390px, calc(100vw - 40px)); padding: 14px 18px; color: white; background: rgba(7,26,61,.96); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: 0 18px 45px rgba(7,26,61,.24); opacity: 0; transform: translateY(10px); transition: opacity .22s ease, transform .28s cubic-bezier(.22,1,.36,1); }
.exam-security-notice.is-visible { opacity: 1; transform: translateY(0); }
.exam-print-warning { display: none; }
.course h2, .profile h2, .contact-page h2 { margin: 0 0 18px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.2; }
.course p, .course li, .profile p { color: var(--muted); }
.course li { margin-bottom: 7px; }
.profile-grid { max-width: 1060px; display: grid; grid-template-columns: 1fr; gap: 32px; }
.profile { position: relative; padding: 28px 0 44px; }
.profile::before { content: ""; position: absolute; top: 74px; right: 4%; bottom: 0; left: 8%; z-index: 0; background: rgba(225,229,248,.72); border: 1px solid rgba(43,59,209,.08); border-radius: 30px; }
.profile__photo { position: relative; z-index: 1; width: auto; max-width: 48%; max-height: 460px; display: block; border-radius: 26px; box-shadow: 0 18px 45px rgba(8,29,43,.16); }
.profile__content { position: relative; z-index: 2; width: 63%; margin: -145px 0 0 auto; padding: 42px 46px; background: rgba(255,254,254,.97); border: 1px solid rgba(43,59,209,.12); border-radius: 22px; box-shadow: 0 18px 45px rgba(8,13,59,.13); backdrop-filter: blur(8px); }
.profile__content::before { content: "§"; position: absolute; top: 20px; right: 26px; color: rgba(37,99,235,.045); font-family: var(--serif); font-size: 7rem; line-height: 1; pointer-events: none; }
.profile__content .eyebrow { position: relative; z-index: 1; }
.profile__content h2 { position: relative; z-index: 1; }
.profile__content > p:last-child { position: relative; z-index: 1; margin-bottom: 0; }
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.link-grid a { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; color: var(--navy-900); background: white; font-weight: 750; transition: color .28s ease, background-color .28s ease, transform .28s ease, box-shadow .28s ease; }
.link-grid a:hover { position: relative; z-index: 1; color: white; background: var(--navy-900); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(8,29,43,.16); }
.link-grid span { display: inline-block; color: var(--brown-500); font-family: var(--serif); font-size: 1.3rem; line-height: 1; transition: color .28s ease, transform .28s cubic-bezier(.22,1,.36,1); }
.link-grid a:hover span { color: #bfdbfe; transform: translate(5px,-5px); }
.institutional-links { background: linear-gradient(180deg, #f5f8fd 0%, var(--paper) 320px); }
.link-search { max-width: 820px; margin: 0 auto 36px; }
.link-search > label { display: block; margin-bottom: 10px; color: var(--navy-900); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.link-search__field { position: relative; display: flex; align-items: center; overflow: hidden; background: white; border: 1px solid #ccd9ea; border-radius: 10px; box-shadow: 0 10px 28px rgba(17,45,90,.065); transition: border-color .2s ease, box-shadow .2s ease; }
.link-search__field:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37,99,235,.1), 0 12px 30px rgba(17,45,90,.08); }
.link-search__field > svg { width: 21px; height: 21px; flex: 0 0 auto; margin-left: 20px; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; }
.link-search__field input { width: 100%; min-width: 0; height: 62px; padding: 0 16px; color: var(--navy-950); background: transparent; border: 0; outline: 0; font-size: .94rem; }
.link-search__field input::placeholder { color: #8a96a7; }
.link-search__field input::-webkit-search-cancel-button { display: none; }
.link-search__field button { flex: 0 0 auto; margin-right: 10px; padding: 9px 12px; color: var(--blue-600); background: #edf3fd; border: 0; border-radius: 6px; font-size: .65rem; font-weight: 800; text-transform: uppercase; transition: color .18s ease, background-color .18s ease; }
.link-search__field button:hover { color: white; background: var(--navy-800); }
.link-search__status { min-height: 18px; margin: 10px 2px 0; color: var(--muted); font-size: .7rem; }
.link-grid a[hidden] { display: none; }
.link-search__empty { padding: 52px 24px; color: var(--muted); background: white; border: 1px solid var(--line); text-align: center; }
.link-search__empty strong, .link-search__empty span { display: block; }
.link-search__empty strong { margin-bottom: 7px; color: var(--navy-900); font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.link-search__empty span { font-size: .82rem; }
.social-page main > .section { padding-block: 72px; }
.social-platform-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 18px; color: white; border-radius: 16px; }
.social-platform-icon svg { width: 30px; height: 30px; display: block; fill: currentColor; }
#youtube .social-platform-icon { background: #ff0000; box-shadow: 0 14px 34px rgba(255,0,0,.2); }
#instagram .social-platform-icon { background: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 58%, #962fbf 78%, #4f5bd5); box-shadow: 0 14px 34px rgba(214,41,118,.22); }
#facebook .social-platform-icon { background: #1877f2; box-shadow: 0 14px 34px rgba(24,119,242,.22); }
.social-youtube-layout { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); align-items: center; gap: clamp(44px, 6vw, 90px); }
.social-youtube__intro .section-heading { margin-bottom: 24px; }
.social-video { margin: 0; overflow: hidden; background: var(--navy-950); border: 1px solid rgba(37,99,235,.16); border-radius: 22px; box-shadow: 0 24px 60px rgba(7,26,61,.18); }
.social-video__frame { aspect-ratio: 16 / 9; background: #050b18; }
.social-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.social-video figcaption { display: grid; gap: 6px; padding: 18px 22px 21px; }
.social-video figcaption span { color: #93c5fd; font-size: .63rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.social-video figcaption a { color: white; font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; }
.social-video figcaption a:hover { color: #bfdbfe; }
.contact-page { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; }
.contact-page > div:last-child { display: grid; align-content: start; gap: 14px; padding: 35px; color: white; background: var(--navy-900); }
.contact-page > div:last-child .eyebrow { margin: 10px 0 0; color: #bfdbfe; }
.contact-page > div:last-child a { font-family: var(--serif); font-size: 1.35rem; }
.article-hero__inner { max-width: 900px; }
.article-hero > .article-hero__inner > p:not(.eyebrow) { max-width: 730px; margin: 25px 0; font-size: 1.08rem; }
.article-masthead { padding: 76px 0 46px; background: #ffffff; }
.article-masthead__inner { max-width: 980px; }
.article-masthead h1 { max-width: 930px; margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.65rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.article-masthead__inner > p:not(.eyebrow) { max-width: 790px; margin: 24px 0 28px; color: var(--muted); font-family: var(--serif); font-size: 1.16rem; line-height: 1.58; }
.article-masthead .article-byline { color: var(--muted); }
.article-masthead .article-byline strong { color: var(--navy-900); }
.article-detail-meta { max-width: 920px; display: grid; grid-template-columns: 1.45fr .85fr 1fr .95fr; margin-top: 32px; overflow: hidden; background: linear-gradient(135deg, #f8faff 0%, #f2f6fd 100%); border: 1px solid #dce5f2; border-radius: 12px; box-shadow: 0 8px 24px rgba(17,45,90,.045); }
.article-detail-meta > div { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; border-left: 1px solid #dce5f2; }
.article-detail-meta > div:first-child { border-left: 0; }
.article-detail-meta .article-detail-meta__author { flex-direction: row; align-items: center; justify-content: flex-start; gap: 13px; }
.article-detail-meta__author > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.article-detail-meta small { display: block; margin-bottom: 5px; color: #7b889b; font-size: .58rem; font-style: normal; font-weight: 850; letter-spacing: .075em; line-height: 1.25; text-transform: uppercase; }
.article-detail-meta strong { color: var(--navy-900); font-size: .79rem; line-height: 1.35; overflow-wrap: anywhere; }
.article-detail-meta em { margin-top: 4px; color: #8a959b; font-size: .65rem; font-style: normal; line-height: 1.3; }
.article-cover { max-width: 1120px; margin-bottom: 0; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px rgba(7,26,61,.14); }
.article-byline { display: flex; align-items: center; gap: 15px; font-size: .78rem; }
.article-byline strong { color: white; }
.article-layout { display: grid; grid-template-columns: 225px minmax(0, 760px); justify-content: center; gap: 62px; padding-block: 80px 110px; }
.article-share { display: flex; flex-direction: column; gap: 11px; padding-top: 8px; color: var(--muted); font-size: .76rem; text-transform: uppercase; }
.article-share button { min-height: 46px; padding: 11px 13px; color: var(--navy-900); background: #f8fbff; border: 1px solid var(--line); border-radius: 9px; text-align: left; text-transform: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.article-share button:hover { color: var(--brown-700); background: var(--brown-100); border-color: rgba(43,59,209,.28); transform: translateX(3px); }
.article-content { color: #3f535c; font-size: 1.08rem; line-height: 1.78; }
.article-content > p { margin: 0 0 25px; }
.article-note { margin-top: 45px; padding: 24px 27px; background: var(--brown-100); border-left: 3px solid var(--brown-500); }
.article-note p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.article-share a { min-height: 46px; display: flex; align-items: center; padding: 11px 13px; color: var(--navy-900); background: #f8fbff; border: 1px solid var(--line); border-radius: 9px; text-transform: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.article-share a:hover { color: var(--brown-700); background: var(--brown-100); border-color: rgba(43,59,209,.28); transform: translateX(3px); }
/* Control de voto del aside (Fase 6, cierre — hallazgo A7). Aditivo sobre el
   componente `.article-share` del equipo: no introduce lenguaje visual nuevo,
   solo estrellas pulsables con el mismo azul institucional. Es un <form>
   normal, así que funciona sin JavaScript. */
.article-share__voto { display: flex; flex-direction: column; gap: 6px; }
.article-share__estrellas { display: flex; gap: 2px; }
.article-share__estrellas button {
  padding: 0 2px; border: 0; background: none; cursor: pointer;
  color: var(--line); font-size: 1.3rem; line-height: 1;
  transition: color .15s;
}
.article-share__estrellas button:hover,
.article-share__estrellas button.is-active { color: var(--gold-500); }
.article-share__estrellas button:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 3px; }

.article-discussion { margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-discussion h2 { margin: 0 0 24px; color: var(--navy-900); font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.article-discussion .feed-comment { margin-bottom: 18px; padding: 16px; background: #f8fbff; border: 1px solid var(--line); border-radius: 10px; }
.article-discussion .feed-comment-form { margin-top: 18px; }
.article-empty { max-width: 760px; padding-block: 100px; text-align: center; }
.article-empty .eyebrow { justify-content: center; }
.article-empty h1 { color: var(--navy-900); font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.5rem); }
.article-empty p { margin-bottom: 28px; color: var(--muted); }
.home-page.js .scroll-appear { visibility: hidden; opacity: 0; filter: blur(3px); transform: translateY(42px) scale(.985); transition: visibility 0s linear .78s, opacity .78s cubic-bezier(.22,1,.36,1), transform .78s cubic-bezier(.22,1,.36,1), filter .78s ease; transition-delay: var(--appear-delay, 0ms); will-change: opacity, transform; }
.home-page.js .scroll-appear.has-appeared { visibility: visible; opacity: 1; filter: none; transform: translateY(0) scale(1); transition-delay: var(--appear-delay, 0ms); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-mobile-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; margin-left: auto; }
  .nav-menu { position: absolute; top: calc(100% + 8px); right: 20px; left: 20px; z-index: 120; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; background: rgba(255,254,254,.98); border: 1px solid rgba(43,59,209,.14); border-radius: 14px; box-shadow: 0 18px 45px rgba(8,13,59,.18); transform: translateY(-14px) scale(.985); transform-origin: top center; transition: visibility 0s linear .32s, opacity .28s ease, transform .32s cubic-bezier(.22,1,.36,1); backdrop-filter: blur(12px); }
  .nav-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); transition-delay: 0s; }
  .nav-menu > a { opacity: 0; transform: translateY(-7px); transition: color .2s ease, background-color .2s ease, opacity .25s ease, transform .3s cubic-bezier(.22,1,.36,1); }
  .nav-menu.is-open > a { opacity: 1; transform: translateY(0); }
  .nav-menu.is-open > a:nth-child(2) { transition-delay: 35ms; }
  .nav-menu.is-open > a:nth-child(3) { transition-delay: 70ms; }
  .nav-menu.is-open > a:nth-child(4) { transition-delay: 105ms; }
  .nav-menu.is-open > a:nth-child(5) { transition-delay: 140ms; }
  .nav-menu.is-open > a:nth-child(6) { transition-delay: 175ms; }
  .nav-menu.is-open > a:nth-child(7) { transition-delay: 210ms; }
  .nav-menu > a:not(.button) { padding: 13px; border-radius: 8px; }
  .nav-menu > a:not(.button):hover { background: rgba(43,59,209,.08); }
  .nav-menu > a:not(.button)::after { display: none; }
  .nav-mobile-actions .nav-search-toggle { width: 44px; height: 44px; margin: 0; background: transparent; border-color: transparent; border-radius: 50%; }
  .nav-mobile-actions .nav-search-toggle:hover { color: var(--blue-600); background: rgba(238,240,255,.9); }
  .nav-search { inset: 8px; min-height: 58px; }
  .nav-search__results { top: calc(100% + 8px); }
  .nav-search__results a { align-items: flex-start; flex-direction: column; gap: 3px; }
  .nav-search__results span { text-align: left; }
  .header-profile { width: 100%; margin-top: 8px; }
  .header-profile__trigger { width: 100%; justify-content: flex-start; }
  .header-profile__name { max-width: none; }
  .header-profile__chevron { margin-left: auto; }
  .header-profile__dropdown { position: static; width: 100%; max-height: 0; margin-top: 0; padding-block: 0; overflow: hidden; box-shadow: none; transform: translateY(-6px); transform-origin: top center; transition: visibility 0s linear .24s, max-height .3s ease, margin-top .3s ease, padding .3s ease, opacity .2s ease, transform .24s ease; }
  .header-profile.is-open .header-profile__dropdown { max-height: 130px; margin-top: 7px; padding-block: 10px; transform: translateY(0); }
  .hero__grid { grid-template-columns: 1fr; gap: 45px; padding-top: 75px; }
  .hero__visual { min-height: 500px; }
  .hero__image { left: 80px; }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); padding-block: 25px; }
  .trust-strip p { grid-column: 1 / -1; }
  .split { gap: 50px; }
  .service-grid, .article-grid, .article-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .course-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course { min-height: 550px; }
  .exam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exam-card { height: 190px; }
  .contact-card { gap: 45px; padding: 48px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr; }
  .social-youtube-layout { grid-template-columns: 1fr; gap: 38px; }
  .social-youtube__intro { max-width: 760px; }
  .social-video { width: 100%; max-width: 900px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 72px; }
  .brand__mark { width: 46px; height: 46px; flex-basis: 46px; }
  .brand__mark img { width: 46px; height: 46px; }
  .hero__grid { min-height: 0; padding-block: 58px 65px; }
  .legal-motion { top: 26%; left: 72%; width: 310px; height: 310px; opacity: .52; }
  .legal-motion__section { font-size: 12rem; color: rgba(43,59,209,.12); }
  .legal-motion__scales { display: block; right: 18px; bottom: 18px; transform: scale(.78); transform-origin: right bottom; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .hero__stats { width: 100%; gap: 15px; justify-content: space-between; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__stats div + div { padding-left: 15px; }
  .hero__visual { min-height: 410px; }
  .hero__image { inset: 0 0 30px 25px; }
  .hero__seal { right: -5px; width: 72px; height: 72px; }
  .trust-card { width: calc(100% - 30px); }
  .trust-strip__grid { grid-template-columns: 1fr; gap: 8px; }
  .trust-strip p { grid-column: auto; }
  .section { padding-block: 75px; }
  .social-page main > .section { padding-block: 52px; }
  .social-video { border-radius: 15px; }
  .social-video figcaption { padding: 15px 17px 18px; }
  .split, .contact-card, .article-layout, .profile-grid, .contact-page { grid-template-columns: 1fr; }
  .profile { padding: 15px 0 34px; }
  .profile::before { top: 55px; right: 0; left: 0; border-radius: 24px; }
  .profile__photo { width: 100%; max-width: none; max-height: none; border-radius: 22px; }
  .profile__content { width: calc(100% - 28px); margin: -48px auto 0; padding: 32px 28px; border-radius: 19px; }
  .publish-heading { align-items: stretch; flex-direction: column; gap: 25px; }
  .publish-heading__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .publish-heading__actions .button { padding-inline: 12px; }
  .member-identity { align-items: flex-start; flex-wrap: wrap; }
  .member-identity .member-identity__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 0; }
  .feed-post__topline { align-items: flex-start; flex-direction: column; }
  .feed-post__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed-post__details > div { padding-inline: 12px; }
  .feed-post__details > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .feed-post__details > div:nth-child(n+3) { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(37,99,235,.1); }
  .article-detail-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-detail-meta > div:nth-child(odd) { border-left: 0; }
  .article-detail-meta > div:nth-child(n+3) { border-top: 1px solid #dce5f2; }
  .login-panel { grid-template-columns: 1fr; }
  .login-panel__intro, .login-form, .article-editor { padding: 35px 26px; }
  .auth-modal { padding: 12px; }
  .auth-modal .login-panel { grid-template-columns: 1fr; max-height: calc(100dvh - 24px); min-height: 0; border: 1px solid rgba(147,197,253,.25); border-radius: 25px; box-shadow: 0 28px 70px rgba(3,15,39,.38); }
  .auth-modal .login-panel__intro { min-height: 112px; display: flex; justify-content: flex-start; isolation: isolate; padding: 22px 24px; background: radial-gradient(circle at 86% 12%, rgba(147,197,253,.34), transparent 34%), linear-gradient(125deg, var(--blue-600), var(--navy-950) 88%); }
  .auth-modal .login-panel__intro::after { content: "§"; position: absolute; right: 22px; bottom: -48px; z-index: 0; color: rgba(255,255,255,.09); font-family: var(--serif); font-size: 9rem; line-height: 1; transform: rotate(-7deg); }
  .auth-modal .login-panel__intro > h2, .auth-modal .login-panel__intro > p, .auth-modal .auth-benefits, .auth-modal .auth-trust { display: none; }
  .auth-modal .login-panel__intro > .auth-brand { position: relative; top: auto; left: auto; margin: 0; }
  .auth-modal .auth-brand > span { width: 40px; height: 40px; border-radius: 11px; }
  .auth-modal .auth-brand img { width: 32px; height: 32px; }
  .auth-modal .auth-panel__close { top: 17px; right: 17px; color: white; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); box-shadow: 0 8px 20px rgba(3,15,39,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .auth-modal .auth-form-col { padding: 20px 22px 25px; background: linear-gradient(180deg, white 0%, white 76%, #f8fbff 100%); }
  .auth-modal .auth-tabs { margin-bottom: 18px; border: 1px solid rgba(37,99,235,.06); box-shadow: inset 0 1px 2px rgba(7,26,61,.04); }
  .auth-stack > .auth-pane { transform: none; transition: opacity .18s ease; }
  .auth-stack > .auth-pane[data-hidden] { display: none; transform: none; }
  .auth-modal .login-form { align-content: start; gap: 14px; }
  .auth-form__heading { margin: 4px 0 5px; }
  .auth-form__heading h2 { font-size: 1.5rem; }
  .auth-modal .login-form .auth-field__control input, .auth-modal .login-form .auth-field__control select { background-color: #f8fafc; }
  .auth-modal .login-form .auth-field__control input:focus, .auth-modal .login-form .auth-field__control select:focus { background-color: white; }
  .auth-modal .login-form > .button:active { transform: scale(.98); }
  .auth-modal .auth-panel__close:active { transform: scale(.94); }
  .auth-field-row { grid-template-columns: 1fr; gap: 14px; }
  .author-panel__header, .article-editor__actions { align-items: flex-start; flex-direction: column; }
  .author-panel__header { padding: 30px 26px; }
  .article-media-fields { grid-template-columns: 1fr; }
  .split { gap: 35px; }
  .section-heading--row { display: block; margin-bottom: 35px; }
  .section-heading--row > p, .section-heading--row > .text-link { margin-top: 20px; }
  .research-heading { margin-bottom: 26px; }
  .research-heading__intro { margin-top: 20px; }
  .research-heading__actions { margin-top: 18px; }
  .article-carousel { padding: 0 0 48px; }
  .article-carousel__viewport { height: 640px; }
  .article-carousel .article-card { height: 640px; grid-template-columns: 1fr; grid-template-rows: 250px 390px; }
  .article-carousel .article-card__visual { min-height: 0; height: auto; }
  .article-carousel .article-card__body { min-height: 390px; padding: 32px 26px; }
  .article-carousel__control { top: 125px; width: 44px; height: 44px; font-size: 1.35rem; }
  .article-carousel__control--prev { left: 12px; }
  .article-carousel__control--next { right: 12px; }
  .service-grid, .article-grid, .article-grid--archive { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .article-card__visual { min-height: 135px; height: 135px; }
  .article-card__visual::after { right: -15px; bottom: -125px; }
  .area-grid, .value-grid, .link-grid { grid-template-columns: 1fr; }
  .courses-programs::before { width: 100%; height: 360px; opacity: .035; }
  .course-filters { flex-wrap: nowrap; margin: -8px -14px 28px; padding: 0 14px 5px; overflow-x: auto; scrollbar-width: none; }
  .course-filters::-webkit-scrollbar { display: none; }
  .course-filters button { flex: 0 0 auto; }
  body.has-expanded-course { overflow: hidden; }
  body.has-expanded-course::after { content: ""; position: fixed; inset: 0; z-index: 1000; background: rgba(7,26,61,.58); animation: course-backdrop-in .24s ease both; }
  .course-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .course { min-height: 0; aspect-ratio: 4 / 5; padding: 15px 13px 38px; font-size: clamp(.64rem, 2.7vw, .76rem); line-height: 1.35; cursor: pointer; }
  .course.is-source { visibility: hidden; outline: 0; }
  .course__visual { min-height: 58px; margin: -15px -13px 12px; padding: 12px 11px; }
  .course__visual::before { background-size: 12px 12px; }
  .course .course__category { min-width: 0; min-height: 24px; max-width: calc(100% - 45px); gap: 4px; padding: 5px 7px; font-size: .43rem; letter-spacing: .045em; line-height: 1; }
  .course .course__category > span { min-width: 0; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .course__category::before { width: 5px; height: 5px; flex: 0 0 5px; box-shadow: 0 0 0 3px rgba(37,99,235,.09); }
  .course__area-icon { top: 7px; right: 7px; }
  .course__area-icon svg { width: 43px; height: 43px; }
  .course > .course__description { min-height: 0; display: -webkit-box; margin: 0 0 18px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .course > .course__details { display: none; }
  .course > .course__footer { display: none; }
  .course::after { content: "Toca para ver detalles"; position: absolute; right: 10px; bottom: 12px; left: 10px; padding-top: 7px; color: var(--blue-600); background: white; border-top: 1px solid rgba(43,59,209,.1); font-size: .5rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
  .course-modal { position: fixed; top: 50%; left: 50%; z-index: 1001; width: min(88vw, 390px); height: auto; max-height: 86dvh; aspect-ratio: auto; min-height: 0; padding: 58px 24px 26px; overflow-y: auto; translate: -50% -50%; transform-origin: top left; box-shadow: 0 24px 60px rgba(7,26,61,.3); cursor: default; }
  .course-modal::after { display: none; }
  .course-modal > .course__visual { min-height: 90px; margin: -58px -24px 22px; padding: 24px 22px 18px 68px; }
  .course-modal .course__category { min-height: 0; max-width: calc(100% - 55px); align-items: flex-start; padding: 7px 10px; font-size: .53rem; line-height: 1.25; }
  .course-modal .course__category > span { overflow: visible; text-overflow: clip; white-space: normal; }
  .course-modal .course__area-icon { top: 8px; right: 13px; }
  .course-modal .course__area-icon svg { width: 70px; height: 70px; }
  .course-modal > .course__description { display: block; overflow: visible; }
  .course-modal > .course__details { display: grid; margin: 0 0 18px; }
  .course-modal > .course__footer { display: flex; }
  .course-modal__back { position: absolute; top: 16px; left: 18px; z-index: 2; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: white; background: var(--blue-600); border: 0; border-radius: 50%; box-shadow: 0 7px 16px rgba(37,99,235,.24); }
  .course-modal__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .course-list .course h2 { flex: 0 0 auto; min-height: 0; margin-bottom: 9px; font-size: clamp(.76rem, 3.6vw, 1rem); }
  .course-list .course > .course__price--mobile { position: static; display: block !important; flex: 0 0 auto; margin: auto 0 0; color: var(--blue-600); font-family: var(--serif); font-size: .72rem; font-weight: 700; line-height: 1.1; text-align: left; }
  .course-list .course > .course__price--mobile::before { content: "INVERSION"; display: block; margin-bottom: 3px; color: var(--muted); font-family: var(--sans); font-size: .56rem; font-weight: 650; letter-spacing: .04em; line-height: 1.1; }
  .course-list .course > .course__price--mobile small { display: none; }
  .course-list .course::before { content: none; }
  .course-modal .course__price--mobile { display: none !important; }
  .course-list .course h2 { margin-top: 0; }
  .course-modal h2 { font-size: 1.35rem !important; }
  .course-modal .course__description { min-height: 0; margin-bottom: 18px; }
  .course-modal .course__footer { margin-top: 0; }
  .course .eyebrow { margin-bottom: 12px; font-size: .52rem; letter-spacing: .08em; }
  .course__contact { gap: 5px; padding: 8px 10px; font-size: .58rem; }
  .course-inquiry { align-items: start; padding: 12px; }
  .course-inquiry__panel { grid-template-columns: 1fr; max-height: calc(100dvh - 24px); overflow-y: auto; border-radius: 14px; }
  .course-inquiry__close { top: 13px; right: 13px; }
  .course-inquiry__heading { padding: 38px 24px 30px; }
  .course-inquiry__heading h2 { max-width: calc(100% - 35px); margin: 18px 0 22px; font-size: 1.75rem; }
  .course-inquiry__form { padding: 28px 22px 24px; }
  .course-inquiry__fields { grid-template-columns: 1fr; gap: 14px; }
  .course-inquiry__form .button { width: 100%; }
  .exam-programs::before { width: 100%; height: 360px; opacity: .03; }
  .exam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .exam-card { height: auto; min-height: 0; aspect-ratio: 4 / 5; grid-template-columns: 1fr; grid-template-rows: 58px auto auto 1fr auto; padding: 15px 13px 38px; cursor: pointer; }
  .exam-card.is-source { visibility: hidden; outline: 0; }
  .exam-card__visual { min-height: 58px; grid-column: 1; grid-row: 1; margin: -15px -13px 12px; padding: 12px 11px; }
  .exam-card__visual::before { background-size: 12px 12px; }
  .exam-card__category { position: absolute; top: 25px; left: 24px; max-width: calc(100% - 39px); grid-column: 1; gap: 5px; margin: 0; padding: 3px 5px; color: white; background: rgba(7,26,61,.32); border-radius: 3px; font-size: .43rem; letter-spacing: .055em; line-height: 1.25; }
  .exam-card__category::before { width: 5px; height: 5px; box-shadow: 0 0 0 3px rgba(37,99,235,.09); }
  .exam-card__area-icon { position: absolute; top: 7px; right: 7px; }
  .exam-card__area-icon svg { width: 43px; height: 43px; }
  .exam-card h2 { grid-column: 1; grid-row: 2; flex: 0 0 auto; min-height: 0; margin: 0 0 7px; font-size: clamp(.76rem, 3.6vw, 1rem); }
  .exam-card > p { grid-column: 1; grid-row: 3; min-height: 0; display: -webkit-box; margin: 0 0 7px; overflow: hidden; font-size: clamp(.59rem, 2.45vw, .7rem); line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .exam-card > .exam-card__meta { grid-column: 1; grid-row: 4; display: flex; flex-wrap: wrap; gap: 4px; margin: auto 0 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
  .exam-card > .exam-card__meta > div { position: static; display: block; }
  .exam-card > .exam-card__meta > div:last-child { grid-column: auto; padding: 0; border: 0; }
  .exam-card > .exam-card__meta dt { display: none; }
  .exam-card > .exam-card__meta dd { display: inline-flex; margin: 0; padding: 3px 5px; color: var(--blue-600); background: rgba(238,240,255,.78); border-radius: 999px; font-size: .46rem; font-weight: 800; text-transform: uppercase; }
  .exam-card > .exam-card__meta > div:first-child dd::after { content: "preguntas"; margin-left: 2px; }
  .exam-card > .exam-card__meta > div:last-child dd { padding: 0; background: transparent; }
  .exam-card > .exam-card__meta .exam-card__difficulty { gap: 4px; padding: 3px 5px; font-size: .46rem; }
  .exam-card > .exam-card__footer { display: none; }
  .exam-card::after { content: "Toca para ver detalles"; position: absolute; right: 10px; bottom: 10px; left: 10px; padding-top: 7px; color: var(--blue-600); background: white; border-top: 1px solid rgba(43,59,209,.1); font-size: .5rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
  .exam-modal { position: fixed; top: 50%; left: 50%; z-index: 1001; width: min(88vw, 390px); height: auto; max-height: 86dvh; min-height: 0; display: block; padding: 58px 24px 26px; overflow-y: auto; background: white; translate: -50% -50%; transform-origin: top left; box-shadow: 0 24px 60px rgba(7,26,61,.3); cursor: default; }
  .exam-modal::after { display: none; }
  .exam-modal > .exam-card__visual { min-height: 90px; grid-column: auto; grid-row: auto; margin: -58px -24px 22px; padding: 24px 22px 18px 68px; }
  .exam-modal .exam-card__category { position: relative; top: auto; left: auto; display: flex; max-width: calc(100% - 55px); margin: 0 0 10px; padding: 0; color: var(--navy-800); background: transparent; font-size: .53rem; }
  .exam-modal .exam-card__category::before { background: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,99,235,.09); }
  .exam-modal h2, .exam-modal > p, .exam-modal > .exam-card__meta, .exam-modal > .exam-card__footer { grid-column: auto; }
  .exam-modal .exam-card__area-icon { position: absolute; top: 8px; right: 13px; }
  .exam-modal .exam-card__area-icon { top: 8px; right: 13px; }
  .exam-modal .exam-card__area-icon svg { width: 70px; height: 70px; }
  .exam-modal h2 { min-height: 0; margin-bottom: 12px; font-size: 1.35rem !important; }
  .exam-modal > p { min-height: 0; max-height: none; display: block; margin-bottom: 18px; overflow: visible; font-size: .76rem; -webkit-line-clamp: unset; }
  .exam-modal > .exam-card__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; margin: 0 0 18px; padding: 18px; background: #f5f8fd; border: 1px solid rgba(23,74,150,.07); border-radius: 8px; }
  .exam-modal > .exam-card__meta > div { display: block; }
  .exam-modal > .exam-card__meta > div:last-child { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(23,74,150,.09); }
  .exam-modal .exam-card__meta dt { display: flex; }
  .exam-modal .exam-card__meta dd { display: block; padding: 0; color: var(--navy-900); background: transparent; border-radius: 0; font-size: .82rem; text-transform: none; }
  .exam-modal .exam-card__meta > div:first-child dd::after { content: none; }
  .exam-modal .exam-card__meta .exam-card__difficulty { font-size: .6rem; }
  .exam-modal > .exam-card__footer { position: static; display: flex; margin-top: 0; }
  .exam-modal .exam-card__start { padding: 9px 10px; font-size: .58rem; }
  .exam-modal__back { position: absolute; top: 16px; left: 18px; z-index: 2; width: 34px !important; height: 34px; display: inline-flex; align-items: center; justify-content: center; margin: 0 !important; padding: 0 !important; color: white; background: var(--blue-600); border: 0; border-radius: 50% !important; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: 0 7px 16px rgba(37,99,235,.24); }
  .exam-modal__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .evaluation-layout { grid-template-columns: 1fr; gap: 18px; }
  .evaluation-summary { position: static; }
  .evaluation-question { padding: 21px 18px; }
  .evaluation-question legend { font-size: 1rem; }
  .evaluation-submit { width: 100%; }
  .evaluation-toolbar { min-height: 64px; }
  .evaluation-section { padding-top: 32px; }

  .course ul { padding-left: 16px; }
  .principles-section { padding-block: 55px; }
  .principles-list { grid-template-columns: 1fr; }
  .principle-row { aspect-ratio: auto; min-height: 0; gap: 18px; padding: 34px 28px 38px; }
  .principle-row + .principle-row { border-top: 0; border-left: 1px solid rgba(37,99,235,.14); }
  .principle-label { margin-top: 0; }
  .principle-description { font-size: 1.08rem; line-height: 1.65; }
  .contact-card { gap: 40px; padding: 40px 25px; }
  .form-row { grid-template-columns: 1fr; }
  @keyframes course-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .page-hero, .article-hero { padding: 70px 0; }
  .courses-hero, .exams-hero { min-height: 360px; padding: 0; }
  .courses-hero::before, .exams-hero::before { background: linear-gradient(90deg, rgba(7,26,61,.92), rgba(7,26,61,.4)); }
  .courses-hero__content, .exams-hero__content { padding-block: 70px; }
  .article-layout { gap: 20px; padding-block: 55px 75px; }
  .article-masthead { padding: 52px 0 32px; }
  .article-cover { width: 100%; }
  .article-cover img { border-radius: 0; aspect-ratio: 4 / 3; }
  .article-share { flex-direction: row; align-items: center; }
}

.exam-card.exam-card--premium {
  height: 250px;
  align-items: stretch;
  row-gap: 8px;
}

/* Vertical exam card composition */
.exam-card.exam-card--premium {
  height: 430px !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 22px 20px !important;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(7, 26, 61, .1);
}
.exam-card.exam-card--premium[hidden] { display: none !important; }

.exam-card.exam-card--premium .exam-card__visual {
  width: calc(100% + 44px) !important;
  height: 142px !important;
  min-height: 142px !important;
  flex: 0 0 142px !important;
  margin: 0 -22px 0 !important;
  padding: 22px 24px !important;
  align-items: flex-end;
  justify-content: flex-end;
  background: linear-gradient(145deg, #082554 0%, #1d56a4 100%);
  border-radius: 15px 15px 0 0;
}

.exam-card.exam-card--premium .exam-card__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(4, 19, 48, .32));
}

.exam-card.exam-card--premium .exam-card__area-icon {
  z-index: 1;
}

.exam-card.exam-card--premium .exam-card__area-icon svg {
  width: 78px;
  height: 78px;
  stroke-width: 1.25;
}

.exam-card.exam-card--premium .exam-card__category {
  position: static !important;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin: 22px 0 9px !important;
  color: #174a96;
  font-size: .58rem;
  letter-spacing: .12em;
}

.exam-card.exam-card--premium h2 {
  flex: 0 0 auto;
  margin: 0 0 10px !important;
  color: #0b2a59;
  font-size: clamp(1.28rem, 1.7vw, 1.55rem);
  line-height: 1.12;
}

.exam-card.exam-card--premium > p {
  flex: 1 1 auto;
  max-height: none !important;
  margin: 0 0 20px !important;
  color: #52657d;
  font-size: .75rem;
  line-height: 1.5;
}

.exam-card.exam-card--premium .exam-card__meta {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 0 0 auto;
  gap: 10px !important;
  margin: 0 0 18px !important;
  padding: 13px 0;
  border-top: 1px solid #e4ebf5;
  border-bottom: 1px solid #e4ebf5;
}

.exam-card.exam-card--premium .exam-card__meta > div,
.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) {
  position: static !important;
  display: flex !important;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.exam-card.exam-card--premium .exam-card__meta dt {
  margin: 0 !important;
  font-size: .48rem;
  letter-spacing: .06em;
}

.exam-card.exam-card--premium .exam-card__meta dd {
  font-size: .76rem;
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) dt {
  font-size: .48rem;
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) .exam-card__difficulty {
  padding: 5px 8px;
  font-size: .54rem;
}

.exam-card.exam-card--premium .exam-card__footer {
  position: static !important;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 !important;
}

.exam-card.exam-card--premium .exam-card__footer-label {
  display: block;
  color: #71829a;
  font-size: .52rem;
  letter-spacing: .08em;
}

.exam-card.exam-card--premium .exam-card__start {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: .59rem;
}

@media (max-width: 700px) {
  .exam-card.exam-card--premium {
    height: 370px !important;
    aspect-ratio: auto !important;
    padding: 0 14px 14px !important;
    border-radius: 13px;
  }

  .exam-card.exam-card--premium .exam-card__visual {
    width: calc(100% + 28px) !important;
    height: 104px !important;
    min-height: 104px !important;
    flex-basis: 104px !important;
    margin: 0 -14px !important;
    padding: 14px !important;
    border-radius: 12px 12px 0 0;
  }

  .exam-card.exam-card--premium .exam-card__area-icon svg {
    width: 54px;
    height: 54px;
  }

  .exam-card.exam-card--premium .exam-card__category {
    position: static !important;
    margin: 16px 0 7px !important;
    padding: 0 !important;
    color: #174a96 !important;
    background: transparent !important;
    border-radius: 0 !important;
    font-size: .43rem;
  }

  .exam-card.exam-card--premium h2 {
    margin-bottom: 7px !important;
    font-size: clamp(.9rem, 4vw, 1.08rem);
  }

  .exam-card.exam-card--premium > p {
    margin-bottom: 12px !important;
    font-size: .62rem;
    line-height: 1.35;
  }

  .exam-card.exam-card--premium .exam-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px !important;
    margin-bottom: 12px !important;
    padding: 9px 0;
  }

  .exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) {
    grid-column: 1 / -1;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .exam-card.exam-card--premium .exam-card__meta dt {
    display: none;
  }

  .exam-card.exam-card--premium .exam-card__meta dd,
  .exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) .exam-card__difficulty {
    padding: 4px 5px;
    font-size: .45rem;
  }

  .exam-card.exam-card--premium .exam-card__footer {
    justify-content: center;
  }

  .exam-card.exam-card--premium .exam-card__footer-label {
    display: none;
  }

  .exam-card.exam-card--premium .exam-card__start {
    width: 100%;
    min-height: 34px;
    font-size: .52rem;
  }

  .exam-modal.exam-card--premium {
    height: auto !important;
    max-height: 86dvh;
    display: block !important;
    padding: 58px 24px 26px !important;
    overflow-y: auto;
    background: #fff;
  }

  .exam-modal.exam-card--premium .exam-card__visual {
    width: auto !important;
    height: auto !important;
    min-height: 96px !important;
    margin: -58px -24px 22px !important;
    padding: 24px 22px 18px 68px !important;
    border-radius: 0;
  }

  .exam-modal.exam-card--premium .exam-card__category {
    display: flex;
    margin: 0 0 10px !important;
    color: #174a96;
    font-size: .53rem;
  }

  .exam-modal.exam-card--premium h2,
  .exam-modal.exam-card--premium > p,
  .exam-modal.exam-card--premium > .exam-card__meta,
  .exam-modal.exam-card--premium > .exam-card__footer {
    display: grid;
    grid-column: auto;
  }

  .exam-modal.exam-card--premium h2 {
    display: block;
    font-size: 1.35rem !important;
  }

  .exam-modal.exam-card--premium > p {
    display: block;
    margin-bottom: 18px !important;
    font-size: .76rem;
  }

  .exam-modal.exam-card--premium > .exam-card__meta {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 20px !important;
    margin: 0 0 18px !important;
    padding: 18px;
  }

  .exam-modal.exam-card--premium > .exam-card__meta > div,
  .exam-modal.exam-card--premium > .exam-card__meta > div:nth-child(3) {
    display: block !important;
  }

  .exam-modal.exam-card--premium > .exam-card__meta dt {
    display: flex;
  }

  .exam-modal.exam-card--premium > .exam-card__meta dd {
    padding: 0;
    background: transparent;
    font-size: .82rem;
  }

  .exam-modal.exam-card--premium > .exam-card__footer {
    display: flex !important;
    margin-top: 0 !important;
  }
}

.exam-card.exam-card--premium .exam-card__visual {
  height: 100%;
  align-self: stretch;
}

.exam-card.exam-card--premium > p {
  max-height: 48px;
  margin-top: 4px;
  line-height: 1.45;
}

.exam-card.exam-card--premium .exam-card__meta {
  gap: 22px;
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) {
  left: 88px;
  bottom: 52px;
  transform: none;
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) dt {
  font-size: .5rem;
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) .exam-card__difficulty {
  padding: 5px 9px;
  font-size: .56rem;
}

.exam-card.exam-card--premium .exam-card__footer {
  bottom: 18px;
}

@media (max-width: 700px) {
  .exam-card.exam-card--premium {
    height: auto;
    row-gap: 0;
  }

  .exam-card.exam-card--premium .exam-card__visual {
    height: auto;
  }

  .exam-card.exam-card--premium .exam-card__category {
    right: auto;
    left: 16px;
    transform: none;
  }

  .exam-card.exam-card--premium .exam-card__meta {
    gap: 4px;
  }

  .exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) {
    left: auto;
    bottom: auto;
    transform: none;
  }

  .exam-card.exam-card--premium > p {
    max-height: 36px;
    margin-top: 0;
    line-height: 1.3;
  }
}

@media (max-width: 420px) {
  .nav { gap: 4px; }
  .brand { gap: 8px; }
  .brand__mark { width: 42px; height: 42px; flex-basis: 42px; }
  .brand__mark img { width: 42px; height: 42px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .53rem; }
  .brand__foundation { display: none; }
  .nav-mobile-actions { gap: 0; }
  .nav-mobile-actions .nav-search-toggle, .nav-mobile-actions .nav-toggle { width: 40px; height: 40px; }
  .nav-search { padding-left: 13px; }
  .nav-search__icon { display: none; }
  .nav-search input { font-size: .8rem; }
  .article-detail-meta { grid-template-columns: 1fr; }
  .article-detail-meta > div { border-top: 1px solid #dce5f2; border-left: 0; }
  .article-detail-meta > div:first-child { border-top: 0; }
}

@media print {
  .evaluation-page > * { display: none !important; }
  .evaluation-page .exam-print-warning { min-height: 100vh; display: grid !important; place-items: center; padding: 40px; color: #000; font-size: 1.3rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .advisory-marquee {
    overflow-x: auto;
  }
  .advisory-marquee__track { animation: none; }
  .advisory-marquee__group[aria-hidden="true"] { display: none; }
  .legal-motion__orbit { animation-duration: 28s !important; }
  .legal-motion__orbit--two { animation-duration: 22s !important; }
  .legal-motion__section { animation-duration: 7s !important; }
  .legal-motion__scales { animation-duration: 6s !important; }
  .legal-motion__beam { animation-duration: 5s !important; }
  .home-page.js .scroll-appear { visibility: visible; opacity: 1; filter: none; transform: none; }
  .courses-hero__slide { display: none; animation: none !important; }
  .courses-hero__slide:first-child { display: block; opacity: 1; }
  .exams-hero__slide { display: none; animation: none !important; }
  .exams-hero__slide:first-child { display: block; opacity: 1; }
}

.exam-card.exam-card--premium { height: 210px; min-height: 0; grid-template-columns: 86px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto; padding: 0 24px 18px 0; border: 1px solid #d7e1ee; border-radius: 14px; box-shadow: 0 14px 30px rgba(7,26,61,.09); transition: transform 220ms cubic-bezier(.23,1,.32,1), border-color 180ms ease, box-shadow 220ms ease; }
.exam-card.exam-card--premium .exam-card__visual { grid-column: 1; grid-row: 1 / -1; min-height: 100%; margin: 0 22px 0 0; padding: 20px 10px; background: linear-gradient(160deg, #0b2a59 0%, #174a96 100%); border-radius: 13px 0 0 13px; }
.exam-card.exam-card--premium .exam-card__visual::before { background-image: radial-gradient(circle at 30% 25%, rgba(147,197,253,.22) 0 1px, transparent 1.5px); background-size: 13px 13px; opacity: .5; }
.exam-card.exam-card--premium .exam-card__area-icon { color: #dbeafe; }
.exam-card.exam-card--premium .exam-card__area-icon svg { width: 66px; height: 66px; stroke-width: 1.45; }
.exam-card.exam-card--premium .exam-card__category { grid-column: 2; grid-row: 1; margin: 22px 0 5px; color: #174a96; font-size: .59rem; letter-spacing: .12em; }
.exam-card.exam-card--premium .exam-card__category::before { width: 6px; height: 6px; background: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.exam-card.exam-card--premium h2 { grid-column: 2; grid-row: 2; margin: 0 0 6px; color: #0b2a59; font-size: clamp(1.2rem, 1.55vw, 1.48rem); letter-spacing: -.02em; }
.exam-card.exam-card--premium > p { grid-column: 2; grid-row: 4; max-height: 36px; margin: 0; color: #52657d; font-size: .73rem; line-height: 1.35; }
.exam-card.exam-card--premium .exam-card__meta { grid-column: 2; grid-row: 3; gap: 14px; margin: 0; }
.exam-card.exam-card--premium .exam-card__meta > div { gap: 5px; }
.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) { right: auto; bottom: 18px; left: 96px; display: flex; gap: 6px; }
.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) { transform: scale(.8); transform-origin: left bottom; }
.exam-card.exam-card--premium .exam-card__meta dt { margin: 0; color: #71829a; font-size: .54rem; letter-spacing: .08em; }
.exam-card.exam-card--premium .exam-card__meta dd { color: #0b2a59; font-size: .72rem; }
.exam-card.exam-card--premium .exam-card__meta dt svg { width: 12px; height: 12px; stroke: #2563eb; }
.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) dt { font-size: .52rem; }
.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) .exam-card__difficulty { padding: 4px 7px; font-size: .5rem; }
.exam-card.exam-card--premium .exam-card__footer { right: 24px; bottom: 17px; left: auto; margin: 0; }
.exam-card.exam-card--premium .exam-card__footer-label { display: none; }
.exam-card.exam-card--premium .exam-card__start { min-height: 34px; padding: 0 13px; color: white; background: #2563eb; border-color: #2563eb; border-radius: 6px; font-size: .59rem; box-shadow: 0 7px 16px rgba(37,99,235,.2); }
.exam-card.exam-card--premium .exam-card__start span { color: white; }
.exam-card.exam-card--premium .exam-card__start:hover { color: white; background: #0b2a59; border-color: #0b2a59; transform: translateY(-2px); }
.exam-card.exam-card--premium:hover { border-color: #a9c5e8; box-shadow: 0 18px 38px rgba(7,26,61,.14); transform: translateY(-3px); }
.exam-card.exam-card--premium:hover .exam-card__area-icon { color: white; transform: translateY(-2px) scale(1.035); }

@media (max-width: 700px) {
  .exam-card.exam-card--premium { height: auto; min-height: 0; aspect-ratio: 4 / 5; grid-template-columns: 1fr; grid-template-rows: 66px auto auto 1fr auto; padding: 15px 13px 38px; border-radius: 12px; }
  .exam-card.exam-card--premium .exam-card__visual { grid-column: 1; grid-row: 1; min-height: 66px; margin: -15px -13px 12px; padding: 12px 11px; border-radius: 11px 11px 0 0; }
  .exam-card.exam-card--premium .exam-card__area-icon { position: absolute; top: 8px; right: 8px; }
  .exam-card.exam-card--premium .exam-card__area-icon svg { width: 44px; height: 44px; }
  .exam-card.exam-card--premium .exam-card__category { position: absolute; top: 25px; left: 24px; grid-column: 1; grid-row: auto; max-width: calc(100% - 55px); margin: 0; padding: 3px 5px; color: white; background: rgba(7,26,61,.3); border-radius: 3px; font-size: .43rem; }
  .exam-card.exam-card--premium .exam-card__category::before { background: #93c5fd; box-shadow: none; }
  .exam-card.exam-card--premium h2 { grid-column: 1; grid-row: 2; margin: 0 0 7px; font-size: clamp(.78rem, 3.6vw, 1rem); }
  .exam-card.exam-card--premium > p { grid-column: 1; grid-row: 3; max-height: 36px; font-size: .62rem; line-height: 1.3; }
  .exam-card.exam-card--premium .exam-card__meta { grid-column: 1; grid-row: 4; gap: 4px; margin: auto 0 0; }
  .exam-card.exam-card--premium .exam-card__meta > div { position: static; display: block; }
  .exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) { transform: none; }
  .exam-card.exam-card--premium .exam-card__meta dt { display: none; }
  .exam-card.exam-card--premium .exam-card__meta dd { padding: 3px 5px; color: #2563eb; background: #eef4ff; border-radius: 999px; font-size: .46rem; }
  .exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) .exam-card__difficulty { padding: 3px 5px; }
  .exam-card.exam-card--premium .exam-card__footer { display: none; }
  .exam-modal.exam-card--premium { height: auto; max-height: 86dvh; aspect-ratio: auto; display: block; padding: 58px 24px 26px; overflow-y: auto; background: white; }
  .exam-modal.exam-card--premium .exam-card__visual { min-height: 96px; grid-column: auto; grid-row: auto; margin: -58px -24px 22px; padding: 24px 22px 18px 68px; border-radius: 0; }
  .exam-modal.exam-card--premium .exam-card__category { position: relative; top: auto; left: auto; display: flex; margin: 0 0 10px; padding: 0; color: #174a96; background: transparent; font-size: .53rem; }
  .exam-modal.exam-card--premium .exam-card__category::before { background: #2563eb; }
  .exam-modal.exam-card--premium h2, .exam-modal.exam-card--premium > p, .exam-modal.exam-card--premium > .exam-card__meta, .exam-modal.exam-card--premium > .exam-card__footer { grid-column: auto; }
  .exam-modal.exam-card--premium h2 { font-size: 1.35rem !important; }
  .exam-modal.exam-card--premium > p { max-height: none; display: block; margin-bottom: 18px; overflow: visible; font-size: .76rem; }
  .exam-modal.exam-card--premium > .exam-card__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; margin: 0 0 18px; padding: 18px; background: #f5f8fd; border: 1px solid rgba(23,74,150,.07); border-radius: 8px; }
  .exam-modal.exam-card--premium > .exam-card__meta > div { position: static; display: block; }
  .exam-modal.exam-card--premium > .exam-card__meta dt { display: flex; }
  .exam-modal.exam-card--premium > .exam-card__meta dd { padding: 0; color: #0b2a59; background: transparent; font-size: .82rem; }
  .exam-modal.exam-card--premium > .exam-card__footer { position: static; display: flex; margin-top: 0; }
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) {
  bottom: 52px;
}

@media (max-width: 700px) {
  .exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) {
    bottom: auto;
  }
}

.exam-card.exam-card--premium {
  height: 250px;
  align-items: stretch;
  row-gap: 8px;
}

.exam-card.exam-card--premium .exam-card__visual {
  height: 100%;
  align-self: stretch;
}

.exam-card.exam-card--premium > p {
  max-height: 48px;
  margin-top: 4px;
  line-height: 1.45;
}

.exam-card.exam-card--premium .exam-card__meta {
  gap: 22px;
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) {
  left: 88px;
  bottom: 52px;
  transform: none;
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) dt {
  font-size: .5rem;
}

.exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) .exam-card__difficulty {
  padding: 5px 9px;
  font-size: .56rem;
}

.exam-card.exam-card--premium .exam-card__footer {
  bottom: 18px;
}

@media (max-width: 700px) {
  .exam-card.exam-card--premium {
    height: auto;
    row-gap: 0;
  }

  .exam-card.exam-card--premium .exam-card__visual {
    height: auto;
  }

  .exam-card.exam-card--premium .exam-card__category {
    right: auto;
    left: 16px;
    transform: none;
  }

  .exam-card.exam-card--premium .exam-card__meta {
    gap: 4px;
  }

  .exam-card.exam-card--premium .exam-card__meta > div:nth-child(3) {
    left: auto;
    bottom: auto;
    transform: none;
  }

  .exam-card.exam-card--premium > p {
    max-height: 36px;
    margin-top: 0;
    line-height: 1.3;
  }
}
