.cdmx-banner-carousel {
    font-family: "Montserrat", sans-serif;
    background: #f8f8f8;
    color: #3b2253;
    font-size: 1.2rem; /* reducido */
    border-bottom: 1px solid #ccc;
    padding-top: 5rem;
}

.cdmx-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f8efdc;
    border-bottom: 1px solid #f8efdc;
    flex-wrap: wrap;
    font-size: 0.8rem;
    gap: 0.5rem;
}

.cdmx-date,
.cdmx-time,
.cdmx-weather {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cdmx-weather {
    gap: 0.3rem;
    font-size: 0.8rem;
}

.cdmx-weather span:first-child {
    font-size: 1rem;
}

.cdmx-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.cdmx-search input {
    border: none;
    padding: 5px 8px;
    font-size: 0.75rem;
}

.cdmx-search button {
    background: #8e24aa;
    color: white;
    border: none;
    padding: 5px 8px;
    font-size: 0.75rem;
}

.cdmx-banner-body {
    position: relative;
    overflow: hidden;
    max-height: 750px;
    width: 100%;
    height: 750px;
    min-height: 750px;
}

.cdmx-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 2s;
    z-index: 0;
}

.cdmx-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear;
}

.cdmx-slide img {
    width: 100%;
    height: 750px;
    max-height: 750px;
    object-fit: cover;
    object-position: center;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cdmx-slide-caption {
    position: absolute;
    bottom: 5%;
    right: 5%;
    background: rgba(255, 251, 251, 0.7);
    padding: 16px 24px;
    border-radius: 8px;
    width: 382px;
    max-width: 90%;
    font-size: 0.9rem;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #3b2253;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s,
                transform 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.cdmx-slide.active .cdmx-slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.cdmx-dots {
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    text-align: center;
    padding: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #FF4991;
    transition: background-color 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Media queries para responsivo */
/* Tablets y dispositivos móviles */
@media (max-width: 1024px) {
    .cdmx-slide-caption {
        display: none;
    }
}

/* Ajustes adicionales para móviles */
@media (max-width: 768px) {
    .cdmx-banner-carousel {
        /* Padding óptimo para móvil */
        padding-top: calc(4rem + 1vw);
        z-index: 1;
    }

    /* Override para sección explora */
    .contenido-explora {
        padding-top: 4rem !important;
    }

    .cdmx-banner-header {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }

    /* Ajustes para imágenes en móvil */
    .cdmx-banner-body {
        max-height: 400px;
        height: 400px;
        min-height: 400px;
    }

    .cdmx-slide img {
        max-height: 400px;
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 400px;
    }

    .cdmx-search input,
    .cdmx-search button {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    /* Ajustes para los dots en móvil */
    .cdmx-dots {
        bottom: 2%;
        padding: 0.5rem;
        gap: 0.3rem;
    }

    .dot {
        width: 14px;
        height: 14px;
        margin: 0 3px;
    }

}
