/* Cheema Migration final hero slider
   External CSS file — CSP-safe and independent of Swiper. */

#cmHero {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    background: #071b3a;
    isolation: isolate;
}

#cmHero *,
#cmHero *::before,
#cmHero *::after {
    box-sizing: border-box;
}

#cmHero .cm-hero__slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 800ms ease;
}

#cmHero .cm-hero__slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#cmHero .cm-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

#cmHero .cm-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(4, 22, 51, 0.92) 0%,
        rgba(4, 22, 51, 0.66) 50%,
        rgba(4, 22, 51, 0.12) 100%
    );
    pointer-events: none;
}

#cmHero .cm-hero__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    color: #ffffff;
}

#cmHero .cm-hero__label {
    margin: 0 0 15px;
    color: #d39a22;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#cmHero .cm-hero__title {
    max-width: 850px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.08;
}

#cmHero .cm-hero__title span {
    display: block;
    color: #d39a22;
}

#cmHero .cm-hero__text {
    max-width: 680px;
    margin: 0 0 30px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.7;
}

#cmHero .cm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

#cmHero .cm-hero__button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 1px solid #d39a22;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-decoration: none;
    text-transform: uppercase;
}

#cmHero .cm-hero__button--primary {
    background: #d39a22;
    color: #061a37;
}

#cmHero .cm-hero__button--secondary {
    background: rgba(4, 22, 51, 0.25);
    color: #ffffff;
}

#cmHero .cm-hero__button:hover,
#cmHero .cm-hero__button:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #061a37;
}

#cmHero .cm-hero__controls {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

#cmHero .cm-hero__arrow {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: rgba(4, 22, 51, 0.52);
    color: #ffffff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

#cmHero .cm-hero__dots {
    display: flex;
    gap: 9px;
}

#cmHero .cm-hero__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    opacity: 0.55;
}

#cmHero .cm-hero__dot.is-active {
    background: #d39a22;
    opacity: 1;
}

@media (max-width: 768px) {
    #cmHero {
        height: 650px;
    }

    #cmHero .cm-hero__content {
        width: calc(100% - 36px);
    }

    #cmHero .cm-hero__title {
    font-size: 32px;
    line-height: 1.1;
}

    #cmHero .cm-hero__text {
        font-size: 16px;
    }

    #cmHero .cm-hero__slide::after {
        background: rgba(4, 22, 51, 0.72);
    }

    #cmHero .cm-hero__arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cmHero .cm-hero__slide {
        transition: none;
    }
}
