:root {
  --news-ink: #071f3f;
  --news-blue: #0b4d86;
  --news-cyan: #19a9bf;
  --news-mint: #63d1c4;
  --news-coral: #e45f56;
  --news-paper: #f6f9fc;
}

.news-hub-page { background: var(--news-paper); color: var(--news-ink); }
.news-hub-page main { overflow: clip; }
.news-hub-page .site-header { background: #fff; }
.news-hub-page .brand-area { min-height: 98px; }
.news-hub-page .brand { display: flex; align-items: center; gap: 14px; }
.news-hub-page .brand img { width: 174px; height: auto; }
.news-hub-page .brand span { color: var(--news-ink); font-weight: 800; }
.news-hub-page .social-link { font-size: 10px; font-weight: 900; }
.news-hub-page .nav-bar a[aria-current="page"] { color: #fff; background: var(--news-blue); }

.news-masthead { position: relative; overflow: hidden; background: var(--news-ink); color: #fff; border-bottom: 1px solid rgba(99, 209, 196, .72); }
.news-masthead::before,
.news-masthead::after { content: ""; position: absolute; top: 50%; width: min(22vw, 310px); height: 1px; background: linear-gradient(90deg, transparent, rgba(99, 209, 196, .72)); }
.news-masthead::before { left: 0; }
.news-masthead::after { right: 0; transform: rotate(180deg); }
.news-masthead-inner { min-height: 156px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 28px; padding-bottom: 28px; text-align: center; }
.news-masthead h1 { width: 100%; margin: 0; font-size: clamp(1.2rem, 5vw, 4rem); line-height: 1; letter-spacing: 0; white-space: nowrap; }
.news-masthead-divider { position: relative; display: block; width: min(440px, 48vw); height: 2px; margin-top: 22px; background: linear-gradient(90deg, transparent, #35bcd0 28%, #fff 50%, #63d1c4 72%, transparent); box-shadow: 0 0 9px rgba(53, 188, 208, .82), 0 0 22px rgba(99, 209, 196, .38); }
.news-masthead-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #63d1c4; transform: translate(-50%, -50%); }

.news-lead { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr); gap: 22px; margin-top: 34px; padding-top: 10px; }
.news-lead::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #0b4d86, #19a9bf 48%, #63d1c4); }
.news-lead a, .news-archive a { color: inherit; text-decoration: none; }
.news-lead-primary { min-height: 548px; position: relative; overflow: hidden; border-radius: 6px; background: var(--news-ink); box-shadow: 0 18px 44px rgba(7, 31, 63, .14); }
.news-lead-primary > a { display: block; min-height: inherit; }
.news-lead-primary img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-lead-primary:hover img { transform: scale(1.018); }
.news-lead-primary::after { content: ""; position: absolute; inset: 36% 0 0; background: linear-gradient(0deg, rgba(3,18,38,.98), rgba(3,18,38,0)); pointer-events: none; }
.news-lead-copy { position: absolute; z-index: 1; left: 38px; right: 38px; bottom: 34px; color: #fff; }
.news-topic { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; background: #1777b8; color: #fff; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.news-lead-copy h2 { max-width: 820px; margin: 13px 0 10px; font-size: clamp(1.75rem, 3.15vw, 2.85rem); line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
.news-lead-copy p { max-width: 720px; margin: 0 0 14px; color: #dce8f3; line-height: 1.55; }
.news-time { color: #a8c7d9; font-size: .78rem; font-weight: 700; }
.news-lead-rail { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 0; overflow: hidden; border-top: 3px solid var(--news-cyan); border-radius: 4px; background: #fff; box-shadow: 0 14px 36px rgba(7, 31, 63, .08); }
.news-rail-item { display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 15px; align-items: center; min-height: 0; padding: 15px 16px; border-bottom: 1px solid #dce7ef; transition: background-color .2s ease; }
.news-rail-item:last-child { border-bottom: 0; }
.news-rail-item:hover { background: #f3f9fc; }
.news-rail-item img { width: 116px; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.news-rail-item h3 { margin: 6px 0 8px; font-size: .98rem; line-height: 1.28; letter-spacing: 0; }
.news-rail-item .news-topic { min-height: 22px; padding: 0; background: none; color: var(--news-blue); }

.news-wire { display: grid; grid-template-columns: 176px minmax(0,1fr); margin-top: 26px; padding: 0; overflow: hidden; border: 1px solid #c3d7e3; border-radius: 4px; background: #fff; box-shadow: 0 10px 30px rgba(7, 31, 63, .06); }
.news-wire > strong { display: flex; align-items: center; justify-content: center; padding: 18px 20px; background: var(--news-blue); color: #fff; font-size: .78rem; text-align: center; text-transform: uppercase; }
.news-wire > div { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); align-items: stretch; }
.news-wire a { display: flex; align-items: center; justify-content: center; min-height: 82px; padding: 14px 16px; color: var(--news-ink); text-align: center; text-decoration: none; font-size: .78rem; font-weight: 750; line-height: 1.4; border-right: 1px solid #dce7ef; transition: color .2s ease, background-color .2s ease; }
.news-wire a:last-child { border-right: 0; }
.news-wire a:hover { background: #eef7fb; color: var(--news-blue); }

.news-archive { margin-top: 64px; margin-bottom: 78px; }
.news-archive-head { display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 22px; min-height: 66px; padding-bottom: 18px; border-bottom: 3px solid var(--news-ink); }
.news-archive-head h2 { margin: 0; color: var(--news-ink); font-size: 2.2rem; text-align: center; letter-spacing: 0; }
.news-archive-head h2 { grid-column: 2; }
.news-archive-head .news-search { grid-column: 3; justify-self: end; }
.news-search input { width: min(310px, 28vw); min-height: 46px; padding: 0 16px; border: 1px solid #a9c3d2; border-radius: 4px; background: #fff; color: var(--news-ink); font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.news-search input:focus { border-color: var(--news-cyan); box-shadow: 0 0 0 3px rgba(25, 169, 191, .14); }
.news-filters { display: flex; justify-content: center; gap: 8px; padding: 18px 0; border-bottom: 1px solid #d8e4ec; }
.news-filters button { min-height: 38px; padding: 0 16px; border: 1px solid #b9cbd7; border-radius: 4px; background: #fff; color: var(--news-blue); font: inherit; font-size: .82rem; font-weight: 850; cursor: pointer; }
.news-filters button { transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.news-filters button:hover { border-color: var(--news-blue); }
.news-filters button.is-active { border-color: var(--news-blue); background: var(--news-blue); color: #fff; }
.news-archive-list { overflow: hidden; border: 1px solid #d6e3eb; border-top: 0; border-radius: 0 0 5px 5px; background: #fff; box-shadow: 0 15px 38px rgba(7, 31, 63, .07); }
.news-archive-item { display: grid; grid-template-columns: 280px minmax(0,1fr) 42px; gap: 28px; align-items: center; padding: 22px; border-bottom: 1px solid #dce7ef; transition: background-color .2s ease; }
.news-archive-item:last-child { border-bottom: 0; }
.news-archive-item:hover { background: #f7fbfd; }
.news-archive-item > a:first-child { display: block; }
.news-archive-item img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.news-archive-item h3 { margin: 8px 0; font-size: 1.38rem; line-height: 1.22; letter-spacing: 0; text-wrap: balance; }
.news-archive-item p { max-width: 800px; margin: 10px 0 0; color: #52677b; line-height: 1.55; }
.news-archive-arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #a9c2d2; border-radius: 50%; color: var(--news-blue) !important; font-size: 1.25rem; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.news-archive-item:hover .news-archive-arrow { border-color: var(--news-blue); background: var(--news-blue); color: #fff !important; }
.news-hub-page a:focus-visible, .news-hub-page button:focus-visible { outline: 3px solid rgba(25, 169, 191, .42); outline-offset: 3px; }
.news-empty { padding: 36px; text-align: center; background: #fff; }

@media (prefers-color-scheme: dark) {
  .news-hub-page { background: #07172a; color: #eaf4fb; }
  .news-hub-page .site-header, .news-lead-rail, .news-wire, .news-archive-list, .news-search input, .news-filters button { background: #0c2239; color: #edf7fc; }
  .news-hub-page .brand span, .news-archive-head h2, .news-wire a, .news-archive a { color: #edf7fc; }
  .news-rail-item, .news-wire a, .news-archive-item, .news-filters { border-color: #244057; }
  .news-archive-item p { color: #bdd0df; }
  .news-rail-item:hover, .news-wire a:hover, .news-archive-item:hover { background: #102a43; }
}

html[data-theme="dark"] .news-hub-page { background: #07172a; color: #eaf4fb; }
html[data-theme="dark"] .news-hub-page .site-header,
html[data-theme="dark"] .news-lead-rail,
html[data-theme="dark"] .news-wire,
html[data-theme="dark"] .news-archive-list,
html[data-theme="dark"] .news-search input,
html[data-theme="dark"] .news-filters button { background: #0c2239; color: #edf7fc; }
html[data-theme="dark"] .news-hub-page .brand span,
html[data-theme="dark"] .news-archive-head h2,
html[data-theme="dark"] .news-wire a,
html[data-theme="dark"] .news-archive a { color: #edf7fc; }
html[data-theme="dark"] .news-rail-item:hover,
html[data-theme="dark"] .news-wire a:hover,
html[data-theme="dark"] .news-archive-item:hover { background: #102a43; }

@media (max-width: 900px) {
  .news-lead { grid-template-columns: 1fr; }
  .news-lead-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .news-lead-rail { grid-template-rows: none; }
  .news-wire { grid-template-columns: 1fr; }
  .news-wire > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .news-wire > strong { min-height: 48px; justify-content: center; }
  .news-archive-head { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .news-archive-head .news-search { width: 220px; }
  .news-search input { width: 100%; }
}

@media (max-width: 640px) {
  .news-hub-page .brand-area { min-height: 82px; }
  .news-hub-page .brand img { width: 142px; }
  .news-hub-page .brand span { display: none; }
  .news-masthead-inner { min-height: 124px; padding-top: 24px; padding-bottom: 24px; }
  .news-masthead h1 { font-size: clamp(1.08rem, 5.1vw, 1.4rem); line-height: 1; }
  .news-masthead-divider { width: min(250px, 70vw); margin-top: 18px; }
  .news-lead { margin-top: 18px; gap: 14px; }
  .news-lead-primary { min-height: 410px; box-shadow: 0 12px 30px rgba(7, 31, 63, .13); }
  .news-lead-copy { left: 20px; right: 20px; bottom: 20px; }
  .news-lead-copy h2 { font-size: clamp(1.45rem, 7vw, 1.85rem); }
  .news-lead-copy p { display: none; }
  .news-lead-rail { grid-template-columns: 1fr; }
  .news-rail-item { grid-template-columns: 105px minmax(0,1fr); padding: 14px; }
  .news-rail-item img { width: 105px; }
  .news-wire > div { display: block; }
  .news-wire a { min-height: 62px; padding: 13px 18px; border-right: 0; border-bottom: 1px solid #dce7ef; }
  .news-archive { margin-top: 42px; }
  .news-archive-head { display: flex; align-items: stretch; flex-direction: column; gap: 16px; }
  .news-archive-head .news-search { position: static; width: 100%; }
  .news-search input { width: 100%; }
  .news-filters { overflow-x: auto; }
  .news-filters button { flex: 0 0 auto; }
  .news-archive-list { border-right: 0; border-left: 0; box-shadow: none; }
  .news-archive-item { grid-template-columns: 116px minmax(0,1fr); gap: 15px; padding: 16px 4px; }
  .news-archive-item h3 { font-size: 1rem; }
  .news-archive-item p, .news-archive-arrow { display: none; }
}
