/* Story-only content styles. The renewal shell owns header, footer and scrolling. */
body.page-story {
    --aronamin-story-header-height: 70px;
    height: auto;
    overflow-x: clip;
    overflow-y: visible;
}

body.page-story.nav-open {
    overflow: hidden;
}

/* Story now scrolls on the document, so lock that scroller while its menu is open. */
html:has(> body.page-story.nav-open) {
    overflow: hidden;
}

.page-story .story-hero {
    margin: var(--aronamin-story-header-height) 0 0;
    padding: 0;
    background: #022b7b;
}

.page-story .story-hero picture,
.page-story .story-hero img {
    display: block;
    width: 100%;
}

.page-story .story-hero img {
    height: auto;
    aspect-ratio: 1920 / 740;
    object-fit: cover;
}

.page-story .story-source {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
}

.page-story .point-hero-media img {
    object-position: center bottom;
}

.page-story .point-main {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    font-weight: 400;
}

.page-story .point-note {
    justify-items: center;
}

.page-story .ref-list {
    color: rgba(17, 17, 17, 0.52);
}

.page-story .page-note {
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 6px;
}

.page-story .page-note-text {
    text-align: left;
}

.page-story .story-note {
    margin: calc(var(--space-8) * 2) auto 0;
}

.page-story .story-note.page-note--right {
    justify-items: end;
    gap: 4px;
    filter: opacity(0.6);
}

.page-story .story-note.page-note--right .page-note-review,
.page-story .story-note.page-note--right .page-note-text {
    width: 100%;
    margin: 0;
    line-height: 1.3;
    text-align: right;
}

@media (max-width: 1024px) {
    body.page-story {
        --aronamin-story-header-height: 68px;
    }
}

@media (max-width: 720px) {
    .page-story .story-hero img {
        aspect-ratio: 750 / 950;
    }
}
