/* =========================================================
   BLOG INDEX — LIGHT PREMIUM EDITORIAL DESIGN
========================================================= */

.blog-page,
body {
    background: #f7f7f5;
}


/* =========================================================
   GLOBAL BLOG CONTAINER PADDING
   SAME SIDE PADDING ON EVERY DEVICE
========================================================= */

.blog-hero .container,
.blog-navigation .container,
.blog-section .container {
    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   BLOG HERO
========================================================= */

.blog-hero {
    position: relative;

    min-height: 100vh;
    height: 100vh;

    box-sizing: border-box;

    padding: 155px 0 70px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.78) 0%,
            rgba(8, 8, 8, 0.62) 42%,
            rgba(8, 8, 8, 0.38) 100%
        ),
        url("../assets/images/blog/hero4.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;

    overflow: hidden;
}


.blog-hero .container {
    width: 100%;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.blog-hero-content {
    max-width: 820px;

    position: relative;
    z-index: 2;
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.blog-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #d8b878;

    font-size: 12.65px;
    font-weight: 600;

    letter-spacing: 2.2px;
}


/* =========================================================
   MAIN HERO HEADING
   KEEP THIS TYPOGRAPHY UNCHANGED
========================================================= */

.blog-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;

    font-weight: 600;

    letter-spacing: -2.8px;
}


.blog-hero h1 span {
    display: block;

    color: #d8b878;
}

/* Active nav indicator */
.nav-links a.active-nav {
    color: var(--accent) !important;
}

.nav-links a.active-nav::after {
    width: 100% !important;
}

/* .navbar {
    background: #0b0b0b !important;
} */

/* =========================================================
   HERO DESCRIPTION
========================================================= */

.blog-hero-content p {
    max-width: 650px;

    margin: 25px 0 0;

    color: rgba(255, 255, 255, 0.80);

    font-size: 17.71px;
    line-height: 1.8;
}


/* =========================================================
   HERO META
========================================================= */

.blog-hero-meta {
    display: flex;
    align-items: center;

    gap: 25px;

    margin-top: 35px;

    position: relative;
    z-index: 2;
}


.blog-hero-meta span {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.72);
    font-size: 19px;
    background: rgba(0, 0, 0, 0.35);
        padding: 7px 16px;
    border-radius: 999px;
}


.blog-hero-meta i {
    color: #d8b878;
}


/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.blog-navigation {
    padding: 0 0 45px;

    background: #f7f7f5;
}


.blog-category-bar {
    display: flex;
    align-items: center;

    gap: 8px;

    overflow-x: auto;

    scrollbar-width: none;

    padding-bottom: 3px;
}


.blog-category-bar::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   CATEGORY BUTTONS
========================================================= */

.blog-filter {
    flex-shrink: 0;

    padding: 9px 16px;

    border: none;
    border-radius: 50px;

    background: #ffffff;

    color: #777777;

    font-family: inherit;

    font-size: 12.65px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.04);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.blog-filter:hover {
    color: #111111;

    transform: translateY(-1px);
}


.blog-filter.active {
    background: #151515;

    color: #ffffff;
}


/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section {
    padding: 15px 0 100px;

    background: #f7f7f5;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.blog-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 38px;
}


.blog-section-heading .section-tag {
    display: block;

    margin-bottom: 9px;

    color: #a17b3f;

    font-size: 11.385px;
    font-weight: 600;

    letter-spacing: 1.8px;
}


.blog-section-heading h2 {
    margin: 0;

    color: #151515;

    font-size: 43.01px;
    line-height: 1.15;

    font-weight: 600;

    letter-spacing: -1.2px;
}


.blog-section-heading h2 span {
    color: #a17b3f;
}


.blog-section-heading > p {
    max-width: 260px;

    margin: 0;

    color: #888888;

    font-size: 12.65px;
    line-height: 1.7;

    text-align: right;
}


/* =========================================================
   BLOG GRID
========================================================= */

.blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.055);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    scroll-margin-top: 100px;
}


.blog-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.09);
}


/* =========================================================
   BLOG IMAGE
========================================================= */

.blog-image-link {
    display: block;

    text-decoration: none;
}


.blog-image {
    position: relative;

    height: 260px;

    overflow: hidden;

    background: #e9e9e6;
}


.blog-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s cubic-bezier(.22, 1, .36, 1);
}


.blog-card:hover .blog-image img {
    transform: scale(1.045);
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.blog-category {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 10px;

    border-radius: 50px;

    background: rgba(15, 15, 15, 0.82);

    color: #d8b878;

    font-size: 10.12px;
    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.blog-card-content {
    padding: 20px 20px 22px;
}


/* =========================================================
   CARD META
========================================================= */

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 13px;
}


.blog-card-meta span {
    color: #999999;

    font-size: 10.758px;
}


.blog-card-meta i {
    margin-right: 4px;

    color: #b18a4e;
}


/* =========================================================
   ARTICLE TITLE
========================================================= */

.blog-card h3 {
    margin: 0 0 11px;

    color: #171717;

    font-size: 21.505px;
    line-height: 1.35;

    font-weight: 600;

    letter-spacing: -0.35px;
}


/* =========================================================
   ARTICLE EXCERPT
========================================================= */

.blog-card p {
    margin: 0;

    color: #777777;

    font-size: 13.288px;
    line-height: 1.75;
}


/* =========================================================
   READ ARTICLE
========================================================= */

.blog-read-more {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 19px;

    color: #171717;

    font-size: 12.023px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}


.blog-read-more i {
    color: #b18a4e;

    font-size: 10.12px;
}


.blog-read-more:hover {
    color: #a17b3f;

    gap: 11px;
}


/* =========================================================
   HIDDEN FILTERED CARDS
========================================================= */

.blog-card.hidden {
    display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }


    .blog-hero {
        padding-top: 135px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    /* =====================================================
       HERO — NATURAL HEIGHT
       NOT 100VH ON MOBILE
    ====================================================== */

    .blog-hero {
        min-height: auto;
        height: auto;

        padding: 115px 0 55px;

        display: block;

        background:
            linear-gradient(
                180deg,
                rgba(8, 8, 8, 0.68),
                rgba(8, 8, 8, 0.84)
            ),
            url("../assets/images/blog/hero4.png");

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }


    .blog-hero-content {
        max-width: 100%;
    }


    .blog-eyebrow {
        font-size: 10.12px;

        letter-spacing: 1.7px;
    }


    /* =====================================================
       HERO H1 — UNCHANGED
    ====================================================== */

    .blog-hero h1 {
        font-size: 42px;
    }


    .blog-hero-content p {
        margin-top: 19px;

        font-size: 13.915px;
        line-height: 1.75;
    }


    /* =====================================================
       HERO META
    ====================================================== */

    .blog-hero-meta {
        flex-direction: column;
        align-items: flex-start;

        gap: 9px;

        margin-top: 25px;
    }


    .blog-hero-meta span {
        font-size: 14.758px;
        background: rgba(0, 0, 0, 0.35);
    }


    /* =====================================================
       CATEGORY NAVIGATION
       ONE BELOW ANOTHER
    ====================================================== */

    .blog-navigation {
        padding: 25px 0 35px;
    }


    .blog-category-bar {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 8px;

        width: 100%;

        overflow: visible;

        padding: 0;
    }


    .blog-filter {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        padding: 12px 17px;

        border-radius: 10px;

        text-align: left;

        font-size: 12.65px;
    }


    .blog-filter:hover {
        transform: none;
    }


    /* =====================================================
       BLOG SECTION
    ====================================================== */

    .blog-section {
        padding-top: 20px;

        padding-bottom: 65px;
    }


    .blog-section-heading {
        display: block;

        margin-bottom: 28px;
    }


    .blog-section-heading .section-tag {
        font-size: 11.385px;
    }


    .blog-section-heading h2 {
        font-size: 35.42px;
    }


    .blog-section-heading > p {
        margin-top: 12px;

        max-width: 300px;

        font-size: 11.385px;

        text-align: left;
    }


    /* =====================================================
       MOBILE BLOG GRID
    ====================================================== */

    .blog-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        scroll-margin-top: 100px;
    }


    .blog-card {
        scroll-margin-top: 100px;
    }


    .blog-image {
        height: 235px;
    }


    .blog-card-content {
        padding: 17px 17px 20px;
    }


    .blog-category {
        font-size: 10.12px;
    }


    .blog-card-meta span {
        font-size: 10.758px;
    }


    .blog-card h3 {
        font-size: 18.975px;
    }


    .blog-card p {
        font-size: 12.65px;
    }


    .blog-read-more {
        font-size: 12.023px;
    }


    .blog-read-more i {
        font-size: 10.12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .blog-hero {
        min-height: auto;
        height: auto;

        padding: 105px 0 45px;
    }


    /* =====================================================
       HERO H1 — UNCHANGED
    ====================================================== */

    .blog-hero h1 {
        font-size: 36px;
    }


    .blog-hero-content p {
        font-size: 12.65px;
    }


    .blog-hero-meta span {
        font-size: 13.12px;
        background: rgba(0, 0, 0, 0.35);

    }


    /* =====================================================
       CATEGORIES
    ====================================================== */

    .blog-navigation {
        padding: 22px 0 30px;
    }


    .blog-filter {
        padding: 11px 15px;

        font-size: 11.5px;
    }


    /* =====================================================
       SECTION
    ====================================================== */

    .blog-section-heading h2 {
        font-size: 31.625px;
    }


    .blog-section-heading > p {
        font-size: 10.12px;
    }


    /* =====================================================
       CARDS
    ====================================================== */

    .blog-image {
        height: 220px;
    }


    .blog-card-content {
        padding: 16px 16px 19px;
    }


    .blog-card {
        scroll-margin-top: 90px;
    }


    .blog-card h3 {
        font-size: 17.71px;
    }


    .blog-card p {
        font-size: 12.023px;
    }


    .blog-card-meta span {
        font-size: 10.12px;
    }


    .blog-read-more {
        font-size: 11.385px;
    }

}