:root {
    --navy: #0b1c3f;
    --ink: #142033;
    --muted: #667085;
    --line: #e7eaf0;
    --red: #d21c24;
    --paper: #fff;
    --soft: #f6f7f9;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Source Sans 3", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }
svg { fill: currentColor; }

.site-header { background: #fff; border-bottom: 0; border-top: 5px solid var(--navy); }
.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px 0 12px;
}
.header-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--muted);
    text-transform: capitalize;
}
.weather { display: flex; align-items: center; gap: 6px; text-transform: none; }
.weather svg { width: 16px; height: 16px; color: var(--navy); fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.logo { text-align: center; color: var(--navy); }
.brand-logo { max-height: 72px; width: auto; margin: 0 auto; }
.brand-logo.sm { max-height: 42px; }
.logo strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 54px;
    letter-spacing: .5px;
    line-height: .9;
}
.logo small {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 1.4px;
    color: var(--muted);
}
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.socials { display: flex; gap: 8px; }
.socials a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--navy);
}
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.socials.named { flex-wrap: wrap; }
.socials.named a {
    width: auto;
    height: auto;
    padding: 8px 10px;
    gap: 8px;
    display: inline-flex;
    align-items: center;
}
.socials.named span { font-size: 13px; font-weight: 600; }
.socials.light a { color: var(--muted); }
.search {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.search input { border: 0; padding: 8px 14px; width: 180px; outline: none; }
.search button {
    width: 34px;
    height: 34px;
    margin: 3px;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    color: var(--on-brand, #fff);
    display: grid;
    place-items: center;
    cursor: pointer;
}
.search svg { width: 14px; height: 14px; }

.main-nav { background: var(--navy); }
.main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
}
.main-nav a, .nav-more button {
    padding: 13px 0;
    background: none;
    border: 0;
    color: var(--on-brand, #fff);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
.main-nav a.active, .main-nav a:hover, .nav-more button:hover {
    color: var(--on-brand, #fff);
    box-shadow: inset 0 -3px 0 var(--on-brand, #fff);
}
.nav-more { position: relative; }
.nav-more-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    min-width: 180px;
    padding: 8px 0;
    z-index: 5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.nav-more.open .nav-more-menu { display: grid; }
.nav-more-menu a { padding: 8px 14px; box-shadow: none; text-transform: none; font-weight: 600; color: var(--ink); }

.breaking { background: #f3f4f6; border-bottom: 1px solid var(--line); }
.breaking .container { display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.breaking span {
    background: var(--red);
    color: #fff;
    padding: 4px 9px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    flex: none;
}
.breaking-track { display: flex; align-items: center; gap: 12px; min-width: 0; overflow: hidden; font-size: 14px; }
.breaking-track a { white-space: nowrap; }
.breaking-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); flex: none; }

.site-main { padding: 26px 0 56px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
.hero-row { display: grid; grid-template-columns: 1.25fr .9fr; gap: 22px; }
.lead-story img { width: 100%; height: 340px; object-fit: cover; border-radius: 8px; }
.lead-story h1 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.15;
    margin: 8px 0 10px;
}
.lead-story p { color: var(--muted); margin: 0 0 10px; }
.kicker {
    display: inline-block;
    margin-top: 12px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}
.hero-stack { display: flex; flex-direction: column; gap: 16px; }
.stack-story a, .card.horizontal a { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: start; }
.stack-story img { width: 112px; height: 84px; object-fit: cover; border-radius: 6px; }
.stack-story h3, .card h3 { font-size: 16px; line-height: 1.3; margin: 4px 0 6px; }
.stack-story small, .card small, .lead-story small { color: var(--muted); font-size: 12px; }

.home-aside { display: flex; flex-direction: column; gap: 22px; }
.home-aside .block-title { margin-top: 0; }
.ad-cta { position: relative; display: block; border-radius: 10px; overflow: hidden; min-height: 210px; color: #fff; }
.ad-cta img { width: 100%; height: 210px; object-fit: cover; filter: brightness(.55); }
.ad-cta div { position: absolute; inset: auto 16px 16px; }
.ad-cta p { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.ad-cta strong {
    display: inline-block;
    background: #fff;
    color: var(--navy);
    padding: 7px 10px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: .4px;
    text-transform: uppercase;
}
.most-read { list-style: none; margin: 0; padding: 0; }
.most-read li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.most-read span {
    font-family: "Playfair Display", serif;
    color: var(--navy);
    font-size: 22px;
    line-height: 1;
    min-width: 18px;
}
.most-read a { font-weight: 600; font-size: 14px; }
.newsletter {
    background: var(--navy);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}
.newsletter h3 { font-family: "Playfair Display", serif; margin: 0 0 8px; }
.newsletter p { color: #d0d7e4; font-size: 14px; }
.newsletter input, .newsletter button { width: 100%; margin-top: 8px; padding: 10px 12px; border: 0; border-radius: 6px; }
.newsletter button { background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; }
.socials.dark a { width: 36px; height: 36px; background: var(--soft); border-radius: 8px; }
.socials.dark.named a { width: auto; height: auto; padding: 8px 10px; }
.ad-box { background: var(--soft); padding: 12px; border-radius: 10px; text-align: center; }
.ad-box small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.ad-box img { width: 100%; height: 190px; object-fit: cover; margin: 8px 0; border-radius: 6px; }

.block { margin-top: 34px; }
.block-title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--navy);
}
.cards-4, .cards-3, .cards-2 { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; }
.card p { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.card.horizontal img { width: 112px; height: 88px; }
.card.horizontal p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.promo {
    margin-top: 34px;
    padding: 22px 26px;
    border-radius: 10px;
    background: linear-gradient(90deg, #0a3d91 0%, #1565c0 55%, #1e88e5 100%);
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}
.promo-brand strong { display: block; font-size: 22px; letter-spacing: .4px; }
.promo-brand span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.promo h3 { margin: 0; font-size: 22px; font-weight: 600; }
.btn {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 9px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
}
.article h1 { font-family: "Playfair Display", serif; font-size: 42px; line-height: 1.15; margin: 8px 0 12px; }
.lead { font-size: 20px; color: var(--muted); }
.byline { color: var(--muted); margin-bottom: 18px; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; margin: 10px 0 22px; border-radius: 8px; }
.article-body { font-size: 18px; line-height: 1.7; }
.article-body p { margin: 0 0 1em; }
.article-body h2 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    line-height: 1.2;
    margin: 1.4em 0 .45em;
}
.article-body h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin: 1.2em 0 .4em;
}
.article-body h4 { font-size: 18px; margin: 1em 0 .35em; }
.article-body ul, .article-body ol { margin: 0 0 1em; padding-left: 1.3em; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: .2em 0; }
.article-body figure { margin: 1.2em 0; }
.article-body figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; }
.article-body blockquote {
    margin: 1.2em 0;
    padding: 10px 18px;
    border-left: 4px solid var(--navy);
    color: var(--muted);
    font-style: italic;
    background: var(--soft);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 16px; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 8px 10px; }
.article-body a { color: var(--navy); text-decoration: underline; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 1.4em 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.article-tags span {
    background: var(--soft);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}
.article-aside { position: sticky; top: 16px; }
.article-aside .block-title { margin-top: 0; font-size: 22px; }
.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-item a { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
.related-item img, .related-ph {
    width: 96px;
    height: 76px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--soft);
}
.related-item .kicker { margin-top: 0; }
.related-item h3 { font-size: 15px; line-height: 1.3; margin: 4px 0 6px; }
.related-item small { color: var(--muted); font-size: 12px; }
.related-more {
    display: inline-block;
    margin-top: 16px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0; }
.footer-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}
.footer-row .logo strong { font-size: 28px; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-row p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.message { padding: 10px 14px; margin-bottom: 16px; background: #eef6ff; }
.message.error { background: #fde8e8; }
.muted { color: var(--muted); }

.cover-hero {
    position: relative;
    margin: 0 0 28px;
    border-radius: 12px;
    overflow: hidden;
    min-height: 280px;
    background: #111;
}
.cover-hero img { width: 100%; height: 460px; object-fit: cover; display: block; }
.cover-copy {
    position: absolute;
    inset: auto 0 0;
    padding: 36px 28px 24px;
    background: linear-gradient(transparent, rgba(8, 15, 28, .82));
    color: #fff;
}
.cover-copy .kicker { color: #fff; margin-top: 0; }
.cover-copy h1 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    line-height: 1.12;
    margin: 8px 0 10px;
    color: #fff;
}
.cover-copy p { margin: 0; max-width: 740px; color: #e7eaf0; }

.mosaic {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    grid-auto-rows: 168px;
    gap: 14px;
}
.mosaic-item { position: relative; overflow: hidden; border-radius: 10px; background: #111; min-height: 168px; }
.mosaic-item.big { grid-row: span 2; }
.mosaic-item a { display: block; height: 100%; color: #fff; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-item a > div {
    position: absolute;
    inset: auto 0 0;
    padding: 14px;
    background: linear-gradient(transparent, rgba(8, 15, 28, .78));
}
.mosaic-item .kicker { color: #fff; margin-top: 0; }
.mosaic-item h3 { margin: 6px 0 0; font-size: 16px; line-height: 1.25; }
.mosaic-item.big h3 { font-size: 28px; font-family: "Playfair Display", serif; }
.mosaic-item.big p { color: #d7dce5; font-size: 14px; }

.digest-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.digest-item a { display: grid; grid-template-columns: 168px 1fr; gap: 16px; }
.digest-item img { width: 168px; height: 112px; object-fit: cover; border-radius: 8px; }
.digest-item h3 { font-family: "Playfair Display", serif; font-size: 24px; margin: 4px 0 8px; }
.digest-item p { color: var(--muted); margin: 0 0 8px; }

@media (max-width: 1100px) {
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .home-layout, .hero-row, .cards-2, .promo, .footer-row, .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
    .article h1 { font-size: 30px; }
    .header-top { grid-template-columns: 1fr; text-align: center; }
    .header-meta, .header-tools { justify-content: center; }
    .logo strong { font-size: 42px; }
    .lead-story img { height: 240px; }
    .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .mosaic-item.big { grid-column: 1 / -1; }
    .digest-item a { grid-template-columns: 112px 1fr; }
    .digest-item img { width: 112px; height: 84px; }
    .digest-item h3 { font-size: 18px; }
    .cover-hero img { height: 280px; }
    .cover-copy h1 { font-size: 28px; }
    .mosaic-item.big h3 { font-size: 22px; }
}
