.page:has(.rh-story) .page-header:has(.entry-title) {
    display: none;
}

.page:has(.rh-story) main.site-main {
    width: 100%;
    max-width: none;
}

.rh-story {
    --rh-surface: #0d0d0d;
    --rh-text: #fff;
    --rh-muted: #d0d0d0;
    --rh-orange: #ffa737;
    --rh-border: #ffffff63;
    --rh-gutter: max(24px, calc((100% - 1300px) / 2));
    color: var(--rh-text);
    background: var(--rh-surface) var(--rh-grid, none) center / 14% auto repeat;
    font-family: Manrope, sans-serif;
}

.rh-story :is(h1, h2, p, figure) {
    margin-block: 0;
}

.rh-story .rh-hero {
    display: grid;
    align-content: center;
    min-height: 700px;
    padding: 85px var(--rh-gutter);
    background:
        linear-gradient(180deg, #0d0d0d00 65%, #0d0d0d 100%),
        var(--rh-banner, none) center / cover no-repeat,
        var(--rh-surface);
}

.rh-story .rh-label {
    color: var(--rh-orange);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rh-story .rh-hero .rh-label {
    width: fit-content;
    padding: 3px 18px;
    border: 1px solid #ae731e;
    border-radius: 100px;
    color: var(--rh-text);
}

.rh-story .rh-hero h1,
.rh-story .rh-chapter h2 {
    color: var(--rh-text);
    font-family: "Space Grotesk", Manrope, sans-serif;
    font-weight: 600;
    line-height: 1.04;
    text-wrap: balance;
}

.rh-story .rh-hero h1 {
    max-width: 18ch;
    margin: 18px 0 20px;
    font-size: clamp(2rem, 4.6vw, 3rem);
    text-wrap: wrap;
}

.rh-story .rh-hero h1 em {
    font-style: normal;
}

.rh-story .rh-intro {
    max-width: 47ch;
    color: var(--rh-muted);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    line-height: 1.55;
}

.rh-story .rh-hero-dates {
    margin-top: 28px;
    color: var(--rh-orange);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.rh-story .rh-hero-action {
    margin-top: 16px;
}

.rh-story .rh-hero-action a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 17px;
    border: 1px solid #d07525;
    border-radius: 10px;
    color: var(--rh-text);
    font-weight: 700;
    text-decoration: none;
}

.rh-story .rh-hero-action a::after {
    color: var(--rh-orange);
    content: "↓";
}

.rh-story .rh-hero-action a:hover {
    color: var(--rh-orange);
    border-color: var(--rh-orange);
}

.rh-story .rh-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px var(--rh-gutter);
    border-block: 1px solid #ffffff26;
    background: #0d0d0dec;
}

.rh-story .rh-index a {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid #ffffff38;
    border-radius: 10px;
    color: var(--rh-muted);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

.rh-story .rh-index a:is(:hover, [aria-current]) {
    border-color: var(--rh-orange);
    color: var(--rh-orange);
}

.rh-story :is(a, summary):focus-visible {
    outline: 2px solid var(--rh-orange);
    outline-offset: 4px;
}

.rh-story .rh-timeline,
.rh-story .rh-sources {
    margin-inline: var(--rh-gutter);
}

.rh-story .rh-timeline {
    display: grid;
    gap: clamp(44px, 8.4vw, 160px);
    padding-top: clamp(44px, 7vw, 82px);
}

.rh-story .rh-chapter {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 41fr) minmax(0, 59fr);
    grid-template-areas: "photo copy";
    align-items: stretch;
    min-height: 464px;
    margin: 0;
    border: 1px solid var(--rh-border);
    border-radius: 35px;
    background-color: #080808;
    scroll-margin-top: 110px;
}

.rh-story .rh-chapter:nth-child(even) {
    grid-template-columns: minmax(0, 59fr) minmax(0, 41fr);
    grid-template-areas: "copy photo";
}

.rh-story .rh-chapter-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-area: copy;
    min-width: 0;
    margin: 0;
    padding: clamp(25px, 3.5vw, 48px);
    border-radius: 0 35px 35px 0;
    background: linear-gradient(#0005, #0005), var(--rh-card, none) center / cover no-repeat, #080808;
}

.rh-story .rh-chapter:nth-child(even) .rh-chapter-copy {
    border-radius: 35px 0 0 35px;
}

.rh-story .rh-chapter-copy::after {
    position: absolute;
    inset: 0 auto auto 50%;
    inline-size: 45%;
    block-size: 5px;
    transform: translate(-50%, -50%);
    border-radius: 100px;
    background: var(--rh-orange);
    box-shadow: 0 3px 7px #ffa73765, 0 12px 22px #ffa73754, 0 32px 48px #ffa73744;
    content: '';
    pointer-events: none;
}

.rh-story .rh-chapter:focus-within .rh-chapter-copy::after {
    inline-size: 75%;
}

@media (hover: hover) {
    .rh-story .rh-chapter:hover .rh-chapter-copy::after {
        inline-size: 75%;
    }

    .rh-story .rh-chapter:hover {
        border-color: #ffa73799;
        box-shadow: 0 12px 32px #0008;
    }

    .rh-story .rh-chapter:hover .rh-photo img {
        scale: 1.03;
    }
}

.rh-story .rh-chapter:target {
    border-color: #ffa73799;
}

.rh-story .rh-chapter h2 {
    margin: 12px 0 16px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.rh-story .rh-chapter p,
.rh-story .rh-sources p {
    line-height: 1.55;
}

.rh-story .rh-chapter p:not(.rh-label),
.rh-story .rh-sources p {
    color: var(--rh-muted);
}

.rh-story details {
    margin-top: 22px;
}

.rh-story details p {
    margin-top: 14px;
}

.rh-story summary {
    width: fit-content;
    padding: 11px 16px;
    border: 1px solid #d07525;
    border-radius: 10px;
    cursor: pointer;
    color: var(--rh-text);
    font-weight: 700;
}

.rh-story summary:is(:hover, :focus-visible),
.rh-story details[open] > summary {
    color: var(--rh-orange);
}

.rh-story .rh-photo {
    position: relative;
    display: grid;
    align-content: start;
    grid-area: photo;
    margin: 0;
    overflow: hidden;
    border-radius: 34px 0 0 34px;
    background: #171411;
}

.rh-story .rh-chapter:nth-child(even) .rh-photo {
    border-radius: 0 34px 34px 0;
}

.rh-story .rh-photo:not(:has(img)) {
    place-content: center;
    min-height: 260px;
    background: linear-gradient(135deg, #0b0b0bce, #251806aa), var(--rh-grid, none) center / 155px auto repeat, #171411;
}

.rh-story .rh-photo .rh-placeholder {
    padding: 8px 14px;
    border: 1px solid #ffa7376b;
    border-radius: 100px;
    color: var(--rh-muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rh-story .rh-photo:has(img) .rh-placeholder {
    display: none;
}

.rh-story .rh-photo :is(figure, img) {
    width: 100%;
}

.rh-story .rh-photo img {
    display: block;
    height: auto;
}

.rh-story .rh-photo figcaption {
    padding: 0 14px;
    color: var(--rh-muted);
}

.rh-story .rh-photo-ready {
    min-height: 0;
}

.rh-story .rh-photo-frame,
.rh-story .rh-photo-slide,
.rh-story .rh-photo-enlarge {
    position: absolute;
    inset: 0;
}

.rh-story .rh-photo-slide {
    margin: 0;
    overflow: hidden;
}

.rh-story .rh-photo-slide[hidden],
.rh-photo-dialog button[hidden] {
    display: none;
}

.rh-story .rh-photo-slide img {
    height: 100%;
    object-fit: cover;
}

.rh-story .rh-photo-slide figcaption {
    position: absolute;
    inset: 16px 65px auto 16px;
    width: fit-content;
    margin: 0;
    padding: 5px 10px;
    border-radius: 8px;
    background: #0d0b09d9;
    color: #fff;
}

.rh-story .rh-photo-enlarge {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: zoom-in;
}

.rh-story .rh-photo-enlarge:is(:hover, :focus-visible) {
    background: transparent;
}

.rh-story .rh-photo-enlarge:focus-visible {
    outline: 2px solid #ffa737;
    outline-offset: -4px;
}

.rh-story .rh-photo-controls {
    position: absolute;
    inset: auto 14px 14px auto;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid #ffffff38;
    border-radius: 30px;
    background: #0d0b09e8;
    color: #fff;
}

.rh-story .rh-photo-control,
.rh-photo-dialog .rh-photo-control {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ffffff33;
    border-radius: 50%;
    background: #14110fec;
    color: #fff;
    font: 600 1.4rem/1 system-ui, sans-serif;
}

.rh-story button.rh-photo-control,
.rh-photo-dialog button {
    cursor: pointer;
}

.rh-story .rh-photo-control:is(:hover, :focus-visible),
.rh-story .rh-photo-enlarge:focus-visible .rh-photo-control,
.rh-photo-dialog .rh-photo-control:is(:hover, :focus-visible) {
    border-color: #ffa737;
    color: #ffa737;
}

.rh-story .rh-photo-pause {
    font-size: .85rem;
}

.rh-story .rh-photo-count {
    min-width: 42px;
    text-align: center;
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
}

.rh-photo-dialog {
    position: fixed;
    width: min(94vw, 1120px);
    max-width: none;
    max-height: none;
    inset: 0;
    margin: auto;
    padding: 12px;
    border: 1px solid #ffffff33;
    border-radius: 20px;
    background: #100e0c;
    color: #fff;
}

.rh-photo-dialog::backdrop {
    background: #080808e8;
}

.rh-photo-dialog img {
    display: block;
    width: 100%;
    height: min(80dvh, 800px);
    object-fit: contain;
}

.rh-photo-dialog button {
    position: absolute;
}

.rh-photo-dialog .rh-photo-close {
    top: 12px;
    right: 12px;
}

.rh-photo-dialog :is(.rh-photo-prev, .rh-photo-next) {
    top: calc(50% - 20px);
}

.rh-photo-dialog .rh-photo-prev { left: 12px; }
.rh-photo-dialog .rh-photo-next { right: 12px; }

.rh-story .rh-sources {
    padding: 34px 0 64px;
}

.rh-story .rh-sources a {
    color: var(--rh-orange);
    text-underline-offset: 3px;
}

@media (max-width: 1024px) {
    .rh-story .rh-hero {
        min-height: 565px;
    }

    .rh-story .rh-chapter,
    .rh-story .rh-chapter:nth-child(even) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "photo" "copy";
        max-width: 685px;
        width: 100%;
        justify-self: center;
        min-height: 0;
    }

    .rh-story .rh-chapter .rh-photo,
    .rh-story .rh-chapter:nth-child(even) .rh-photo {
        border-radius: 34px 34px 0 0;
    }

    .rh-story .rh-photo-ready {
        aspect-ratio: 4 / 3;
    }

    .rh-story .rh-chapter .rh-chapter-copy,
    .rh-story .rh-chapter:nth-child(even) .rh-chapter-copy {
        border-radius: 0 0 34px 34px;
    }
}

@media (max-width: 600px) {
    .rh-story .rh-hero {
        min-height: 511px;
        padding-block: 72px 48px;
        background-position: center, 58% center, center;
    }

    .rh-story .rh-photo:not(:has(img)) {
        min-height: 165px;
    }
}

.rh-story .rh-hero :is(.rh-label, h1, .rh-intro, .rh-hero-dates, .rh-hero-action) {
    animation: rh-fade-in 440ms ease-out var(--rh-delay, 40ms) both;
}

.rh-story .rh-hero .rh-intro {
    --rh-delay: 420ms;
}

.rh-story :is(.rh-hero-dates, .rh-hero-action) {
    --rh-delay: 820ms;
}

.rh-story .rh-hero-action:focus-within {
    animation: none;
}

@keyframes rh-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rh-story .rh-hero :is(.rh-label, h1, .rh-intro, .rh-hero-dates, .rh-hero-action) {
        animation-duration: 0ms;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.rh-story) {
        scroll-behavior: smooth;
    }

    .rh-story .rh-chapter.rh-enter {
        animation: rh-fade-in 2s ease 100ms both;
    }

    .rh-story .rh-chapter.rh-reveal-pending:not(:focus-within):not(:target) {
        opacity: 0;
    }

    .rh-story .rh-chapter {
        transition: border-color .4s ease, box-shadow .4s ease;
    }

    .rh-story .rh-photo img {
        transition: scale .55s ease;
    }

    .rh-story .rh-chapter-copy::after {
        transition: inline-size 1.8s cubic-bezier(.4, 0, .2, 1);
    }

    .rh-story .rh-index a {
        transition: color .2s, border-color .2s;
    }

}
