.uoph-editorial-content {
    --uoph-overlay-duration: 240ms;
    --uoph-overlay-easing: cubic-bezier(0.2, 0, 0, 1);
    position: fixed;
    inset: 0;
    z-index: 100001;
    inline-size: 100dvw;
    block-size: 100dvh;
    max-inline-size: none;
    max-block-size: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    color: #fff;
    background: #090909;
    pointer-events: none;
    transition: opacity var(--uoph-overlay-duration) var(--uoph-overlay-easing);
    box-sizing: border-box;
}

.uoph-editorial-content *,
.uoph-editorial-content *::before,
.uoph-editorial-content *::after {
    box-sizing: border-box;
}

.uoph-editorial-content[hidden] {
    display: none;
}

.uoph-editorial-content.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.uoph-editorial-overlay-open {
    overflow: hidden !important;
}

.uoph-editorial-content__toolbar {
    position: sticky;
    inset-block-start: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-block-size: calc(56.4px + max(2rem, env(safe-area-inset-top)));
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 1rem max(1rem, env(safe-area-inset-left));
    background: #090909;
}

.uoph-editorial-content button.uoph-editorial-content__close {
    grid-column: 3;
    justify-self: end;
    color: #fff !important;
    background: transparent !important;
}

.uoph-editorial-content button.uoph-editorial-content__close:hover,
.uoph-editorial-content button.uoph-editorial-content__close:focus,
.uoph-editorial-content button.uoph-editorial-content__close:focus-visible,
.uoph-editorial-content button.uoph-editorial-content__close:active {
    color: #fff !important;
    background: transparent !important;
}

@media (hover: hover) and (pointer: fine) {
    .uoph-editorial-content button.uoph-editorial-content__close:hover {
        transform: rotate(90deg);
    }
}

.uoph-editorial-content__scene {
    inline-size: min(90rem, 100%);
    min-block-size: 100vh;
    margin: 0 auto;
    padding: clamp(5rem, 10vw, 10rem) max(1.5rem, 7vw) clamp(7.5rem, 14vw, 13.75rem);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity var(--uoph-overlay-duration) var(--uoph-overlay-easing), transform var(--uoph-overlay-duration) var(--uoph-overlay-easing);
}

.uoph-editorial-content.is-open .uoph-editorial-content__scene {
    opacity: 1;
    transform: scale(1);
}

.uoph-editorial-content__intro {
    inline-size: 100%;
    margin: 0 auto;
    text-align: center;
}

.uoph-editorial-content__intro h2 {
    max-inline-size: 51.25rem;
    margin: 0 auto;
    font-family: "UOPH Gilroy", "UOPH Gilroy Fallback", Arial, Helvetica, sans-serif;
    font-size: clamp(3.625rem, 8vw, 9.25rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.84;
}

.uoph-editorial-content__intro h2:focus,
.uoph-editorial-content__article h2:focus {
    outline: none;
}

.uoph-editorial-content__intro p {
    max-inline-size: 45rem;
    margin: clamp(1.625rem, 3vw, 2.75rem) auto 0;
    color: rgb(255 255 255 / 68%);
    font-family: "UOPH Gilroy", "UOPH Gilroy Fallback", Arial, Helvetica, sans-serif;
    font-size: clamp(1.6875rem, 2.4vw, 2.625rem);
    font-weight: 400;
    line-height: 1.2;
}

.uoph-editorial-content__articles {
    inline-size: min(70rem, 100%);
    margin: clamp(3rem, 6vw, 6rem) auto 0;
    text-align: center;
}

.uoph-editorial-content__article {
    display: flex;
    padding-block: clamp(4rem, 7vw, 7rem);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.uoph-editorial-content__article + .uoph-editorial-content__article {
    border-block-start: 1px solid rgb(255 255 255 / 18%);
}

.uoph-editorial-content__article h2,
.uoph-editorial-content__article h3 {
    max-inline-size: 53.75rem;
    margin: 0;
    font-family: "UOPH Gilroy", "UOPH Gilroy Fallback", Arial, Helvetica, sans-serif;
    font-size: clamp(2.125rem, 4.8vw, 4.625rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.uoph-editorial-content__article p {
    max-inline-size: 42.5rem;
    margin: clamp(1.75rem, 3vw, 2.875rem) auto 0;
    color: rgb(255 255 255 / 58%);
    font-family: "UOPH Gilroy", "UOPH Gilroy Fallback", Arial, Helvetica, sans-serif;
    font-size: clamp(1.125rem, 1.55vw, 1.5625rem);
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 47.99rem) {
    .uoph-editorial-content__scene {
        padding: 6rem max(1.375rem, 6vw) 7rem;
    }

    .uoph-editorial-content__intro h2 {
        font-size: clamp(3rem, 16vw, 5.125rem);
        line-height: 0.88;
    }

    .uoph-editorial-content__intro p {
        margin-block-start: 1.75rem;
        font-size: clamp(1.25rem, 5.7vw, 1.625rem);
    }

}

@media (prefers-reduced-motion: reduce) {
    .uoph-editorial-content,
    .uoph-editorial-content__scene {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
