:root {
    color-scheme: light;
    --navy: #101433;
    --ink: #15182b;
    --night: #0a0d22;
    --accent: #f5ce3c;
    --paper: #f7f7f3;
    --muted: #576079;
    --line: #dcdde5;
    --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Inter", system-ui, -apple-system, sans-serif; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #bd8500; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: 16px; top: 16px; padding: 10px; background: var(--white); transform: translateY(-200%); z-index: 8; }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--navy); color: var(--white); }
.topline { border-bottom: 1px solid #ffffff29; color: #d6d9e8; }
.top-inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; font-size: .78rem; }
.top-inner a { text-decoration: none; }
.navigation { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 145px; height: auto; }
.navigation nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 36px); }
.navigation nav a { text-decoration: none; white-space: nowrap; font-size: .92rem; font-weight: 650; }
.navigation nav a:not(.button):hover, .footer-grid nav a:hover { color: var(--accent); }
.nav-toggle { display: none; color: var(--white); background: transparent; border: 1px solid #ffffff50; padding: 8px 15px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; width: fit-content; padding: 11px 17px; border: 1px solid transparent; border-radius: 3px; font-weight: 750; text-decoration: none; font-size: .88rem; line-height: 1.3; }
.button-accent { background: var(--accent); color: var(--night); }
.button-accent:hover { background: #ffe175; }
.button-outline { border-color: #ffffff55; color: var(--white); }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.button-dark { background: var(--navy); color: var(--white); }

.hero { background: var(--night); color: var(--white); padding: 38px 0 48px; }
.featured-grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); gap: 15px; }
.featured, .side-videos article, .post-image, .player { background: #222746; overflow: hidden; }
.featured-image, .side-image, .post-image { position: relative; display: block; overflow: hidden; }
.featured-image { min-height: clamp(300px, 36vw, 480px); height: 100%; }
.featured-image img, .side-image img, .post-image img, .player img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-image img, .player img { position: absolute; inset: 0; }
.featured-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, #050714f2, #05071410 76%); }
.featured-copy { position: absolute; z-index: 1; inset: auto 0 0; padding: clamp(20px, 3vw, 37px); }
.eyebrow { display: block; margin-bottom: 9px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.featured-copy strong { display: block; font-size: clamp(1.55rem, 3vw, 2.9rem); letter-spacing: -.035em; line-height: 1.12; }
.play { position: absolute; top: 14px; left: 14px; z-index: 1; display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--accent); color: var(--night); font-size: .75rem; }
.featured-image .play { top: 22px; left: 22px; width: 43px; height: 43px; }
.side-videos { display: grid; grid-template-rows: repeat(2, 1fr); gap: 15px; }
.side-videos article a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.side-image { flex: 1; min-height: 110px; }
.side-image img { position: absolute; inset: 0; }
.side-videos strong { background: #171b36; padding: 11px 14px; font-size: clamp(.82rem, 1.24vw, 1rem); line-height: 1.3; }
.featured-image:hover strong, .side-videos a:hover strong { color: var(--accent); }

.section { padding-block: clamp(34px, 5vw, 65px); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 19px; border-bottom: 1px solid var(--line); }
.section-heading h2 { font-size: clamp(1.6rem, 4vw, 2.65rem); letter-spacing: -.05em; margin: 0 0 10px; }
.arrow-link { text-decoration: none; font-weight: 750; white-space: nowrap; }
.arrow-link:hover { text-decoration: underline; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { background: var(--white); border: 1px solid var(--line); min-width: 0; }
.post-card a { display: block; height: 100%; text-decoration: none; }
.post-card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.post-image { aspect-ratio: 16 / 9; }
.card-copy { padding: 17px 19px 21px; }
.card-copy h3 { margin: 5px 0; font-size: 1.12rem; line-height: 1.3; }
.card-copy time, .card-copy p { color: var(--muted); font-size: .87rem; }
.card-copy p { margin-bottom: 0; }
.join-section { background: #e9eaf1; }
.join-card { display: flex; justify-content: space-between; gap: 12px; padding: 20px; color: var(--white); background: var(--navy); text-decoration: none; font-size: 1.2rem; }
.join-card span, .join-card:hover { color: var(--accent); }

.page-head { background: var(--night); color: var(--white); padding-block: clamp(32px, 7vw, 73px); }
.page-head h1 { margin: 0; letter-spacing: -.055em; font-weight: 850; overflow-wrap: anywhere; font-size: clamp(2.3rem, 5vw, 4.25rem); line-height: 1.06; }
.page-head time, .breadcrumb { display: inline-block; margin: 12px 0 0; color: #d6d9e8; }
.breadcrumb { margin: 0 0 14px; }
.search { margin-top: 22px; max-width: 440px; }
.search label { display: block; margin-bottom: 5px; }
.search div { display: flex; gap: 7px; }
.search input { flex: 1; min-width: 0; }
.categories { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.categories a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 3px; font-size: .87rem; font-weight: 650; text-decoration: none; }
.categories a:hover, .categories a[aria-current] { color: var(--white); background: var(--navy); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 25px; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.player [data-video] { display: grid; place-items: center; height: 100%; }
.player img { opacity: .62; }
.player .button { z-index: 1; }
.player iframe { display: block; width: 100%; height: 100%; border: none; }
.prose { font-size: 1.06rem; overflow-wrap: anywhere; }
.prose p, .prose li { max-width: 74ch; }
.prose img { max-height: 630px; object-fit: contain; }
.article-image { display: block; width: 100%; }
.prose table { display: block; overflow-x: auto; }
.prose td, .prose th { padding: 5px 10px; border: 1px solid var(--line); }
.source-link { margin-bottom: 28px; }

.form-section address { font-style: normal; margin-bottom: 24px; }
.portal-form, .message-panel form { display: grid; gap: 12px; }
.portal-form { max-width: 600px; }
.portal-form label, .message-panel label { display: grid; gap: 4px; font-weight: 650; }
input, select, textarea { width: 100%; padding: 9px; border: 1px solid #9a9eb2; border-radius: 3px; color: var(--ink); background: var(--white); }
textarea { resize: vertical; }
.portal-form .check { display: flex; align-items: start; gap: 8px; font-size: .91rem; }
.check input { width: auto; margin: 5px 0 0; }
.form-error { color: #a02134; }
.form-error:empty { display: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-footer { padding-block: 32px 62px; color: #d6d9e8; background: var(--night); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.footer-grid p { margin-bottom: 0; }
.footer-grid nav { display: grid; align-content: start; justify-items: start; gap: 5px; }
.message-widget { position: fixed; bottom: 15px; right: 16px; z-index: 5; width: fit-content; max-width: calc(100vw - 32px); }
.message-widget summary { display: flex; align-items: center; gap: 7px; width: fit-content; margin-left: auto; padding: 9px 15px; border-radius: 4px; list-style: none; color: var(--night); background: var(--accent); border: 1px solid #bb9800; font-weight: 750; font-size: .83rem; box-shadow: 0 5px 20px #07091435; }
.message-widget summary::-webkit-details-marker { display: none; }
.message-icon { font-size: 1rem; }
.message-panel { padding: 12px 16px 18px; width: min(320px, calc(100vw - 32px)); max-height: min(72vh, 520px); overflow-y: auto; margin-top: 6px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; }
.flash { position: fixed; left: 12px; bottom: 14px; z-index: 6; background: var(--night); color: var(--white); padding: 10px 15px; }

@media (max-width: 780px) {
    .wrap { width: calc(100% - 36px); }
    .navigation { flex-wrap: wrap; min-height: 66px; gap: 0; padding-block: 8px; }
    .navigation nav { width: 100%; flex-wrap: wrap; padding: 9px 0; gap: 11px 17px; }
    .navigation nav.has-toggle:not(.is-open) { display: none; }
    .nav-toggle { display: block; }
    .hero { padding-top: 29px; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 550px) {
    .top-inner { font-size: .69rem; }
    .brand img { width: 115px; }
    .featured-grid { grid-template-columns: 1fr; gap: 10px; }
    .side-videos { grid-template: 1fr / repeat(2, minmax(0, 1fr)); gap: 10px; }
    .side-image { aspect-ratio: 16 / 9; min-height: 0; }
    .side-videos strong { min-height: 4.15rem; }
    .card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 15px; }
}
.portal-form fieldset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.portal-form fieldset:disabled { opacity: .68; }

.people-lead { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; padding-bottom: 64px; }
.people-copy { z-index: 1; padding: 34px 14% 40px 0; }
.people-copy h1 { margin: 9px 0 20px; font-size: clamp(3.4rem, 7.2vw, 7rem); line-height: .94; letter-spacing: -.075em; font-weight: 850; }
.people-copy h1 span { color: var(--accent); }
.people-copy p { margin: 0 0 13px; max-width: 27ch; color: #d7dbeb; font-size: clamp(.95rem, 2vw, 1.23rem); }
.people-copy .button { margin-top: 16px; }
.people-main, .people-secondary { position: relative; margin: 0; background: var(--navy); }
.people-main { grid-column: 2; grid-row: 1; }
.people-main img, .people-secondary img { width: 100%; display: block; object-fit: cover; }
.people-main img { aspect-ratio: 1.5; }
.people-secondary img { aspect-ratio: 1.83; }
.people-main figcaption, .people-secondary figcaption { padding: 9px 12px; font-size: .78rem; color: #e0e3f0; }
.people-secondary { position: absolute; width: 27%; bottom: 0; right: 8%; border: 4px solid var(--night); }
.video-front { padding: 34px 0 44px; background: var(--navy); color: white; }
.video-front .section-heading { border-color: #ffffff39; }
@media (max-width: 780px) {
    .people-lead { grid-template-columns: 1fr 1.15fr; padding-bottom: 26px; }
    .people-copy { padding-right: 12px; }
    .people-copy h1 { font-size: clamp(2.8rem, 7.2vw, 4.2rem); }
    .people-secondary { display: none; }
}
@media (max-width: 550px) {
    .people-lead { grid-template-columns: 1fr; padding-bottom: 0; }
    .people-copy { padding: 10px 0 24px; }
    .people-main { grid-column: auto; grid-row: auto; }
}

/* GDF ankete */
.poll-feature { background: #244065; color: #fff; padding-block: clamp(22px,5vw,44px); }
.poll-feature-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.poll-feature .eyebrow { color: #f6d14c; }
.poll-feature h2 { margin: 0; line-height: 1.13; letter-spacing: -.04em; font-size: clamp(1.6rem,4.2vw,3rem); }
.poll-feature p { margin: .5em 0 0; color: #e7eefb; }
.poll-intro { white-space: pre-wrap; overflow-wrap: anywhere; }
.poll-ballot, .poll-results, .join-grid { display: grid; gap: 15px; }
.poll-question { min-width: 0; margin: 0; padding: 14px; border: 1px solid #d8e0eb; border-radius: 8px; }
.poll-question legend, .poll-question h3 { padding-inline: 4px; font-weight: 700; }
.poll-question h3, .poll-results h2, .poll-results p { margin: 0; }
.poll-question label { display: flex; gap: 8px; align-items: baseline; padding-block: 6px; }
.poll-question input[type=radio] { width: auto; accent-color: #254e82; }
.poll-result { margin: 9px 0; }
.poll-result div { display:flex; justify-content:space-between; gap: 12px; }
.poll-result progress { width:100%; accent-color:#254e82; }
