.resources-banner {
    background-image: url("../../../../../uploads/2023/12/resources-banner.webp");
    background-repeat: no-repeat;
    background-position: unset;
    background-size: cover;
    padding-top: 150px;
    padding-bottom: 70px;
    text-align: center;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.resources-banner .banner-content .main-heading {
    line-height: 1.3;
}

.section-padding .main-row,
.resources-row {
    row-gap: 30px;
}

.resources-box {
    position: relative;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 2.877px 2.779px 12px 0px rgba(25, 24, 25, 0.31);
    padding: 10px 10px 15px;
    height: 100%;
}
.resources-box .thumbnail-box {
    border-radius: 16px;
    overflow: hidden;
}
.resources-box .thumbnail-box img {
    width: 100%;
    transition: all 0.5s ease-in-out;
}
.resources-box:not(.web-story-box) .thumbnail-box {
    min-height: 159px;
}
.resources-box:hover .thumbnail-box img {
    transform: scale(1.1);
}
.resources-box .content-box {
    padding: 0 15px;
    margin-top: 15px;
}
.resources-box .content-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #191819;
}
.resources-box:hover .content-box h4 {
    color: var(--pink-magenta) !important;
}
.single-resource-banner {
    background-image: url(../../../../../uploads/2021/04/blog_banner_bg_upd.webp);
    background-position: top left;
    padding: 200px 0;
}
.single-infographic .postbody {
    background: #fff;
    margin-top: -50px;
    padding: 25px;
    max-width: 1000px;
    margin: -50px auto 0;
}
.infographic-meta {
    border-top: 2px solid #1957a4;
    border-bottom: 2px solid #1957a4;
    padding: 15px 0;
    float: left;
    width: 100%;
    margin-bottom: 40px;
    font-weight: 500;
}
.infographic-meta .byline {
    margin: 0;
}
.single-infographic .blog-post-section img {
    max-width: 100%;
    display: block;
    height: unset;
    object-fit: contain;
}
.single-infographic .postbody > figure,
.single-infographic .postbody .wp-block-image {
    margin: 40px auto;
}
.infographic-meta .col-md-6 {
    width: auto;
}
.single-infographic .blog-post-section .container {
    padding: 0 0 50px !important;
}
.resources-tabs .nav-tabs {
    margin-bottom: 40px;
    width: 100%;
    border: 0;
}
.resources-tabs .nav-item {
    flex: 1;
}
.resources-tabs .nav-link {
    color: #999;
    padding: 20px 20px 20px 0;
    text-align: left;
    width: 100%;
    text-transform: capitalize;
    border-radius: 0;
    background-color: #fff;
    border: 0;
    position: relative;
    transition: 0.7s all ease-in-out;
    box-shadow: none;
    outline: none;
}
.resources-tabs .nav-link:hover {
    color: #000;
}
.resources-tabs .nav-link::before {
    content: "";
    bottom: -1px;
    left: 0;
    right: 0;
    position: absolute;
    border-bottom: 1px solid #ccc;
}
.resources-tabs .nav-link.active::before {
    border-color: #000;
}

.resource-banner {
    transition: all 0.4s linear;
}

.resource-banner img {
    border-radius: 20px;
    transition: all 0.4s linear;
    width: 100%;
}

.resource-banner:hover {
    transform: scale(1.01);
}

.resource-banner div {
    top: -26px;
    position: relative;
}

@media only screen and (max-width: 1200px) {
    .resources-box:not(.web-story-box) .thumbnail-box {
        min-height: 134px;
    }
    .resources-box .content-box h4 {
        font-size: 16px;
    }
}
@media only screen and (max-width: 991px) {
    .resources-banner {
        padding-top: 100px;
        padding-bottom: 70px;
        min-height: unset;
    }
    .resources-box:not(.web-story-box) .thumbnail-box {
        min-height: unset;
    }
}
@media only screen and (max-width: 575px) {
    .resources-banner {
        padding-bottom: 40px;
    }
    .single-resource-banner {
        padding: 150px 0;
    }
    .single-infographic .postbody {
        padding: 25px 15px;
    }
    .resources-tabs .nav-tabs {
        margin-bottom: 30px;
    }
    .resources-tabs .nav-link {
        padding: 10px 10px 10px 0;
    }
}
@media only screen and (max-width: 425px) {
    .resource-banner div {
        top: -22px;
    }
}
