:root {
    --green: #08743b;
    --green-dark: #04562a;
    --green-soft: #e8f4ee;
    --ink: #111313;
    --muted: #626866;
    --line: #d7ded9;
    --paper: #fbfbfa;
    --white: #ffffff;
    --serif: "Libre Baskerville", Georgia, serif;
    --sans: Inter, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
}

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

a:hover {
    color: var(--green);
}

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

.container {
    width: min(100% - 48px, 1820px);
    margin-inline: auto;
}

.narrow {
    width: min(100% - 48px, 900px);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--green);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: auto 1fr auto;
    min-height: 98px;
}

.text-logo {
    align-items: center;
    display: flex;
    gap: 14px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: .86;
}

.custom-logo-link img,
.dossier-header-logo {
    max-height: 76px;
    width: auto;
}

.logo-mark {
    border-bottom: 5px solid var(--green);
    border-left: 5px solid var(--green);
    display: block;
    height: 58px;
    position: relative;
    transform: skewY(-16deg);
    width: 58px;
}

.logo-mark::before,
.logo-mark::after {
    border-bottom: 4px solid var(--green);
    border-left: 4px solid var(--green);
    content: "";
    inset: 8px auto auto 8px;
    height: 48px;
    position: absolute;
    width: 48px;
}

.logo-mark::after {
    inset: 16px auto auto 16px;
    height: 38px;
    width: 38px;
}

.primary-menu,
.social-menu,
.footer-menu {
    align-items: center;
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    font-size: 15px;
    font-weight: 700;
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 16px;
}

.search-toggle,
.menu-toggle {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.search-toggle span {
    font-size: 30px;
    line-height: 1;
    transform: translateY(-2px);
}

.newsletter-button,
.button,
.search-submit {
    align-items: center;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 3px;
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
}

.newsletter-button:hover,
.search-submit:hover {
    background: var(--green-dark);
    color: var(--white);
}

.social-menu {
    gap: 18px;
    font-weight: 800;
}

.header-search {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form label {
    flex: 1;
}

.search-field {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 3px;
    font: inherit;
    height: 48px;
    padding: 0 14px;
    width: 100%;
}

.menu-toggle {
    display: none;
}

.home-top {
    display: grid;
    gap: 0;
    grid-template-columns: 2fr 1fr;
    margin-top: 22px;
}

.hero-link {
    display: grid;
    min-height: 490px;
    overflow: hidden;
    position: relative;
}

.hero-image {
    height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .28), rgba(0, 0, 0, .08));
    inset: 0;
    position: absolute;
}

.hero-content {
    align-self: end;
    color: var(--white);
    display: block;
    padding: 48px;
    position: relative;
    width: min(680px, 100%);
}

.section-eyebrow,
.post-kicker {
    color: var(--green);
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-content .section-eyebrow {
    color: #10d56d;
}

.hero-content h1,
.single-header h1,
.featured-panel h2,
.archive-header h1 {
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: 0;
}

.hero-content h1 {
    font-size: clamp(32px, 3.15vw, 54px);
    line-height: 1.06;
    margin: 0 0 18px;
}

.hero-excerpt {
    display: block;
    font-size: 19px;
    margin-bottom: 28px;
    max-width: 560px;
}

.ghost-button {
    background: var(--white);
    border-color: var(--white);
    color: var(--green);
}

.featured-panel {
    background: var(--white);
    padding: 26px 42px;
}

.featured-panel h2 {
    font-size: 32px;
    margin: 0 0 12px;
}

.featured-item {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    position: relative;
}

.featured-item::after {
    color: var(--green);
    content: "›";
    font-size: 30px;
    position: absolute;
    right: 0;
    top: 38px;
}

.featured-title {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    max-width: calc(100% - 38px);
}

.post-meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px;
    margin-top: 8px;
}

.post-meta span + span::before,
.single-meta span::before {
    color: var(--muted);
    content: "|";
    margin-right: 10px;
}

.triad-grid {
    display: grid;
    gap: 38px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
}

.topic-block {
    border-right: 1px solid var(--line);
    padding-right: 38px;
}

.topic-block:last-child {
    border-right: 0;
    padding-right: 0;
}

.topic-block h2,
.section-heading h2 {
    align-items: center;
    color: var(--green);
    display: flex;
    font-family: var(--serif);
    font-size: 28px;
    gap: 12px;
    margin: 0 0 14px;
}

.topic-icon {
    border: 2px solid var(--green);
    display: inline-block;
    height: 28px;
    width: 22px;
}

.topic-lead {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
}

.topic-lead .post-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.topic-title,
.topic-links a,
.report-card h3,
.post-card h3 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.22;
}

.topic-title {
    font-size: 18px;
}

.topic-links article {
    border-top: 1px solid var(--line);
    margin-top: 14px;
    padding-top: 14px;
}

.report-band {
    background: var(--white);
    border: 1px solid var(--line);
    margin-top: 28px;
    padding: 16px;
}

.section-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.section-heading a,
.read-more {
    color: var(--green);
    font-weight: 800;
}

.report-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.report-card {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(120px, 48%) 1fr;
}

.report-image .post-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.opinion-section,
.latest-section,
.archive-header {
    margin-top: 46px;
}

.post-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.post-card {
    background: var(--white);
    border: 1px solid var(--line);
    min-width: 0;
}

.post-card-image .post-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.post-card-body {
    padding: 18px;
}

.post-card h3 {
    font-size: 22px;
    margin: 0 0 10px;
}

.post-card p {
    color: var(--muted);
    margin: 0;
}

.ad-slot {
    align-items: center;
    background: #f1f4f2;
    border: 1px dashed #a9b8af;
    color: var(--muted);
    display: flex;
    justify-content: center;
    margin: 28px auto;
    min-height: 110px;
    overflow: hidden;
    text-align: center;
    width: min(100% - 48px, 1180px);
}

.ad-slot-home-top {
    min-height: 120px;
}

.ad-slot-article-inline {
    margin: 34px 0;
    width: 100%;
}

.single-header {
    padding-top: 48px;
}

.single-header h1 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.07;
    margin: 0 0 16px;
}

.single-excerpt {
    color: var(--muted);
    font-size: 22px;
}

.single-meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-featured {
    margin-top: 32px;
}

.single-featured img {
    max-height: 620px;
    object-fit: cover;
    width: 100%;
}

.single-layout {
    display: grid;
    gap: 58px;
    grid-template-columns: minmax(0, 780px) 320px;
    justify-content: center;
    margin-top: 42px;
}

.single-content {
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.78;
}

.single-content a {
    color: var(--green);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.single-content blockquote {
    border-left: 4px solid var(--green);
    font-family: var(--serif);
    font-size: 26px;
    margin: 36px 0;
    padding-left: 24px;
}

.single-taxonomy {
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 38px;
    padding-top: 22px;
}

.single-taxonomy a {
    background: var(--green-soft);
    border-radius: 3px;
    color: var(--green);
    display: inline-block;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 800;
    margin: 0 6px 8px 0;
    padding: 7px 10px;
    text-decoration: none;
}

.author-box {
    align-items: start;
    background: var(--white);
    border: 1px solid var(--line);
    display: grid;
    gap: 18px;
    grid-template-columns: auto 1fr;
    margin-top: 34px;
    padding: 22px;
}

.author-box span {
    color: var(--green);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.author-box h2 {
    font-family: var(--serif);
    margin: 4px 0 8px;
}

.author-box p {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 10px;
}

.author-avatar img {
    border-radius: 999px;
}

.single-sidebar .widget {
    background: var(--white);
    border: 1px solid var(--line);
    margin-bottom: 22px;
    padding: 18px;
}

.next-article-status {
    color: var(--muted);
    padding: 26px 0;
    text-align: center;
}

.archive-header h1 {
    font-size: clamp(34px, 4vw, 58px);
    margin: 0 0 22px;
}

.no-results {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 28px;
}

.site-footer {
    background: #111714;
    color: var(--white);
    margin-top: 70px;
    padding: 40px 0;
}

.footer-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.footer-inner p {
    color: #b9c5bf;
    margin: 6px 0 0;
}

.placeholder {
    background: linear-gradient(135deg, #dfe9e3, #aabbb2);
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
    }

    .menu-toggle span {
        background: var(--ink);
        display: block;
        height: 2px;
        width: 18px;
    }

    .primary-navigation {
        background: var(--white);
        border-top: 1px solid var(--line);
        display: none;
        grid-column: 1 / -1;
        padding: 14px 0 20px;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-menu {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .header-actions {
        justify-self: end;
    }

    .social-menu {
        display: none;
    }

    .home-top,
    .triad-grid,
    .report-grid,
    .post-grid,
    .single-layout {
        grid-template-columns: 1fr;
    }

    .topic-block {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 0 0 24px;
    }

    .single-sidebar {
        display: none;
    }
}

@media (max-width: 720px) {
    .container,
    .narrow {
        width: min(100% - 28px, 1820px);
    }

    .header-inner {
        gap: 12px;
        min-height: 78px;
    }

    .text-logo {
        font-size: 22px;
    }

    .logo-mark {
        height: 42px;
        width: 42px;
    }

    .newsletter-button {
        font-size: 0;
        padding: 0;
        width: 44px;
        justify-content: center;
    }

    .hero-link {
        min-height: 520px;
    }

    .hero-content {
        padding: 28px;
    }

    .featured-panel {
        padding: 22px;
    }

    .topic-lead,
    .report-card,
    .author-box,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .single-content {
        font-size: 18px;
    }
}
