:root {
    --page-bg: #f4f7f3;
    --surface: #ffffff;

    --text: #1d2520;
    --text-muted: #667069;

    --primary: #276749;
    --primary-dark: #174c34;
    --primary-light: #e8f2eb;

    --border: #dce4de;

    --content-width: 1180px;
    --article-width: 760px;

    --radius: 10px;
}


/* --------------------------------------------------
   Base
-------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;

    background: var(--page-bg);

    color: var(--text);

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 1rem;
    line-height: 1.65;
}

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

a {
    color: var(--primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover {
    color: var(--primary-dark);
}


/* --------------------------------------------------
   Layout
-------------------------------------------------- */

.site-container {
    width: min(
        calc(100% - 2rem),
        var(--content-width)
    );

    margin-inline: auto;
}


/* --------------------------------------------------
   Site header
-------------------------------------------------- */

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    min-height: 64px;
}

.site-brand {
    color: var(--text);

    font-size: 1.35rem;
    font-weight: 750;

    text-decoration: none;
}

.site-brand:hover {
    color: var(--primary);
}


/* --------------------------------------------------
   Language switcher
-------------------------------------------------- */

.language-switcher ul {
    display: flex;

    gap: 0.4rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.language-switcher a,
.language-switcher span {
    display: block;

    min-width: 2.4rem;

    padding: 0.3rem 0.55rem;

    border-radius: 6px;

    text-align: center;
    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 700;
}

.language-switcher a {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.language-switcher span {
    background: var(--primary);
    color: #fff;
}


/* --------------------------------------------------
   Page layout
-------------------------------------------------- */

.page-layout {
    padding-block: 1.5rem 3rem;
}


/* --------------------------------------------------
   Navigation
-------------------------------------------------- */

.main-navigation {
    margin-bottom: 1.5rem;
}

.nav-category {
    margin-bottom: 1rem;

    padding: 1rem;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.nav-category h2 {
    margin: 0 0 0.65rem;

    font-size: 1rem;
}

.nav-category ul {
    margin: 0;
    padding-left: 1.25rem;
}

.nav-category li + li {
    margin-top: 0.35rem;
}

.nav-category [aria-current="page"] {
    font-weight: 700;
}


/* --------------------------------------------------
   Article
-------------------------------------------------- */

.article {
    max-width: var(--article-width);

    padding: 1.25rem;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-header h1 {
    margin: 0;

    font-size: clamp(2rem, 8vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.article-updated {
    margin-top: 0.8rem;

    color: var(--text-muted);

    font-size: 0.9rem;
}

.article-content {
    font-size: 1.05rem;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content h2 {
    margin-top: 2.2rem;
    margin-bottom: 0.75rem;

    font-size: clamp(1.45rem, 5vw, 2rem);
    line-height: 1.2;
}

.article-content h3 {
    margin-top: 1.8rem;

    font-size: 1.3rem;
}

.article-content p {
    margin-block: 1rem;
}


/* --------------------------------------------------
   Homepage
-------------------------------------------------- */

.home {
    max-width: 900px;

    padding: 1.5rem;
    margin-top: 1.5rem;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.home h1 {
    margin-top: 0;

    font-size: clamp(2.2rem, 9vw, 4rem);
    line-height: 1;
}


/* --------------------------------------------------
 *  Mobile category navigation
 - *------------------------------------------------- */

/* Desktop/default: toggle button does not exist visually */
.main-navigation .nav-category-toggle {
    display: none;
}


@media (max-width: 899px) {

    /*
     * Navigation itself becomes a compact sticky bar.
     * Only when JS has enhanced it with .is-collapsible.
     */
    .main-navigation.is-collapsible {
        position: sticky;
        top: 64px;
        z-index: 800;

        margin: 0 0 1.5rem;
    }


    .main-navigation.is-collapsible .nav-category {
        margin: 0;
        padding: 0;

        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);

        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }


    /* Original desktop category heading is hidden */
    .main-navigation.is-collapsible .nav-category > h2 {
        display: none;
    }


    /* Mobile compact button */
    .main-navigation.is-collapsible .nav-category-toggle {
        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 1rem;

        width: 100%;

        padding: 0.75rem 1rem;

        color: var(--text);
        background: var(--surface);

        border: 0;
        border-radius: var(--radius);

        font: inherit;
        text-align: left;

        cursor: pointer;
    }


    .nav-category-toggle-text {
        display: flex;
        flex-direction: column;

        min-width: 0;
    }


    .nav-category-toggle-category {
        color: var(--primary);

        font-size: 0.8rem;
        font-weight: 600;
    }


    .nav-category-toggle-current {
        margin-top: 0.1rem;

        font-size: 0.95rem;
        font-weight: 700;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .nav-category-toggle-icon {
        flex: 0 0 auto;

        font-size: 1rem;

        transition: transform 0.2s ease;
    }


    .main-navigation.is-collapsible.is-open
    .nav-category-toggle-icon {
        transform: rotate(180deg);
    }


    /*
     * The real category links are collapsed by default.
     */
    .main-navigation.is-collapsible .nav-category-pages {
        display: none;

        margin: 0;
        padding: 0.75rem 1rem 1rem 2.25rem;

        background: var(--surface);

        border-top: 1px solid var(--border);
    }


    /*
     * And shown only after tapping the button.
     */
    .main-navigation.is-collapsible.is-open
    .nav-category-pages {
        display: block;
    }

}


/* --------------------------------------------------
   Desktop
-------------------------------------------------- */

@media (min-width: 900px) {

    .page-layout {
        display: grid;

        grid-template-columns: 280px minmax(0, var(--article-width));

        gap: 2.5rem;

        align-items: start;

        justify-content: center;

        padding-top: 2.5rem;
    }

    .main-navigation {
        position: sticky;
        top: 4rem;

        margin-bottom: 0;
    }

    .article {
        padding: 2rem;
    }

}

/* --------------------------------------------------
 *  Content components
 - *------------------------------------------------- */

.content-box {
    margin-block: 1.75rem;

    padding: 1rem 1.1rem;

    border: 1px solid var(--border);
    border-left-width: 4px;
    border-radius: var(--radius);

    background: var(--surface);
}

.content-box-title {
    margin: 0 0 0.5rem;

    font-size: 1rem;
}

.content-box-content > :first-child {
    margin-top: 0;
}

.content-box-content > :last-child {
    margin-bottom: 0;
}


.info-box {
    border-left-color: var(--primary);
}

.tip-box {
    border-left-color: #5f8b4c;
}

.warning-box {
    border-left-color: #b67a21;
}


.quick-answer {
    margin-block: 1.75rem;

    padding: 1.1rem 1.2rem;

    background: var(--primary-light);

    border-radius: var(--radius);
}

.quick-answer-title {
    margin: 0 0 0.6rem;

    font-size: 1.1rem;
}

.quick-answer-content > :first-child {
    margin-top: 0;
}

.quick-answer-content > :last-child {
    margin-bottom: 0;
}


.article-figure {
    margin: 2rem 0;
}

.article-figure img {
    width: 100%;

    border-radius: var(--radius);
}

.article-figure figcaption {
    margin-top: 0.6rem;

    color: var(--text-muted);

    font-size: 0.9rem;
}


.related-article {
    margin-block: 1.75rem;

    padding: 1rem 1.1rem;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.related-article-label {
    display: block;

    margin-bottom: 0.3rem;

    color: var(--text-muted);

    font-size: 0.8rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.related-article a {
    font-weight: 700;
}


.article-faq {
    margin-top: 2.5rem;
}

.faq-item {
    padding-block: 1.2rem;

    border-top: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.faq-answer > :first-child {
    margin-top: 0;
}

.faq-answer > :last-child {
    margin-bottom: 0;
}

.reader-question {
    margin-block: 2rem;

    padding: 1.25rem;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.reader-question-header {
    margin-bottom: 1rem;
}

.reader-question-header h3 {
    margin: 0;
}

.reader-question-meta {
    margin: 0.4rem 0 0;

    color: var(--text-muted);

    font-size: 0.9rem;
}

.reader-question-body > :first-child,
.reader-answer > :first-child {
    margin-top: 0;
}

.reader-question-body > :last-child,
.reader-answer > :last-child {
    margin-bottom: 0;
}

.reader-answer {
    margin-top: 1.25rem;

    padding-top: 1.25rem;

    border-top: 1px solid var(--border);
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;

    margin-block: 1.75rem;
}

.article-gallery-item {
    display: block;
}

.article-gallery-item img {
    width: 100%;
    height: auto;

    border-radius: var(--radius);
}

.article-gallery-item:only-child {
    justify-self: start;
}

.article-gallery-item:only-child img {
    width: auto;
    max-width: 100%;
}

@media (min-width: 700px) {

    .article-gallery {
        grid-template-columns: repeat(
            auto-fit,
            minmax(110px, 1fr)
        );
    }

}

.article-image {
    margin: 1.5rem 0;
}

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

.article-image figcaption {
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

.article-image-right,
.article-image-left {
    margin: 1rem 0;
}

.article-image-right img,
.article-image-left img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {

    .article-image-right {
        float: right;
        max-width: 45%;
        margin: 0.25rem 0 1rem 1.5rem;
    }

    .article-image-left {
        float: left;
        max-width: 45%;
        margin: 0.25rem 1.5rem 1rem 0;
    }

}

/* =========================================================
 *  SITE FOOTER
 *  ========================================================= */

.site-footer {
    margin-top: 4rem;

    background: #edf2ee;

    border-top: 1px solid var(--border, #d7dfda);
}

.site-footer-inner {
    width: min(100% - 2rem, 1200px);

    margin-inline: auto;
    padding: 2.5rem 0 1.25rem;
}

.site-footer-main {
    display: grid;
    gap: 2rem;
}

.site-footer-brand {
    max-width: 420px;
}

.site-footer-logo {
    display: inline-block;

    color: inherit;

    font-size: 1.35rem;
    font-weight: 800;

    text-decoration: none;
}

.site-footer-brand p {
    margin: 0.8rem 0 0;

    color: var(--text-muted, #617068);

    line-height: 1.6;
}

.site-footer-nav h2 {
    margin: 0 0 0.85rem;

    font-size: 1rem;
}

.site-footer-nav ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer-nav li + li {
    margin-top: 0.55rem;
}

.site-footer-nav a {
    color: inherit;

    text-decoration: none;
}

.site-footer-nav a:hover {
    text-decoration: underline;
}

.site-footer-bottom {
    margin-top: 2.25rem;
    padding-top: 1.25rem;

    border-top: 1px solid var(--border, #d7dfda);
}

.site-footer-bottom p {
    margin: 0;

    color: var(--text-muted, #617068);

    font-size: 0.85rem;
}


/* Tablet / Desktop */

@media (min-width: 700px) {

    .site-footer-inner {
        width: min(100% - 3rem, 1200px);

        padding-top: 3rem;
    }

    .site-footer-main {
        grid-template-columns:
        minmax(0, 1.5fr)
        minmax(180px, 1fr)
        minmax(150px, 0.7fr);

        gap: 3rem;
    }

}

/* =========================================================
 *  ERROR PAGES
 *  ========================================================= */

.error-page {
    width: min(100% - 2rem, 760px);

    margin-inline: auto;
    padding-block: 4rem 7rem;
}

.error-card {
    padding: clamp(1.5rem, 5vw, 3rem);

    background: #ffffff;

    border: 1px solid var(--border, #d7dfda);
    border-radius: 1.25rem;
}

.error-code {
    margin: 0 0 0.6rem;

    color: #267052;

    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.error-card h1 {
    margin: 0;

    font-size: clamp(2.2rem, 7vw, 3.5rem);
    line-height: 1.05;
}

.error-text {
    max-width: 560px;

    margin: 1.2rem 0 1.6rem;

    color: var(--text-muted, #617068);

    font-size: 1.05rem;
    line-height: 1.65;
}

.error-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0.7rem 1.1rem;

    background: #267052;
    color: #ffffff;

    border-radius: 0.65rem;

    font-weight: 700;
    text-decoration: none;
}

.error-home-link:hover {
    background: #1e5e44;
}

/* =========================================================
 *  READER QUESTION FORM
 *  ========================================================= */

.question-form-section {
    margin-top: 3rem;
    padding: 1.5rem;

    background: #ffffff;

    border: 1px solid var(--border, #d7dfda);
    border-radius: 1rem;
}

.question-form-section h2 {
    margin-top: 0;
}

.question-form-intro {
    color: var(--text-muted, #617068);
}

.question-form {
    display: grid;
    gap: 1rem;

    margin-top: 1.5rem;
}

.question-form-field {
    display: grid;
    gap: 0.4rem;
}

.question-form-field label {
    font-weight: 700;
}

.question-form-field input,
.question-form-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 0.75rem;

    font: inherit;

    background: #ffffff;

    border: 1px solid var(--border, #cfd8d2);
    border-radius: 0.55rem;
}

.question-form-field textarea {
    resize: vertical;
}

.question-form-submit {
    justify-self: start;

    padding: 0.75rem 1.1rem;

    font: inherit;
    font-weight: 700;

    color: #ffffff;
    background: #267052;

    border: 0;
    border-radius: 0.55rem;

    cursor: pointer;
}

.question-form-message {
    margin-top: 1rem;
    padding: 0.9rem 1rem;

    border-radius: 0.55rem;
}

.question-form-success {
    background: #e6f2eb;
}

.question-form-error {
    background: #f7ecea;
}

.question-form-error ul {
    margin: 0;
    padding-left: 1.25rem;
}

.question-form-honeypot {
    position: absolute !important;
    left: -10000px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}

.page-layout-wide {
    display: block;
}

.page-layout-wide > article {
    max-width: 800px;
    margin-inline: auto;
}

.question-form-privacy {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted, #617068);
}

.article-callout {
    margin: 1.75rem 0;
    padding: 1.25rem 1.4rem;

    background: #eef6f1;
    border: 1px solid #d5e4da;
    border-left: 4px solid #2d7a5a;
    border-radius: 0.75rem;
}

.article-callout > strong {
    display: block;
    margin-bottom: 0.5rem;

    font-size: 1.05rem;
}

.article-callout p:last-child {
    margin-bottom: 0;
}

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

    margin: 1.25rem 0 2rem;
}

.filter-system-card {
    padding: 1.25rem;

    background: #fff;
    border: 1px solid #d9e2dc;
    border-radius: 0.85rem;
}

.filter-system-card h3 {
    margin-top: 0;
}

.filter-system-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 700px) {

    .filter-system-grid {
        grid-template-columns: 1fr;
    }
}

.filter-media-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;

    margin: 1.5rem 0;
}

.filter-media-flow > div {
    position: relative;

    padding: 1rem;

    text-align: center;

    background: #f5f8f6;
    border: 1px solid #d8e1db;
    border-radius: 0.75rem;
}

.filter-media-flow strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 1.8rem;
    height: 1.8rem;

    margin-bottom: 0.5rem;

    color: #fff;
    background: #2d7a5a;
    border-radius: 50%;
}

.filter-media-flow span,
.filter-media-flow small {
    display: block;
}

.filter-media-flow span {
    font-weight: 700;
}

.filter-media-flow small {
    margin-top: 0.25rem;
    color: #68766e;
}

@media (max-width: 600px) {

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

.article-step-list {
    display: grid;
    gap: 0.75rem;

    margin: 1.5rem 0 2rem;
    padding: 0;

    list-style: none;
    counter-reset: article-step;
}

.article-step-list > li {
    position: relative;

    padding: 1rem 1rem 1rem 3.5rem;

    background: #fff;
    border: 1px solid #d9e2dc;
    border-radius: 0.75rem;

    counter-increment: article-step;
}

.article-step-list > li::before {
    content: counter(article-step);

    position: absolute;
    left: 1rem;
    top: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 1.8rem;
    height: 1.8rem;

    font-weight: 700;

    color: #fff;
    background: #2d7a5a;

    border-radius: 50%;
}

.article-mistakes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;

    margin: 1.5rem 0 2rem;
    padding: 0;

    list-style: none;
}

.article-mistakes li {
    padding: 1rem 1.1rem;

    background: #faf7f1;
    border: 1px solid #e6ddd0;
    border-radius: 0.75rem;
}

.article-mistakes li::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 1.5rem;
    height: 1.5rem;

    margin-right: 0.45rem;

    font-weight: 800;

    border: 1px solid currentColor;
    border-radius: 50%;
}

@media (max-width: 700px) {

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

/* =========================================================
 *  ARTICLE FAQ
 *  ========================================================= */

.article-faq {
    margin-top: 3rem;
}

.article-faq > h2 {
    margin-bottom: 1.25rem;
}

.article-faq-grid {
    display: grid;
    gap: 0.9rem;
}

.article-faq-item {
    position: relative;

    padding: 1.2rem 1.35rem 1.2rem 3.8rem;

    background: #f8fbf9;

    border: 1px solid #d8e3dc;
    border-radius: 0.8rem;
}

.article-faq-item::before {
    content: "?";

    position: absolute;
    top: 1.15rem;
    left: 1.15rem;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 1.9rem;
    height: 1.9rem;

    font-size: 1rem;
    font-weight: 800;

    color: #fff;
    background: #2d7a5a;

    border-radius: 50%;
}

.article-faq-item h3 {
    margin: 0 0 0.65rem;

    font-size: 1.05rem;
    line-height: 1.35;
}

.article-faq-item p {
    margin: 0;

    color: #34453c;
}

.article-faq-item + .article-faq-item {
    margin-top: 0;
}

@media (max-width: 600px) {

    .article-faq-item {
        padding:
        1rem
        1rem
        1rem
        3.25rem;
    }

    .article-faq-item::before {
        top: 0.95rem;
        left: 0.9rem;

        width: 1.7rem;
        height: 1.7rem;
    }
}

.nitrogen-cycle-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;

    margin: 1.5rem 0;
}

.nitrogen-cycle-flow > div {
    padding: 1rem;
    text-align: center;

    background: #f5f8f6;
    border: 1px solid #d8e1db;
    border-radius: 0.75rem;
}

.nitrogen-cycle-flow strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 1.8rem;
    height: 1.8rem;
    margin-bottom: 0.5rem;

    color: #fff;
    background: #2d7a5a;
    border-radius: 50%;
}

.nitrogen-cycle-flow span,
.nitrogen-cycle-flow small {
    display: block;
}

.nitrogen-cycle-flow span {
    font-weight: 700;
}

.nitrogen-cycle-flow small {
    margin-top: 0.25rem;
    color: #68766e;
}

@media (max-width: 600px) {
    .nitrogen-cycle-flow {
        grid-template-columns: 1fr;
    }
}

.article-warning-list {
    margin: 1.25rem 0 1.75rem;
    padding: 1rem 1.25rem;

    background: #faf7f1;
    border: 1px solid #e6ddd0;
    border-radius: 0.75rem;
}

.article-warning-list ul {
    margin: 0;
}

.feeding-guide-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;

    margin: 1.5rem 0 2rem;
}

.feeding-guide-card {
    padding: 1rem;

    background: #fff;
    border: 1px solid #d8e1db;
    border-radius: 0.75rem;
}

.feeding-guide-label {
    display: block;
    margin-bottom: 0.35rem;

    color: #2d7a5a;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.feeding-guide-title {
    display: block;
    margin-bottom: 0.45rem;

    font-size: 1.05rem;
}

.feeding-guide-card p {
    margin: 0;
}

@media (max-width: 600px) {
    .feeding-guide-cards {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
}

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

.article-compare-card {
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #d8e1db;
    border-radius: 0.75rem;
}

.article-compare-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #2d7a5a;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-compare-card h3 {
    margin-top: 0;
}

.article-compare-card ul {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .article-compare {
        grid-template-columns: 1fr;
    }
}

.article-warning {
    margin: 1.5rem 0 2rem;
    padding: 1rem 1.1rem;

    background: #fff8ed;
    border: 1px solid #ead7b8;
    border-left: 4px solid #b97824;
    border-radius: 0.65rem;
}

.article-warning > :first-child {
    margin-top: 0;
}

.article-warning > :last-child {
    margin-bottom: 0;
}

.article-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.article-timeline-item {
    padding: 1rem;
    background: #fff;
    border: 1px solid #d8e1da;
    border-top: 3px solid #2b7b5b;
    border-radius: 0.65rem;
}

.article-timeline-date {
    display: block;
    margin-bottom: 0.45rem;
    color: #287556;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-timeline-item strong {
    display: block;
    margin-bottom: 0.45rem;
}

.article-timeline-item p {
    margin: 0;
}

@media (max-width: 700px) {
    .article-timeline {
        grid-template-columns: 1fr;
    }
}

/* Back to top
 -*------------------------------------------------- */

html {
    scroll-behavior: smooth;
}


.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: var(--color-primary, #1f6b4f);

    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);

    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}


.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.back-to-top:hover,
.back-to-top:focus-visible {
    color: #ffffff;
    background: var(--color-primary-dark, #17533e);
}


.back-to-top:focus-visible {
    outline: 3px solid rgba(31, 107, 79, 0.3);
    outline-offset: 3px;
}


@media (max-width: 640px) {

    .back-to-top {
        width: 44px;
        height: 44px;

        right: 16px;
        bottom: calc(
            16px + env(safe-area-inset-bottom)
        );
    }

}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .back-to-top {
        transition: none;
    }

}

.home-button-primary:hover,
.home-button-primary:focus-visible,
.error-home-link:hover,
.error-home-link:focus-visible {
    color: #fff;
    background: var(--primary-dark);
}
