    :root {
        --bg-color: #f7f6f1;
        --text-color: #1c1c1a;
        --muted-color: #6b6b63;
        --accent-color: #566246;
        --border-color: #e2e0d6;
        --card-bg: #eef0e6;
        --font-serif: Georgia, 'Times New Roman', serif;
        --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    }

    /* ── Scroll reveal utility ──
   The JS only ever toggles the .visible class on scroll; without this
   rule the .reveal elements would never animate in. */
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .7s ease, transform .7s ease;
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    body.page-template-blogs {
        background: var(--bg-color);
    }

    .blog-archive-wrapper {
        font-family: var(--font-sans);
        color: var(--text-color);
        background: var(--bg-color);
    }

    /* ---- Hero ---- */
    .blog-hero {
        max-width: 1100px;
        margin: auto;
        padding: 90px 50px;
    }

    .blog-hero-wrapper {
        position: relative;
    }

    .blog-hero-inside {
        margin: 0 auto;
        padding: 120px 40px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
    }


    .blog-hero-title {
        margin: 0 0 20px;
        font-family: Stack Sans Notch;
        font-weight: 400;
        font-size: 60px;
        line-height: 110.00000000000001%;
        letter-spacing: 0%;
    }

    .blog-hero-desc {
        color: var(--muted-color);
        margin: 0 0 24px;
        max-width: 482px;
        font-family: Inter;
        font-weight: 500;
        font-size: 18px;
        line-height: 150%;
        letter-spacing: 0%;
    }

    .blog-subscribe-form {
        display: flex;
        gap: 8px;
        max-width: 380px;
        margin-bottom: 8px;
    }

    .blog-subscribe-form input[type="email"] {
        flex: 1;
        padding: 11px 14px;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        font-size: 14px;
        background: #ebebeb;
        font-family: 'Inter';
        outline: none;
    }

    .blog-subscribe-form button {
        padding: 11px 18px;
        border: none;
        border-radius: 6px;
        background: #1C312E;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        white-space: nowrap;
        font-family: inter;
        letter-spacing: 2%;
    }

    .blog-subscribe-form button:hover {
        background: #3a3733;
        transform: translateY(-2px);
    }

    .blog-subscribe-note {
        color: var(--muted-color);
        margin: 0 0 14px;
        font-family: Inter;
        font-weight: 500;
        font-size: 14px;
        line-height: 110%;
        letter-spacing: 0%;
        text-align: left;
    }

    @media (min-width:1550px) {
        .blog-subscribe-note {
            font-size: 16px;
        }
    }

    .blog-hero-social {
        display: flex;
        gap: 10px;
    }

    .blog-hero-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: var(--card-bg);
        color: var(--text-color);
        font-size: 12px;
        text-decoration: none;
    }

    .blog-hero-social a:hover {
        background: var(--accent-color);
        color: #fff;
    }

    /* Featured (spotlight) post card in the hero */
    .blog-hero-featured a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .blog-hero-featured img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        display: block;
        margin-bottom: 14px;
    }

    .blog-hero-featured .featured-meta {
        font-size: 12px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted-color);
        margin-bottom: 6px;
    }

    .blog-hero-featured .featured-title {
        font-family: Stack Sans Notch;
        font-weight: 400;
        font-style: normal;
        line-height: 110%;
        letter-spacing: 0%;
        color: #121417;
        font-size: 28px;
        margin: 0;
    }

    /* ---- Blogs section header + filters ---- */
    .blog-list-section {
        max-width: 1300px;
        margin: 0 auto;
        padding: 90px 24px 80px;
    }

    .blog-list-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 28px;
    }

    .blog-list-header h2 {
        margin: 0;
        font-family: Stack Sans Notch;
        font-weight: 500;
        font-style: normal;
        font-size: 24px;
        line-height: 110%;
        letter-spacing: 0%;
        text-align: center;
    }

    .blog-cat-filters {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        background: #DADAC6;
        border-radius: 10px;
        padding: 4px;
        margin-top: 30px;
    }

    .blog-cat-filters button {
        position: relative;
        appearance: none;
        border: none;
        background: transparent;
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 10px;
        color: #797966;
        white-space: nowrap;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
        font-family: inter;
    }

    .blog-cat-filters button:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -1px;
        transform: translateY(-50%);
        width: 1px;
        height: 14px;
        background: var(--border-color);
    }

    .blog-cat-filters button.active::after,
    .blog-cat-filters button.active+button::after {
        display: none;
    }

    /* .blog-cat-filters button:hover {
        color: var(--text-color);
    } */

    .blog-cat-filters button.active {
        background: #F8F8EE;
        color: var(--text-color);
        font-weight: 600;
        box-shadow: 0 1px 3px rgba(28, 28, 26, 0.08);
    }

    /* ---- Post grid ---- */
    .blog-post-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        margin-top: 50px;
    }

    .blog-post-card {
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .blog-post-card a.card-link {
        text-decoration: none;
        color: inherit;
        display: block;
        padding: 20px 15px;
        border-radius: 15px;
    }

    .blog-post-card a.card-link:hover {
        background: #DADAC680;
    }

    .blog-post-card .card-thumb {
        width: 100%;
        height: 250px;
        object-fit: fill;
        border-radius: 10px;
        display: block;
        margin-bottom: 14px;
        background: var(--card-bg);
        overflow: hidden;
        transition: transform 0.35s ease, box-shadow 0.35s ease;
    }

    .blog-post-card a.card-link:hover .card-thumb {
        /* transform: scale(1.03); */
        box-shadow: 0 8px 20px rgba(28, 28, 26, 0.12);
    }

    .blog-post-card .card-title {
        font-family: 'Stack Sans Notch';
        font-size: 22px;
        font-weight: 500;
        line-height: 1.35;
        margin: 0 0 12px;
        transition: color 0.2s ease;
        min-height: 89px;
    }

    .blog-post-card a.card-link:hover .card-title {
        color: var(--accent-color);
    }

    /* hidden state used by the JS tab filter */
    .blog-post-card.is-hidden {
        display: none !important;
    }

    .blog-post-card .card-author {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 12px;
        color: var(--muted-color);
        font-size: 14px;
        color: #1C312E;
        font-family: inter;
    }

    .blog-post-card .card-author-left {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #1C312E;
        font-family: Inter;
        font-weight: 500;
        font-style: normal;
        font-size: 16px;
        line-height: 110%;
        letter-spacing: 0%;
        text-align: center;
    }

    .blog-post-card .card-author-left img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: block;
    }

    /* ---- Pagination ---- */
    .blog-pagination {
        margin-top: 48px;
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .blog-pagination a,
    .blog-pagination span {
        padding: 8px 14px;
        border-radius: 6px;
        background: var(--card-bg);
        color: var(--text-color);
        text-decoration: none;
        font-size: 13px;
    }

    .blog-pagination .current {
        background: var(--accent-color);
        color: #fff;
    }

    @media (max-width: 900px) {
        .blog-hero {
            grid-template-columns: 1fr;
            padding: 30px 45px 0;
            gap: 50px;
        }

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

        .blogs-inner {
            min-height: unset;
            align-content: unset;
        }
    }

    @media (max-width: 600px) {
        .blog-hero-title {
            font-size: 36px;
        }

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

        .blog-hero {
            padding: 15px 20px;
        }

        .blog-subscribe-box {
            max-width: 100%;
            margin: 0px 10px 20px;
        }
    }

    .corner-decoration {
        position: absolute;
        width: 54px;
        height: auto;
        z-index: 5;
        pointer-events: none;
    }


    @media (max-width: 786px) {
        .hero__corners .corner-decoration {
            display: none;
        }
    }

    .blog-hero-social-2 a:hover {
        background: none;
        color: none;
    }

    /* .blog-hero-featured {
        max-width: 410px;
    } */

    @media (min-width:1550px) {

        .blog-hero-featured {
            max-width: unset;
        }

        /* .corner-decoration--top-left {
            top: 200px;
            left: 300px;

        }

        .corner-decoration--top-right {
            top: 200px;
            right: 300px;
        }

        .corner-decoration--bottom-left {
            bottom: 180px;
            left: 300px;
        }

        .corner-decoration--bottom-right {
            bottom: 180px;
            right: 300px;
        } */
    }


    .blog-subscribe-box {
        position: relative;
        padding: 20px 15px 10px;
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* Corner Border */
    .blog-subscribe-box::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
            linear-gradient(#1d8f52, #1d8f52) top left / 14px 2px no-repeat,
            linear-gradient(#1d8f52, #1d8f52) top left / 2px 14px no-repeat,
            linear-gradient(#1d8f52, #1d8f52) top right / 14px 2px no-repeat,
            linear-gradient(#1d8f52, #1d8f52) top right / 2px 14px no-repeat,
            linear-gradient(#1d8f52, #1d8f52) bottom left / 14px 2px no-repeat,
            linear-gradient(#1d8f52, #1d8f52) bottom left / 2px 14px no-repeat,
            linear-gradient(#1d8f52, #1d8f52) bottom right / 14px 2px no-repeat,
            linear-gradient(#1d8f52, #1d8f52) bottom right / 2px 14px no-repeat;
    }

    .blog-pagination {
        display: none;
    }

    @media (max-width: 1024px) {
        /* .hero__corners .corner-decoration {
            display: none;
        } */

        .blog-post-grid {
            gap: 15px;
        }
    }


    /* ─────────────────────────────
   CTA
───────────────────────────── */

    .cta {
        padding: 120px 48px;
        background: #21251f;
        text-align: center;
    }

    .cta__card {
        position: relative;
        z-index: 2;
        background: #557961;
        border-radius: 24px;
        padding: 50px 48px 100px;
        max-width: 860px;
        margin: 0 auto;
        border: 1px solid #557961;
    }

    .cta__card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/wp-content/themes/liceumai-theme/assets/images/CTA-bg.png') center / 75% no-repeat;
    }

    .cta__heading {
        font-family: var(--font-display-family), system-ui, sans-serif;
        font-size: 64px;
        font-weight: 800;
        color: rgb(255, 255, 255);
        position: relative;
        line-height: 1.1;
        max-width: 500px;
        margin: 32px auto;
    }

    .cta__description {
        font-size: 18px;
        color: #fff;
        margin-bottom: 32px;
        position: relative;
        width: 50%;
        margin: 0 auto;
        font-weight: 400;
    }

    @media (max-width: 786px) {
        .cta__description {
            width: 100%;
        }

        .hero__bg {
            display: none;
        }
    }

    @media (max-width: 767px) {
        .cta {
            padding: 80px 20px;
        }

        .cta__card {
            padding: 70px 24px;
            border-radius: 28px;
        }
    }

    @media (max-width: 580px) {
        .cta__heading {
            font-size: 36px;
        }

        .cta__card {
            padding: 40px 15px;
        }

        .corner-decoration {
            display: none;
        }

        .hero {
            background-position: 50% 740px;
            background-size: contain;
        }

        .hero__content {
            padding: 90px 0 !important;
        }
    }

    /* ─────────────────────────────
   CORNER DECORATIONS
   (used by the hero card and the closing CTA card)
───────────────────────────── */

    .corner-decoration {
        position: absolute;
        width: 54px;
        height: auto;
        z-index: 5;
        pointer-events: none;
    }

    .cta .corner-decoration--top-left {
        top: -80px;
        left: -80px;
    }

    .cta .corner-decoration--top-right {
        top: -80px;
        right: -80px;
    }

    .cta .corner-decoration--bottom-left {
        bottom: -80px;
        left: -80px;
    }

    .cta .corner-decoration--bottom-right {
        bottom: -80px;
        right: -80px;
    }

    @media (max-width: 767px) {
        .corner-decoration {
            width: 44px;
        }

        /* .corner-decoration--top-left {
            top: -30px;
            left: -30px;
        }

        .corner-decoration--top-right {
            top: -30px;
            right: -30px;
        }

        .corner-decoration--bottom-left {
            bottom: -30px;
            left: -30px;
        }

        .corner-decoration--bottom-right {
            bottom: -30px;
            right: -30px;
        } */
    }

    /* ─────────────────────────────
   ACTION BUTTONS (shared component)
   Used by both the hero and the closing CTA. Default theme is white/dark;
   the hero overrides the accent color and adds a caption label below.
───────────────────────────── */

    .action-buttons {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        margin-top: 30px;
        font-family: var(--font-body-1-family), sans-serif;
        animation: fadeUp .8s .5s ease both;
    }

    .action-button {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* top corner brackets */
    .action-button::before,
    .action-button::after {
        content: '';
        position: absolute;
        top: -8px;
        width: 14px;
        height: 14px;
        z-index: 2;
        pointer-events: none;
    }

    .action-button::before {
        left: -8px;
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        border-radius: 3px 0 0 0;
    }

    .action-button::after {
        right: -8px;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        border-radius: 0 3px 0 0;
    }

    .action-button__link {
        text-decoration: none;
        display: flex;
    }

    .action-button__card {
        position: relative;
        display: inline-flex;
        align-items: center;
        padding: 13px 20px 12px;
        border-radius: 9px;
        border: 1px solid #fff;
        text-align: left;
        transition: .2s ease;
    }

    /* bottom corner brackets */
    .action-button__card::before,
    .action-button__card::after {
        content: '';
        position: absolute;
        bottom: -8px;
        width: 14px;
        height: 14px;
        pointer-events: none;
    }

    .action-button__card::before {
        left: -8px;
        border-bottom: 1px solid #fff;
        border-left: 1px solid #fff;
        border-radius: 0 0 0 3px;
    }

    .action-button__card::after {
        right: -8px;
        border-bottom: 1px solid #fff;
        border-right: 1px solid #fff;
        border-radius: 0 0 3px 0;
    }

    .action-button__card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 32px rgba(0, 0, 0, .25);
        border-color: #3a3a3a;
    }

    .action-button__title {
        font-family: var(--font-body-1-family), sans-serif;
        font-size: .95rem;
        font-weight: 700;
        color: #fff;
        transition: .2s ease;
    }

    .action-button__label {
        margin-top: 10px;
        font-size: 16px;
        font-weight: 400;
        font-family: 'Inter', sans-serif;
        color: #fff;
        text-align: center;
        letter-spacing: .02em;
    }

    /* variants */
    .action-button__card--primary {
        background: #fff;
    }

    .action-button__card--primary .action-button__title {
        color: #000;
    }

    .action-button__card--secondary {
        background: transparent;
    }

    @media (max-width: 767px) {
        .action-buttons {
            gap: 30px;
        }

        .action-button__card {
            width: 75%;
            max-width: 320px;
        }

        .blog-subscribe-form {
            flex-direction: column;
        }

        .blog-hero-featured {
            width: 100%;
        }
    }

    @media (max-width: 580px) {
        .action-buttons {
            gap: 48px;
            flex-direction: column;
        }

        .action-button__card {
            padding: 13px 15px 12px;
            width: 100%;
        }

        .action-button {
            width: max-content;
            margin: auto;
        }
    }

    .cta-btn-label {
        margin-top: 10px;
        font-size: 16px;
        font-weight: 400;
        font-family: 'Inter', sans-serif;
        color: #fff;
        text-align: center;
        letter-spacing: .02em;
    }



    .corner-decoration--top-left {
        top: 0;
        left: 0;

    }

    .corner-decoration--top-right {
        top: 0;
        right: 0;
    }

    .corner-decoration--bottom-left {
        bottom: 0;
        left: 0;
    }

    .corner-decoration--bottom-right {
        bottom: 0;
        right: 0;
    }

    @media (max-width:1024px) {
        .blog-hero {
            padding: 40px 10px;
        }

        .blog-hero-inside {
            padding: 91px 15px;
            gap: 30px;
        }
    }

    @media (max-width: 768px) {
        .blog-hero-inside {
            padding: 40px 15px;
            gap: 40px;
            grid-template-columns: 1fr;
        }

        .blog-list-section {
            max-width: 1300px;
            margin: 0 auto;
            padding: 40px 15px;
        }
    }

    @media (max-width: 580px) {
        .blog-list-header {
            align-items: flex-start;
            flex-direction: column;
        }

        .blog-hero-inside {
            padding: 10px 0;
        }
    }