/* USNews.today — stylesheet
   Aiming for a credible mainstream-news feel: serif headlines, sans body,
   black/white/red palette, large hero, clean grid. */

:root {
    --ink: #111418;
    --ink-soft: #3a4049;
    --ink-muted: #6b7280;
    --rule: #e5e7eb;
    --rule-strong: #cbd1d8;
    --paper: #ffffff;
    --paper-alt: #f6f6f4;
    --accent: #c8102e;        /* USNT red */
    --accent-dark: #8a0a20;
    --link: #0f3978;
    --max-width: 1180px;
    --narrow-width: 760px;
    --font-serif: "Playfair Display", "Times New Roman", serif;
    --font-serif-body: "Source Serif 4", Georgia, serif;
    --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: var(--narrow-width); }

/* ---------- Breaking ticker ---------- */
.breaking-ticker {
    background: var(--accent);
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
}
.breaking-ticker__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.breaking-ticker__label {
    background: #fff;
    color: var(--accent);
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 11px;
    letter-spacing: 0.08em;
}

/* ---------- Header ---------- */
.site-header {
    border-bottom: 2px solid var(--ink);
    padding-bottom: 8px;
}
.site-header__top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 0 6px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 14px;
}
.site-header__brand {
    display: block;
    text-align: center;
    padding: 10px 0 6px;
    color: inherit;
}
.site-header__brand:hover { text-decoration: none; }
.site-header__title {
    display: block;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1;
    letter-spacing: -0.015em;
}
.site-header__tagline {
    display: block;
    font-family: var(--font-serif-body);
    font-style: italic;
    color: var(--ink-muted);
    margin-top: 6px;
    font-size: 14px;
}
.site-nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--rule);
    margin-top: 10px;
}
.site-nav a {
    color: var(--ink);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 6px 2px;
}
.site-nav a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ---------- Main ---------- */
.site-main { padding: 28px 0 60px; }

/* ---------- Kickers / bylines ---------- */
.kicker {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}
.byline {
    color: var(--ink-muted);
    font-size: 13px;
    margin-top: 10px;
}

/* ---------- Featured ---------- */
.featured {
    border-bottom: 1px solid var(--rule);
    padding-bottom: 28px;
    margin-bottom: 28px;
}
.featured__link {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px;
    color: inherit;
}
.featured__link:hover { text-decoration: none; }
.featured__link:hover .featured__title { color: var(--accent); }
.featured__image {
    background-size: cover;
    background-position: center;
    min-height: 420px;
    border-radius: 2px;
}
.featured__body { display: flex; flex-direction: column; justify-content: center; }
.featured__title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    margin: 4px 0 12px;
    letter-spacing: -0.01em;
    color: var(--ink);
    transition: color .15s;
}
.featured__dek {
    font-family: var(--font-serif-body);
    font-size: 19px;
    color: var(--ink-soft);
    margin: 0;
}
@media (max-width: 800px) {
    .featured__link { grid-template-columns: 1fr; }
    .featured__image { min-height: 240px; }
}

/* ---------- Row cards ---------- */
.row-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 28px;
}
.card { background: var(--paper); }
.card a { color: inherit; display: block; }
.card a:hover { text-decoration: none; }
.card a:hover .card__title { color: var(--accent); }
.card__image {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    margin-bottom: 10px;
}
.card__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    margin: 6px 0;
    color: var(--ink);
    transition: color .15s;
}
.card__dek {
    font-family: var(--font-serif-body);
    color: var(--ink-soft);
    font-size: 15px;
    margin: 6px 0 0;
}
@media (max-width: 900px) {
    .row-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .row-cards { grid-template-columns: 1fr; }
}

/* ---------- Story list ---------- */
.section-heading {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 22px;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.story-list { display: grid; grid-template-columns: 1fr; gap: 18px; }
.story-list__item { border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
.story-list__link {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    color: inherit;
}
.story-list__link:hover { text-decoration: none; }
.story-list__link:hover .story-list__title { color: var(--accent); }
.story-list__image {
    background-size: cover;
    background-position: center;
    aspect-ratio: 4/3;
    border-radius: 2px;
}
.story-list__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 6px;
    line-height: 1.15;
    transition: color .15s;
}
.story-list__dek {
    font-family: var(--font-serif-body);
    color: var(--ink-soft);
    font-size: 15px;
    margin: 0;
}
@media (max-width: 640px) {
    .story-list__link { grid-template-columns: 110px 1fr; gap: 14px; }
}

/* ---------- Article page ---------- */
.article { padding-bottom: 60px; }
.article__title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(30px, 4.6vw, 52px);
    line-height: 1.08;
    margin: 6px 0 14px;
    letter-spacing: -0.012em;
}
.article__dek {
    font-family: var(--font-serif-body);
    font-size: 22px;
    line-height: 1.4;
    color: var(--ink-soft);
    margin: 0 0 24px;
}
.article__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    font-size: 14px;
    color: var(--ink-muted);
}
.article__byline strong { color: var(--ink); }
.article__share {
    display: flex;
    gap: 10px;
    padding: 14px 0 0;
    flex-wrap: wrap;
}
.share {
    font-size: 13px;
    padding: 7px 12px;
    border: 1px solid var(--rule-strong);
    border-radius: 3px;
    color: var(--ink);
    background: var(--paper);
    cursor: pointer;
}
.share:hover { background: var(--paper-alt); text-decoration: none; }
.share--fb { border-color: #1877f2; color: #1877f2; }
.share--tw { border-color: #0f1419; color: #0f1419; }

.article__hero {
    margin: 28px 0 0;
    background: #000;
}
.article__hero img {
    display: block;
    width: 100%;
    max-height: 640px;
    object-fit: cover;
    margin: 0 auto;
}
.article__hero figcaption {
    max-width: var(--narrow-width);
    margin: 10px auto 0;
    padding: 0 20px;
    font-size: 13px;
    color: var(--ink-muted);
    font-style: italic;
}

.article__body {
    font-family: var(--font-serif-body);
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink);
    margin-top: 32px;
}
.article__body > p:first-of-type::first-letter {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 4.2em;
    float: left;
    line-height: 0.85;
    padding: 6px 10px 0 0;
    color: var(--ink);
}
.article__body p { margin: 0 0 1.1em; }
.article__body h2 {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 28px;
    margin: 1.6em 0 0.5em;
    line-height: 1.2;
}
.article__body h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    margin: 1.4em 0 0.4em;
}
.article__body blockquote {
    margin: 1.4em 0;
    padding: 0.4em 1em;
    border-left: 4px solid var(--accent);
    color: var(--ink-soft);
    font-style: italic;
}
.article__body blockquote.pullquote {
    font-family: var(--font-serif);
    font-size: 26px;
    font-style: italic;
    line-height: 1.3;
    border-left: none;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    padding: 0.6em 0;
    margin: 1.5em 0;
    text-align: center;
    color: var(--ink);
}
.article__body ul, .article__body ol { padding-left: 1.4em; }
.article__body li { margin-bottom: 0.4em; }
.article__body img { max-width: 100%; height: auto; }
.article-figure {
    margin: 1.6em 0;
    text-align: center;
}
.article-figure img { width: 100%; }
.article-figure figcaption {
    font-size: 13px;
    color: var(--ink-muted);
    font-style: italic;
    margin-top: 6px;
}
.article__body a { color: var(--link); border-bottom: 1px solid var(--rule-strong); }
.article__body a:hover { border-bottom-color: var(--accent); color: var(--accent); text-decoration: none; }
.article__body hr {
    border: 0;
    border-top: 1px solid var(--rule);
    margin: 2em auto;
    width: 60%;
}

.article__tags {
    margin: 32px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    font-size: 12px;
    background: var(--paper-alt);
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article__byline-foot {
    margin-top: 32px;
    padding: 18px;
    background: var(--paper-alt);
    border-radius: 3px;
}
.article__byline-foot__name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 18px;
}
.article__byline-foot__bio { color: var(--ink-muted); font-size: 14px; margin-top: 4px; }

.related { margin-top: 48px; }

/* ---------- 404 ---------- */
.notfound { padding: 60px 0; text-align: center; }
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
}
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: #cfd4da;
    padding: 40px 0 24px;
    margin-top: 40px;
    font-size: 14px;
}
.site-footer a { color: #cfd4da; }
.site-footer a:hover { color: #fff; }
.site-footer__cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2a3038;
}
.site-footer__brand {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}
.site-footer__heading {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    margin-bottom: 10px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer__legal {
    padding-top: 20px;
    color: #8b929a;
    font-size: 12px;
    text-align: center;
}
@media (max-width: 720px) {
    .site-footer__cols { grid-template-columns: 1fr; gap: 24px; }
}
