/* Minification failed. Returning unminified contents.
(2,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(35,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-main'
(36,23): run-time error CSS1039: Token not allowed after unary operator: '-font-body'
(37,17): run-time error CSS1039: Token not allowed after unary operator: '-pine-dark'
(49,22): run-time error CSS1039: Token not allowed after unary operator: '-moss-light'
(66,22): run-time error CSS1039: Token not allowed after unary operator: '-gold'
(69,23): run-time error CSS1039: Token not allowed after unary operator: '-font-body'
(80,26): run-time error CSS1039: Token not allowed after unary operator: '-pine-deeper'
(85,17): run-time error CSS1039: Token not allowed after unary operator: '-pine-dark'
(86,30): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(87,23): run-time error CSS1039: Token not allowed after unary operator: '-font-body'
(97,28): run-time error CSS1039: Token not allowed after unary operator: '-pine-dark'
(150,25): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(154,36): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(161,36): run-time error CSS1039: Token not allowed after unary operator: '-moss'
(162,29): run-time error CSS1039: Token not allowed after unary operator: '-moss'
(167,34): run-time error CSS1039: Token not allowed after unary operator: '-pine-deeper'
(169,36): run-time error CSS1039: Token not allowed after unary operator: '-pine-deeper'
(182,22): run-time error CSS1039: Token not allowed after unary operator: '-pine-deeper'
 */
:root {
    --bg-main: #EAF0EC;
    --bg-card: #F4F8F5;
    --pine-dark: #2C4A1E;
    --pine-deeper: #1A3022;
    --moss: #4A7C35;
    --moss-light: #7AAB5E;
    --gold: #C9973A;
    --gold-light: #E8C97A;
    --muted: #6D7A6B;
    --border: rgba(44,74,30,0.12);
    --border-light: #E5EAE2;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --logo-green: #24843d;
    --logo-green-light: #5db204;
    --logo-orange: #ef6302;
    --logo-orange-light: #fe9a02;
    --nav-gap: 16px; /* .navbar top offset */
    --nav-h: 60px; /* measured navbar height */
    --hero-top: calc(var(--nav-gap) + var(--nav-h) + 24px); /* = 100px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    font-family: var(--font-body);
    color: var(--pine-dark);
    overflow-x: hidden;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: -100px;
    z-index: 99;
    display: none;
    transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    background: var(--moss-light);
    border-radius: 24px;
    color: #fff
}

    #btn-back-to-top.show {
        right: 20px;
        opacity: 1;
    }

@media (max-width: 575.98px) {
    #btn-back-to-top {
        right: 24px;
    }
}

.cta-primary {
    background: var(--gold);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.25s;
}

    .cta-primary:hover {
        color: #fff;
        background: var(--pine-deeper);
    }

.cta-secondary {
    background: rgba(44,74,30,0.06);
    color: var(--pine-dark);
    border: 1.5px solid var(--border-light);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    padding: 13px 32px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.25s;
}

    .cta-secondary:hover {
        border-color: var(--pine-dark);
        background: rgba(44,74,30,0.1);
    }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 30px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

#pagination {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 38px;
    flex-wrap: wrap;
}

    #pagination .page-item {
        display: contents;
    }

        #pagination .page-item .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 34px;
            height: 34px;
            border-radius: 8px;
            background: #fff;
            color: var(--muted);
            font-weight: 600;
            font-size: 13px;
            text-decoration: none;
            border: 1px solid var(--border-light);
            transition: all 0.2s;
            padding: 0 10px;
            cursor: pointer;
        }

            #pagination .page-item .page-link:hover {
                border-color: var(--moss);
                color: var(--moss);
            }

            #pagination .page-item.active .page-link,
            #pagination .page-item .page-link.current {
                background: var(--pine-deeper);
                color: #fff;
                border-color: var(--pine-deeper);
            }

.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
}

#toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--pine-deeper);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

    #toast.show {
        transform: translateX(-50%) translateY(0);
    }

.gsap-fade {
    opacity: 0;
}

.gsap-up {
    opacity: 0;
    transform: translateY(36px);
}

.gsap-scale {
    opacity: 0;
    transform: scale(.88);
}
