.container {
    max-width: 1000px;
}
#bannerContainer {
    margin: 0;
    aspect-ratio: 3 / 1;
    overflow: hidden;
}
#bannerContainer > .carousel-indicators {
    margin: 0;
    justify-content: flex-start;
    padding-left: 9%;
    margin-bottom: 5%;
}
#bannerContainer > .carousel-indicators > button {
    background-color: transparent;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border: 1px solid var(--background4);
    border-radius: 50%;
}
#bannerContainer > .carousel-indicators > button.active {
    background-color: var(--background4);
}
#bannerContainer > .carousel-inner {
    width: 100%;
    height: 100%;
}
#bannerContainer > .carousel-inner > .carousel-item {
    width: 100%;
    height: 100%;
}
#bannerContainer > .carousel-inner > .carousel-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#bannerContainer > .carousel-inner > .carousel-item > .content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40%;
    padding-top: 8%;
    padding-left: 9%;
}
#bannerContainer > .carousel-inner > .carousel-item > .content > p {
    color: var(--text2);
    font-size: small;
}

.categories-container div {
    border-radius: 7px;
    position: relative;
    overflow: hidden;
}
.categories-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.categories-container .cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        360deg,
        #d4d4d4 -48.58%,
        rgba(217, 217, 217, 0) 124.21%
    );
}
.categories-container span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
}
.categories-container > div:first-child {
    flex: 1;
}
.categories-container > div:last-child {
    flex: 1.3;
}
.categories-container > div:last-child > div:first-child > div {
    flex: 1;
    height: 250px;
}
.categories-container > div:last-child > div:last-child > div:first-child {
    flex: 1;
    height: 250px;
}
.categories-container > div:last-child > div:last-child > div:last-child {
    flex: 1.6;
    height: 250px;
}

.user-type-container > div {
    flex: 1;
    border-radius: 10px;
    padding: 35px 20px;
}
.user-type-container > div > .user-type-icon {
    background-color: rgba(0, 0, 0, 0.5);
    width: 30px;
    height: 30px;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    display: flex;
    color: white;
}
.user-type-container > div > .title {
    color: white;
}
.user-type-container > div > .description {
    color: white;
    opacity: 0.7;
    font-size: 14px;
}
.user-type-container > div:first-child {
    background: linear-gradient(360deg, #15c5df -33.91%, #3dddad 117.98%);
}
.user-type-container > div:last-child {
    background: linear-gradient(360deg, #ffae7b -33.91%, #ffca97 117.98%);
}


#testimonial-slider {
    display: flex;
}

.testimonial {
    margin: 0 20px 40px;
}
.testimonial .testimonial-content {
    padding: 35px 25px 35px 50px;
    margin-bottom: 35px;
    background: #fff;
    border: 1px solid #f0f0f0;
    position: relative;
}
.testimonial .testimonial-content:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #fff;
    position: absolute;
    bottom: -10px;
    left: 22px;
    transform: rotate(45deg);
}
.testimonial-content .testimonial-icon {
    width: 50px;
    height: 45px;
    background: #ff4242;
    text-align: center;
    font-size: 22px;
    color: #fff;
    line-height: 42px;
    position: absolute;
    top: 37px;
    left: -19px;
}
.testimonial-content .testimonial-icon:before {
    content: "";
    border-bottom: 16px solid #e41212;
    border-left: 18px solid transparent;
    position: absolute;
    top: -16px;
    left: 1px;
}
.testimonial .description {
    font-size: 15px;
    font-style: italic;
    color: #8a8a8a;
    line-height: 23px;
    margin: 0;
    height: 90px;
    /*-- ellipsis-start --*/
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /*-- ellipsis-end --*/
}

.testimonial .title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #525252;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
}
.testimonial .post {
    display: block;
    font-size: 14px;
    color: #ff4242;
}
.owl-theme .owl-controls {
    margin-top: 20px;
}
.owl-theme .owl-controls .owl-page span {
    background: #ccc;
    opacity: 1;
    transition: all 0.4s ease 0s;
}
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
    background: #ff4242;
}
.parent-featured{
    display: flex;
    justify-content: center;
    flex-direction: column;
}


.wrapper-featured{
    width: inherit !important;
    justify-content: flex-start !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    justify-content: center;
    margin:0;
    flex-direction: row;

}
.item-featured{
    padding: 0 !important;
    cursor: pointer;
    flex: 0 0 calc(25% - 7.5px); 
    padding: 10px;
    box-sizing: border-box;
}

/* .item-featured img{
    width: 100%;
    height: 100%;
    object-fit: fill;
} */

.item-featured:last-child {
    margin-right: 0;
  }

@media (max-width: 768px) {

    .user-type-container{
        flex-direction: column !important;
    }
    .subscribe-container{}

    #cat_desktop .categories-container{
        flex-direction: column;
    }
   
    .categories-container > div:first-child {
        flex: 1;
    }
    .categories-container > div:last-child {
        flex: 1;
    }
    .categories-container > div:last-child > div:first-child > div {
        flex: 1;
        height: 250px;
    }
    .categories-container > div:last-child > div:last-child > div:first-child {
        flex: 1;
        height: 250px;
    }
    .categories-container > div:last-child > div:last-child > div:last-child {
        flex: 1;
        height: 250px;
    }
    #bannerContainer {
       height: 320px !important;
       width: 100vw !important;
       display: flex;
       flex-direction: column;
    }

    #bannerContainer > .carousel-inner > .carousel-item > .content {
        width: 50%;
    }

    #bannerContainer .content h2{

        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    #bannerContainer .content p{

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #bannerContainer .content button {
        display: inline-block;
        width: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        font-size: 13px;    
    }
    .wrapper-featured{
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start !important;
        gap: 10px; 

    }
    .item-featured{
        padding: 0 !important;
        cursor: pointer;
        flex: 0 0 calc(50% - 5px); 
        padding: 10px;
        box-sizing: border-box;
    }

}