:root {
  --ink: #101827;
  --muted: #5d6675;
  --line: #e3e7ec;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --navy: #0b1f3a;
  --red: #e31b23;
  --red-dark: #b9141a;
  --radius: 10px;
  --shadow: 0 14px 40px rgba(11, 31, 58, 0.09);
  --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input { font: inherit; }

.site-shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow-shell { max-width: 860px; }
.section-space { padding-block: clamp(42px, 6vw, 78px); }
.section-space--topless { padding-top: 0; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000; top: 12px; left: 12px; width: auto; height: auto;
  padding: 12px 18px; margin: 0; clip: auto; color: #fff; background: var(--navy);
}

.topbar { color: #dbe4ef; background: #071629; font-size: 0.78rem; }
.topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__tagline { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header { position: relative; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-main { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding img, .custom-logo { width: auto; max-height: 66px; }
.custom-logo-link { display: block; }
.header-search { width: min(330px, 35vw); }
.search-form { display: flex; width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 999px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.search-form:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,.08); }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 44px; padding: 0 8px 0 17px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-submit { width: 46px; border: 0; color: #fff; background: var(--red); cursor: pointer; font-size: 1.35rem; }
.search-submit:hover { background: var(--red-dark); }

.main-navigation { color: #fff; background: var(--navy); }
.primary-menu, .main-navigation .menu { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.primary-menu a, .main-navigation .menu a { display: block; padding: 13px 17px; font-size: .88rem; font-weight: 700; letter-spacing: .02em; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .main-navigation .menu a:hover { color: #fff; background: var(--red); }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 9px; border: 0; border-radius: 6px; background: var(--navy); cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: #fff; }

.home-hero { position: relative; min-height: min(620px, 68vh); display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.home-hero__media, .home-hero__overlay { position: absolute; inset: 0; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__overlay { background: linear-gradient(90deg, rgba(4,16,31,.93) 0%, rgba(4,16,31,.66) 52%, rgba(4,16,31,.18) 100%); }
.home-hero__content { position: relative; z-index: 2; padding-block: clamp(70px, 10vw, 130px); }
.home-hero h1 { max-width: 830px; margin: 13px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
.home-hero p { max-width: 660px; margin: 0 0 30px; color: #e5eaf0; font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-kicker, .section-kicker { color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 5px; color: #fff; background: var(--red); font-weight: 800; }
.button:hover { color: #fff; background: var(--red-dark); transform: translateY(-1px); }
.button--dark { background: var(--navy); }

.home-intro { display: grid; grid-template-columns: 1fr; }
.home-page-content { max-width: 900px; margin: 0 auto; text-align: center; color: #384252; }
.home-page-content h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; padding-bottom: 13px; border-bottom: 3px solid var(--navy); }
.section-heading h2 { margin: 2px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.1; }
.section-heading > a { color: var(--red); font-weight: 800; font-size: .9rem; }
.section-heading--light { color: #fff; border-color: rgba(255,255,255,.26); }

.lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(230px, .75fr) minmax(230px, .75fr); gap: 24px; }
.lead-story { grid-row: span 2; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.lead-story__image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.lead-story__image img, .news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lead-story:hover img, .news-card:hover img { transform: scale(1.035); }
.lead-story__body { padding: clamp(20px, 3vw, 30px); }
.lead-story h2 { margin: 8px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.12; }
.lead-story p { color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { min-width: 0; border-bottom: 1px solid var(--line); background: #fff; }
.news-card__image { display: block; aspect-ratio: 16/10; border-radius: 7px; overflow: hidden; background: var(--soft); }
.news-card__body { padding: 15px 2px 21px; }
.news-card h2 { margin: 7px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; line-height: 1.25; }
.news-card p { margin: 0 0 12px; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.eyebrow { display: inline-block; color: var(--red); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.card-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #788291; font-size: .76rem; }

.category-band { color: #fff; background: var(--navy); }
.category-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-tile { position: relative; min-height: 210px; display: flex; align-items: flex-end; border-radius: 8px; overflow: hidden; background: #122f54; }
.category-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,13,25,.9), rgba(3,13,25,.05)); }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.category-tile:hover img { transform: scale(1.04); }
.category-tile > span { position: relative; z-index: 2; display: flex; width: 100%; padding: 18px; align-items: flex-end; justify-content: space-between; gap: 10px; }
.category-tile strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.category-tile small { color: #dfe7f0; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: #6b7482; font-size: .8rem; }
.breadcrumbs a { color: var(--red); }
.page-header, .article-header, .archive-header { max-width: 850px; margin-bottom: 32px; }
.page-header h1, .article-header h1, .archive-header h1 { margin: 6px 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: 1.03; letter-spacing: -.03em; }
.page-deck, .article-deck, .archive-header p, .archive-description { margin: 0; color: var(--muted); font-size: 1.12rem; line-height: 1.6; }
.article-meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.feature-image { margin: 0 0 clamp(30px, 5vw, 54px); border-radius: var(--radius); overflow: hidden; }
.feature-image img { width: 100%; }
.prose { color: #283241; font-size: 1.08rem; }
.prose > * { max-width: 760px; margin-inline: auto; }
.prose h2, .prose h3 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.2; }
.prose h2 { margin-top: 2.25em; font-size: 1.8rem; }
.prose h3 { margin-top: 1.8em; font-size: 1.35rem; }
.prose p { margin-block: 0 1.35em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { padding: 18px 24px; border-left: 4px solid var(--red); color: var(--navy); background: var(--soft); font-family: Georgia, "Times New Roman", serif; font-size: 1.16rem; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-footer { max-width: 760px; margin: 35px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-list a { display: inline-block; margin: 3px; padding: 4px 9px; border-radius: 3px; background: var(--soft); font-size: .8rem; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(36px, 5vw, 70px); align-items: start; }
.content-column { min-width: 0; }
.sidebar { position: sticky; top: 22px; }
.widget { margin-bottom: 28px; padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--navy); background: #fff; }
.widget-title { margin: 0 0 15px; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.widget li:last-child { border-bottom: 0; }
.widget li a { font-weight: 650; }
.widget li time { display: block; margin-top: 3px; color: #7b8492; font-size: .72rem; }
.widget_categories li { display: flex; justify-content: space-between; gap: 12px; }
.related-posts { margin-top: 64px; }

.category-hero { position: relative; min-height: 360px; display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.category-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,31,.92), rgba(4,16,31,.28)); }
.category-hero__content { position: relative; z-index: 2; padding-block: 64px; }
.category-hero__content > span { color: #ff777c; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.category-hero h1 { margin: 7px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1; }
.category-hero__content div { max-width: 700px; color: #e7ecf1; }
.archive-header { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.archive-header--news { max-width: none; }

.navigation.pagination { margin-top: 38px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; }
.page-numbers.current, .page-numbers:hover { color: #fff; border-color: var(--red); background: var(--red); }
.empty-state, .not-found { text-align: center; }
.empty-state { padding: 45px; background: var(--soft); }
.empty-state .search-form, .not-found .search-form { max-width: 520px; margin: 25px auto; }
.not-found__code { display: block; color: var(--red); font-size: clamp(5rem, 18vw, 11rem); font-weight: 900; line-height: .8; opacity: .13; }
.not-found h1 { margin: 20px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 3.8rem); }
.not-found p { max-width: 620px; margin-inline: auto; color: var(--muted); }

.site-footer { color: #cbd4df; background: #071629; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: clamp(28px, 6vw, 70px); padding-block: 60px; }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-brand img { width: 230px; margin-bottom: 17px; padding: 8px 10px; border-radius: 6px; background: #fff; }
.footer-brand p { max-width: 420px; margin: 0; }
.footer-menu, .contact-list { margin: 0; padding: 0; list-style: none; }
.footer-menu li, .contact-list li { margin: 8px 0; }
.footer-menu a:hover { color: #fff; }
.footer-bottom { padding-block: 17px; border-top: 1px solid rgba(255,255,255,.1); color: #aeb9c6; font-size: .82rem; }

@media (max-width: 980px) {
  .lead-grid { grid-template-columns: 1.25fr 1fr; }
  .lead-story { grid-row: span 3; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 34px; }
  .card-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-shell { width: min(calc(100% - 28px), var(--shell)); }
  .topbar__tagline, .header-search { display: none; }
  .header-main { min-height: 74px; }
  .site-branding img, .custom-logo { max-width: 215px; max-height: 55px; }
  .menu-toggle { display: block; }
  .main-navigation { position: absolute; top: 100%; left: 0; width: 100%; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .28s ease, visibility .28s; }
  .main-navigation.is-open { max-height: calc(100vh - 74px); overflow-y: auto; visibility: visible; }
  .primary-menu, .main-navigation .menu { display: block; padding-block: 8px; }
  .primary-menu a, .main-navigation .menu a { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .home-hero { min-height: 550px; }
  .home-hero__overlay { background: linear-gradient(0deg, rgba(4,16,31,.94), rgba(4,16,31,.24)); }
  .home-hero h1 { font-size: clamp(2.35rem, 13vw, 4rem); }
  .lead-grid, .card-grid, .card-grid--three, .content-layout, .footer-grid { grid-template-columns: 1fr; }
  .lead-story { grid-row: auto; }
  .category-tiles { grid-template-columns: 1fr; }
  .category-tile { min-height: 190px; }
  .sidebar { position: static; margin-top: 20px; }
  .page-header h1, .article-header h1, .archive-header h1 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .prose { font-size: 1rem; }
  .section-heading { align-items: flex-start; }
  .footer-grid { padding-block: 44px; }
}

@media (max-width: 420px) {
  .site-branding img, .custom-logo { max-width: 180px; }
  .home-hero__content { padding-block: 76px; }
  .section-heading { display: block; }
  .section-heading > a { display: inline-block; margin-top: 10px; }
  .news-card h2 { font-size: 1.2rem; }
}

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

@media print {
  .topbar, .site-header, .site-footer, .sidebar, .related-posts, .breadcrumbs { display: none !important; }
  .site-shell, .prose > * { width: 100%; max-width: none; }
  body { color: #000; font-size: 12pt; }
}
