.cdmx-banner-carousel {
    font-family: "Montserrat", sans-serif;
    background: #f8f8f8;
    color: #3b2253;
    font-size: 1.2rem; /* reducido */
    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;
}

/* Banner Reloj */
.cdmx-banner-reloj {
    position: relative;
    width: 100%;
    height: 72px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cdmx-banner-reloj__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cdmx-banner-reloj__overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.55);
}

.cdmx-banner-reloj__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
}

.cdmx-banner-reloj__info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    color: #fff;
}

.cdmx-banner-reloj__title {
    font-weight: 700;
}

.cdmx-banner-reloj__ball {
    font-size: 20px;
}

.cdmx-banner-reloj__sep {
    opacity: 0.4;
    font-weight: 400;
}

.cdmx-banner-reloj__countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cdmx-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.5rem;
}

.cdmx-countdown-num {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    line-height: 1;
    color: #fff;
}

.cdmx-countdown-label {
    font-size: 0.6rem;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    opacity: 0.7;
    margin-top: 2px;
}

.cdmx-countdown-sep {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    line-height: 1;
    color: #fff;
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .cdmx-banner-reloj {
        height: 56px;
    }

    .cdmx-banner-reloj__info {
        display: none;
    }

    .cdmx-countdown-num {
        font-size: 1.1rem;
    }

    .cdmx-countdown-sep {
        font-size: 1.1rem;
    }
}

/* Banner Body */
.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);
}

/* -----------------------------------------------
   Slide mundialista
----------------------------------------------- */
.cdmx-slide--mundial .cdmx-slide-mundial {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: stretch;
    pointer-events: none;
}

.cdmx-slide-mundial__col--left {
    flex: 0 0 45%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: visible;
}

.cdmx-slide-mundial__col--right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 8%;
    z-index: 3;
    pointer-events: none;
}

/*
 * Especificidad 0,2,0 — gana sobre .cdmx-slide img (0,1,1)
 * que fuerza width:100% y height:750px a todas las imágenes del slide.
 */
.cdmx-slide--mundial .cdmx-slide-mundial__ajolote {
    width: auto;
    height: auto;
    max-height: 82%;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom left;
    transition: none;
}

.cdmx-slide--mundial .cdmx-slide-mundial__logo {
    width: 703px;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    transition: none;
}

.cdmx-slide-mundial__btn {
    margin-top: auto;
    background: #04AC99;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    height: 52px;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
    outline: none;
    box-shadow: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    pointer-events: all;
    transition: background 0.2s ease;
}

.cdmx-slide-mundial__btn:hover,
.cdmx-slide-mundial__btn:focus {
    background: #039b8a;
    color: #fff;
    text-decoration: none;
}

/* Override .cdmx-slide img (0,1,1) para el ícono dentro del botón */
.cdmx-slide--mundial .cdmx-slide-mundial__btn-icon {
    width: 24px;
    height: 24px;
    max-height: none;
    object-fit: initial;
    transition: none;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .cdmx-slide-mundial__col--left {
        flex: 0 0 42%;
    }

    .cdmx-slide--mundial .cdmx-slide-mundial__logo {
        width: 100%;
    }

    .cdmx-slide-mundial__btn {
        height: 44px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .cdmx-slide-mundial__col--left {
        flex: 0 0 48%;
    }

    .cdmx-slide--mundial .cdmx-slide-mundial__ajolote {
        max-height: 72%;
    }

    .cdmx-slide--mundial .cdmx-slide-mundial__logo {
        width: 100%;
    }

    .cdmx-slide-mundial__btn {
        height: 38px;
        font-size: 0.8rem;
        padding: 0 12px;
    }
}

/* 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;
    }

}
