/* =========================================================
   ISIDORA FONT
========================================================= */

@font-face {
    font-family: "Isidora";

    src: url("../../../assets/fonts/isidora-light.woff")
        format("woff");

    font-weight: 300;
    font-style: normal;

    font-display: swap;
}


/* =========================================================
   RESET
========================================================= */

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


html,
body {
    width: 100%;

    margin: 0;
    padding: 0;
}


body {
    overflow-x: hidden;

    background: #f7f3ee;
}


/* =========================================================
   UPCOMING WELCOME
========================================================= */

.dev1-cbox-upcoming-welcome {
    --upcoming-purple: #5d2892;
    --upcoming-yellow: #e5b936;
    --upcoming-text: #655d78;

    width: 100%;

    padding:
        32px
        42px
        22px;

    background: #f7f3ee;

    color: #17101d;

    font-family: "Isidora", sans-serif;

    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.dev1-cbox-upcoming-welcome__container {
    width: 100%;

    max-width: 1800px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(380px, 0.88fr)
        minmax(650px, 1.12fr);

    align-items: center;

    gap: 55px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.dev1-cbox-upcoming-welcome__content {
    width: 100%;

    min-width: 0;
}


.dev1-cbox-upcoming-welcome__eyebrow {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 18px;

    color: var(--upcoming-purple);

    font-size: 13px;

    font-weight: 300;

    line-height: 1;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.dev1-cbox-upcoming-welcome__eyebrow-line {
    display: block;

    width: 38px;

    height: 2px;

    flex: 0 0 38px;

    background: var(--upcoming-yellow);
}


.dev1-cbox-upcoming-welcome__title {
    max-width: 560px;

    margin: 0;

    color: var(--upcoming-purple);

    font-family: "Isidora", sans-serif;

    font-size:
        clamp(
            52px,
            5.1vw,
            76px
        );

    font-weight: 300;

    line-height: 0.98;

    letter-spacing: -0.035em;

    text-transform: uppercase;
}


.dev1-cbox-upcoming-welcome__description {
    max-width: 720px;

    margin: 34px 0 0;

    color: var(--upcoming-text);

    font-family: "Isidora", sans-serif;

    font-size:
        clamp(
            17px,
            1.35vw,
            22px
        );

    font-weight: 300;

    line-height: 1.7;
}


/* =========================================================
   CAROUSEL
========================================================= */

.dev1-cbox-upcoming-welcome__carousel {
    position: relative;

    width: 100%;

    min-width: 0;
}


.dev1-cbox-upcoming-welcome__slides {
    position: relative;

    width: 100%;

    height: 356px;

    overflow: hidden;

    border-radius:
        32px
        0
        32px
        0;

    background: #24182b;
}


/* =========================================================
   SLIDES
========================================================= */

.dev1-cbox-upcoming-welcome__slide {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    opacity: 0;

    visibility: hidden;

    transform: scale(1.015);

    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.7s ease;
}


.dev1-cbox-upcoming-welcome__slide.is-active {
    opacity: 1;

    visibility: visible;

    transform: scale(1);
}


/* =========================================================
   IMAGE
========================================================= */

.dev1-cbox-upcoming-welcome__image {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   VIDEO
========================================================= */

.dev1-cbox-upcoming-welcome__video {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    background: #17101d;
}


/* =========================================================
   IMAGE / VIDEO OVERLAY
========================================================= */

.dev1-cbox-upcoming-welcome__image-overlay {
    position: absolute;

    z-index: 2;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(30, 4, 47, 0.38) 0%,
            rgba(30, 4, 47, 0.08) 52%,
            rgba(10, 7, 25, 0.20) 100%
        );

    pointer-events: none;
}


/* =========================================================
   SPOTLIGHT
========================================================= */

.dev1-cbox-upcoming-welcome__spotlight {
    position: absolute;

    z-index: 5;

    right: 28px;

    bottom: 74px;

    min-width: 220px;

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding:
        11px
        18px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.45
        );

    border-radius: 3px;

    background:
        rgba(
            25,
            8,
            34,
            0.72
        );

    color: #ffffff;

    text-align: right;

    backdrop-filter: blur(4px);
}


.dev1-cbox-upcoming-welcome__spotlight-label {
    color: #ddd4e4;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 9px;

    font-weight: 600;

    line-height: 1.2;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.dev1-cbox-upcoming-welcome__spotlight-title {
    color: #ffffff;

    font-family: "Isidora", sans-serif;

    font-size: 16px;

    font-weight: 300;

    line-height: 1.2;
}


/* =========================================================
   ARROWS
========================================================= */

.dev1-cbox-upcoming-welcome__arrow {
    position: absolute;

    z-index: 8;

    bottom: 17px;

    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.75
        );

    border-radius: 3px;

    background:
        rgba(
            30,
            10,
            42,
            0.65
        );

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 19px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.dev1-cbox-upcoming-welcome__arrow:hover {
    background:
        rgba(
            94,
            43,
            120,
            0.9
        );
}


.dev1-cbox-upcoming-welcome__arrow:active {
    transform: scale(0.94);
}


.dev1-cbox-upcoming-welcome__arrow--prev {
    left: 22px;
}


.dev1-cbox-upcoming-welcome__arrow--next {
    right: 22px;
}


/* =========================================================
   PAGINATION
========================================================= */

.dev1-cbox-upcoming-welcome__pagination {
    position: absolute;

    z-index: 8;

    left: 50%;

    bottom: 32px;

    display: flex;

    align-items: center;

    gap: 9px;

    transform: translateX(-50%);
}


.dev1-cbox-upcoming-welcome__dot {
    width: 7px;

    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.65
        );

    cursor: pointer;

    transition:
        width 0.25s ease,
        border-radius 0.25s ease,
        background 0.25s ease;
}


.dev1-cbox-upcoming-welcome__dot.is-active {
    width: 30px;

    border-radius: 10px;

    background: #ffffff;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1600px) {

    .dev1-cbox-upcoming-welcome {
        padding-left: 55px;

        padding-right: 55px;
    }


    .dev1-cbox-upcoming-welcome__container {
        gap: 70px;
    }


    .dev1-cbox-upcoming-welcome__slides {
        height: 390px;
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1100px) {

    .dev1-cbox-upcoming-welcome {
        padding:
            28px
            30px
            24px;
    }


    .dev1-cbox-upcoming-welcome__container {
        grid-template-columns:
            minmax(300px, 0.8fr)
            minmax(500px, 1.2fr);

        gap: 35px;
    }


    .dev1-cbox-upcoming-welcome__title {
        font-size:
            clamp(
                48px,
                6vw,
                66px
            );
    }


    .dev1-cbox-upcoming-welcome__description {
        margin-top: 25px;

        font-size: 17px;
    }


    .dev1-cbox-upcoming-welcome__slides {
        height: 320px;

        border-radius:
            28px
            0
            28px
            0;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .dev1-cbox-upcoming-welcome {
        padding:
            28px
            24px
            24px;
    }


    .dev1-cbox-upcoming-welcome__container {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .dev1-cbox-upcoming-welcome__content {
        max-width: 700px;
    }


    .dev1-cbox-upcoming-welcome__title {
        font-size:
            clamp(
                48px,
                9vw,
                70px
            );
    }


    .dev1-cbox-upcoming-welcome__description {
        max-width: 650px;

        margin-top: 22px;
    }


    .dev1-cbox-upcoming-welcome__slides {
        height: 360px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .dev1-cbox-upcoming-welcome {
        padding:
            24px
            16px
            20px;
    }


    .dev1-cbox-upcoming-welcome__container {
        gap: 24px;
    }


    .dev1-cbox-upcoming-welcome__eyebrow {
        gap: 10px;

        margin-bottom: 14px;

        font-size: 11px;
    }


    .dev1-cbox-upcoming-welcome__eyebrow-line {
        width: 30px;

        flex-basis: 30px;
    }


    .dev1-cbox-upcoming-welcome__title {
        font-size:
            clamp(
                43px,
                13vw,
                62px
            );

        line-height: 0.98;
    }


    .dev1-cbox-upcoming-welcome__description {
        margin-top: 20px;

        font-size: 15px;

        line-height: 1.55;
    }


    .dev1-cbox-upcoming-welcome__slides {
        height: 290px;

        border-radius:
            22px
            0
            22px
            0;
    }


    .dev1-cbox-upcoming-welcome__spotlight {
        right: 14px;

        bottom: 62px;

        min-width: 165px;

        padding:
            8px
            12px;
    }


    .dev1-cbox-upcoming-welcome__spotlight-label {
        font-size: 8px;
    }


    .dev1-cbox-upcoming-welcome__spotlight-title {
        font-size: 12px;
    }


    .dev1-cbox-upcoming-welcome__arrow {
        bottom: 13px;

        width: 36px;

        height: 36px;

        font-size: 16px;
    }


    .dev1-cbox-upcoming-welcome__arrow--prev {
        left: 13px;
    }


    .dev1-cbox-upcoming-welcome__arrow--next {
        right: 13px;
    }


    .dev1-cbox-upcoming-welcome__pagination {
        bottom: 27px;

        gap: 7px;
    }


    .dev1-cbox-upcoming-welcome__dot {
        width: 6px;

        height: 6px;
    }


    .dev1-cbox-upcoming-welcome__dot.is-active {
        width: 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .dev1-cbox-upcoming-welcome {
        padding-left: 14px;

        padding-right: 14px;
    }


    .dev1-cbox-upcoming-welcome__title {
        font-size: 42px;
    }


    .dev1-cbox-upcoming-welcome__slides {
        height: 245px;

        border-radius:
            18px
            0
            18px
            0;
    }


    .dev1-cbox-upcoming-welcome__spotlight {
        right: 10px;

        bottom: 54px;

        min-width: 145px;
    }


    .dev1-cbox-upcoming-welcome__spotlight-title {
        font-size: 11px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dev1-cbox-upcoming-welcome__slide,
    .dev1-cbox-upcoming-welcome__arrow,
    .dev1-cbox-upcoming-welcome__dot {
        transition: none;
    }

}