* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: #26332b;
    background:
        radial-gradient(circle at 10% 0%, rgba(207, 229, 211, 0.45), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(232, 222, 194, 0.30), transparent 28%),
        linear-gradient(180deg, #f8faf7 0%, #f1f5f0 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        radial-gradient(rgba(31, 107, 69, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: -1;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(31, 107, 69, 0.10);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(31, 60, 43, 0.04);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    transition: transform 0.2s ease;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand h1 {
    font-size: 23px;
    line-height: 1.2;
    color: #183c29;
    letter-spacing: -0.4px;
}

.brand p {
    color: #718078;
    font-size: 13px;
    margin-top: 3px;
}

nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    position: relative;
    color: #536158;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.2s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: #1f6b45;
    transition: width 0.2s ease;
}

nav a:hover {
    color: #1f6b45;
}

nav a:hover::after {
    width: 100%;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    padding: 105px 0 85px;
    max-width: 850px;
}

.hero::before {
    content: "✦";
    position: absolute;
    top: 55px;
    right: 8%;
    font-size: 90px;
    line-height: 1;
    color: rgba(31, 107, 69, 0.055);
    pointer-events: none;
}

.hero-label,
.affiliate-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
    color: #1f6b45;
}

.hero-label::before,
.affiliate-label::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 5px;
    background: #1f6b45;
}

.hero h2 {
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.04;
    letter-spacing: -2px;
    color: #183c29;
    margin-bottom: 24px;
    max-width: 820px;
}

.hero p {
    font-size: 19px;
    line-height: 1.8;
    color: #667168;
    max-width: 720px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 58px 0;
}

.section-heading {
    margin-bottom: 30px;
    max-width: 720px;
}

.section-heading h2 {
    font-size: clamp(27px, 4vw, 34px);
    line-height: 1.2;
    color: #20382a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-heading p {
    color: #727c74;
    font-size: 16px;
}


/* =========================
   ARTICLE CARDS
========================= */

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

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 107, 69, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(36, 65, 47, 0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(36, 65, 47, 0.11);
    border-color: rgba(31, 107, 69, 0.18);
}

.card-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
    background:
        linear-gradient(135deg, #e9f2e9, #f5f1e4);
    overflow: hidden;
}

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

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

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 21px;
    line-height: 1.35;
    color: #25372b;
    margin-bottom: 12px;
}

.card p {
    color: #68736b;
    margin-bottom: 19px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1f6b45;
    font-weight: bold;
    transition: gap 0.2s ease;
}

.read-more::after {
    content: "→";
}

.read-more:hover {
    gap: 11px;
}


/* =========================
   TOPICS
========================= */

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

.topic {
    position: relative;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(31, 107, 69, 0.10);
    border-radius: 16px;
    padding: 23px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    color: #304438;
    box-shadow: 0 5px 18px rgba(36, 65, 47, 0.04);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.topic:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(36, 65, 47, 0.08);
}

.topic-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    border-radius: 13px;
    background: #edf5ed;
}


/* =========================
   ARTICLE PAGE
========================= */

.article-page {
    max-width: 850px;
    margin: auto;
    padding: 80px 0;
}

.article-page h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.10;
    letter-spacing: -1.5px;
    color: #183c29;
    margin-bottom: 22px;
}

.article-excerpt {
    font-size: 20px;
    line-height: 1.75;
    color: #69746c;
    margin-bottom: 45px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(31, 107, 69, 0.10);
}

.article-content {
    font-size: 18px;
    line-height: 1.85;
    color: #354239;
}

.article-content h2 {
    font-size: 30px;
    line-height: 1.25;
    color: #20382a;
    margin: 45px 0 17px;
}

.article-content h3 {
    font-size: 23px;
    color: #294033;
    margin: 32px 0 12px;
}

.article-content p {
    margin-bottom: 21px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 28px 28px;
}

.article-content li {
    margin-bottom: 9px;
}

.article-content img {
    width: 100%;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 12px 35px rgba(30, 55, 39, 0.10);
}


/* =========================
   AFFILIATE BOX
========================= */

.affiliate-box {
    margin-top: 60px;
    padding: 32px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f2f7f1 100%);
    border: 1px solid rgba(31, 107, 69, 0.13);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(36, 65, 47, 0.06);
}

.affiliate-box h2 {
    font-size: 28px;
    color: #20382a;
    margin-bottom: 12px;
}

.affiliate-box p {
    color: #657068;
}

.affiliate-details {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 22px 0;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
}

.affiliate-details strong {
    font-size: 24px;
    color: #1f6b45;
}


/* =========================
   AFFILIATE BUTTON
========================= */

.affiliate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #23784d, #185c3b);
    color: white;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 7px 18px rgba(31, 107, 69, 0.20);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.affiliate-button::after {
    content: "→";
}

.affiliate-button:hover {
    background: linear-gradient(135deg, #185c3b, #12462d);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(31, 107, 69, 0.26);
}

.affiliate-disclosure {
    font-size: 12px;
    line-height: 1.6;
    color: #7a837d;
    margin-top: 18px;
}


/* =========================
   NEWSLETTER
========================= */

.newsletter {
    position: relative;
    margin: 60px 0;
    padding: 50px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.55), transparent 28%),
        linear-gradient(135deg, #e5f0e5, #f0eee1);
    border: 1px solid rgba(31, 107, 69, 0.10);
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(36, 65, 47, 0.06);
}

.newsletter::after {
    content: "🌿";
    position: absolute;
    right: 35px;
    bottom: 15px;
    font-size: 75px;
    opacity: 0.13;
}

.newsletter h2 {
    color: #20382a;
    margin-bottom: 10px;
}

.newsletter p {
    color: #637066;
}


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

footer {
    position: relative;
    margin-top: 80px;
    background:
        radial-gradient(circle at 15% 0%, rgba(53, 102, 70, 0.30), transparent 30%),
        #202923;
    color: white;
    padding: 65px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-grid h3 {
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-grid p,
.footer-grid a {
    color: #c5cdc7;
}

.footer-grid a {
    transition: color 0.2s ease;
}

.footer-grid a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid #3b443e;
    color: #aab4ad;
    font-size: 13px;
}


/* =========================
   GENERAL TEXT / BUTTON HELPERS
========================= */

button,
input[type="submit"] {
    cursor: pointer;
}

::selection {
    background: #cfe4d3;
    color: #173b28;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

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

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

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 25px;
    }
}


@media (max-width: 800px) {

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
        gap: 12px;
    }

    nav {
        gap: 13px 18px;
    }

    .hero {
        padding: 70px 0 60px;
    }

    .hero h2 {
        letter-spacing: -1px;
    }

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

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

    footer {
        margin-top: 60px;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(92%, 520px);
    }

    .hero {
        padding: 55px 0 45px;
    }

    .hero::before {
        display: none;
    }

    .hero h2 {
        font-size: 39px;
    }

    .hero p {
        font-size: 17px;
    }

    .section {
        padding: 42px 0;
    }

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

    .article-page {
        padding: 55px 0;
    }

    .article-page h1 {
        font-size: 38px;
    }

    .article-excerpt {
        font-size: 18px;
    }

    .article-content {
        font-size: 17px;
    }

    .affiliate-box {
        padding: 23px;
    }

    .affiliate-details {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter {
        padding: 32px 25px;
        border-radius: 18px;
    }

    .newsletter::after {
        display: none;
    }
}


@media (max-width: 400px) {

    nav {
        gap: 9px 14px;
    }

    nav a {
        font-size: 13px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .card-content {
        padding: 21px;
    }

    .affiliate-button {
        width: 100%;
    }
}


/* =========================================================
   HOMEPAGE
   ========================================================= */

.hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 110px 20px 100px;
    text-align: center;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255,255,255,0.55),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(214,232,215,0.55),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #e7f1e6 0%,
            #f0f4e8 50%,
            #e4eee3 100%
        );
    border-bottom: 1px solid rgba(31,107,69,0.08);
    overflow: hidden;
}

.hero-label {
    display: inline-block;
    padding: 8px 17px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(31,107,69,0.10);
    border-radius: 30px;
    color: #26704a;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    box-shadow: 0 5px 18px rgba(30,70,45,0.06);
}

.hero h2 {
    max-width: 850px;
    margin: auto;
    font-size: clamp(40px, 6vw, 66px);
    line-height: 1.06;
    letter-spacing: -2px;
    color: #183c29;
}

.hero p {
    max-width: 720px;
    margin: 23px auto 0;
    font-size: 19px;
    line-height: 1.8;
    color: #5c6c62;
}

.hero-buttons {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: bold;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.button-primary {
    background: linear-gradient(135deg, #4b8759, #286b45);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(38,107,69,0.20);
}

.button-primary::after {
    content: " →";
}

.button-primary:hover {
    background: linear-gradient(135deg, #3d754d, #205b3a);
    transform: translateY(-2px);
    box-shadow: 0 12px 27px rgba(38,107,69,0.25);
}

.button-secondary {
    background: rgba(255,255,255,0.92);
    color: #285f3d;
    border: 1px solid #d2dfd3;
    box-shadow: 0 5px 15px rgba(30,60,40,0.04);
}

.button-secondary::after {
    content: " →";
}

.button-secondary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(30,60,40,0.08);
}


/* Homepage content sections */

main > .container {
    margin-top: 70px;
    margin-bottom: 70px;
}

main > .container:first-child {
    margin-top: 75px;
}

.section-heading {
    position: relative;
    margin-bottom: 30px;
}

.section-heading h3 {
    margin: 0;
    font-size: clamp(28px, 4vw, 35px);
    line-height: 1.2;
    color: #20382a;
    letter-spacing: -0.5px;
}

.section-heading p {
    color: #727e76;
    margin-top: 8px;
    font-size: 16px;
}


/* Article cards */

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

.article-card {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(31,107,69,0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(36,65,47,0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.article-card:hover {
    transform: translateY(-7px);
    border-color: rgba(31,107,69,0.18);
    box-shadow: 0 18px 40px rgba(36,65,47,0.11);
}

.article-top {
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #e4efe3,
            #f3f0df
        );
    color: #35734b;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.article-body {
    padding: 25px;
}

.article-category {
    color: #35774d;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.article-body h4 {
    margin: 10px 0 12px;
    font-size: 21px;
    line-height: 1.4;
    color: #26392d;
}

.article-body h4 a {
    color: inherit;
    transition: color 0.2s ease;
}

.article-body h4 a:hover {
    color: #287247;
}

.excerpt {
    color: #68756d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #267047;
    font-weight: bold;
    transition: gap 0.2s ease;
}

.read-button::after {
    content: "→";
}

.read-button:hover {
    gap: 10px;
}


/* Topics */

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

.topic {
    display: block;
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(31,107,69,0.10);
    border-radius: 16px;
    padding: 25px;
    color: #263a2d;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(36,65,47,0.045);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.topic:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 13px 30px rgba(36,65,47,0.09);
}

.topic span {
    display: block;
    color: #718078;
    font-size: 13px;
    line-height: 1.6;
    font-weight: normal;
    margin-top: 8px;
}


/* About section */

.about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(214,231,215,0.55),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #f0f5ef
        );
    border: 1px solid rgba(31,107,69,0.11);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(36,65,47,0.055);
}

.about::after {
    content: "🌿";
    position: absolute;
    right: 35px;
    bottom: 10px;
    font-size: 75px;
    opacity: 0.10;
}

.about h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 29px;
    line-height: 1.25;
    color: #20382a;
}

.about p {
    max-width: 760px;
    color: #68756d;
    line-height: 1.8;
    margin-bottom: 13px;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #287148;
    font-weight: bold;
}

.resource-link::after {
    content: "→";
}

.resource-link:hover {
    text-decoration: underline;
}


/* Homepage footer */

footer {
    margin-top: 90px;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(61,111,77,0.30),
            transparent 30%
        ),
        #202923;
    color: #ffffff;
    padding: 65px 20px 35px;
}

.footer-inner {
    max-width: 1120px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

footer h4,
footer strong {
    display: block;
    margin-top: 0;
    margin-bottom: 16px;
    color: #ffffff;
}

footer p {
    color: #bdc9c0;
    line-height: 1.75;
    max-width: 500px;
}

footer a {
    display: block;
    color: #bdc9c0;
    text-decoration: none;
    margin: 9px 0;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #ffffff;
}

.copyright {
    max-width: 1120px;
    margin: 45px auto 0;
    padding-top: 22px;
    border-top: 1px solid #3b443e;
    color: #9eaaa1;
    font-size: 13px;
}


/* Homepage responsive */

@media (max-width: 900px) {

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

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

    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
}


@media (max-width: 700px) {

    .hero {
        padding: 75px 20px 65px;
    }

    .hero h2 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 17px;
    }

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

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

    .about {
        padding: 30px 24px;
    }

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

    footer {
        margin-top: 65px;
    }
}


@media (max-width: 450px) {

    .hero {
        padding: 60px 18px 55px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .button {
        width: 100%;
    }

    main > .container {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .article-body {
        padding: 22px;
    }
}


/* =========================================================
   HOMEPAGE HEADER
   ========================================================= */

header {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(31, 107, 69, 0.10);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(31, 60, 43, 0.04);
}

header .header-inner {
    width: min(1120px, 92%);
    min-height: 82px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: block;
    text-decoration: none;
    color: #183c29;
    flex-shrink: 0;
}

.logo h1 {
    margin: 0;
    font-size: 23px;
    line-height: 1.2;
    color: #183c29;
    letter-spacing: -0.4px;
}

.logo p {
    margin: 4px 0 0;
    color: #718078;
    font-size: 13px;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

header nav a {
    position: relative;
    color: #536158;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.2s ease;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: #1f6b45;
    transition: width 0.2s ease;
}

header nav a:hover {
    color: #1f6b45;
}

header nav a:hover::after {
    width: 100%;
}


@media (max-width: 700px) {

    header .header-inner {
        width: 92%;
        min-height: auto;
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    header nav {
        width: 100%;
        justify-content: flex-start;
        gap: 12px 18px;
    }

}


@media (max-width: 450px) {

    .logo h1 {
        font-size: 21px;
    }

    header nav {
        gap: 9px 15px;
    }

    header nav a {
        font-size: 13px;
    }

}


/* =========================================================
   HOMEPAGE ARTICLE IMAGES
   ========================================================= */

.article-image-link {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #e8f0e7;
}

.article-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image {
    transform: scale(1.045);
}


/* Keep image cards consistent on smaller screens */

@media (max-width: 700px) {

    .article-image-link {
        height: 210px;
    }

}


/* =========================================================
   CATEGORY PAGES
   ========================================================= */

.category-page {
    min-height: 60vh;
}

.category-page .hero {
    padding-top: 85px;
    padding-bottom: 80px;
}

.category-page .hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 9px 18px;
    border-radius: 30px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(31,107,69,0.10);
    color: #287148;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 18px rgba(30,70,45,0.06);
}

.category-page .hero h2 {
    max-width: 850px;
    margin: auto;
}

.category-page .hero p {
    max-width: 700px;
}


/* Category article cards */

.category-page .articles {
    align-items: stretch;
}

.category-page .card {
    display: flex;
    flex-direction: column;
}

.category-image-link {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #e8f0e7;
}

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

.category-page .card:hover .category-card-image {
    transform: scale(1.045);
}

.category-card-placeholder {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255,255,255,0.55),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #e3eee2,
            #f1f2e4
        );
}

.category-card-placeholder span {
    color: #34734b;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.category-page .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-page .card-content h4 {
    font-size: 21px;
    line-height: 1.4;
}

.category-page .card-content .excerpt {
    flex: 1;
}

.category-page .read-button {
    align-self: flex-start;
}


/* Category section heading */

.section-title {
    margin-bottom: 30px;
}

.section-title h3 {
    margin: 0;
    font-size: clamp(28px, 4vw, 35px);
    line-height: 1.2;
    color: #20382a;
}

.section-title p {
    margin-top: 8px;
    color: #727e76;
    font-size: 16px;
}


/* Category footer */

.category-page + footer {
    margin-top: 90px;
}


/* Category mobile */

@media (max-width: 700px) {

    .category-page .hero {
        padding-top: 65px;
        padding-bottom: 60px;
    }

    .category-image-link,
    .category-card-placeholder {
        height: 210px;
    }

}

