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

.blog-hero {
    background: var(--orange);
    padding: clamp(35px, 4vw, 45px) 16px clamp(40px, 6vw, 50px); /* Position content higher below fixed header */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.blog-hero-inner .desc {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, .75);
}


/* ================= BLOG LIST SECTION ================= */

.blog-list {
    background: var(--white);
    padding: 120px 0;
}

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


/* ================= BLOG CARD ================= */

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .06);
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, .12);
}


/* Image */

.blog-img {
    height: 230px;
    overflow: hidden;
    background: #eaeaea;
}

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

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


/* Content */

.blog-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.meta {
    font-size: .78rem;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 14px;
    color: var(--ink);
}

.blog-content p {
    font-size: .96rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 22px;
}


/* Button alignment */

.blog-content .btn {
    margin-top: auto;
}


/* ================= PAGINATION ================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 90px;
    flex-wrap: wrap;
}

.page {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    background: #f3f3f3;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.page:hover {
    background: var(--orange);
    color: #ffffff;
    transform: translateY(-2px);
}

.page.active {
    background: var(--orange);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(214, 136, 42, .35);
}

.page.next {
    padding: 0 18px;
}


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

@media (max-width: 1200px) {
    .blog-grid {
        gap: 36px;
    }
}

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

@media (max-width: 900px) {
    .blog-list {
        padding: 90px 0;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .blog-card {
        max-width: 460px;
        margin: 0 auto;
    }
    .pagination {
        margin-top: 60px;
        gap: 10px;
    }
    .page {
        min-width: 38px;
        height: 38px;
        border-radius: 8px;
        font-size: .9rem;
    }
}
