.carousel-section {
    max-width: calc(100% + 46px);
    margin: 0;
    padding: 0;
    position: absolute;
    left: -36px;
    z-index: 10;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.header-content {
    max-width: 60%;
}

.header-title {
    font-size: 2.5em;
    color: #0a0a29;
    margin-bottom: 20px;
    font-weight: bold;
}

.header-description {
    color: #666;
    line-height: 1.6;
    font-size: 1.1em;
}

.view-all-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #ff5722;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.view-all-button:hover {
    background: #f4511e;
}

.view-all-button svg {
    width: 20px;
    height: 20px;
}

.carousel-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(50% - 10px);
    padding-right: 20px;
    position: relative;
    max-height: 304px;
}

.carousel-slide-wrapper{
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    width: 73vw;
}
@media (min-width: 768px){
    .carousel-slide-wrapper{
        width: 600px;
    }  
}

.slide-content {
    background: #fff;
    color: #0A0A1A;
    padding: 20px;
    height: 100%;
    font-size: 14px; /* Tamaño base para utiliza em en el contenido del slide */
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-type {
    color: white;
    margin-bottom: 10px;
    font-size: 1.1429em !important;
    text-transform: none;
    background: #FF5462;
    display: inline-block;
    width: auto;
    border-radius: 5px;
    padding: 10px;
    line-height: 1.3em;
}
@media (min-width:768px){
    .slide-type {
        width: 120px;
    }
}

.slide-title {
    color: #0A0A1A !important;
    font-size: 1.22em !important;
    font-weight: 700 !important;
    margin: 20px 0;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

}

.slide-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    margin-bottom: 15px;
    font-size: 0.9375em;
}

.slide-description {
    color: #0A0A1A;
    font-size: 1em;
    line-height: 1.6;
}
.slide-description p {
    margin-bottom: 0;
}

.carousel-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF5462;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #C32936;
}

.carousel-arrows {
    display: flex;
    gap: 10px;
}

.nav-button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #0A0A1A !important;
    border-color: #0A0A1A;
}

.nav-button:hover {
    background: #C32936;
    color: #fff !important;
    border-color: #C32936 !important;
}

.nav-button.prev {
    transform: rotate(180deg);
}

/* Carrusel noticias */
.carousel-noticias .slide-content{
    background: #fff;
}
.carousel-noticias .slide-type, .carousel-noticias .slide-title, .carousel-noticias .slide-date{
    color: #02134F !important;
}
.carousel-noticias .dot{
    background: #fff;
}
.carousel-noticias .dot.active{
    background: #02134F;
}
.carousel-noticias .nav-button{
    background: transparent;
}


.carousel-slide {
    max-height: 523px;
}
.carousel-slide-wrapper {
    flex-direction: column;
}
.carousel-home .slide-image{
    width: 100%;
    height: 210px;
}
.carousel-home .slide-content {
    width: 100%;
}
@media (min-width:768px){
    .carousel-slide-wrapper {
        flex-direction: row;
    }
    .carousel-slide {
        max-height: 304px;
    }
    .carousel-home .slide-image{
        width: 70%;
        height: auto;
    }
    .carousel-home .slide-content {
        width: 30%;
    }
}

@media (min-width: 768px){

    
}