/* ===============================
   BLOG PAGE LAYOUT
================================ */

.blog-hero {
    background-image: url(/wp-content/uploads/2025/02/image-63.svg);
    background-size: cover;
    background-position: center;
    padding: 70px 0 50px;
}

.blog-hero .container {
    max-width: 1200px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 0 20px;
    text-align: center;
}

.blog-hero .container h1 {
    font-size: 52px;
    line-height: 100%;
    font-weight: 600;
    color: #001965;
}

.blog-section {
    padding: 80px 0 100px;
}

.blog-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-section h2 {
    margin-bottom: 64px;
    font-weight: 600;
    text-align: center;
    color: #001965;
}

.blog-section h2.category-title {
    text-transform: capitalize;
}

.blog-pagination.is-hidden {
    display: none;
}

.blog-grid.is-loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s;
}

.blog-section .blog-controls {
    margin-bottom: 42px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-section h3 {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0px;
    margin-bottom: 8px;
    color: #001965;
}

.blog-section .blog-controls .blog-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-section .blog-controls .category-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-section .blog-controls .blog-filters button {
    border: 1px solid #E6E8F0;
    border-radius: 40px;
    font-family: "Quicksand", Sans-serif !important;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0px;
    text-align: center;
    color: #001965;
    padding: 12px 24px;
    text-transform: capitalize;
}

.blog-section .blog-controls .blog-filters button:hover {
    background: #001965;
    color: #ffffff;
}

.blog-section .blog-controls .blog-filters button.is-active {
    background-color: #001965;
    color: #FFF;
}

.blog-section .blog-controls .category-filters .category-filter {
    border: 1px solid #E6E8F0;
    border-radius: 40px;
    font-family: "Quicksand", Sans-serif !important;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0px;
    text-align: center;
    color: #001965;
    padding: 12px 24px;
    text-transform: capitalize;
}

.blog-section .blog-controls .category-filters .categoryfilter:hover {
    background: #001965;
    color: #ffffff;
}

.blog-section .blog-controls .category-filters .category-filter.is-active {
    background-color: #001965;
    color: #FFF;
}

/* ===============================
    SEARCH
================================ */

.blog-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #F5F7FA;
    border-radius: 40px;
    padding: 0;
    border: 1px solid #E6E8F0;
}


.blog-search-icon {
    position: absolute;
    left: 28px;
    color: #1f2a6d;
    pointer-events: none;
    display: flex;
}


.blog-section .blog-search-wrap .blog-search {
    width: 100%;
    height: 62px;
    padding: 0 145px 0 68px !important;
    border: none;
    outline: none;
    background: transparent;
    font-size: 20px;
    color: #808CB2;
    font-family: "Quicksand", Sans-serif !important;
}

.blog-search::placeholder {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0px;
    color: #808CB2;
}


.blog-search-btn {
    position: absolute;
    right: 8px;
    height: 46px;
    padding: 0 40px;
    border: none;
    border-radius: 40px;
    background: #E64A0D;
    color: #fff;
    transition: background .25s ease;
    font-family: "Quicksand", Sans-serif !important;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
}

.blog-search-btn:hover {
    background: #bf461a;
}



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


.blog-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(20, 30, 70, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: grayscale(100%);
}

.blog-card__content {
    padding: 28px 30px 34px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card__title {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 500;
    color: #0b1b4d;
    margin-bottom: 14px;
}

.blog-card__excerpt {
    font-size: 16px;
    line-height: 24px;
    color: #4D5E93;
    margin-bottom: 8px;
}

.blog-card__date {
    font-size: 14px;
    color: #B3BAD1;
    margin-bottom: 24px;
}

.blog-card__btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid #dbe0f2;
    font-size: 15px;
    color: #0b1b4d;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-card__btn:hover {
    background: #0b1b4d;
    color: #ffffff;
    border-color: #0b1b4d;
}

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

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

.blog-pagination .page-numbers-wrap {
    margin: 0 auto;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    color: #808CB2;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}

.blog-pagination .page-numbers:hover {
    background: #cfd5ea;
}

.blog-pagination .page-numbers.current {
    background: #0b1b4d;
    color: #ffffff;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    background-color: #001965;
    color: #FFF;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    padding: 18px 48px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.blog-pagination .page-numbers.prev.is-disabled,
.blog-pagination .page-numbers.prev.is-disabled {
    background-color: #CCD1E0;
    pointer-events: none;
}

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

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

@media (max-width: 640px) {
    .blog-section {
        padding: 60px 0 80px;
    }

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

    .blog-card__image img {
        height: 200px;
    }

    .blog-search-btn {
        padding: 0 16px;
    }

    .blog-section .blog-search-wrap .blog-search {
        padding: 0 100px 0 59px !important;
        font-size: 16px !important;
    }

    .blog-search::placeholder {
        font-size: 16px !important;
    }

    .blog-pagination {
        flex-direction: column;

        .page-numbers-wrap {
            flex-wrap: wrap;
            display: flex;
            justify-content: center;
        }
    }
}