/* =========================================================
   BACKYARD WITH BEN
   Main Stylesheet
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --green-dark: #173f2b;
    --green: #245c3d;
    --green-light: #6e916f;
    --green-soft: #dfe9df;

    --cream: #f7f4ec;
    --cream-dark: #eee9dc;

    --white: #ffffff;
    --black: #171717;

    --text: #222722;
    --text-light: #6e746f;

    --border: #e7e7e2;

    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.10);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --container: 1280px;

    --transition: 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button,
input {
    font: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.section-container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-container {
    width: min(94%, 1380px);
    height: 92px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 45px;
}


/* Logo */

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    width: 78px;
    height: 78px;

    object-fit: contain;

    transition: transform var(--transition);
}

.site-logo:hover img {
    transform: scale(1.04);
}


/* Navigation */

.main-navigation {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-links a {
    position: relative;

    font-size: 15px;
    font-weight: 700;

    color: #343834;

    padding: 35px 0;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 24px;

    width: 0;
    height: 2px;

    background: var(--green);

    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--green-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* Newsletter navbar button */

.newsletter-nav-button {
    margin-left: auto;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: var(--green-dark);
    color: white;

    padding: 14px 22px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 8px 24px rgba(23, 63, 43, 0.22);

    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.newsletter-nav-button:hover {
    background: var(--green);
    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(23, 63, 43, 0.30);
}

.newsletter-nav-icon {
    font-size: 16px;
}


/* Mobile Menu */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;
}

.mobile-menu-button span {
    width: 24px;
    height: 2px;

    background: var(--green-dark);

    border-radius: 2px;
}


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

.hero-slider {
    position: relative;

    width: 100%;
    overflow: hidden;

    background: var(--green-dark);
}

.slider-track {
    display: flex;

    transition: transform 0.75s cubic-bezier(.65, 0, .35, 1);
}

.hero-slide {
    position: relative;

    flex: 0 0 100%;
    width: 100%;
    min-height: 690px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-slide > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Dark overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 28, 18, 0.84) 0%,
            rgba(7, 28, 18, 0.63) 38%,
            rgba(7, 28, 18, 0.16) 70%,
            rgba(7, 28, 18, 0.08) 100%
        );
}


/* Hero text */

.hero-content {
    position: relative;
    z-index: 3;

    width: min(92%, var(--container));
    margin: 0 auto;

    padding-bottom: 30px;

    color: white;
}

.hero-content > * {
    max-width: 720px;
}

.hero-category {
    display: inline-block;

    margin-bottom: 18px;

    padding: 8px 14px;

    background: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;

    backdrop-filter: blur(10px);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    font-size: clamp(46px, 5vw, 78px);

    line-height: 1.02;

    letter-spacing: -2.5px;

    margin-bottom: 24px;
}

.hero-content h1 span,
.hero-content h2 span {
    display: block;

    color: #d7e7c9;
}

.hero-content p {
    max-width: 630px;

    margin-bottom: 34px;

    font-size: 19px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.89);
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 16px 24px;

    background: white;
    color: var(--green-dark);

    border-radius: 50px;

    font-weight: 800;
    font-size: 15px;

    transition:
        transform var(--transition),
        background var(--transition);
}

.hero-button span {
    transition: transform var(--transition);
}

.hero-button:hover {
    transform: translateY(-3px);

    background: var(--cream);
}

.hero-button:hover span {
    transform: translateX(4px);
}


/* Slider Arrows */

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;

    transform: translateY(-50%);

    width: 54px;
    height: 54px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);

    backdrop-filter: blur(12px);

    color: white;

    font-size: 35px;
    line-height: 1;

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

    transition:
        background var(--transition),
        transform var(--transition);
}

.slider-arrow:hover {
    background: white;
    color: var(--green-dark);

    transform: translateY(-50%) scale(1.05);
}

.slider-arrow-left {
    left: 28px;
}

.slider-arrow-right {
    right: 28px;
}


/* Dots */

.slider-dots {
    position: absolute;
    z-index: 10;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 10px;

    padding: 9px 13px;

    background: rgba(0, 0, 0, 0.18);

    border-radius: 50px;

    backdrop-filter: blur(10px);
}

.slider-dot {
    width: 9px;
    height: 9px;

    background: rgba(255, 255, 255, 0.52);

    border-radius: 50%;

    transition:
        width var(--transition),
        background var(--transition);
}

.slider-dot.active {
    width: 28px;

    border-radius: 10px;

    background: white;
}


/* =========================================================
   INTRO SECTION
========================================================= */

.home-intro {
    padding: 105px 0 90px;

    background: var(--cream);
}

.home-intro .section-container {
    max-width: 900px;

    text-align: center;
}

.section-small-title {
    display: block;

    margin-bottom: 12px;

    color: var(--green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.home-intro h2 {
    margin-bottom: 23px;

    font-size: clamp(36px, 4vw, 56px);

    line-height: 1.12;
    letter-spacing: -1.6px;

    color: var(--green-dark);
}

.home-intro h2 span {
    color: var(--green-light);
}

.home-intro p {
    max-width: 790px;

    margin: 0 auto;

    font-size: 18px;

    color: var(--text-light);

    line-height: 1.8;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    margin-bottom: 42px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;
}

.section-heading h2 {
    font-size: clamp(34px, 3vw, 48px);

    line-height: 1.1;
    letter-spacing: -1.4px;

    color: var(--green-dark);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--green-dark);

    font-size: 14px;
    font-weight: 800;

    white-space: nowrap;
}

.text-link span {
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   CATEGORIES
========================================================= */

.home-categories {
    padding: 105px 0;

    background: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.category-card {
    position: relative;

    min-height: 360px;

    overflow: hidden;

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

    box-shadow: var(--shadow-sm);
}

.category-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.65s ease;
}

.category-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(10, 31, 20, 0.82) 0%,
            rgba(10, 31, 20, 0.18) 60%,
            rgba(10, 31, 20, 0.02) 100%
        );
}

.category-content {
    position: absolute;
    z-index: 2;

    left: 28px;
    right: 28px;
    bottom: 26px;

    color: white;
}

.category-content h3 {
    margin-bottom: 5px;

    font-size: 29px;

    letter-spacing: -0.6px;
}

.category-content span {
    font-size: 14px;

    color: rgba(255, 255, 255, 0.82);
}

.category-card:hover img {
    transform: scale(1.065);
}


/* =========================================================
   FEATURED ARTICLES
========================================================= */

.featured-articles {
    padding: 105px 0;

    background: #f8f8f5;
}

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

    gap: 28px;
}

.article-card {
    overflow: hidden;

    background: white;

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

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.025);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.article-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}


/* Article image */

.article-image {
    position: relative;

    display: block;

    height: 280px;

    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

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

.article-category {
    position: absolute;

    left: 18px;
    bottom: 18px;

    background: rgba(255, 255, 255, 0.95);
    color: var(--green-dark);

    padding: 7px 12px;

    border-radius: 50px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


/* Article content */

.article-content {
    padding: 27px 27px 30px;
}

.article-date {
    display: block;

    margin-bottom: 11px;

    font-size: 12px;
    font-weight: 700;

    color: #969b96;
}

.article-content h3 {
    margin-bottom: 14px;

    font-size: 23px;

    line-height: 1.32;
    letter-spacing: -0.4px;

    color: var(--green-dark);
}

.article-content h3 a {
    transition: color var(--transition);
}

.article-content h3 a:hover {
    color: var(--green);
}

.article-content p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 15px;
    line-height: 1.7;
}

.read-more {
    display: inline-block;

    color: var(--green);

    font-size: 14px;
    font-weight: 800;
}


/* Compact 2-card layout used while the article catalog is still small */

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

    max-width: 800px;

    margin: 0 auto;
}


/* "More articles coming soon" filler card */

.article-card-soon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 40px 32px;

    text-align: left;

    background: var(--cream);
    border-style: dashed;
}

.article-card-soon-icon {
    margin-bottom: 14px;

    font-size: 30px;
}

.article-card-soon h3 {
    margin-bottom: 12px;

    font-size: 21px;

    color: var(--green-dark);
}

.article-card-soon p {
    margin-bottom: 18px;

    color: var(--text-light);

    font-size: 15px;
    line-height: 1.7;
}


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

.newsletter-section {
    padding: 100px 0;

    background: white;
}

.newsletter-container {
    position: relative;

    width: min(92%, 1180px);
    margin: 0 auto;

    padding: 75px 60px;

    overflow: hidden;

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

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(145, 175, 128, 0.20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #173f2b,
            #245c3d
        );

    color: white;

    box-shadow: 0 28px 70px rgba(23, 63, 43, 0.22);
}

.newsletter-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
}

.newsletter-decoration {
    position: absolute;

    right: 55px;
    top: 18px;

    font-size: 170px;

    opacity: 0.08;

    transform: rotate(-18deg);
}

.newsletter-small-title {
    display: block;

    margin-bottom: 13px;

    color: #cbdcbd;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.newsletter-content h2 {
    margin-bottom: 16px;

    font-size: clamp(38px, 4vw, 54px);

    line-height: 1.1;
    letter-spacing: -1.4px;
}

.newsletter-content > p {
    max-width: 650px;

    margin-bottom: 31px;

    color: rgba(255, 255, 255, 0.80);

    font-size: 17px;
}


/* Newsletter form */

.newsletter-input-wrapper {
    max-width: 700px;

    display: flex;

    padding: 6px;

    background: white;

    border-radius: 60px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.newsletter-input-wrapper input {
    flex: 1;

    min-width: 0;

    padding: 15px 21px;

    border: none;
    outline: none;

    background: transparent;

    color: var(--black);

    font-size: 15px;
}

.newsletter-input-wrapper button {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 14px 21px;

    border-radius: 50px;

    background: var(--green-dark);
    color: white;

    font-size: 14px;
    font-weight: 800;

    transition: background var(--transition);
}

.newsletter-input-wrapper button:hover {
    background: var(--green);
}

.newsletter-form small {
    display: block;

    margin-top: 13px;
    margin-left: 10px;

    color: rgba(255, 255, 255, 0.60);

    font-size: 12px;
}


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

.site-footer {
    background: #102d20;

    color: white;
}

.footer-container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.9fr 1.2fr;

    gap: 65px;

    padding: 80px 0 65px;
}


/* Footer logo */

.footer-logo {
    display: inline-block;

    margin-bottom: 18px;
}

.footer-logo img {
    width: 110px;
    height: 110px;

    object-fit: contain;

    background: white;

    border-radius: 50%;
}

.footer-brand p {
    max-width: 320px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 14px;
    line-height: 1.8;
}


/* Social links */

.social-links {
    margin-top: 24px;

    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.social-links a {
    padding: 8px 13px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 12px;

    transition:
        background var(--transition),
        color var(--transition);
}

.social-links a:hover {
    background: white;
    color: var(--green-dark);
}


/* Footer columns */

.footer-column h3,
.footer-newsletter h3 {
    margin-bottom: 20px;

    font-size: 15px;
    font-weight: 800;

    color: white;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.62);

    font-size: 14px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: white;
}


/* Footer newsletter */

.footer-newsletter p {
    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 14px;
}

.footer-newsletter-form {
    display: flex;

    padding: 5px;

    background: white;

    border-radius: 50px;
}

.footer-newsletter-form input {
    flex: 1;

    min-width: 0;

    padding: 11px 14px;

    border: none;
    outline: none;

    border-radius: 50px;

    font-size: 13px;
}

.footer-newsletter-form button {
    padding: 11px 16px;

    border-radius: 50px;

    background: var(--green);
    color: white;

    font-size: 12px;
    font-weight: 800;

    transition: background var(--transition);
}

.footer-newsletter-form button:hover {
    background: var(--green-dark);
}


/* Footer bottom */

.footer-bottom {
    min-height: 82px;

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

    gap: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);

    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: white;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .navbar-container {
        gap: 24px;
    }

    .nav-links {
        gap: 28px;
    }

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

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

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

}


/* Tablets */

@media (max-width: 850px) {

    .navbar-container {
        height: 78px;
    }

    .site-logo img {
        width: 64px;
        height: 64px;
    }

    .main-navigation,
    .newsletter-nav-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;

        margin-left: auto;
    }


    /* Hero */

    .hero-slide {
        min-height: 620px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                to top,
                rgba(7, 28, 18, 0.88),
                rgba(7, 28, 18, 0.30)
            );
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;

        min-height: 620px;

        padding-bottom: 95px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(42px, 8vw, 65px);
    }

    .slider-arrow {
        width: 45px;
        height: 45px;

        font-size: 28px;
    }

    .slider-arrow-left {
        left: 15px;
    }

    .slider-arrow-right {
        right: 15px;
    }


    /* Sections */

    .home-intro,
    .home-categories,
    .featured-articles,
    .newsletter-section {
        padding: 75px 0;
    }

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

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

}


/* Phones */

@media (max-width: 650px) {

    .hero-slide {
        min-height: 580px;
    }

    .hero-content {
        min-height: 580px;

        padding-bottom: 85px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 42px;

        letter-spacing: -1.3px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-button {
        padding: 14px 18px;

        font-size: 13px;
    }

    .slider-arrow {
        display: none;
    }


    /* Intro */

    .home-intro h2 {
        font-size: 36px;
    }

    .home-intro p {
        font-size: 16px;
    }


    /* Categories */

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

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


    /* Articles */

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

    .article-image {
        height: 250px;
    }


    /* Newsletter */

    .newsletter-container {
        padding: 50px 25px;

        border-radius: 22px;
    }

    .newsletter-content h2 {
        font-size: 38px;
    }

    .newsletter-input-wrapper {
        padding: 7px;

        flex-direction: column;

        border-radius: 18px;
    }

    .newsletter-input-wrapper input {
        width: 100%;

        padding: 15px 14px;
    }

    .newsletter-input-wrapper button {
        justify-content: center;

        width: 100%;

        border-radius: 13px;
    }


    /* Footer */

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

        gap: 45px;

        padding: 65px 0 50px;
    }

    .footer-bottom {
        padding: 28px 0;

        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
        flex-wrap: wrap;

        gap: 15px;
    }

}


/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 420px) {

    .hero-content h1,
    .hero-content h2 {
        font-size: 36px;
    }

    .hero-category {
        font-size: 10px;
    }

    .category-content h3 {
        font-size: 25px;
    }

    .newsletter-content h2 {
        font-size: 33px;
    }

}

/* =========================================================
   JS STATES
========================================================= */

.site-header.header-scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}


/* MOBILE NAVIGATION */

@media (max-width: 850px) {

    .site-header.mobile-menu-open .main-navigation {
        display: block;

        position: absolute;

        top: 78px;
        left: 4%;
        right: 4%;

        margin: 0;

        padding: 18px;

        background: white;

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

        box-shadow: var(--shadow-md);
    }

    .site-header.mobile-menu-open .nav-links {
        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .site-header.mobile-menu-open .nav-links a {
        display: block;

        padding: 15px 14px;

        border-radius: 10px;
    }

    .site-header.mobile-menu-open .nav-links a:hover {
        background: var(--cream);
    }

    .site-header.mobile-menu-open .nav-links a::after {
        display: none;
    }


    /* Hamburger animation */

    .mobile-menu-button span {
        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

    .mobile-menu-open
    .mobile-menu-button
    span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .mobile-menu-open
    .mobile-menu-button
    span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-open
    .mobile-menu-button
    span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

}

/* =========================================================
   BLOG PAGE
========================================================= */


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

.blog-hero {
    position: relative;

    padding: 100px 0 85px;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(111, 145, 111, 0.18),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f7f4ec 0%,
            #f4f6f1 100%
        );

    overflow: hidden;
}

.blog-hero::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -120px;
    bottom: -170px;

    border-radius: 50%;

    background: rgba(36, 92, 61, 0.07);
}

.blog-hero .section-container {
    position: relative;
    z-index: 2;
}

.blog-hero h1 {
    max-width: 800px;

    margin-bottom: 22px;

    color: var(--green-dark);

    font-size: clamp(48px, 5vw, 72px);

    line-height: 1.02;
    letter-spacing: -2.4px;
}

.blog-hero h1 span {
    display: block;

    color: var(--green-light);
}

.blog-hero p {
    max-width: 700px;

    color: var(--text-light);

    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   BLOG TOOLS / CATEGORY FILTERS
========================================================= */

.blog-tools {
    position: sticky;

    top: 92px;

    z-index: 100;

    padding: 18px 0;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(14px);

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

.blog-tools-inner {
    display: flex;

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

    gap: 24px;
}


/* Categories */

.blog-categories {
    display: flex;

    align-items: center;

    gap: 9px;

    overflow-x: auto;

    padding-bottom: 3px;

    scrollbar-width: none;
}

.blog-categories::-webkit-scrollbar {
    display: none;
}

.blog-category-button {
    flex-shrink: 0;

    padding: 10px 16px;

    border: 1px solid #e8e9e5;

    border-radius: 50px;

    background: #f7f7f4;

    color: #5c625d;

    font-size: 13px;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition),
        border var(--transition),
        transform var(--transition);
}

.blog-category-button:hover {
    transform: translateY(-1px);

    border-color: #ced9ce;

    background: var(--green-soft);

    color: var(--green-dark);
}

.blog-category-button.active {
    background: var(--green-dark);

    border-color: var(--green-dark);

    color: white;

    box-shadow: 0 7px 18px rgba(23, 63, 43, 0.15);
}


/* =========================================================
   BLOG SEARCH
========================================================= */

.blog-search {
    flex-shrink: 0;

    width: 285px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 15px;

    background: #f6f6f3;

    border: 1px solid #e8e9e5;

    border-radius: 50px;

    transition:
        background var(--transition),
        border var(--transition),
        box-shadow var(--transition);
}

.blog-search:focus-within {
    background: white;

    border-color: #a6baa7;

    box-shadow: 0 0 0 4px rgba(36, 92, 61, 0.07);
}

.blog-search-icon {
    flex-shrink: 0;

    color: var(--green);

    font-size: 20px;
}

.blog-search input {
    width: 100%;

    padding: 11px 0;

    border: none;
    outline: none;

    background: transparent;

    color: var(--text);

    font-size: 14px;
}

.blog-search input::placeholder {
    color: #999e99;
}


/* Remove ugly browser search X styling */

.blog-search input::-webkit-search-cancel-button {
    cursor: pointer;
}


/* =========================================================
   FEATURED BLOG ARTICLE
========================================================= */

.blog-featured {
    padding: 75px 0 35px;

    background: white;
}

.featured-blog-card {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    min-height: 500px;

    overflow: hidden;

    border-radius: 28px;

    background: var(--green-dark);

    box-shadow: 0 22px 60px rgba(23, 63, 43, 0.16);
}


/* Image */

.featured-blog-image {
    position: relative;

    display: block;

    overflow: hidden;
}

.featured-blog-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 65%,
            rgba(23, 63, 43, 0.20)
        );
}

.featured-blog-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.featured-blog-card:hover .featured-blog-image img {
    transform: scale(1.035);
}


/* Content */

.featured-blog-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 55px 55px 50px;

    color: white;
}

.featured-label {
    display: inline-flex;

    align-self: flex-start;

    margin-bottom: 16px;

    padding: 7px 12px;

    border-radius: 50px;

    background: #dce9ce;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.featured-category {
    margin-bottom: 11px;

    color: #bdd0bb;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-blog-content h2 {
    margin-bottom: 18px;

    font-size: clamp(31px, 3vw, 44px);

    line-height: 1.15;
    letter-spacing: -1.2px;
}

.featured-blog-content h2 a {
    color: white;

    transition: color var(--transition);
}

.featured-blog-content h2 a:hover {
    color: #d7e7c9;
}

.featured-blog-content > p {
    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.73);

    font-size: 15px;
    line-height: 1.75;
}

.featured-meta {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.52);

    font-size: 12px;
}


/* Override homepage hero button */

.blog-featured-button {
    align-self: flex-start;

    background: white;

    color: var(--green-dark);
}

.blog-featured-button:hover {
    background: #edf2e8;

    color: var(--green-dark);
}


/* =========================================================
   BLOG ARTICLE SECTION
========================================================= */

.blog-articles-section {
    padding: 80px 0 110px;

    background: white;
}

.blog-articles-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;
}


/* Blog cards */

.blog-card {
    height: 100%;

    display: flex;
    flex-direction: column;
}

.blog-card .article-content {
    flex: 1;

    display: flex;
    flex-direction: column;
}

.blog-card .article-content p {
    flex: 1;
}

.blog-card .read-more {
    margin-top: auto;
}


/* Slightly larger blog article cards */

.blog-card .article-image {
    height: 260px;
}


/* =========================================================
   ARTICLE CARD EXTRA EFFECTS
========================================================= */

.blog-card {
    position: relative;

    transition:
        opacity 0.25s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-card[hidden] {
    display: none;
}

.blog-card:hover .read-more {
    color: var(--green-dark);
}

.blog-card .read-more {
    position: relative;

    width: fit-content;
}

.blog-card .read-more::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 1px;

    background: var(--green);

    transition: width var(--transition);
}

.blog-card:hover .read-more::after {
    width: 100%;
}


/* =========================================================
   NO RESULTS
========================================================= */

.blog-no-results {
    display: none;

    padding: 80px 20px;

    text-align: center;

    border: 1px dashed #d9ddd7;

    border-radius: 20px;

    background: #fafaf7;
}

.blog-no-results.show {
    display: block;
}

.blog-no-results h3 {
    margin-bottom: 8px;

    color: var(--green-dark);

    font-size: 26px;
}

.blog-no-results p {
    color: var(--text-light);

    font-size: 15px;
}


/* =========================================================
   LOAD MORE BUTTON
========================================================= */

.blog-load-more {
    display: flex;

    justify-content: center;

    margin-top: 55px;
}

.load-more-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 23px;

    border: 1px solid #dfe4dd;

    border-radius: 50px;

    background: white;

    color: var(--green-dark);

    font-size: 14px;
    font-weight: 800;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);

    transition:
        background var(--transition),
        color var(--transition),
        border var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.load-more-button span {
    transition: transform var(--transition);
}

.load-more-button:hover {
    transform: translateY(-2px);

    background: var(--green-dark);

    border-color: var(--green-dark);

    color: white;

    box-shadow: 0 10px 24px rgba(23, 63, 43, 0.15);
}

.load-more-button:hover span {
    transform: translateY(3px);
}


/* =========================================================
   SUBTLE BLOG BACKGROUND DECORATION
========================================================= */

.blog-articles-section .section-heading {
    padding-bottom: 25px;

    border-bottom: 1px solid #ebede9;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .blog-tools-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-search {
        width: 100%;
    }

    .featured-blog-card {
        grid-template-columns: 1fr 1fr;
    }

    .featured-blog-content {
        padding: 42px;
    }

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

}


/* =========================================================
   SMALL TABLETS
========================================================= */

@media (max-width: 850px) {

    .blog-hero {
        padding: 75px 0 65px;
    }

    .blog-hero h1 {
        font-size: 54px;
    }

    .blog-tools {
        top: 78px;
    }


    /* Featured article becomes vertical */

    .featured-blog-card {
        grid-template-columns: 1fr;

        min-height: 0;
    }

    .featured-blog-image {
        height: 420px;
    }

    .featured-blog-image::after {
        background:
            linear-gradient(
                to bottom,
                transparent 75%,
                rgba(23, 63, 43, 0.15)
            );
    }

    .featured-blog-content {
        padding: 45px;
    }

}


/* =========================================================
   PHONES
========================================================= */

@media (max-width: 650px) {

    .blog-hero {
        padding: 60px 0 52px;
    }

    .blog-hero h1 {
        margin-bottom: 18px;

        font-size: 43px;

        letter-spacing: -1.5px;
    }

    .blog-hero p {
        font-size: 16px;
    }


    /* Filter bar */

    .blog-tools {
        padding: 13px 0;
    }

    .blog-tools-inner {
        gap: 13px;
    }

    .blog-category-button {
        padding: 8px 13px;

        font-size: 12px;
    }


    /* Featured */

    .blog-featured {
        padding: 45px 0 20px;
    }

    .featured-blog-card {
        border-radius: 20px;
    }

    .featured-blog-image {
        height: 270px;
    }

    .featured-blog-content {
        padding: 30px 25px 32px;
    }

    .featured-blog-content h2 {
        font-size: 30px;

        letter-spacing: -0.8px;
    }

    .featured-blog-content > p {
        font-size: 14px;
    }


    /* Articles */

    .blog-articles-section {
        padding: 60px 0 80px;
    }

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

        gap: 25px;
    }

    .blog-card .article-image {
        height: 245px;
    }

    .blog-load-more {
        margin-top: 40px;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 420px) {

    .blog-hero h1 {
        font-size: 38px;
    }

    .featured-blog-image {
        height: 230px;
    }

    .featured-blog-content {
        padding: 26px 20px 28px;
    }

    .featured-blog-content h2 {
        font-size: 27px;
    }

    .featured-meta {
        flex-wrap: wrap;
    }

}

/* =========================================================
   ABOUT PAGE
========================================================= */


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

.about-hero {
    position: relative;

    padding: 110px 0 95px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(110, 145, 111, 0.20),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7f4ec 0%,
            #f2f6f1 100%
        );
}

.about-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -220px;

    border-radius: 50%;

    background: rgba(36, 92, 61, 0.07);
}

.about-hero::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: 15%;
    top: -80px;

    border-radius: 50%;

    border: 1px solid rgba(36, 92, 61, 0.10);
}

.about-hero .section-container {
    position: relative;
    z-index: 2;
}

.about-hero-content {
    max-width: 850px;
}

.about-hero h1 {
    margin-bottom: 24px;

    font-size: clamp(50px, 5.4vw, 78px);

    line-height: 1.02;
    letter-spacing: -2.5px;

    color: var(--green-dark);
}

.about-hero h1 span {
    display: block;

    color: var(--green-light);
}

.about-hero p {
    max-width: 720px;

    color: var(--text-light);

    font-size: 19px;
    line-height: 1.8;
}


/* =========================================================
   ABOUT INTRO
========================================================= */

.about-intro {
    padding: 110px 0;

    background: white;
}

.about-intro-grid {
    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 80px;

    align-items: center;
}


/* Image */

.about-intro-image {
    position: relative;

    min-height: 570px;

    border-radius: 28px;

    overflow: hidden;

    box-shadow: 0 24px 65px rgba(23, 63, 43, 0.14);
}

.about-intro-image img {
    width: 100%;
    height: 100%;

    position: absolute;
    inset: 0;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.about-intro-image:hover img {
    transform: scale(1.025);
}


/* Badge */

.about-image-badge {
    position: absolute;

    left: 28px;
    bottom: 28px;

    display: flex;
    align-items: center;

    gap: 12px;

    max-width: 290px;

    padding: 14px 18px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(12px);

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.about-image-badge span {
    flex-shrink: 0;

    font-size: 25px;
}

.about-image-badge p {
    color: var(--green-dark);

    font-size: 13px;
    font-weight: 800;

    line-height: 1.4;
}


/* Text */

.about-intro-content h2 {
    margin-bottom: 26px;

    font-size: clamp(38px, 4vw, 55px);

    line-height: 1.08;
    letter-spacing: -1.7px;

    color: var(--green-dark);
}

.about-intro-content h2 span {
    display: block;

    color: var(--green-light);
}

.about-intro-content p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 16px;
    line-height: 1.85;
}

.about-intro-content p:last-child {
    margin-bottom: 0;
}


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

.about-topics {
    padding: 110px 0;

    background: var(--cream);
}

.about-section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.about-section-heading h2 {
    margin-bottom: 18px;

    color: var(--green-dark);

    font-size: clamp(38px, 4vw, 54px);

    line-height: 1.08;
    letter-spacing: -1.6px;
}

.about-section-heading p {
    color: var(--text-light);

    font-size: 17px;
    line-height: 1.8;
}


/* Topic grid */

.about-topic-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.about-topic-card {
    padding: 30px 26px 28px;

    background: white;

    border: 1px solid rgba(23, 63, 43, 0.08);
    border-radius: 20px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.035);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border var(--transition);
}

.about-topic-card:hover {
    transform: translateY(-6px);

    border-color: rgba(36, 92, 61, 0.20);

    box-shadow: 0 16px 38px rgba(23, 63, 43, 0.10);
}

.about-topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin-bottom: 20px;

    border-radius: 16px;

    background: var(--green-soft);

    font-size: 25px;
}

.about-topic-card h3 {
    margin-bottom: 10px;

    color: var(--green-dark);

    font-size: 20px;

    letter-spacing: -0.3px;
}

.about-topic-card p {
    color: var(--text-light);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   PHILOSOPHY SECTION
========================================================= */

.about-philosophy {
    padding: 110px 0;

    background: white;
}

.about-philosophy-card {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 75px;

    align-items: center;

    padding: 70px;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(158, 185, 144, 0.14),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #173f2b,
            #245c3d
        );

    box-shadow: 0 25px 70px rgba(23, 63, 43, 0.18);

    color: white;
}


/* Left side */

.about-philosophy-content .section-small-title {
    color: #c8ddc6;
}

.about-philosophy-content h2 {
    margin-bottom: 20px;

    font-size: clamp(40px, 4vw, 56px);

    line-height: 1.05;
    letter-spacing: -1.7px;
}

.about-philosophy-content h2 span {
    display: block;

    color: #d9e8d1;
}

.about-philosophy-content p {
    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.8;
}


/* Right side */

.about-values {
    display: flex;
    flex-direction: column;

    gap: 0;
}

.about-value {
    display: grid;

    grid-template-columns: 60px 1fr;

    gap: 20px;

    padding: 24px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-value:first-child {
    padding-top: 0;
}

.about-value:last-child {
    padding-bottom: 0;

    border-bottom: none;
}

.about-value-number {
    display: flex;
    align-items: flex-start;

    color: rgba(255, 255, 255, 0.35);

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
}

.about-value h3 {
    margin-bottom: 7px;

    color: white;

    font-size: 20px;
}

.about-value p {
    color: rgba(255, 255, 255, 0.63);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   ABOUT BLOG CTA
========================================================= */

.about-blog-cta {
    padding: 0 0 110px;

    background: white;
}

.about-blog-cta-inner {
    display: flex;

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

    gap: 50px;

    padding: 52px 58px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #f5f3ea,
            #edf3eb
        );

    border: 1px solid rgba(23, 63, 43, 0.08);
}

.about-blog-cta-inner > div {
    max-width: 730px;
}

.about-blog-cta h2 {
    margin-bottom: 13px;

    color: var(--green-dark);

    font-size: clamp(34px, 3.5vw, 48px);

    line-height: 1.08;
    letter-spacing: -1.3px;
}

.about-blog-cta p {
    color: var(--text-light);

    font-size: 16px;
    line-height: 1.7;
}


/* CTA button */

.about-blog-button {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 11px;

    padding: 15px 22px;

    border-radius: 50px;

    background: var(--green-dark);

    color: white;

    font-size: 14px;
    font-weight: 800;

    box-shadow: 0 9px 24px rgba(23, 63, 43, 0.18);

    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.about-blog-button span {
    transition: transform var(--transition);
}

.about-blog-button:hover {
    transform: translateY(-2px);

    background: var(--green);

    box-shadow: 0 13px 30px rgba(23, 63, 43, 0.24);
}

.about-blog-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE - LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .about-intro-grid {
        gap: 50px;
    }

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

    .about-philosophy-card {
        gap: 50px;

        padding: 55px;
    }

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 850px) {

    .about-hero {
        padding: 80px 0 70px;
    }

    .about-hero h1 {
        font-size: 56px;
    }


    /* Intro */

    .about-intro {
        padding: 80px 0;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-intro-image {
        min-height: 500px;
    }


    /* Topics */

    .about-topics {
        padding: 80px 0;
    }


    /* Philosophy */

    .about-philosophy {
        padding: 80px 0;
    }

    .about-philosophy-card {
        grid-template-columns: 1fr;

        padding: 50px;

        gap: 45px;
    }


    /* CTA */

    .about-blog-cta {
        padding-bottom: 80px;
    }

    .about-blog-cta-inner {
        align-items: flex-start;

        flex-direction: column;

        padding: 45px;
    }

}


/* =========================================================
   RESPONSIVE - PHONE
========================================================= */

@media (max-width: 650px) {

    .about-hero {
        padding: 60px 0 55px;
    }

    .about-hero h1 {
        font-size: 44px;

        letter-spacing: -1.5px;
    }

    .about-hero p {
        font-size: 16px;
    }


    /* Intro */

    .about-intro {
        padding: 65px 0;
    }

    .about-intro-image {
        min-height: 390px;

        border-radius: 20px;
    }

    .about-image-badge {
        left: 18px;
        right: 18px;
        bottom: 18px;

        max-width: none;
    }

    .about-intro-content h2 {
        font-size: 36px;
    }

    .about-intro-content p {
        font-size: 15px;
    }


    /* Topics */

    .about-topics {
        padding: 65px 0;
    }

    .about-section-heading {
        margin-bottom: 40px;
    }

    .about-section-heading h2 {
        font-size: 36px;
    }

    .about-section-heading p {
        font-size: 15px;
    }

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

        gap: 16px;
    }

    .about-topic-card {
        padding: 25px 22px;
    }


    /* Philosophy */

    .about-philosophy {
        padding: 65px 0;
    }

    .about-philosophy-card {
        padding: 36px 26px;

        border-radius: 22px;
    }

    .about-philosophy-content h2 {
        font-size: 38px;
    }

    .about-value {
        grid-template-columns: 42px 1fr;

        gap: 14px;
    }


    /* CTA */

    .about-blog-cta {
        padding-bottom: 70px;
    }

    .about-blog-cta-inner {
        padding: 34px 26px;

        border-radius: 20px;
    }

    .about-blog-cta h2 {
        font-size: 34px;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 420px) {

    .about-hero h1 {
        font-size: 38px;
    }

    .about-intro-image {
        min-height: 330px;
    }

    .about-intro-content h2,
    .about-section-heading h2 {
        font-size: 32px;
    }

    .about-philosophy-content h2 {
        font-size: 34px;
    }

    .about-blog-cta h2 {
        font-size: 31px;
    }

}

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


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

.article-header {
    padding: 75px 0 45px;

    background: #ffffff;
}

.article-header-container {
    width: min(92%, 920px);

    margin: 0 auto;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 28px;

    color: #8a918b;

    font-size: 12px;
    font-weight: 600;
}

.article-breadcrumb a {
    transition: color var(--transition);
}

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

.article-page-category {
    display: inline-flex;

    margin-bottom: 17px;

    padding: 7px 13px;

    border-radius: 50px;

    background: var(--green-soft);

    color: var(--green-dark);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.article-header h1 {
    margin-bottom: 23px;

    color: var(--green-dark);

    font-size: clamp(46px, 5vw, 70px);

    line-height: 1.04;

    letter-spacing: -2.4px;
}

.article-lead {
    max-width: 820px;

    margin-bottom: 30px;

    color: #616862;

    font-size: 20px;

    line-height: 1.7;
}


/* =========================================================
   AUTHOR
========================================================= */

.article-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding-top: 24px;

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

.article-author {
    display: flex;
    align-items: center;

    gap: 12px;
}

.article-author-avatar {
    width: 44px;
    height: 44px;

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

    border-radius: 50%;

    background: var(--green-dark);

    color: white;

    font-weight: 900;
}

.article-author strong,
.article-author span {
    display: block;
}

.article-author strong {
    margin-bottom: 2px;

    color: var(--green-dark);

    font-size: 13px;
}

.article-author span {
    color: #999e99;

    font-size: 11px;
}


/* Share */

.article-share {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #8a918b;

    font-size: 11px;
    font-weight: 700;
}

.article-share a {
    width: 34px;
    height: 34px;

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

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

    border-radius: 50%;

    background: white;

    color: var(--green-dark);

    font-weight: 900;

    transition:
        background var(--transition),
        color var(--transition);
}

.article-share a:hover {
    background: var(--green-dark);

    color: white;
}


/* =========================================================
   ARTICLE HERO IMAGE
========================================================= */

.article-hero-image {
    padding: 20px 0 60px;

    background: white;
}

.article-hero-image-container {
    width: min(94%, 1180px);

    margin: 0 auto;

    overflow: hidden;

    border-radius: 26px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.article-hero-image img {
    width: 100%;
    height: min(62vw, 610px);

    object-fit: cover;
}


/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.article-layout-section {
    padding: 30px 0 100px;

    background: white;
}

.article-layout {
    width: min(94%, 800px);

    margin: 0 auto;
}
/* =========================================================
   ARTICLE CONTENT
========================================================= */

.article-body {
    min-width: 0;

    color: #353b36;
}

.article-body > p,
.article-section > p,
.article-conclusion > p {
    margin-bottom: 24px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    line-height: 1.9;

    color: #424843;
}

.article-intro {
    margin-bottom: 46px;
    padding-bottom: 38px;

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

.article-intro p {
    margin-bottom: 22px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.85;

    color: #454b46;
}

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

.article-introduction {
    font-size: 24px !important;
    line-height: 1.55 !important;

    font-weight: 500;

    color: var(--green-dark) !important;
}


/* Plain lists / images / quotes inside article body content
   (available to any content_html pasted into a Supabase-backed
   article, not just the hand-written static article) */

.article-body ul,
.article-section ul,
.article-body ol,
.article-section ol {
    margin: 0 0 24px 4px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-body ul li,
.article-section ul li {
    position: relative;

    padding-left: 24px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.8;

    color: #424843;
}

.article-body ul li::before,
.article-section ul li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 11px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);
}

.article-body ol,
.article-section ol {
    counter-reset: article-ol;
}

.article-body ol li,
.article-section ol li {
    position: relative;

    padding-left: 28px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.8;

    color: #424843;

    counter-increment: article-ol;
}

.article-body ol li::before,
.article-section ol li::before {
    content: counter(article-ol) ".";

    position: absolute;
    left: 0;

    font-weight: 800;
    color: var(--green-dark);
}

.article-body img,
.article-section img {
    margin: 8px 0 28px;

    border-radius: 16px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.article-body blockquote,
.article-section blockquote {
    margin: 28px 0;

    padding: 4px 0 4px 22px;

    border-left: 3px solid var(--green);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.8;

    color: #3c433d;
}


/* =========================================================
   ARTICLE TAKEAWAYS (TL;DR box)
========================================================= */

.article-takeaways {
    margin: 32px 0 40px;

    padding: 30px 32px;

    border-radius: 18px;

    background: var(--green-soft);
}

.article-takeaways h2 {
    margin-bottom: 16px;

    font-size: 18px;

    letter-spacing: 0.3px;

    color: var(--green-dark);
}

.article-takeaways ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.article-takeaways li {
    position: relative;

    padding-left: 26px;

    font-size: 15px;
    line-height: 1.6;

    color: #2c3a2e;
}

.article-takeaways li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    color: var(--green);

    font-weight: 800;
}


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

.article-section {
    position: relative;

    margin: 65px 0;
}

.article-number {
    display: block;

    margin-bottom: 9px;

    color: var(--green-light);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1.2px;
}

.article-section h2,
.article-conclusion h2 {
    margin-bottom: 24px;

    color: var(--green-dark);

    font-family:
        "Inter",
        system-ui,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 34px;

    line-height: 1.18;

    letter-spacing: -0.9px;
}


/* =========================================================
   ARTICLE TIP
========================================================= */

.article-tip {
    margin: 35px 0;

    padding: 25px 27px;

    border-left: 4px solid var(--green);

    border-radius: 0 14px 14px 0;

    background: #f3f7f1;
}

.article-tip strong {
    display: block;

    margin-bottom: 6px;

    color: var(--green-dark);

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}

.article-tip p {
    margin: 0;

    color: #546057;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   AFFILIATE DISCLOSURE NOTE (in-article)
========================================================= */

.affiliate-disclosure-note {
    margin: 28px 0 35px;

    padding: 14px 20px;

    border-left: 4px solid var(--green);

    border-radius: 0 12px 12px 0;

    background: var(--cream);

    color: var(--text);

    font-size: 14px;
    line-height: 1.7;
}

.affiliate-disclosure-note strong {
    color: var(--green-dark);
}

.affiliate-disclosure-note a {
    color: var(--green);

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 2px;
}


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

.article-newsletter {
    position: relative;

    margin: 65px 0;

    padding: 45px;

    overflow: hidden;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 95% 5%,
            rgba(173, 200, 156, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #173f2b,
            #245c3d
        );

    color: white;

    box-shadow: 0 18px 45px rgba(23, 63, 43, 0.18);
}

.article-newsletter-icon {
    position: absolute;

    right: 20px;
    top: 5px;

    font-size: 100px;

    opacity: 0.07;

    transform: rotate(-15deg);
}

.article-newsletter > span {
    display: block;

    margin-bottom: 8px;

    color: #c5d8c2;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.article-newsletter h3 {
    margin-bottom: 12px;

    font-size: 32px;

    line-height: 1.1;
}

.article-newsletter > p {
    max-width: 560px;

    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;

    line-height: 1.7;
}

.article-newsletter-form {
    display: flex;

    padding: 5px;

    border-radius: 50px;

    background: white;
}

.article-newsletter-form input {
    flex: 1;

    min-width: 0;

    padding: 13px 16px;

    border: none;

    outline: none;

    background: transparent;

    color: #222;
}

.article-newsletter-form button {
    padding: 12px 18px;

    border-radius: 50px;

    background: var(--green-dark);

    color: white;

    font-size: 12px;

    font-weight: 800;
}

.article-newsletter small {
    display: block;

    margin-top: 10px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 10px;
}


/* =========================================================
   ARTICLE CONCLUSION
========================================================= */

.article-conclusion {
    margin-top: 70px;

    padding-top: 50px;

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


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

.article-faq {
    margin-top: 55px;

    padding-top: 45px;

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

.article-faq h2 {
    margin-bottom: 26px;

    font-size: 28px;

    color: var(--green-dark);
}

.article-faq-item {
    padding: 20px 0;

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

.article-faq-item:first-of-type {
    padding-top: 0;
}

.article-faq-item h3 {
    margin-bottom: 8px;

    font-size: 16px;

    color: var(--green-dark);
}

.article-faq-item p {
    color: #546057;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   TAGS
========================================================= */

.article-tags {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 45px;

    padding-top: 25px;

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

    color: #909690;

    font-size: 12px;
}

.article-tags > span {
    margin-right: 3px;

    font-weight: 700;
}

.article-tags a {
    padding: 7px 11px;

    border-radius: 50px;

    background: #f3f5f1;

    color: var(--green-dark);

    font-weight: 700;

    transition: background var(--transition);
}

.article-tags a:hover {
    background: var(--green-soft);
}


/* =========================================================
   RELATED ARTICLES
========================================================= */

.article-related {
    padding: 95px 0;

    background: #f7f7f3;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .article-layout {
        width: min(92%, 760px);
    }

}


@media (max-width: 650px) {

    .article-header {
        padding: 50px 0 30px;
    }

    .article-header h1 {
        font-size: 40px;

        letter-spacing: -1.3px;
    }

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

    .article-author-row {
        align-items: flex-start;

        flex-direction: column;
    }

    .article-hero-image {
        padding-bottom: 40px;
    }

    .article-hero-image-container {
        border-radius: 17px;
    }

    .article-hero-image img {
        height: 300px;
    }

    .article-layout-section {
        padding-top: 10px;
    }

    .article-body > p,
    .article-section > p,
    .article-conclusion > p {
        font-size: 17px;

        line-height: 1.82;
    }

    .article-intro {
        margin-bottom: 34px;
        padding-bottom: 28px;
    }

    .article-intro p {
        font-size: 17px;

        line-height: 1.8;
    }

    .article-introduction {
        font-size: 21px !important;
    }

    .article-section {
        margin: 50px 0;
    }

    .article-section h2,
    .article-conclusion h2 {
        font-size: 29px;
    }

    .article-newsletter {
        padding: 35px 24px;

        border-radius: 20px;
    }

    .article-newsletter h3 {
        font-size: 28px;
    }

    .article-newsletter-form {
        flex-direction: column;

        border-radius: 14px;
    }

    .article-newsletter-form input {
        width: 100%;
    }

    .article-newsletter-form button {
        width: 100%;

        border-radius: 10px;
    }

}


/* =========================================================
   RESPONSIVE FOLLOW-UP FIXES
========================================================= */

/* Slider dots: larger touch target without a bigger visual dot */

.slider-dot {
    padding: 7px;
    background-clip: content-box;

    width: 9px;
    height: 9px;
}

.slider-dot.active {
    width: 28px;
}


/* Blog search: fluid instead of a hard-coded width so it never
   overflows narrow desktop/laptop windows before the 1100px
   stacked layout kicks in */

.blog-search {
    width: 100%;
    max-width: 285px;
    min-width: 200px;
}

@media (max-width: 1100px) {

    .blog-search {
        max-width: none;
    }

}


/* About philosophy card / article layout: fill the awkward gap
   between the desktop grid and the stacked mobile layout */

@media (max-width: 1300px) and (min-width: 1101px) {

    .about-philosophy-card {
        grid-template-columns: 1fr;

        gap: 45px;
    }

}

@media (max-width: 1100px) and (min-width: 851px) {

    .about-philosophy-card {
        padding: 50px;
    }

}


/* =========================================================
   LEGAL PAGES (Privacy Policy, Terms of Use)
========================================================= */

.legal-page {
    padding: 70px 0 110px;

    background: white;
}

.legal-content {
    width: min(92%, 780px);

    margin: 0 auto;
}

.legal-updated {
    display: inline-block;

    margin-top: 8px;

    color: var(--text-light);

    font-size: 13px;
}

.legal-notice {
    margin-bottom: 44px;
    padding: 22px 26px;

    background: var(--cream);
    border-left: 4px solid var(--green);
    border-radius: 12px;

    color: var(--text);

    font-size: 14px;
    line-height: 1.8;
}

.legal-notice strong {
    color: var(--green-dark);
}

.legal-content h2 {
    margin: 44px 0 16px;

    font-size: 25px;

    letter-spacing: -0.4px;

    color: var(--green-dark);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 18px;

    font-size: 16px;
    line-height: 1.85;

    color: #3c423d;
}

.legal-content ul {
    margin: 0 0 20px 4px;

    display: flex;
    flex-direction: column;
    gap: 9px;
}

.legal-content li {
    position: relative;

    padding-left: 22px;

    font-size: 16px;
    line-height: 1.8;

    color: #3c423d;
}

.legal-content li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 10px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);
}

.legal-content a {
    color: var(--green);

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 2px;
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-section {
    padding: 90px 0 110px;

    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 60px;

    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;

    font-size: clamp(30px, 3vw, 38px);

    letter-spacing: -0.8px;

    color: var(--green-dark);
}

.contact-info > p {
    margin-bottom: 10px;

    color: var(--text-light);

    font-size: 16px;
    line-height: 1.8;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    padding: 20px 0;

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

.contact-method:first-child {
    padding-top: 0;
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method-icon {
    flex-shrink: 0;

    width: 44px;
    height: 44px;

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

    border-radius: 50%;

    background: var(--green-soft);
    color: var(--green-dark);

    font-size: 18px;
}

.contact-method h3 {
    margin-bottom: 4px;

    font-size: 15px;

    color: var(--green-dark);
}

.contact-method p,
.contact-method a {
    color: var(--text-light);

    font-size: 14px;
    line-height: 1.6;
}

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


/* Form */

.contact-form-card {
    padding: 42px;

    border-radius: 26px;

    background: #f8f8f5;
    border: 1px solid var(--border);
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-bottom: 22px;
}

.contact-form-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 22px;
}

.contact-form label {
    font-size: 13px;
    font-weight: 700;

    color: var(--green-dark);
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;

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

    background: white;

    font-family: inherit;
    font-size: 15px;

    color: var(--text);

    outline: none;

    transition:
        border var(--transition),
        box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #a6baa7;

    box-shadow: 0 0 0 4px rgba(36, 92, 61, 0.07);
}

.contact-form textarea {
    min-height: 150px;

    resize: vertical;
}

.contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 15px 26px;

    border-radius: 50px;

    background: var(--green-dark);
    color: white;

    font-size: 14px;
    font-weight: 800;

    transition:
        background var(--transition),
        transform var(--transition);
}

.contact-form button[type="submit"]:hover {
    background: var(--green);

    transform: translateY(-2px);
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;

    cursor: default;

    transform: none;
}

.contact-form-message {
    display: none;

    margin-top: 16px;
    padding: 12px 16px;

    border-radius: 10px;

    font-size: 14px;
}

.contact-form-message.show {
    display: block;
}

.contact-form-message.success {
    background: #e4f0e3;
    color: var(--green-dark);
}

.contact-form-message.error {
    background: #fbe6e6;
    color: #a23a3a;
}


@media (max-width: 950px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

}

@media (max-width: 650px) {

    .contact-form-cols {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

}