/* Editorial identity: red accents, serif headlines and a restrained newspaper grid. */
:root {
    --header: #ffffff;
    --navigation: #e30613;
    --footer: #202426;
    --background: #f5f5f3;
    --surface: #ffffff;
    --accent: #e30613;
    --heading: #17191b;
    --content-width: 1440px;
    --banner-height: 144px;
    --section-spacing: 24px;
    --banner-image: url('/assets/brand/bridge.png');
}
body {
    margin: 0;
    color: var(--heading);
    background: var(--surface);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
img {
    max-width: 100%;
    height: auto;
}
.site-container {
    width: calc(100% - 64px);
    max-width: var(--content-width);
    margin: 0 auto;
}
.top-strip {
    padding: 9px 0;
    background: #202426;
    color: #fff;
    font-size: 12px;
}
.top-links {
    display: flex;
    gap: 24px;
}
.masthead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: var(--banner-height);
    padding: 10px;
    background: var(--header) var(--banner-image) center 18% / cover no-repeat;
}
.masthead img {
    width: 365px;
    height: auto;
}
.masthead p {
    margin: 4px 0 0;
    font-size: 9px;
    letter-spacing: 7px;
}
.masthead-compact {
    min-height: 100px;
}
.masthead-compact img {
    width: 275px;
}
.main-navigation {
    padding: 0;
    background: var(--navigation);
    color: white;
}
.nav-inner {
    display: flex;
    align-items: center;
}
.navbar-nav {
    width: 100%;
    justify-content: space-between;
}
.main-navigation .nav-link {
    padding: 15px 10px !important;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}
.main-navigation a:hover {
    background: #ffffff18;
    color: white;
}
.nav-home, .nav-search {
    padding: 12px 15px;
    font-size: 19px;
}
.navbar-toggler {
    border-color: #ffffff70;
    color: white;
}
.main-content {
    padding-top: var(--section-spacing);
    padding-bottom: 60px;
    min-height: 50vh;
}
.newspaper-grid, .article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
}
.top-stories {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 24px;
}
.lead-image {
    position: relative;
    display: block;
}
.lead-image img {
    width: 100%;
    aspect-ratio: 1.7;
    object-fit: cover;
}
.category-label {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: white;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
}
.lead-story h1 {
    margin: 13px 0 8px;
    font-size: clamp(26px, 2.5vw, 37px);
    line-height: 1.08;
    letter-spacing: -1px;
}
.lead-summary {
    font: 17px/1.45 Georgia, serif;
    color: #505050;
}
.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}
.secondary-story {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 13px;
    padding: 0 0 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e7e7e7;
}
.secondary-story img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}
.eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font: 700 10px/1.3 Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.secondary-story h2 {
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.18;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 26px;
}
.section-label {
    margin: 0 0 12px;
    padding: 8px 0 8px 12px;
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, #f1f1f1, #fafafa);
    font: 700 14px/1.3 Arial, sans-serif;
    text-transform: uppercase;
}
.section-label a {
    display: flex;
    justify-content: space-between;
    padding-right: 10px;
}
.category-block img {
    width: 100%;
    aspect-ratio: 1.75;
    object-fit: cover;
}
.category-block h3 {
    font-size: 17px;
    line-height: 1.22;
    margin: 9px 0;
}
.news-sidebar {
    padding-left: 16px;
    border-left: 1px solid #eee;
}
.sidebar-panel {
    margin-bottom: 24px;
}
.sidebar-story {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}
.sidebar-story img {
    width: 100px;
    height: 78px;
    object-fit: cover;
}
.sidebar-story h3 {
    font-size: 16px;
}
.latest-story {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    line-height: 1.4;
}
.latest-story time {
    color: #888;
    font-size: 11px;
    padding-top: 2px;
    flex-shrink: 0;
}
.journal-note {
    margin: 28px 0;
    padding: 24px;
    background: var(--background);
    border-top: 3px solid var(--accent);
}
.journal-note h3 {
    margin-top: 15px;
    font-size: 26px;
}
.journal-note p {
    color: #777;
}
.breadcrumb-line {
    display: flex;
    gap: 12px;
    color: #777;
    font-size: 12px;
    margin: 4px 0 24px;
}
.full-article h1 {
    font-size: clamp(30px, 3.6vw, 52px);
    line-height: 1.12;
    letter-spacing: -1px;
}
.article-summary {
    color: #555;
    font: 21px/1.5 Georgia, serif;
    margin: 20px 0;
}
.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    border-top: 1px solid #eee;
    padding: 15px 0 22px;
    color: #666;
    font-size: 13px;
}
.article-byline a {
    color: var(--heading);
    font-weight: 700;
}
.article-banner img {
    width: 100%;
    max-height: 610px;
    object-fit: cover;
}
figcaption {
    color: #777;
    font-size: 12px;
    margin-top: 6px;
}
.article-body {
    max-width: 760px;
    font: 20px/1.75 Georgia, serif;
}
.article-body p {
    margin-bottom: 23px;
}
.article-body a {
    text-decoration: underline;
    text-decoration-color: var(--accent);
}
.article-body iframe {
    max-width: 100%;
}
.article-body table {
    display: block;
    overflow-x: auto;
}
.share-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 22px 0;
}
.share-links span {
    color: #777;
    font-size: 12px;
}
.copy-link {
    background: none;
    border: 0;
    font-size: 22px;
}
.listing-header {
    margin: 14px 0 32px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 26px;
}
.listing-header h1 {
    font-size: 42px;
}
.search-form {
    display: flex;
    max-width: 540px;
    gap: 10px;
    margin-top: 24px;
}
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}
.news-card img {
    width: 100%;
    aspect-ratio: 1.8;
    object-fit: cover;
    margin-bottom: 14px;
}
.news-card h2 {
    font-size: 25px;
}
.news-card p {
    color: #666;
}
.related-section {
    margin-top: 48px;
    border-top: 1px solid #ddd;
    padding-top: 24px;
}
.author-portrait {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}
.empty-state {
    padding: 70px 0;
    text-align: center;
}
.site-footer {
    border-top: 4px solid var(--accent);
    padding: 35px 0 20px;
    background: var(--footer);
    color: #ddd;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 45px;
    font-size: 13px;
}
.footer-grid img {
    background: white;
    padding: 8px;
    margin-bottom: 14px;
}
.footer-grid a, .footer-grid strong {
    display: block;
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid #ffffff25;
    margin-top: 25px;
    padding-top: 16px;
    font-size: 11px;
}
@media (max-width: 1199px) {
    .newspaper-grid, .article-layout {
        grid-template-columns: 1fr;
    }
    .news-sidebar {
        border-left: 0;
        padding-left: 0;
    }
    .navbar-collapse {
        flex-basis: 100%;
        order: 3;
    }
    .nav-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .main-navigation .nav-link {
        padding-left: 15px !important;
    }
}
@media (max-width: 767px) {
    .site-container {
        width: calc(100% - 32px);
    }
    .masthead {
        min-height: 100px;
    }
    .masthead img {
        width: 270px;
    }
    .top-stories {
        grid-template-columns: 1fr;
    }
    .category-grid, .listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }
    .secondary-story {
        grid-template-columns: 32% 1fr;
    }
    .lead-story h1 {
        font-size: 32px;
    }
    .article-body {
        font-size: 18px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-card h2 {
        font-size: 20px;
    }
    .news-card p {
        display: none;
    }
}

/* Ad labels remain distinct from editorial category labels. */
.advertisement {
    margin: 20px 0;
    text-align: center;
}
.advertisement > span {
    display: block;
    margin-bottom: 5px;
    color: #777;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.advertisement img {
    max-width: 100%;
}
