:root {
    --site-green: #0b7c3d;
    --site-green-deep: #08562a;
    --site-yellow: #f7b718;
    --site-yellow-soft: #ffd55a;
    --site-dark: #071018;
    --site-ink: #10212d;
    --site-muted: #5d6976;
    --site-bg: #f4f1e7;
    --site-panel: #fffdf7;
}

body.site-body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--site-ink);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(247, 183, 24, 0.28), transparent 18%),
        radial-gradient(circle at top right, rgba(11, 124, 61, 0.12), transparent 22%),
        linear-gradient(180deg, #fffef9 0%, var(--site-bg) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid rgba(255, 213, 90, 0.9);
    outline-offset: 3px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(247, 183, 24, 0.8);
    box-shadow: 0 0 0 0.2rem rgba(247, 183, 24, 0.18);
}

.site-header {
    background:
        linear-gradient(90deg, rgba(247, 183, 24, 0.95) 0 8px, transparent 8px 100%),
        linear-gradient(135deg, #050b11, #0d2718 55%, #0b7c3d 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 16px 40px rgba(7, 16, 24, 0.24);
}

.site-header .navbar {
    gap: 1rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.site-logo {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(247, 183, 24, 0.95);
    background: #000;
    box-shadow: 0 0 0 4px rgba(247, 183, 24, 0.12);
}

.nav-link {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
    padding: 0.4rem 0.75rem !important;
    border-radius: 999px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.is-active,
.nav-admin-link {
    color: #fff;
}

.nav-link:hover,
.nav-link:focus {
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-active {
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.9rem;
    padding: 0.45rem 0.65rem;
    margin-left: auto;
}

.site-nav-toggle .navbar-toggler-icon {
    width: 1.35rem;
    height: 1.35rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.92)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: 100% 100%;
}

.site-search-form {
    width: min(100%, 240px);
}

.site-search-input {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.site-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.ad-slot,
.ad-slot-placeholder {
    display: block;
    width: 100%;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 1rem;
    text-align: center;
}

.ad-slot-placeholder {
    color: rgba(16, 33, 45, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
}

.site-footer .ad-slot,
.site-footer .ad-slot-placeholder {
    background: rgba(255, 255, 255, 0.04);
}

.site-main {
    overflow-x: clip;
}

.landing-hero,
.story-hero,
.category-hero {
    background:
        radial-gradient(circle at 15% 25%, rgba(247, 183, 24, 0.28), transparent 18%),
        radial-gradient(circle at 80% 15%, rgba(255, 213, 90, 0.14), transparent 16%),
        linear-gradient(135deg, #081018 0%, #11331d 52%, #0b7c3d 100%);
    color: #fff;
    position: relative;
}

.landing-hero::after,
.story-hero::after,
.category-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -60px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 26px solid rgba(247, 183, 24, 0.12);
    pointer-events: none;
}

.category-hero {
    padding: 3.35rem 0 2.6rem;
}

.category-hero::after {
    inset: auto -5% -40px auto;
    width: 190px;
    height: 190px;
    border-width: 18px;
    opacity: 0.85;
}

.brand-ribbon {
    display: block;
    padding: 1.15rem 1.35rem;
    border-radius: 1.6rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(247, 183, 24, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.brand-ribbon-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.brand-ribbon-intro {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 760px;
}

.brand-ribbon-logo,
.story-hero-logo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--site-yellow);
    background: #000;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.brand-ribbon-copy h1 {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.02;
    margin: 0.2rem 0 0;
    max-width: 18ch;
}

.brand-ribbon-copy p,
.signal-copy {
    color: rgba(255, 255, 255, 0.8);
    max-width: 62ch;
    margin: 0;
}

.landing-hero {
    padding: 1.25rem 0 1.25rem;
}

.landing-hero::after {
    inset: auto -6% -38px auto;
    width: 210px;
    height: 210px;
    border-width: 18px;
}

.landing-hero-shell {
    padding-top: 1.1rem;
    padding-bottom: 0.6rem;
}

.landing-hero-grid {
    margin-top: 1.15rem;
}

.frontpage-shell {
    padding-bottom: 1rem;
}

.frontpage-kicker-row {
    display: block;
    max-width: 100%;
    margin-bottom: 1rem;
}

.frontpage-kicker-copy {
    min-width: 0;
}

.frontpage-title {
    margin: 0.35rem 0 0;
    max-width: 22ch;
    font-size: clamp(1.9rem, 2.6vw, 2.7rem);
    line-height: 1.04;
    color: #fff;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.frontpage-intro {
    margin: 0.85rem 0 0;
    max-width: 48rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    min-height: 460px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(247, 183, 24, 0.28);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
}

.feature-card img,
.story-card img,
.promo-card img,
.promo-banner img,
.story-cover {
    width: 100%;
    object-fit: cover;
}

.feature-card img {
    height: 100%;
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 16, 24, 0.08), rgba(8, 16, 24, 0.96)),
        linear-gradient(120deg, rgba(11, 124, 61, 0.16), transparent 40%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.feature-overlay h1 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 0.98;
    max-width: 90%;
    margin: 0.45rem 0 0.8rem;
}

.feature-overlay p {
    max-width: 64ch;
    color: rgba(255, 255, 255, 0.86);
    overflow-wrap: anywhere;
}

.frontpage-lead {
    min-height: 360px;
}

.frontpage-lead-title {
    font-size: clamp(2rem, 3.6vw, 3.15rem);
    line-height: 0.96;
    max-width: 12ch;
    margin: 0.45rem 0 0.8rem;
    overflow-wrap: anywhere;
}

.feature-meta,
.story-card-meta {
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: var(--site-muted);
}

.feature-meta {
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.2rem;
}

.section-tag,
.mini-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--site-yellow);
}

.signal-panel,
.sidebar-widget,
.story-card,
.promo-banner {
    background: var(--site-panel);
    border-radius: 1.35rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.signal-panel {
    height: 100%;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.15rem;
    background:
        linear-gradient(180deg, rgba(255, 213, 90, 0.18), rgba(255, 255, 255, 0.98) 35%),
        var(--site-panel);
    border-top: 6px solid var(--site-green);
}

.signal-panel-compact h2 {
    font-size: 1.65rem;
}

.signal-panel-compact .signal-copy {
    font-size: 0.98rem;
}

.frontpage-desk {
    height: 100%;
    display: grid;
    gap: 1rem;
    padding: 1.3rem;
    border-radius: 1.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(8, 16, 24, 0.18)),
        rgba(5, 11, 17, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
}

.frontpage-stream-section {
    position: relative;
    z-index: 2;
    margin-top: -0.75rem;
    padding-top: 0.75rem;
}

.frontpage-stream-section .container {
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(247, 183, 24, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(244, 241, 231, 0.96));
    border-radius: 1.6rem 1.6rem 0 0;
    box-shadow: 0 -10px 28px rgba(7, 16, 24, 0.05);
}

.frontpage-grid-section {
    padding-top: 0.25rem;
}

.frontpage-grid-section .container {
    position: relative;
}

.frontpage-desk-head h2 {
    margin: 0.3rem 0 0;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.02;
}

.frontpage-desk-list {
    display: grid;
    gap: 0.9rem;
}

.frontpage-desk-item,
.frontpage-desk-empty {
    display: grid;
    gap: 0.28rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

.frontpage-desk-item strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.frontpage-desk-item span:last-child,
.frontpage-desk-empty {
    font-size: 0.84rem;
}

.frontpage-lanes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.frontpage-lane-card {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.frontpage-lane-card strong {
    display: block;
    color: var(--site-yellow-soft);
    font-size: 1.45rem;
    line-height: 1.05;
}

.frontpage-lane-card span:last-child {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.frontpage-ad-slot img {
    height: 170px;
}

.frontpage-empty-state,
.frontend-empty-state,
.not-found-card {
    padding: 1.5rem;
    border-radius: 1.35rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(247, 183, 24, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.frontpage-empty-state h2,
.frontend-empty-state h2,
.not-found-card h1 {
    margin: 0.35rem 0 0.75rem;
    color: var(--site-dark);
    font-size: 2rem;
    line-height: 1.02;
}

.frontpage-empty-state p,
.frontend-empty-state p,
.frontpage-empty-note,
.frontend-empty-note,
.not-found-card p {
    margin: 0;
    color: var(--site-muted);
    line-height: 1.7;
}

.frontpage-empty-state {
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 213, 90, 0.12), rgba(255, 255, 255, 0.92)),
        var(--site-panel);
}

.frontpage-empty-state-light,
.frontend-empty-state {
    background:
        linear-gradient(180deg, rgba(11, 124, 61, 0.08), rgba(255, 255, 255, 0.96)),
        var(--site-panel);
}

.signal-panel h2,
.section-heading h2 {
    font-size: 1.9rem;
    line-height: 1;
    margin: 0.25rem 0 0.7rem;
    color: var(--site-dark);
}

.pulse-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.pulse-grid div {
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(11, 124, 61, 0.9), rgba(8, 86, 42, 0.94));
    color: #fff;
}

.pulse-grid strong {
    display: block;
    font-size: 1.5rem;
    color: var(--site-yellow-soft);
}

.pulse-grid span {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.comment-form-card,
.comment-item {
    background: var(--site-panel);
    border-radius: 1.2rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
    padding: 1.4rem;
}

.comment-form-card h3 {
    margin: 0 0 1rem;
    color: var(--site-dark);
}

.comment-form-card .form-control {
    min-height: 3rem;
    border-radius: 0.95rem;
    border-color: rgba(16, 33, 45, 0.12);
}

.comment-form-card textarea.form-control {
    min-height: 9rem;
    resize: vertical;
}

.comment-list {
    display: grid;
    gap: 1rem;
}

.comment-item-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--site-muted);
}

.comment-item p {
    margin: 0;
    line-height: 1.7;
}

.promo-card {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    background: #09131f;
    color: #fff;
}

.promo-card-gold {
    border: 2px solid rgba(247, 183, 24, 0.42);
}

.promo-card img {
    height: 220px;
}

.promo-card-vertical img {
    height: 300px;
}

.promo-copy,
.promo-banner-copy {
    padding: 1rem 1.15rem;
}

.promo-copy span,
.promo-banner-copy span {
    display: block;
    color: var(--site-yellow);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
}

.branded-heading {
    position: relative;
    padding-left: 1.1rem;
}

.branded-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    bottom: 0.15rem;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--site-yellow), var(--site-green));
}

.story-card {
    overflow: hidden;
    height: 100%;
    background: #fff;
}

.story-card-accent {
    border-top: 6px solid var(--site-yellow);
}

.story-card-tile {
    border-bottom: 5px solid var(--site-green);
}

.story-card img {
    height: 220px;
}

.story-card-image-fallback {
    height: 220px;
    display: flex;
    align-items: end;
    padding: 1.25rem;
    background:
        linear-gradient(135deg, rgba(8, 16, 24, 0.72), rgba(11, 124, 61, 0.84)),
        #0d2718;
}

.story-card.compact img {
    height: 180px;
}

.story-card-body {
    padding: 1.25rem;
}

.story-card-body h3 {
    font-size: 1.38rem;
    line-height: 1.08;
    margin: 0.5rem 0 0.7rem;
    color: var(--site-dark);
    overflow-wrap: anywhere;
}

.story-card-body p,
.story-deck,
.site-footer,
.footer-links a,
.signal-copy,
.category-list a span,
.related-list span {
    color: var(--site-muted);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 1.5rem;
}

.sidebar-widget {
    padding: 1.25rem;
}

.sidebar-widget-green {
    background:
        linear-gradient(180deg, rgba(11, 124, 61, 0.08), rgba(255, 255, 255, 1) 22%),
        #fff;
    border-top: 6px solid var(--site-green);
}

.frontpage-radar {
    padding: 1.35rem;
}

.category-list,
.related-list,
.footer-links {
    display: grid;
    gap: 0.9rem;
}

.category-list a,
.related-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f3f7f3, #fff8df);
}

.category-list strong {
    color: var(--site-green-deep);
}

.related-list a > div {
    display: grid;
    gap: 0.25rem;
}

.story-title {
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    max-width: 14ch;
}

.story-hero-shell {
    max-width: 52rem;
}

.story-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}

.story-author {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.story-hero-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.4rem;
}

.story-hero-stat {
    display: inline-grid;
    gap: 0.12rem;
    padding: 0.8rem 1rem;
    min-width: 180px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.story-hero-stat strong {
    color: var(--site-yellow-soft);
    font-size: 1.35rem;
    line-height: 1;
}

.story-hero-stat span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.story-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem 0.75rem 0;
}

.category-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    min-height: 0;
}

.category-hero-copy {
    display: grid;
    gap: 0.9rem;
    max-width: 780px;
}

.category-hero-copy .mini-kicker,
.category-hero-copy .section-tag {
    display: block;
}

.category-hero-copy .section-tag {
    margin-top: 0.15rem;
}

.category-title {
    margin: 0;
    max-width: 10ch;
}

.category-deck {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.category-hero-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.25rem;
}

.category-hero-summary div {
    min-width: 160px;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.category-hero-summary strong {
    display: block;
    color: var(--site-yellow-soft);
    font-size: 1.45rem;
    line-height: 1;
}

.category-hero-summary span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.category-hero-mark {
    align-self: start;
    justify-self: end;
    padding-top: 0.35rem;
}

.category-hero-logo {
    width: 88px;
    height: 88px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.category-stories-section {
    margin-top: 1.5rem;
}

.story-cover {
    border-radius: 1.35rem;
    max-height: 500px;
    box-shadow: 0 22px 45px rgba(7, 16, 24, 0.12);
}

.story-cover-fallback {
    min-height: 320px;
    display: grid;
    align-content: end;
    gap: 0.5rem;
    padding: 1.6rem;
    background:
        linear-gradient(135deg, rgba(8, 16, 24, 0.78), rgba(11, 124, 61, 0.88)),
        #0d2718;
    color: #fff;
}

.story-cover-fallback strong {
    font-size: 1.8rem;
    line-height: 1;
}

.story-body {
    font-size: 1.1rem;
    line-height: 1.85;
    background: #fff;
    border-radius: 1.35rem;
    padding: 1.6rem;
    box-shadow: 0 14px 36px rgba(16, 33, 45, 0.06);
}

.story-body a {
    color: var(--site-green-deep);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.story-body > * + * {
    margin-top: 1.2rem;
}

.story-body h2,
.story-body h3,
.story-body h4 {
    color: var(--site-dark);
    line-height: 1.1;
    margin-top: 1.9rem;
}

.story-body p,
.story-body ul,
.story-body ol,
.story-body blockquote {
    margin-bottom: 0;
}

.story-body blockquote {
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--site-yellow);
    border-radius: 0 1rem 1rem 0;
    background: linear-gradient(135deg, rgba(247, 183, 24, 0.08), rgba(11, 124, 61, 0.04));
    color: var(--site-dark);
}

.story-share-strip {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(247, 183, 24, 0.08), rgba(11, 124, 61, 0.05));
    border: 1px solid rgba(16, 33, 45, 0.08);
}

.story-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.story-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    color: var(--site-dark);
    font-weight: 600;
}

.story-sidebar-intro {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(16, 33, 45, 0.08);
}

.story-sidebar-intro p {
    margin: 0;
    color: var(--site-muted);
    line-height: 1.65;
}

.promo-banner {
    display: block;
    overflow: hidden;
    border-top: 7px solid var(--site-yellow);
}

.promo-banner img {
    height: 260px;
}

.sidebar-widget-sticky {
    position: sticky;
    top: 110px;
}

.site-footer {
    background:
        linear-gradient(90deg, rgba(247, 183, 24, 0.95) 0 8px, transparent 8px 100%),
        linear-gradient(135deg, #08111e, #0f1d16);
    color: #fff;
    margin-top: 2rem;
}

.not-found-shell {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.not-found-card {
    max-width: 720px;
    background:
        linear-gradient(180deg, rgba(255, 213, 90, 0.14), rgba(255, 255, 255, 0.98)),
        var(--site-panel);
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.footer-links {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.footer-links a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-social a {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .site-brand {
        font-size: 1.1rem;
    }

    .site-header .navbar {
        align-items: center;
    }

    .navbar-collapse {
        flex-basis: 100%;
        margin-top: 0.9rem;
        padding: 0.85rem;
        border-radius: 1rem;
        background: rgba(7, 16, 24, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
    }

    .navbar-nav {
        gap: 0.35rem;
    }

    .nav-link {
        padding: 0.7rem 0.85rem !important;
    }

    .site-search-form {
        width: 100%;
    }

    .landing-hero {
        padding: 1rem 0 1.8rem;
    }

    .frontpage-stream-section {
        margin-top: -0.5rem;
        padding-top: 0.5rem;
    }

    .frontpage-stream-section .container {
        border-radius: 1.6rem 1.6rem 0 0;
    }

    .frontpage-kicker-row {
        max-width: 100%;
    }

    .frontpage-intro {
        margin-top: 0;
        justify-self: start;
    }

    .brand-ribbon-head {
        flex-direction: column;
        text-align: center;
    }

    .brand-ribbon-copy h1,
    .story-title,
    .feature-overlay h1 {
        max-width: 100%;
    }

    .feature-card {
        min-height: 440px;
    }

    .frontpage-lead {
        min-height: 460px;
    }

    .feature-overlay {
        padding: 1.5rem;
    }

    .sidebar-widget-sticky {
        position: static;
    }

    .category-hero {
        padding: 2.8rem 0 2.2rem;
    }

    .category-hero-inner {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .category-hero-mark {
        justify-self: start;
        padding-top: 0;
    }

    .story-hero-footer {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .site-header {
        position: sticky;
    }

    .site-brand {
        gap: 0.65rem;
        font-size: 1rem;
        max-width: calc(100% - 4.5rem);
    }

    .site-logo {
        width: 40px;
        height: 40px;
    }

    .site-nav-toggle {
        padding: 0.4rem 0.55rem;
    }

    .frontpage-title,
    .frontpage-lead-title {
        max-width: 100%;
    }

    .frontpage-kicker-row {
        margin-bottom: 0.85rem;
    }

    .frontpage-lanes {
        grid-template-columns: 1fr;
    }

    .frontpage-stream-section {
        margin-top: 0;
        padding-top: 0;
    }

    .frontpage-stream-section .container {
        border-radius: 1.2rem 1.2rem 0 0;
    }

    .brand-ribbon-head {
        align-items: flex-start;
        text-align: left;
    }

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

    .brand-ribbon-logo,
    .story-hero-logo {
        width: 70px;
        height: 70px;
    }

    .brand-ribbon {
        padding: 1rem 1rem 1.1rem;
    }

    .brand-ribbon-copy h1 {
        max-width: 100%;
    }

    .landing-hero-grid {
        margin-top: 1rem;
    }

    .frontpage-desk,
    .sidebar-widget,
    .comment-form-card,
    .comment-item,
    .story-card-body,
    .promo-copy,
    .promo-banner-copy {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .feature-card,
    .frontpage-lead,
    .promo-banner img,
    .promo-card-vertical img {
        min-height: 0;
    }

    .feature-card {
        min-height: 320px;
    }

    .frontpage-lead {
        min-height: 320px;
    }

    .feature-overlay {
        padding: 1.1rem;
    }

    .feature-overlay h1,
    .frontpage-lead-title {
        font-size: clamp(1.55rem, 7vw, 2rem);
        line-height: 1.02;
        max-width: 100%;
    }

    .feature-overlay p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .story-title {
        font-size: clamp(2rem, 9vw, 2.7rem);
        line-height: 0.98;
    }

    .story-deck,
    .frontpage-intro,
    .category-deck {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .story-body {
        padding: 1.2rem;
        font-size: 1.03rem;
        line-height: 1.8;
    }

    .story-cover,
    .story-cover-fallback {
        min-height: 240px;
        max-height: none;
    }

    .story-cover {
        max-height: 320px;
    }

    .category-hero-summary {
        display: grid;
        grid-template-columns: 1fr;
    }

    .category-list a,
    .related-list a {
        align-items: flex-start;
        flex-direction: column;
    }

    .story-hero-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .story-hero-stat {
        min-width: 0;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-social {
        gap: 0.55rem;
    }

    .footer-social a {
        padding: 0.45rem 0.8rem;
    }

    .section-heading {
        align-items: start;
    }

    .category-hero {
        padding: 2.35rem 0 1.9rem;
    }

    .category-title {
        max-width: 100%;
    }

    .category-deck {
        font-size: 1rem;
    }
}
