:root {
    color-scheme: light;
    --navy: #222d3e;
    --blue: #1a4570;
    --line: #dce3eb;
    font-family: Arial, Helvetica, sans-serif;
    color: #242e3c;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }
a:focus-visible { outline: 2px solid #2476ab; outline-offset: 4px; }
.wrap { width: min(calc(100% - 32px), 1140px); margin-inline: auto; }
.masthead { min-height: 65px; display: flex; align-items: center; }
.brand { font-size: 1.75rem; font-weight: 800; color: var(--navy); letter-spacing: .025em; }
nav, footer { background: var(--navy); color: #fff; }
.nav-links, footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-block: 10px; }
nav a { font-weight: 700; font-size: .9rem; text-transform: uppercase; }
nav a:hover, footer a:hover { color: #fff; }
.layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 28px; padding-block: 26px 44px; }
h1 { font-size: clamp(1.7rem, 4vw, 2.35rem); line-height: 1.18; margin: 0 0 20px; }
main#articles > h1 { font-size: clamp(1.25rem, 3vw, 1.65rem); border-left: 4px solid var(--blue); background: #f2f5f8; color: var(--blue); padding: 9px 12px; }
.card h2 { font-size: 1rem; line-height: 1.35; margin: 8px 0 0; }
.card img, .cover { display: block; width: 100%; height: auto; aspect-ratio: 600 / 315; object-fit: cover; background: #eef2f6; }
.featured { margin-bottom: 24px; }
.featured h2 { font-size: clamp(1.35rem, 3.1vw, 1.85rem); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
aside { border-left: 1px solid var(--line); padding-left: 20px; }
aside > h2 { font-size: 1.2rem; margin: 0 0 8px; color: var(--blue); padding-bottom: 7px; border-bottom: 2px solid var(--blue); }
aside .card { padding-block: 12px; border-bottom: 1px solid var(--line); }
aside .card a { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: start; }
aside .card h2 { margin: 0; font-size: .94rem; }
.category { display: inline-block; margin-bottom: 8px; color: var(--blue); font-size: .9rem; font-weight: 700; }
.story .intro { font-weight: 700; font-size: 1.1rem; }
.story h2, .story h3 { line-height: 1.25; margin: 1.25em 0 .45em; }
.story p { margin: .8em 0; }
.story a:not(.category) { color: var(--blue); text-decoration: underline; }
footer .wrap { justify-content: space-between; }
@media (max-width: 850px) {
    .layout { grid-template-columns: minmax(0, 1fr); }
    aside { border-left: 0; padding-left: 0; }
}
@media (max-width: 540px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
