:root {
    --navy: #0f2d59;
    --blue: #2563eb;
    --gold: #facc15;
    --red: #dc2626;
    --green: #4d5d43;
    --orange: #ea580c;
    --purple: #6d28d9;
    --ink: #172033;
    --muted: #64748b;
    --line: #dbe3ee;
    --bg: #eef2f5;
    --card: #ffffff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.site-header {
    background:
        linear-gradient(rgba(255,255,255,0.38), rgba(255,255,255,0.38)),
        url('/header-bg.jpg?v=2');
    background-size: cover;
    background-position: center 38%;
    border-bottom: 5px solid var(--navy);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.1rem 1.25rem 2.7rem;
    text-align: center;
}

.eyebrow {
    margin: 0 0 0.45rem;
    color: white;
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}

.header-inner h1 {
    margin: 0;
    color: #12346b;
    font-size: clamp(3rem, 8vw, 6.2rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    text-shadow:
        -1px -1px 0 rgba(255,255,255,0.96),
         1px -1px 0 rgba(255,255,255,0.96),
        -1px  1px 0 rgba(255,255,255,0.96),
         1px  1px 0 rgba(255,255,255,0.96),
         0 7px 18px rgba(0,0,0,0.3);
}

.tagline {
    max-width: 820px;
    margin: 0.9rem auto 0;
    color: #111827;
    font-size: clamp(1rem, 2vw, 1.28rem);
    line-height: 1.45;
    font-weight: 800;
    text-shadow:
        0 2px 8px rgba(255,255,255,0.92),
        0 1px 2px rgba(255,255,255,1);
}

.sponsor-tagline {
    margin-top: 0.8rem;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 750;
    text-shadow:
        0 2px 8px rgba(255,255,255,0.95);
}

.sponsor-tagline a {
    color: #12346b;
    font-weight: 950;
    text-decoration: none;
}

.nav-strip {
    background: rgba(15,45,89,0.98);
    color: white;
    box-shadow: 0 8px 24px rgba(15,45,89,0.22);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.7rem 1.25rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-pill {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 0.46rem 0.82rem;
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
    color: #f8fafc;
    cursor: pointer;
    background: rgba(255,255,255,0.04);
    font-family: inherit;
}

.nav-pill.active {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.page {
    max-width: 1180px;
    margin: 1.6rem auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, calc(100% - 340px)) 320px;
    gap: 1.25rem;
    align-items: start;
}

.hero-row {
    grid-column: 1 / -1;
}

.hero-row .featured-story {
    max-width: none;
}

.hero-row .featured-content {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: stretch;
    padding: 1.75rem;
}

.hero-row .featured-art {
    min-height: 420px;
}

.hero-row .featured-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-row .featured-text h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.content-stack {
    min-width: 0;
    display: grid;
    gap: 1.45rem;
}

.sidebar {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
}

.featured-story {
    background: white;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 45, 89, 0.10);
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 7px solid var(--green);
}

.featured-story.tag-target { border-top-color: var(--red); }
.featured-story.tag-field { border-top-color: var(--blue); }
.featured-story.tag-3d { border-top-color: #334155; }
.featured-story.tag-hunting { border-top-color: var(--orange); }
.featured-story.tag-gear { border-top-color: var(--purple); }

.featured-label {
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}

.featured-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 0.65fr;
    gap: 1.25rem;
    padding: 1.5rem;
}

.featured-text h2 {
    margin: 0.7rem 0 0.85rem;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #101827;
}

.featured-text p {
    margin: 0;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.65;
}

.featured-art {
    min-height: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2d59, #1d4ed8);
    color: white;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.5rem;
}

.target-icon {
    font-size: 4rem;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
}

.featured-art img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.featured-placeholder {
    min-height: 260px;
    color: white;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.5rem;
}

.featured-btn,
.read-btn,
.ticker-link-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 900;
}

.featured-btn {
    margin-top: 1.35rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(15,45,89,0.12);
    box-shadow: 0 8px 18px rgba(15,45,89,0.14);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 2px solid var(--line);
    padding-bottom: 0.65rem;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-heading span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.top-stories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.top-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 11px;
    margin-bottom: 0.85rem;
    background: #edf2f7;
}

.top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.top-card:hover .top-image img {
    transform: scale(1.05);
}

.top-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#0f2d59,#1d4ed8);
    color: white;
    font-size: 2.4rem;
}

.top-card {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-top: 6px solid var(--green);
    border-radius: 16px;
    padding: 0.9rem;
    box-shadow: 0 8px 20px rgba(15, 45, 89, 0.08);
    min-height: 310px;
    overflow: hidden;
}

.top-card.tag-target { border-top-color: var(--red); }
.top-card.tag-field { border-top-color: var(--blue); }
.top-card.tag-3d { border-top-color: #334155; }
.top-card.tag-hunting { border-top-color: var(--orange); }
.top-card.tag-gear { border-top-color: var(--purple); }

.top-number {
    position: absolute;
    right: 0.8rem;
    top: 0.65rem;
    background: rgba(15,45,89,0.88);
    color: white;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 950;
    z-index: 2;
}

.top-card > *:not(.top-number) {
    position: relative;
    z-index: 1;
}

.top-card h2 {
    margin: 0.7rem 0 0.55rem;
    font-size: 1.08rem;
    line-height: 1.22;
    color: #111827;
}

.top-card p {
    margin: 0 0 0.9rem;
    color: #526174;
    line-height: 1.55;
    font-size: 0.9rem;
}

.top-card a {
    color: var(--navy);
    font-weight: 950;
    text-decoration: none;
    font-size: 0.9rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.news-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 5px solid var(--green);
    border-radius: 16px;
    padding: 0.9rem;
    box-shadow: 0 6px 18px rgba(15, 45, 89, 0.07);
    display: flex;
    flex-direction: column;
    min-height: 360px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}

.news-card:hover,
.top-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 45, 89, 0.12);
}

.news-card.tag-target { border-top-color: var(--red); }
.news-card.tag-field { border-top-color: var(--blue); }
.news-card.tag-3d { border-top-color: #334155; }
.news-card.tag-hunting { border-top-color: var(--orange); }
.news-card.tag-gear { border-top-color: var(--purple); }

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 2.4rem;
    background: linear-gradient(135deg,#0f2d59,#1d4ed8);
    color: white;
}

.card-image-placeholder small {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.badge,
.source-label {
    border-radius: 999px;
    padding: 0.32rem 0.55rem;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
}

.badge {
    background: #eef2f7;
    color: var(--green);
    text-transform: uppercase;
}

.tag-target .badge { background: #fee2e2; color: var(--red); }
.tag-field .badge { background: #dbeafe; color: var(--blue); }
.tag-3d .badge { background: #e2e8f0; color: #334155; }
.tag-hunting .badge { background: #ffedd5; color: var(--orange); }
.tag-gear .badge { background: #ede9fe; color: var(--purple); }

.source-label {
    background: #f8fafc;
    color: #64748b;
    white-space: nowrap;
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.affiliate-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 0.32rem 0.55rem;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
    background: #fef9c3;
    color: #854d0e;
    white-space: nowrap;
    text-decoration: none;
}

.affiliate-badge:hover {
    background: #fde68a;
}

.card-title {
    margin: 0 0 0.7rem;
    color: #111827;
    font-size: 1.08rem;
    line-height: 1.25;
}

.card-summary {
    margin: 0 0 1rem;
    color: #526174;
    font-size: 0.9rem;
    line-height: 1.55;
    flex-grow: 1;
}

.read-btn {
    margin-top: auto;
    background: var(--navy);
    color: white;
    padding: 0.68rem 0.8rem;
    text-align: center;
    border: 1px solid rgba(15,45,89,0.15);
}

.read-btn:hover {
    background: var(--gold);
    color: var(--navy);
}

.sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 1rem;
}

.side-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.1rem;
    box-shadow: 0 5px 16px rgba(15, 45, 89, 0.06);
}

.side-card h3 {
    margin: 0 0 0.75rem;
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.source-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #475569;
    line-height: 1.8;
    font-weight: 700;
}

.trending-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.trending-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.65rem;
    align-items: start;
}

.trending-rank {
    background: var(--gold);
    color: var(--navy);
    border-radius: 999px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 0.8rem;
}

.trending-item a {
    color: var(--ink);
    font-weight: 850;
    line-height: 1.25;
    text-decoration: none;
}

.trending-item small {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.about-text {
    margin: 0;
    color: #526174;
    line-height: 1.55;
    font-size: 0.9rem;
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    padding: 2rem;
}

.site-footer {
    max-width: 1180px;
    margin: 2rem auto 0;
    padding: 1.5rem 1.25rem 2.5rem;
    color: #64748b;
    font-size: 0.86rem;
    text-align: center;
}

@media (max-width: 1020px) {
    .top-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .page {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .featured-content,
    .hero-row .featured-content {
        grid-template-columns: 1fr;
    }

    .featured-art,
    .hero-row .featured-art {
        min-height: 200px;
    }
}

@media (max-width: 620px) {
    .top-stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .header-inner {
        padding: 2.2rem 1rem;
    }

    .nav-inner {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .card-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .source-label {
        max-width: 100%;
    }
}
