.blog-hero {
    padding: 90px 0 40px;
    background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.blog-hero .container,
.blog-filters-section .container,
.blog-featured-section .container,
.blog-grid-section .container {
    padding: 0 16px;
}

@media (min-width: 1200px) {
    .blog-hero .container,
    .blog-filters-section .container,
    .blog-featured-section .container,
    .blog-grid-section .container {
        max-width: 1130px;
    }
}

.blog-section-head {
    margin-bottom: 24px;
}

.blog-section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 0;
}

.blog-section-head h2 span {
    color: #256C91;
}

.blog-featured-section {
    padding: 10px 0 90px;
}

.blog-featured-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.2;
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.blog-hero h1 span {
    color: #256C91;
}

.blog-hero .description {
    color: #4b5563;
    max-width: 640px;
}

.blog-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    padding: 8px 10px 8px 18px;
    box-shadow: 0 12px 30px rgba(35, 86, 165, 0.08);
}

.blog-search-form input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 1rem;
}

.blog-search-form button {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #2356A5;
    color: #fff;
}

.blog-filters-section {
    padding: 24px 0;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-filter-chip {
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe5f2;
    color: #2356A5;
    text-decoration: none;
    font-weight: 600;
}

.blog-filter-chip.is-active,
.blog-filter-chip:hover {
    background: #2356A5;
    color: #fff;
}


.blog-featured-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e8eef7;
    box-shadow: 0 18px 50px rgba(35, 86, 165, 0.08);
}

.blog-featured-image,
.blog-card-image {
    display: block;
    overflow: hidden;
    min-height: 280px;
    background: #eef3fa;
}

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

.blog-featured-card:hover img,
.blog-card:hover img {
    transform: scale(1.04);
}

.blog-featured-content {
    padding: 34px 34px 34px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-content h2 {
    font-family: 'Playfair Display', serif;
    margin: 10px 0 14px;
}

.blog-grid-section {
    padding: 20px 0 90px;
}

.blog-card {
    height: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e8eef7;
    box-shadow: 0 12px 30px rgba(35, 86, 165, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(35, 86, 165, 0.12);
}

.blog-card-image {
    min-height: 220px;
}

.blog-card-body {
    padding: 22px;
}

.blog-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin: 10px 0;
}

.blog-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-category {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #E15625;
}

.blog-meta {
    display: flex;
    gap: 14px;
    color: #6b7280;
    font-size: 0.92rem;
    margin-top: 14px;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: grid;
    place-items: center;
    color: #9ca3af;
    font-size: 2rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.blog-page-link {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid #dbe5f2;
    color: #2356A5;
    text-decoration: none;
    font-weight: 600;
}

.blog-page-link.is-active,
.blog-page-link:hover {
    background: #2356A5;
    color: #fff;
}

.blog-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 24px;
    border: 1px dashed #dbe5f2;
}

.blog-empty-state h2 {
    font-family: 'Playfair Display', serif;
}

.scroll-animate {
    opacity: 0;
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-animate.left-animation { transform: translateX(-60px); }
.scroll-animate.right-animation { transform: translateX(60px); }
.scroll-animate.fade-up { transform: translateY(40px); }
.scroll-animate.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

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

    .blog-featured-content {
        padding: 0 24px 24px;
    }
}

/* ================= BACK TO TOP ================= */

#backToTopBtn {
    position: fixed;
    bottom: 55px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
    display: none;
}

#backToTopBtn div {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#backToTopBtn button {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FF794A;
    border: 3px solid #FF794A;
    border-radius: 50%;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(225, 86, 37, 0.28);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

#backToTopBtn button:hover {
    background: #2356A5;
    border-color: #2356A5;
    transform: translateY(-2px);
}

#backToTopBtn p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #FF794A;
    margin-bottom: 0;
    margin-top: 6px;
    white-space: nowrap;
}

#backToTopBtn.scrolled-90 p {
    color: #FF794A;
}

@media (max-width: 767px) {
    #backToTopBtn {
        bottom: 24px;
        right: 16px;
    }

    #backToTopBtn button {
        width: 42px;
        height: 42px;
    }

    #backToTopBtn p {
        font-size: 12px;
    }
}
