@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@font-face {
    font-family: "mreav-regular";
    src: url("https://use.typekit.net/af/5a0a8b/00000000000000007735b33f/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/5a0a8b/00000000000000007735b33f/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/5a0a8b/00000000000000007735b33f/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: "mreav-light";
    src: url("https://use.typekit.net/af/5a0a8b/00000000000000007735b33f/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/5a0a8b/00000000000000007735b33f/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/5a0a8b/00000000000000007735b33f/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 300;
    font-stretch: normal;
}

@font-face {
    font-family: "mreav_bold";
    src: url("https://use.typekit.net/af/555361/00000000000000007735b348/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"), url("https://use.typekit.net/af/555361/00000000000000007735b348/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"), url("https://use.typekit.net/af/555361/00000000000000007735b348/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
}

/* =====================================
   BLOG LISTING PAGE CSS STYLES
   ===================================== */

/* Blog Header Styling */
.blog-header {
    position: relative;
    overflow: hidden;
}

.blog-header-img {
    position: relative;
    padding-top: 23%;
    min-height: 350px;
}

.blog-header-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10;

}

.blog-header-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 39, 106, 0.60);
    z-index: 10;
}

.blog-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 865px;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
    padding: 0 15px;
}

.blog-header-subtitle {
    color: #FFF;
    text-align: center;
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.blog-header-title {
    color: #FFF;
    text-align: center;
    font-family: "mreav_bold";
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
    text-transform: uppercase;
    margin: 32px 0;
}

.blog-header-description {
    color: #FFF;
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* filter css start here*/

.blog-template-container {
    width: calc(100% - 20%);
    margin: 0 auto;
}

.blog-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 40px
}

.blog-filter-icon-box {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-text {
    color: #000;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.blog-filter-icon-box span {
    color: #000;
    text-align: right;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.blog-articles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.filter-col {
    width: 25%;
    padding-right: 40px;
}

.blog-articles-col {
    width: 75%;
}

.blog-articles-row {
    display: flex;
    flex-wrap: wrap;
}

.blog-articles-card-box {
    width: calc(100% / 3);
    padding: 20px;
}

.blog-articles-card {
    border-radius: 8px;
    border: 1px solid #EEE;
    background: #FFF;
}

.blog-article-img-box {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.blog-article-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.blog-article-content {
    padding: 24px 30px;
}

.blog-article-title {
    color: #03276A;
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 8px;
}

.blog-article-description {
    color: #000;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.blog-article-footer {
    text-align: right;
    margin-top: 20px;
    border-top: 1px solid #D9D9D9;
}

.blog-read-more {
    color: #B41933;
    text-align: right;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-top: 12px;
    display: inline-block;
}

.blog-read-more:hover {
    text-decoration: underline;
    color: #B41933;
}

.blog-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 2px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 40px;
}

.blog-search-box .search-icon {
    color: #00000099;
    font-size: 16px;
}

.blog-search-box input {
    color: #00000099;
    font-size: 16px;
    width: 100%;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.60);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.blog-search-box input::placeholder {
    color: rgba(0, 0, 0, 0.60);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.blog-topic-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.blog-filter-title {
    color: rgba(3, 39, 106, 0.60);
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 1px;
}

.blog-topic-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
    color: #000;
    color: #000;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

/* Hide default checkbox */
.blog-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 0;
    /* square edges */
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Checked state */
.blog-checkbox:checked {
    background-color: #002468;
    border-color: #002468;
}

/* Add custom check mark */
.blog-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

@media screen and (max-width: 1600px) {
    .blog-articles-card-box {
        padding: 20px 13px;
    }

    .blog-template-container {
        width: calc(100% - 15%);
    }

    .blog-header-title {
        font-size: 50px;
        line-height: 55px;
        margin: 25px 0;
    }

}

@media screen and (max-width: 1440px) {
    .blog-articles-card-box {
        padding: 20px 10px;
    }

    .blog-template-container {
        width: calc(100% - 13%);
    }

    .filter-col {
        padding-right: 30px;
    }

    .blog-article-content {
        padding: 20px 20px;
    }

}

@media screen and (max-width: 1300px) {

    .blog-template-container {
        width: calc(100% - 8%);
    }

    .blog-article-content {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 1200px) {
    .blog-articles-card-box {
        width: calc(100% / 2);
    }

    .blog-header-title {
        font-size: 40px;
        line-height: 55px;
        margin: 5px 0;
    }
}

@media screen and (max-width: 991px) {

    .blog-filter-bar {
        margin-bottom: 25px;
    }

    .blog-articles-col {
        width: 100%;
    }

    .blog-template-container {
        width: 100%;
        padding: 0 30px;
        position: relative;
    }

    .blog-filter-container {
        position: absolute;
        top: 75px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 450px;
        width: 100%;
        display: block;
        background: white;
        z-index: 10;
        padding: 30px;
        border: 1px solid #D9D9D9;
        border-radius: 5px;
    }
}

@media screen and (max-width: 991px) {
    .blog-filter-container {
        max-width: 90%;
    }

    .filter-col {
        display: none;
    }

    .filter-col.show {
        display: block !important;
    }
}

@media screen and (max-width: 767px) {
    .blog-header-title {
        font-size: 30px;
        line-height: 35px;
        margin: 5px 0;
    }

    .blog-articles-card-box {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .blog-articles-card-box {
        width: 100%;
    }

    .blog-articles-card-box {
        padding: 20px 0;
    }

    .blog-template-container {
        padding: 0 20px;
    }

    .blog-header-subtitle {
        font-size: 20px;
    }
}