.banner{
    height: clamp(300px, 50vh, 550px); 
    background: #DDCBCA;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner h1{
    color: #ffffff;
    font-size: clamp(37px,7vw,70px)!important;
    font-family: 'Open Sans', sans-serif;
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: bold;
}


.content__tendencias{
    max-width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
   padding: 2rem 0;

}

.content__tendencias h3{
    color: #3e3e3e;
    font-size: clamp(23px, 2.5vw, 38px) !important;
}
.content__tendencias .carousel {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}


.content__tendencias .carousel .carousel__items{
    display: grid;
    place-items: center;
}

.content__tendencias .color-carousel{
display: flex;
justify-content: center;

}
.color-carousel__item{
    display: grid;
    place-items: center;
    padding: 0;

}
.color-carousel__item > *, .carousel__title {
    text-align: center;
}
.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
  }


 
.content__tendencias .c-grid__image-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 260px);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
   
}

.image-carousel__item {
    width: 100%;
    height: 100%; 
  
    object-fit: fill;
}

.carousel__item-img:nth-child(1) {
    grid-area: 1 / 1 / 3 / 2;  
}

.carousel__item-img:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.carousel__item-img:nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
}

@media screen and (max-width: 768px) {
    .content__tendencias{
        max-width: 80%;
    }
    .content__tendencias p:not(.color-carousel__title p) {
        text-align: justify !important;
    }
    
    .content__tendencias .c-grid__image-carousel {
        grid-template-columns: 1fr; 
        grid-template-rows: auto; 
    }

    .carousel__item-img:nth-child(1) {
        grid-area: 1 / 1 / 2 / 2; 
    }

    .carousel__item-img:nth-child(2) {
        grid-area: 2 / 1 / 3 / 2;
    }

    .carousel__item-img:nth-child(3) {
        grid-area: 3 / 1 / 4 / 2; 
    }
}

@media(max-width:1024px){
    .content__tendencias .carousel {
        grid-template-columns: 1fr;
    }
    
}