@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;500;600;700&display=swap');

:root {
    --page-bg: #eef4ec;
    --surface: #fbfff9;
    --surface-strong: #ffffff;
    --border: #c7d8c0;
    --text: #122016;
    --muted: #516251;
    --green-950: #052818;
    --green-900: #063f2a;
    --green-700: #0b7a3b;
    --green-600: #0c8f4f;
    --gold: #f2c94c;
    --gold-soft: #f5d76b;
    --shadow: 0 18px 48px rgba(10, 64, 40, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(12, 143, 79, 0.12), transparent 28%),
        linear-gradient(90deg, rgba(6, 63, 42, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, #f8fbf3 0%, #e9f3e8 44%, #f6f1df 100%);
    background-size: auto, 44px 44px, auto;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(100% - 44px, 1280px);
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 10;
}

.topbar {
    color: #ecf6e9;
    background: var(--green-950);
    box-shadow: inset 0 -1px 0 rgba(242, 201, 76, 0.22);
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar .pill-ghost {
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.topbar-meta {
    color: rgba(255, 255, 255, 0.62);
    font-family: "Courier New", monospace;
    letter-spacing: 0.08em;
}

.topbar-link {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

.divider {
    color: rgba(255, 255, 255, 0.38);
}

.nav {
    background:
        linear-gradient(90deg, rgba(5, 40, 24, 0.08), transparent 34%, rgba(234, 199, 88, 0.14)),
        rgba(251, 255, 249, 0.96);
    border-bottom: 1px solid rgba(5, 40, 24, 0.16);
    backdrop-filter: blur(14px);
}

.nav-inner {
    display: grid;
    grid-template-columns: minmax(350px, auto) minmax(500px, 1fr) minmax(250px, 320px);
    align-items: center;
    gap: 18px;
    padding: 22px 0;
}

.site-logo {
    display: grid;
    grid-template-columns: 42px auto auto;
    grid-template-areas: "orb word kicker";
    align-items: center;
    justify-self: start;
    column-gap: 12px;
    min-width: 350px;
}

.logo-orb {
    grid-area: orb;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 70% 35%, rgba(234, 199, 88, 0.95), transparent 28%),
        linear-gradient(135deg, var(--green-950) 0%, var(--green-700) 52%, var(--gold) 100%);
    box-shadow: 0 8px 18px rgba(5, 40, 24, 0.22);
}

.logo-word {
    grid-area: word;
    color: var(--green-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 3.3vw, 48px);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.075em;
}

.logo-kicker {
    grid-area: kicker;
    color: var(--green-700);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: min(100%, 620px);
    gap: 0;
    padding: 4px;
    border: 1px solid rgba(5, 40, 24, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.site-nav a {
    padding: 10px 15px;
    border-radius: 999px;
    color: #0b3b27;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    color: #fff;
    background: var(--green-700);
}

.nav-actions {
    justify-self: end;
    width: 100%;
}

.search {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(5, 40, 24, 0.18);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}

.search input {
    width: 100%;
    min-width: 0;
    padding: 0 16px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font: inherit;
}

.search-icon {
    width: 44px;
    height: 34px;
    margin-right: 5px;
    border: 1px solid rgba(5, 40, 24, 0.18);
    border-radius: 8px;
    background: #f6fbf0;
    cursor: pointer;
}

.pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.pill-category {
    color: #fff;
    background: var(--green-600);
}

.pill-muted {
    color: #ecf6e9;
    background: rgba(3, 40, 24, 0.58);
}

.pill-highlight {
    color: #142212;
    background: var(--gold);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
    gap: 18px;
    margin-top: 34px;
}

.hero-main {
    min-width: 0;
}

.hero-card {
    position: relative;
    display: block;
    min-height: 455px;
    overflow: hidden;
    border: 1px solid rgba(6, 63, 42, 0.22);
    border-radius: 22px 22px 70px 22px;
    box-shadow: 0 30px 70px rgba(6, 63, 42, 0.18);
}

.hero-card::before {
    content: "BRIEFING";
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #18320f;
    background: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.hero-card-media,
.hero-card-media img,
.hero-card-media.placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 455px;
}

.hero-card-media img {
    height: 100%;
    object-fit: cover;
}

.hero-card-media.placeholder {
    background:
        radial-gradient(circle at 72% 20%, rgba(242, 201, 76, 0.25), transparent 28%),
        linear-gradient(135deg, #052818, #0b7a3b);
}

.hero-card-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 42, 28, 0.92) 0%, rgba(3, 42, 28, 0.66) 48%, rgba(3, 42, 28, 0.14) 100%),
        linear-gradient(180deg, rgba(3, 42, 28, 0.15) 0%, rgba(3, 42, 28, 0.72) 100%);
}

.hero-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 455px;
    padding: 32px 34px 38px;
    color: #fff;
}

.hero-card-topline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-card-title {
    display: -webkit-box;
    max-width: 840px;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.035em;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.hero-card-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.hero-card-snippet {
    display: -webkit-box;
    max-width: 700px;
    margin: 0;
    overflow: hidden;
    color: #e8f3df;
    font-size: 17px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-card-link {
    display: inline-flex;
    width: fit-content;
    padding: 12px 20px;
    border: 1px solid rgba(3, 40, 24, 0.16);
    border-radius: 999px;
    color: #032818;
    background: var(--gold-soft);
    font-weight: 900;
    line-height: 1;
}

.hero-sidebar {
    align-self: start;
    max-height: 455px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(5, 40, 24, 0.14);
    border-top: 7px solid var(--gold);
    border-radius: 22px;
    background: linear-gradient(180deg, #fdfff8 0%, #f1f8ea 100%);
    box-shadow: 0 20px 50px rgba(5, 40, 24, 0.12);
}

.ticker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(6, 63, 42, 0.14);
}

.ticker-sub {
    color: var(--muted);
}

.ticker-list {
    display: flex;
    flex-direction: column;
    max-height: 370px;
    overflow-y: auto;
}

.ticker-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(6, 63, 42, 0.1);
}

.ticker-dot {
    width: 11px;
    height: 11px;
    margin-top: 7px;
    border: 3px solid var(--green-600);
    border-radius: 50%;
    background: var(--gold);
}

.ticker-title {
    font-weight: 600;
    line-height: 1.3;
}

.ticker-time {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.filters {
    margin-top: 28px;
    padding: 13px 18px;
    border: 1px solid rgba(6, 63, 42, 0.12);
    border-radius: 999px;
    background: rgba(251, 255, 249, 0.9);
    box-shadow: 0 12px 34px rgba(6, 63, 42, 0.08);
}

.filters-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filters-label {
    margin: 0;
    color: var(--green-900);
    font-weight: 900;
    white-space: nowrap;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 10px 15px;
    border: 1px solid rgba(6, 63, 42, 0.12);
    border-radius: 999px;
    color: var(--text);
    background: #f6fbf0;
    font-size: 14px;
    font-weight: 900;
}

.chip-active {
    color: #fff;
    border-color: var(--green-950);
    background: var(--green-950);
}

.block {
    margin: 34px 0;
}

.block-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--green-900);
}

.block-head h2 {
    margin: 0;
    color: var(--green-900);
    font-family: "Archivo", sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.block-head p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.highlight-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.highlight-card,
.article-card,
.related-card {
    overflow: hidden;
    border: 1px solid rgba(6, 63, 42, 0.16);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover,
.article-card:hover,
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(6, 63, 42, 0.16);
}

.highlight-media,
.highlight-media img,
.highlight-media.placeholder {
    display: block;
    width: 100%;
    height: 180px;
}

.highlight-media img {
    object-fit: cover;
}

.highlight-media.placeholder,
.article-card-image.placeholder,
.article-hero-media.placeholder {
    background:
        radial-gradient(circle at 72% 20%, rgba(242, 201, 76, 0.22), transparent 28%),
        linear-gradient(135deg, #052818, #0b7a3b);
}

.highlight-body {
    padding: 15px;
}

.highlight-body h3 {
    margin: 12px 0 0;
    color: var(--green-950);
    font-family: "Archivo", sans-serif;
    font-size: 20px;
    line-height: 1.16;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.article-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.article-card:nth-child(7n+1) {
    grid-column: span 2;
}

.article-card-image,
.article-card-image img,
.article-card-image.placeholder {
    display: block;
    width: 100%;
    height: 150px;
}

.article-card:nth-child(7n+1) .article-card-image,
.article-card:nth-child(7n+1) .article-card-image img,
.article-card:nth-child(7n+1) .article-card-image.placeholder {
    height: 230px;
}

.article-card-image img {
    object-fit: cover;
}

.article-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
}

.article-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.article-card-date {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13px;
}

.article-card-title {
    margin: 0;
    color: var(--green-950);
    font-family: "Archivo", sans-serif;
    font-size: 18px;
    line-height: 1.2;
}

.article-card-snippet {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.read-more {
    margin-top: auto;
    color: var(--green-700);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin: 28px 0 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(251, 255, 249, 0.86);
    box-shadow: 0 14px 34px rgba(5, 40, 24, 0.08);
}

.page-link,
.page-gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 900;
}

.page-link {
    border: 1px solid rgba(5, 40, 24, 0.16);
    color: #0b3b27;
    background: #fff;
}

.page-link.current {
    color: var(--gold);
    border-color: var(--green-950);
    background: var(--green-950);
}

.page-link:hover {
    color: #fff;
    border-color: var(--green-700);
    background: var(--green-700);
}

.page-gap {
    color: var(--green-700);
}

.empty-state {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    color: var(--muted);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.article-page {
    padding-top: 28px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs .current {
    color: var(--green-950);
    font-weight: 900;
}

.article-full {
    overflow: hidden;
    border: 1px solid rgba(6, 63, 42, 0.16);
    border-radius: 18px 46px 18px 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.article-hero {
    position: relative;
    min-height: 430px;
}

.article-hero-media,
.article-hero-media img,
.article-hero-media.placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.article-hero-media img {
    object-fit: cover;
}

.article-hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 42, 28, 0.88) 0%, rgba(3, 42, 28, 0.58) 56%, rgba(3, 42, 28, 0.12) 100%),
        linear-gradient(180deg, rgba(3, 42, 28, 0.08) 0%, rgba(3, 42, 28, 0.72) 100%);
}

.article-hero-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    min-height: 430px;
    padding: 38px 42px;
    color: #fff;
}

.article-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin: 0;
}

.article-title {
    max-width: 980px;
    margin: 0;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.article-full-content {
    max-width: 1040px;
    margin: 0 auto;
    padding: 34px 42px 18px;
    color: #111d14;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 20px;
    line-height: 1.72;
}

.article-full-content p {
    margin-top: 0;
    margin-bottom: 18px;
}

.article-full-content a {
    color: var(--green-700);
}

.article-back {
    max-width: 1040px;
    margin: 14px auto 34px;
    padding: 0 42px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    background: var(--green-600);
    font-weight: 900;
}

.related {
    margin-top: 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.related-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.site-footer {
    margin-top: 64px;
    color: #ecf6e9;
    background:
        radial-gradient(circle at 88% 20%, rgba(234, 199, 88, 0.2), transparent 28%),
        linear-gradient(135deg, #052818, #073d27 58%, #041b11);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 42px;
    padding-top: 46px;
    padding-bottom: 42px;
}

.logo-mark {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.footer-brand p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 18px;
    border-left: 1px solid rgba(234, 199, 88, 0.22);
}

.footer-links h4 {
    margin: 0 0 8px;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links a,
.footer-bottom a {
    color: #ecf6e9;
}

.footer-bottom {
    border-top: 1px solid rgba(234, 199, 88, 0.22);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 16px;
    padding-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

@media (max-width: 1120px) {
    .nav-inner {
        grid-template-columns: 1fr;
    }

    .site-logo,
    .site-nav,
    .nav-actions {
        justify-self: stretch;
        width: 100%;
    }

    .site-logo {
        min-width: 0;
    }

    .hero,
    .highlight-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-card:nth-child(7n+1) {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1280px);
    }

    .topbar .container,
    .topbar-left,
    .topbar-right,
    .filters-group,
    .block-head,
    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-logo {
        grid-template-columns: 34px auto;
        grid-template-areas:
            "orb word"
            ". kicker";
    }

    .logo-orb {
        width: 34px;
        height: 20px;
    }

    .logo-word {
        font-size: 36px;
    }

    .site-nav {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .hero-card,
    .hero-card-media,
    .hero-card-media img,
    .hero-card-media.placeholder,
    .hero-card-body {
        min-height: 430px;
    }

    .hero-card-body {
        padding: 26px;
    }

    .hero-card-title {
        font-size: 34px;
    }

    .articles-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-hero,
    .article-hero-body {
        min-height: 360px;
    }

    .article-hero-body,
    .article-full-content,
    .article-back {
        padding-right: 24px;
        padding-left: 24px;
    }

    .article-title {
        font-size: 34px;
    }
}
