.home-page { background: #0a101c; color: #f2f5fc; margin-bottom: 0; }
.home-page .navbar { padding: 12px 0 !important; border-bottom: 1px solid #263249; }
.home-page .navbar>.container-fluid { max-width: 1320px; gap: 16px; }
.home-page .navbar-nav { margin-left: 16px; }
.home-page .footer { position: static; white-space: normal; }
.home-skip { position: absolute; left: 16px; top: -100px; z-index: 10000; padding: 12px 20px; background: #ffe097; color: #101827; }
.home-skip:focus { top: 12px; }
.home { max-width: 1320px; margin: auto; padding: 48px 28px 24px; font-family: 'Segoe UI', sans-serif; }
.home * { box-sizing: border-box; }
.home a { color: inherit; }
.home a:hover { color: #ffe097; }
.home :is(a,button,input,summary):focus-visible { outline: 3px solid #ffe097; outline-offset: 5px; }
.home h1,.home h2,.home h3,.home p { margin: 0; }
.home h2 { font-size: clamp(1.35rem,2.5vw,1.8rem); font-weight: 700; }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; }
.home-eyebrow { color: #a6bce3; font-size: .72rem; font-weight: 750; letter-spacing: .17em; margin-bottom: 14px !important; }
.home h1 { font-size: clamp(2.4rem,4.1vw,3.65rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 800; }
.home h1 em { font-style: normal; color: #ffda83; }
.home .home-lead { color: #f2f5fc; font-size: 1.15rem; margin-top: 24px; margin-bottom: 10px; }
.home-hero-copy>p:not(.home-eyebrow) { max-width: 510px; }
.home-hero-copy>p,.home-feature p,.home-section-heading p { color: #b5c2d8; line-height: 1.6; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin: 28px 0 16px; }
.home-button,.home-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; font-weight: 700; }
.home .home-button { background: #ffda83; color: #121925; border-radius: 9px; padding: 14px 22px; text-decoration: none; }
.home .home-button:hover { background: #ffe9b6; color: #121925; }
.home-secondary { text-decoration: underline; text-underline-offset: 5px; }
.home-accessible { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; text-decoration: underline; text-underline-offset: 4px; }
.home .home-note { font-size: .76rem; color: #aab8ce; margin-top: 14px; }
.home-stage { position: relative; overflow: hidden; border: 1px solid #3d5375; border-radius: 20px; height: 420px; margin: 0; background: #162743; box-shadow: 0 20px 70px #24427a33; }
.home-stage>img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-stage figcaption { position: absolute; inset: auto 0 0; padding: 20px; background: #111c30f2; font-size: .7rem; font-weight: 750; letter-spacing: .09em; }
.home-stage figcaption>span:last-child { display: block; font-size: 1rem; letter-spacing: 0; margin-top: 7px; }
.home-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ffda83; margin-right: 8px; }
.home-steps { padding: 26px 0; margin: 38px 0; border-block: 1px solid #283349; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; list-style: none; }
.home-steps li { display: flex; gap: 15px; }
.home-steps li>span { color: #ffda83; font-size: .85rem; font-weight: 700; padding-top: 3px; }
.home-steps strong { font-size: 1rem; }
.home-steps p { color: #aab8ce; font-size: .85rem; margin-top: 5px; }
.home-feature { display: flex; align-items: center; gap: 24px; padding: 24px; background: #142137; border: 1px solid #34445e; border-radius: 14px; margin-bottom: 54px; }
.home-feature>img { border-radius: 9px; object-fit: cover; }
.home-feature>div { flex: 1; }
.home-feature .home-eyebrow { margin-bottom: 6px !important; color: #ffda83; }
.home-feature h2 { font-size: 1.4rem; margin-bottom: 7px; }
.home-feature p { font-size: .88rem; margin-bottom: 10px; }
.home-feature-topic { margin-left: 10px; font-size: .8rem; color: #b5c2d8; }
.home-feature>.home-secondary { flex-shrink: 0; font-size: .88rem; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.home-section-heading p { font-size: .88rem; margin-top: 6px; }
.home-search { width: min(100%,380px); }
.home-search label { display: block; font-size: .8rem; color: #bac8dd; margin-bottom: 7px; }
.home-search>div { display: flex; gap: 8px; }
.home-search input { min-width: 0; width: 100%; border: 1px solid #52617b; background: #121e31; border-radius: 8px; color: #fff; padding: 12px; }
.home-search input::placeholder { color: #aab8ce; }
.home-search button { border: 1px solid #52617b; border-radius: 8px; background: #253b5c; color: white; padding: 10px 16px; font-weight: 600; }
.home-categories { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 42px; }
.home-categories a { border: 1px solid #3c4b65; border-radius: 24px; padding: 11px 20px; min-height: 44px; font-size: .85rem; background: #121e31; text-decoration: none; }
.home-categories a:hover { background: #263956; }
.home-shelf { margin-top: 38px; }
.home-count { color: #aab8ce; font-size: .8rem; white-space: nowrap; }
.home-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.home-card { min-width: 0; background: #131e30; border: 1px solid #2e3b52; border-radius: 12px; overflow: hidden; padding-bottom: 16px; }
.home-card-main { display: block; text-decoration: none; }
.home-card-art { position: relative; background: #233956; aspect-ratio: 1.6; }
.home-card-art img { width: 100%; height: 100%; object-fit: cover; }
.home-badge { display: inline-block; background: #101a2ded; color: #eef3ff; padding: 5px 9px; border-radius: 5px; font-size: .72rem; font-weight: 650; }
.home-card-art .home-badge { position: absolute; bottom: 10px; left: 10px; }
.home-card h3 { padding: 16px 16px 8px; font-size: 1.05rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.home-card-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 16px; }
.home-card-tags a { color: #bdd0f2; font-size: .76rem; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.home .home-channel { display: block; padding: 12px 16px 0; min-height: 44px; color: #aab8ce; font-size: .76rem; }
.home-more summary { color: #ffda83; padding: 18px 0; cursor: pointer; min-height: 44px; }
.home-empty { padding: 32px; background: #142137; border-radius: 12px; }
.home-closing { text-align: center; border-top: 1px solid #283349; margin-top: 52px; padding-top: 32px; }
.home-closing strong { font-size: 1.3rem; }
.home-closing p { color: #aab8ce; margin-top: 8px; }
@media(max-width: 1000px) { .home-hero { gap: 24px; } .home-stage { height: 380px; } .home-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-feature { flex-wrap: wrap; } .home-feature>.home-secondary { margin-left: 136px; } }
@media(max-width: 700px) { .home { padding: 28px 18px; } .home-hero { grid-template-columns: 1fr; } .home-stage { height: 280px; } .home-steps { grid-template-columns: 1fr; gap: 22px; margin: 28px 0; } .home-feature { padding: 18px; gap: 16px; margin-bottom: 38px; } .home-feature>img { width: 72px; height: 72px; } .home-feature>div { min-width: 180px; } .home-feature>.home-secondary { margin-left: 0; } .home-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 16px; } .home-search { width: 100%; } .home-grid { gap: 14px; } .home-card h3 { font-size: .95rem; padding-inline: 12px; } .home-card-tags { padding-inline: 12px; } .home-card-art .home-badge { left: 6px; bottom: 6px; font-size: .65rem; } }
@media(max-width: 380px) { .home-grid { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion: reduce) { .home *, .home-page { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* Override the legacy theme’s highly specific link selectors. */
#main-content .home a { color: #d7e4fa; }
#main-content .home a:hover { color: #ffe097; }
#main-content .home .home-button { color: #121925; }
#main-content .home .home-channel { color: #aab8ce; }
