/* Carrossel de Banners - Estilo Correios */
.bannersro {
    margin: 20px 0 100px 0;
    background: transparent;
    padding: 20px 80px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    background-color: transparent !important;
    width: 300px;
    height: 150px;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: none;
    z-index: 1;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent !important;
    background-color: transparent !important;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-item img,
.carousel-item picture,
.banner-geral,
.banner-placeholder {
    width: 300px;
    height: 150px;
    object-fit: fill;
    display: block;
}

/* Botões externos do carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #0073ab;
    border: 2px solid #004080;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: all 0.3s ease;
    outline: none;
}

.carousel-btn:hover {
    background-color: #004080;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 40px;
}

.carousel-btn-next {
    right: 40px;
}

/* Responsividade para botões externos */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-btn-prev {
        left: 35px;
    }
    
    .carousel-btn-next {
        right: 35px;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 48px;
        color: #999999;
        background-color: transparent;
        border: none;
    }
    
    .carousel-btn:hover {
        color: #666666;
        background-color: transparent;
    }
    
    .carousel-btn-prev {
        left: 50px;
    }
    
    .carousel-btn-next {
        right: 50px;
    }
}



/* Responsividade */
@media (max-width: 768px) {
    .bannersro {
        margin: 15px 0;
    }
    
    .carousel {
        max-width: 280px;
        height: 140px;
    }
    
    .carousel-inner {
        height: 140px;
    }
    
    .carousel-item {
        height: 140px;
        width: 280px;
    }
    
    .carousel-item img,
    .carousel-item picture,
    .banner-geral {
        width: 280px;
        height: 140px;
        object-fit: fill;
    }
    

}

@media (max-width: 480px) {
    .bannersro {
        margin: 10px 0;
    }
    
    .carousel {
        max-width: 250px;
        height: 125px;
    }
    
    .carousel-inner {
        height: 125px;
    }
    
    .carousel-item {
        height: 125px;
        width: 250px;
    }
    
    .carousel-item img,
    .carousel-item picture,
    .banner-geral {
        width: 250px;
        height: 125px;
        object-fit: fill;
    }
    

}