/* Resources Banner */  

.resources-banner {
    background: url(../../../../uploads/2023/07/about-banner.webp) no-repeat center;
    padding: 200px 0 100px;
    background-size: cover;
}

.resources-banner h1 span{
    color: var(--secondary-color) !important;
}

.resources-banner .banner-content .main-heading span{
    color: var(--yellow);
}

/* Resources Listing */

.resources-listing{
    padding: 70px 0;
}

.resources-row{
    row-gap: 30px;
}

.resources-box{
    position: relative;
    border-radius: 20px;
    background-color: rgb(243, 243, 243);
    box-shadow: 2.877px 2.779px 12px 0px rgba(25, 24, 25, 0.31);
    padding: 10px;
}

.resources-box::after{
    content: "";
    display: inline-block;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-image: linear-gradient(294deg, #2e5bed, #39eaff );
    pointer-events: none;
}

/* .resources-row > div:nth-child(even) .resources-box::after{
    background: #fcb800;
} */

.resources-thumbnail-box{
    border-radius: 16px;
    overflow: hidden;
}

.resources-thumbnail-box img{
    width: 100%;
    transition: all 0.5s ease-in-out;
}

.resources-thumbnail-box:hover img{
    transform: scale(1.3);
}

.resources-content-box{
    padding: 15px;
}

.resources-box h4{
    font-size: 20px;
    margin-bottom: 25px;
}

.resource-buttons{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    column-gap: 20px;
}

.resource-buttons li{
    display: inline-block;
    line-height: 13px;
    text-transform: capitalize;
    padding-left: 25px;
    font-weight: 500;
    font-size: 14px;
}

.resource-buttons li:first-child{
    border-right: 1px solid #191819 !important;
    padding-right: 20px;
}

.resource-buttons li a{
    color: #000;
}

.resource-buttons li a:hover{
    color: var(--secondary-color);
}

.resource-buttons .view-icon{
    background: url('../../../../uploads/2023/12/view-icon.webp') no-repeat left;
    background-size: contain;
}

.resource-buttons .share-icon{
    background: url('../../../../uploads/2023/12/share-icon.webp') no-repeat left;
    background-size: contain;
}

.newsletter-box-background{
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../../../../uploads/2023/12/thumbnail-image.webp) no-repeat;
    background-size: 100% 100%;
    padding: 25px;
    text-align: center;     
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.31);
}

.newsletter-box-background h2 span{
    font-weight: 800;
    font-size: 44px;
}

.newsletter-field{
    position: relative;
    margin: 10px 0 0;
}

.resources-newsletter-wrapper input[type="email"] {
    padding: 10px 25px;
    background-color: #fff;
    width: 100%;
    height: 52px;
    border: none;
    color: #000;
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid transparent;
    box-shadow: none;
    outline: none;
}

.resources-newsletter-wrapper input[type="email"]:focus{
    border-color: #fff;
} 

.resources-newsletter-wrapper input[type="submit"]{
    position: relative;
    background-color: rgb(255, 255, 255);
    box-shadow: 2.877px 2.779px 12px 0px rgba(255, 255, 255, 0.31);
    width: 155px;
    height: 52px;
    margin: 10px auto;
    border: none;
    border-radius: 30px;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.newsletter-box-wrapper{
        position: absolute;
    bottom: 50px;
    left: 20px;
    right: 30px;
}  

.banner.center .container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner.center .banner-content{
    margin-left: initial;
}

@media only screen and (max-width: 1200px){
    .newsletter-box-background h2 span{
        font-size: 40px;
    }
}
@media only screen and (max-width: 991px){
    .resources-listing{
        padding: 40px 0;
    }
    .newsletter-box-background{
        height: unset;
        background-size: 250%;
        background-position:  center;
        padding: 25px;
        margin-top: 30px;
    }
    .newsletter-box-wrapper{
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        position: unset;
        bottom: unset;
        left: unset;
        right: unset;
    }
}

@media only screen and (max-width: 575px){
    .newsletter-box-background h2{
        font-size: 30px;
    }
    .newsletter-box-background h2 span{
        font-size: 36px;
    }
    .resources-newsletter-wrapper input[type="submit"]{
        width: unset;
        height: unset;
        font-size: 14px;
        padding: 10px 30px;
    }
}

/** Resources **/

