/* Slide Container */
.slides {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    /*overflow: hidden;*/
    min-height: 100vh;
}
@supports (min-height: 100dvh) {
    .slides {
        min-height: 100dvh;
    }
}


/* Slide Trigger */
.slide-trigger {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Individual Slide */
.slide {
    position: relative;
    z-index: 10;
    display: flex;
    background-color: rgba(4, 96, 154, 0.2);
    color: white;
}

.slide__label {
    inset: 0;
    display: flex;
    width: 100%;
    cursor: pointer;
    align-items: center;
    overflow: hidden;
    padding: 16px 56px;
}
#slide-second .slide__label {
    background-color: rgba(0, 0, 0, 0.4);
}
#slide-third .slide__label {
    background-color: rgba(0, 0, 0, 0.2);
}
.slide__label span {
    position: relative;
    font-size: 1.125rem;
    line-height: 2rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Slide Content */

.slide__content {
    display: none;
    padding: 2rem 3rem;
}

.slide__content__kicker {
    color: #cee2f2;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.slide__content__title {
    margin-bottom: 1.5rem;
    font-family: 'Noto Serif Display', ui-serif, Georgia, serif;
    font-size: 2.25rem;
    line-height: 3rem;
    font-weight: 500;
}

.slide__content__body {
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.slide__content__button {
    background-color: #cee2f2;
    display: inline-block;
    border-radius: 9999px;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: black;
    text-transform: uppercase;
}

.slide__content__button:hover {
    background-color: white;
}

/* Slide Image */
.slide-img {
    background-size: cover;
    display: none;
}
#slide-img-1 {
    background-image: url(../assets/v6/slide-1-tablet.jpg);
}
#slide-img-3 {
    background-position: center;
    background-image: url(../assets/v6/slide-3-square.jpg);
}


.slide-img--center {
    background-position: center;
}

.slide-img--r33 {
    background-position: center right 25%;
}

/* Active Slide States */
.slide-trigger:checked + .slide {
    background-color: transparent;
    flex-grow: 1;
}

.slide-trigger:checked + .slide > .slide__label {
    display: none;
}

.slide-trigger:checked + .slide > .slide__content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding-top: 96px;
}

.slide-trigger:checked + .slide + .slide-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

/* Media Queries */
@media (min-width: 640px) {
    .slides {
        min-height: auto;
        height: 100vh;
    }
    @supports (height: 100dvh) {
        .slides {
            height: 100dvh;
        }
    }

    .slide__label {
        position: absolute;
        justify-content: center;
        text-align: center;
    }

    .slide__label:hover {
        background-image: url(../assets/icons/expand.png);
        background-size: 40px;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .slide__label span {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 2px 2px 5px rgba(0, 0, 0, 0.3), 0 0 16px rgba(0, 0, 0, 0.25);
        color: white;
        transition: transform 300ms ease-in-out;
    }

    .slide__label:hover span {
        transform: translateY(24px);
    }
}
@media (min-width: 640px) and (max-width: 1023px) {
    .slides {
        min-height: 640px;
    }
    .slide {
        height: 12.5%;
    }
    .slide-trigger:checked + .slide {
        height: 75%;
    }
}
@media (min-width: 640px) and (max-width: 1023px) and (min-height: 896px) {
    .slide {
        height: 25%;
    }
    .slide-trigger:checked + .slide {
        height: 50%;
    }
}
@media (min-width: 640px) and (max-width: 1023px) and (min-height: 1024px) {
    @supports (height: calc(1px)) {
        height: calc(100vh - 48px);
    }
    @supports (height: calc(1px)) and (min-height: 100dvh) {
        .slides {
            height: calc(100dvh - 48px);
        }
    }
}

@media (min-width: 768px) {
    .slide__content {
        padding: 2rem 5rem;
    }
    #slide-img-3 {
        background-position: left;
    }
}

@media (max-width: 1023px) {
    #trigger-slide-first:checked ~ #slide-second label {
        background: none;
    }
    .slide-trigger:checked + .slide {
        order: -1;
    }
}
@media (min-width: 1024px) {
    .slides {
        height: 100vh;
        min-height: 720px;
        flex-direction: row;
        align-items: stretch;
    }
    @supports (height: calc(1px)) {
        height: calc(100vh - 144px);
    }
    @supports (height: calc(1px)) and (min-height: 100dvh) {
        .slides {
            height: calc(100dvh - 144px);
        }
    }

    .slide {
        width: 25%;
        background-color: transparent;
    }

    .slide-trigger:checked + .slide {
        width: 50%;
    }

    .slide-trigger:checked + .slide > .slide__content {
        padding-top: 0;
    }


    .slide__label {
        padding: 16px 80px;
    }
    #slide-second .slide__label {
        background-color: rgba(0, 0, 0, 0.15);
    }
    #slide-third .slide__label {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .slide__content {
        padding-left: 8rem;
    }

    #slide-img-1 {
        background-image: url(../assets/v6/slide-1.jpg);
    }
    #slide-img-3 {
        background-position: center;
        background-image: url(../assets/v6/slide-3-wide.jpg);
    }
    .slide-img--r33 {
        background-position: center;
    }
}
@media (min-width: 1536px) {
    .slide__content__title {
        font-size: 3.75rem;
        line-height: 4rem;
        margin-bottom: 2rem;
    }
    .slide__content {
        padding: 2rem 8rem;
    }
}

@media (min-width: 1024px) and (min-height: 1024px) and (max-width: 1536px) {
    .slides {
        height: 920px !important;
    }
}
@media (min-width: 1536px) and (min-height: 1536px) {
    .slides {
        height: 960px !important;
    }
}