.custom-banner-carousel {
    position: relative;
    width: 100%;
    max-width: 1440px; /* antes: var(--screen-max-width) */
    margin-inline: auto;
}

.banner-inner {
    width: 100%;
}

.banner-image-container img {
    width: 100%;
    max-height: 650px;
}

@media (max-width: 768px) { /* antes: $mobile */
    .custom-banner-carousel {
        margin-bottom: 0;
        height: auto;
    }

    .banner-inner {
        height: auto;
    }

    .banner-image-container {
        display: flex;
        flex-direction: column;
        height: 100%;
        aspect-ratio: auto;
    }

    .banner-image-container .banner-image {
        height: 256px;
        object-fit: cover;
    }
}

.b-carousel-indicators,
.b-carousel-control {
    position: absolute;
    z-index: 1;
}

.b-carousel-indicators {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    padding: 0;
    margin: 0;
}

.b-carousel-indicators li {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #0d6efd; /* antes: var(--Primario-Principal) */
    border: 2px solid #0d6efd;  /* antes: var(--Primario-Principal) */
    border-radius: 50%;
    margin: 0 5px;
    transition: 0.3s;
    cursor: pointer;
}

.b-carousel-indicators li.active {
    background-color: transparent;
}

.b-carousel-control.disable {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.b-carousel-control {
    opacity: 1; /* corregido de 1.7 */
    top: 50%;
    transform: translateY(-50%);
    transition: 0.25s;
}

.b-carousel-control-prev {
    left: 1rem;
}

.b-carousel-control-next {
    right: 1rem;
}

.b-carousel-control-icon {
    background-color: transparent;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-carousel-control-icon img {
    width: 45px;
}

.b-carousel-control-next-icon {
    rotate: -180deg;
}

/* banner image */
.banner-item {
    display: none;
    padding: 0;
}

.banner-item.active {
    display: block;
}
