:root {
    --blog-green: #167d6b;
    --blog-deep: #183b38;
    --blog-text: #60736f;
    --blog-cream: #f5faf8;
    --blog-gold: #f2b84b;
}


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

.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    background: linear-gradient(135deg, #bddfd5 0%, #d4ebe4 55%, #acd4c8 100%);
}

    .blog-hero::after {
        content: "";
        position: absolute;
        right: -70px;
        bottom: -150px;
        width: 280px;
        height: 280px;
        border: 55px solid rgba(22, 125, 107, .07);
        border-radius: 50%;
    }

.blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    text-align: center;
}

.blog-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blog-green);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.blog-hero h1 {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--blog-deep);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 850;
    line-height: 1.08;
}

.blog-hero p {
    max-width: 700px;
    margin: auto;
    color: var(--blog-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.75;
}


/* ========================================
   BLOG LISTING SECTION
======================================== */

.blog-listing {
    padding: 76px 0;
    background: #ffffff;
}

.blog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

    .blog-heading h2 {
        margin: 0;
        color: var(--blog-deep);
        font-size: clamp(30px, 4vw, 44px);
        font-weight: 800;
    }

    .blog-heading p {
        max-width: 470px;
        margin: 0;
        color: var(--blog-text);
        font-size: 17px;
        font-weight:600;
        line-height: 1.7;
    }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}


/* ========================================
   BLOG CARDS
======================================== */

.blog-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #deebe7;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(24, 59, 56, .08);
    transition: all .28s ease;
}

    .blog-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 45px rgba(24, 59, 56, .14);
    }

.blog-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    height: 225px;
    background: #dfece8;
}

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

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

    .blog-card-image span {
        position: absolute;
        bottom: 16px;
        left: 18px;
        padding: 7px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
        color: var(--blog-green);
        font-size: 12px;
        font-weight: 800;
    }

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

    .blog-card-body h2 {
        margin: 0 0 13px;
        font-size: 22px;
        font-weight: 800;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

        .blog-card-body h2 a {
            color: var(--blog-deep);
            text-decoration: none;
        }

    .blog-card-body p {
        margin: 0 0 22px;
        color: var(--blog-text);
        font-size: 17px;
        font-weight: 600;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

.blog-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--blog-green);
    font-weight: 800;
    text-decoration: none;
}

    .blog-read i {
        transition: transform .2s ease;
    }

    .blog-read:hover {
        color: #0f6658;
    }

        .blog-read:hover i {
            transform: translateX(4px);
        }


/* ========================================
   INFORMATION NOTE
======================================== */

.blog-note {
    padding: 0 0 78px;
}

.blog-note-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    border: 1px solid #dcece6;
    border-radius: 22px;
    background: var(--blog-cream);
}

    .blog-note-inner > i {
        display: grid;
        flex: 0 0 58px;
        height: 58px;
        place-items: center;
        border-radius: 50%;
        background: #d9efe8;
        color: var(--blog-green);
        font-size: 27px;
    }

.blog-note h2 {
    margin: 0 0 5px;
    color: var(--blog-deep);
    font-size: 22px;
    font-weight: 800;
}

.blog-note p {
    margin: 0;
    color: var(--blog-text);
    line-height: 1.6;
    font-size:17px;
    font-weight:600;
}


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

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .blog-card-image {
        height: 210px;
    }
}

@media (max-width: 575px) {
    .blog-hero {
        padding: 45px 0;
    }

    .blog-listing {
        padding: 55px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-image {
        height: 205px;
    }

    .blog-note-inner {
        align-items: flex-start;
        padding: 23px;
    }

        .blog-note-inner > i {
            flex-basis: 48px;
            height: 48px;
        }
}
