html {
    overflow-x: clip;
}

.ce-banner {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background: #0a0a0a;
    height: 95vh;
    min-height: 400px;
}

.ce-banner--loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ce-banner__loader {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255,255,255,.12);
    border-top-color: rgba(255,255,255,.7);
    border-radius: 50%;
    animation: ce-spin 0.9s linear infinite;
}

@keyframes ce-spin {
    to { transform: rotate(360deg); }
}

.ce-banner__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.ce-banner__slide--active {
    opacity: 1;
}

.ce-banner__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,  rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 50%, transparent 100%),
        linear-gradient(to right, rgba(0,0,0,.5) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

.ce-banner__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.ce-banner__caption {
    position: absolute;
    bottom: 80px;
    left: 0;
    z-index: 3;
    padding: clamp(24px, 5vw, 60px) clamp(24px, 6vw, 80px);
    max-width: 580px;
}

.ce-banner__title {
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
    letter-spacing: -0.02em;
}

.ce-banner__details-btn {
    display: inline-block;
    padding: 9px 24px;
    border: 1.5px solid rgba(255,255,255,.7);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    letter-spacing: .07em;
    text-transform: uppercase;
    position: relative;
    z-index: 3;
    transition: background .2s, border-color .2s;
}

.ce-banner__details-btn:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}


.ce-banner__nav {
    position: absolute;
    bottom: clamp(16px, 3vw, 32px);
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.ce-banner__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    transition: color 0.25s;
    flex-shrink: 0;
}

.ce-banner__btn:hover {
    color: #fff;
}

.ce-banner__btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

.ce-banner__dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ce-banner__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s, border-radius 0.3s, border-color 0.3s;
}

.ce-banner__dot--active {
    background: #fff;
    border-color: #fff;
    width: 22px;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .ce-banner {
        height: 70vh;
    }

    .ce-banner__caption {
        bottom: 60px;
    }
}

@media (max-width: 480px) {
    .ce-banner {
        height: 85vh;
    }

    .ce-banner__btn {
        display: none;
    }

    .ce-banner__caption {
        bottom: 50px;
    }
}
