/* 글 화면 스타일 — resources/views/site/post.blade.php 의 <style> 에서 옮김 (2026-11-17, 계획 D2) */
/* 본문 글자 크기 배율 */
:root { --fs-scale: 1; }
:root[data-fs="sm"] { --fs-scale: 0.875; }
:root[data-fs="lg"] { --fs-scale: 1.15; }

.fs-btn {
    /* 터치 목표 44px */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--warm-white);
    color: var(--stone);
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.6;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.fs-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }

.fs-btn[aria-pressed="true"] {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: white;
}

/* Article Hero.
   제목은 왼쪽 정렬. 폭을 본문(.article-content 720px)과 맞춰 PC 에서도 같은 선에서 시작한다 */
.article-hero {
    padding-top: 48px;
    text-align: left;
    max-width: 720px;
    margin: 0 auto;
    /* 글자 크기 팝업이 아래 본문(animate-in 이 쌓임 맥락을 만든다)에 가려지지 않게 */
    position: relative;
    z-index: 5;
}

.article-category {
    display: block;
    width: fit-content;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* 메타 줄: 날짜 · 조회 · 좋아요 | 가 */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--stone);
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

/* 수정일 (2026-11-17). 다른 항목과 같은 간격으로 붙인다.
   모바일에서는 숨긴다 — 조회·좋아요 숫자가 큰 글은 메타 줄이 두 줄로 넘어간다 (<time> 은 HTML 에 남아 검색엔진은 읽는다) */
.article-meta-modified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .article-meta-modified { display: none; }
}

.meta-like {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    /* 터치 목표를 키우되 줄 높이는 그대로 */
    padding: 10px 6px;
    margin: -10px -6px;
    background: none;
    border: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.meta-like:hover, .meta-like.liked { color: var(--terracotta); }

.tool-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
}

.tool-btn:hover, .tool-btn[aria-expanded="true"] { background: #EFE8E0; }

/* 글자 크기 팝업 — 가 버튼 아래 오른쪽 정렬 */
.fs-pop-wrap { position: relative; flex-shrink: 0; }

.fs-pop {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 300;
    display: flex;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--warm-white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* absolute 라 부모 폭에 맞춰 줄어들며 버튼 글자가 두 줄로 깨진다 */
.fs-pop { width: max-content; }
.fs-pop .fs-btn { white-space: nowrap; }

.fs-pop[hidden] { display: none; }

/* 모바일 읽기 바. 평소엔 숨기고, 제목을 지나면 헤더 자리를 덮는다 */
.read-bar { display: none; }

@media (max-width: 768px) {
    .read-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 150; /* 헤더(100) 위, 맨 위 진행선(200) 아래 */
        display: flex;
        align-items: center;
        gap: 4px;
        height: calc(var(--header-height) + 1px);
        padding: 0 8px;
        border-bottom: 1px solid var(--border);
        background: rgba(255,253,249,0.97);
        backdrop-filter: blur(12px);
        transform: translateY(-100%);
        visibility: hidden;
        transition: transform 0.2s, visibility 0.2s;
    }

    .read-bar.is-on { transform: none; visibility: visible; }

    .read-bar-track {
        flex: 1;
        height: 4px;
        margin: 0 8px;
        border-radius: 2px;
        background: var(--border);
        overflow: hidden;
    }

    .read-bar-fill {
        width: 0;
        height: 100%;
        background: var(--terracotta);
    }

    /* 진행은 읽기 바가 보여 준다 — 맨 위 3px 선은 겹치므로 숨긴다 */
    .scroll-progress { display: none; }
}

/* Editor Profile */
.editor-profile {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--warm-white);
    border-radius: 32px;
    margin-bottom: 40px;
}

.editor-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.editor-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.editor-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta);
}

.editor-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* Content */
.article-content {
    max-width: 720px;
    margin: 0 auto;
    /* 본문 글자 크기 조절. 배율은 :root 의 --fs-scale 이 정한다.
       line-height 는 단위 없는 1.9 라 배율을 자동으로 따라간다. */
    font-size: calc(1.1875rem * var(--fs-scale, 1));
    line-height: 1.9;
    color: var(--ink);
}

.article-content p {
    margin-bottom: 1.5em;
}

/* 소제목. 에디터가 h2 대신 <p><span 18pt><strong> 으로 만든다 — PostController::markBoldSubheadings.
   화면에는 h2 로 내보내지만(promoteSubheadings) 모양은 예전 문단 그대로: 본문 글꼴·크기를 물려받는다.
   위는 넓게, 아래는 좁게 해서 뒤 문단에 붙여 보이게 한다 */
.article-content .subhead {
    font: inherit;
    color: inherit;
    margin: 2.2em 0 0.6em;
    line-height: 1.45;
}

/* ---------- 핵심 요약 · 추천 독자 (DEV-041) ----------
   저장된 HTML 에 인라인 스타일이 박혀 있어(PostSummaryService) !important 로 덮는다.
   class 는 PostController::decorateSummaryBox / markReaderTargetBlock 이 붙인다.
   박스는 핵심 요약 하나만 쓰고, 추천 독자는 박스 없이 항목만 옅게 구분한다 */
.article-content .tpick-post-summary {
    margin: 0 0 2em !important;
    padding: 20px 20px 18px !important;
    background: #F4F7FB !important;
    background: color-mix(in srgb, var(--terracotta) 6%, #fff) !important;
    border: 0 !important;
    border-left: 4px solid var(--terracotta) !important;
    border-radius: 4px 14px 14px 4px !important;
}

.article-content .summary-title,
.article-content .reader-target-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px !important;
    font-family: var(--font-display);
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 1.4;
    color: var(--charcoal) !important;
}

.article-content .summary-title i,
.article-content .reader-target-title i { color: var(--terracotta); }

/* 요약 항목: 점 대신 강조색 번호 동그라미 */
.article-content .tpick-post-summary ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    counter-reset: summary;
    color: var(--ink) !important;
    line-height: 1.6 !important;
}

.article-content .tpick-post-summary li {
    position: relative;
    margin: 0 0 10px !important;
    padding-left: 34px;
    font-size: 0.92em;
    counter-increment: summary;
}

.article-content .tpick-post-summary li:last-child { margin-bottom: 0 !important; }

.article-content .tpick-post-summary li::before {
    content: counter(summary);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--terracotta);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

/* 추천 독자: 박스 없이 항목마다 옅은 줄 + 체크 */
.article-content p.reader-target-title { margin-top: 1.8em !important; }

.article-content .reader-target-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 2em;
    padding: 0;
    list-style: none;
}

.article-content .reader-target-list > li {
    position: relative;
    margin: 0;
    padding: 10px 14px 10px 40px;
    border-radius: 10px;
    background: #F4F7FB;
    background: color-mix(in srgb, var(--terracotta) 6%, #fff);
    font-size: 0.92em;
    line-height: 1.55;
}

.article-content .reader-target-list > li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 10px;
    font-weight: 700;
    color: var(--terracotta);
}

.article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 {
    font-family: var(--font-display);
    font-weight: 700;
    margin: 2.5em 0 1em;
    color: var(--charcoal);
}

/* 타이포그래피 스케일 (소제목 18pt 기준).
   본문과 같은 배율을 걸어야 위계가 유지된다 — 소제목만 고정하면
   '크게' 에서 본문(21.9px)이 h2(24px)에 붙어 버린다. */
.article-content h2 { font-size: calc(1.5rem * var(--fs-scale, 1)); }    /* 24px = 18pt */
.article-content h3 { font-size: calc(1.25rem * var(--fs-scale, 1)); }   /* 20px = 15pt */
.article-content h4 { font-size: calc(1.0625rem * var(--fs-scale, 1)); } /* 17px = 13pt */
.article-content h5 { font-size: calc(0.9375rem * var(--fs-scale, 1)); } /* 15px = 11pt */
.article-content h6 { font-size: calc(0.8125rem * var(--fs-scale, 1)); } /* 13px = 10pt */

.article-content blockquote {
    border-left: 3px solid var(--terracotta);
    padding: 1.5em 2em;
    margin: 2em 0;
    background: var(--warm-white);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--stone);
}

.article-content a {
    color: var(--terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content ul, .article-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.article-content li {
    margin-bottom: 0.5em;
}

/* 체크리스트 (네모 체크박스) */
.article-content ul.checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5em;
}
.article-content ul.checklist > li {
    position: relative;
    padding-left: 1.9em;
    margin-bottom: 0.6em;
    line-height: 1.6;
}
/* 기존 글에 남은 실제 체크박스 폼 요소 숨김 (CSS 네모와 중복 방지) */
.article-content ul.checklist > li input[type="checkbox"] {
    display: none;
}
.article-content ul.checklist > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 1.15em;
    height: 1.15em;
    border: 2px solid #9aa0a6;
    border-radius: 4px;
    box-sizing: border-box;
    background: #fff;
}
.article-content ul.checklist > li.checked::before {
    border-color: #2563eb;
    background: #2563eb;
}
.article-content ul.checklist > li.checked::after {
    content: "";
    position: absolute;
    left: 0.4em;
    top: 0.22em;
    width: 0.32em;
    height: 0.62em;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.article-content pre {
    background: var(--charcoal);
    color: #e5e5e5;
    padding: 1.5em;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 2em 0;
}

.article-content code {
    background: #f0ebe5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-content img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    display: block;
    margin: 1rem auto;
}

/* 사진 출처 캡션 (PostController::markImageSourceCaptions 가 class 부여) */
.article-content p.img-source {
    font-size: calc(0.8125rem * var(--fs-scale, 1));
    line-height: 1.6;
    color: var(--stone);
    text-align: center !important; /* 인라인 text-align 이 섞여 있어 덮어쓴다 */
    overflow-wrap: anywhere; /* 긴 URL 이 모바일 가로 스크롤을 만들지 않게 */
}
.article-content p:has(img) + p.img-source {
    margin-top: -1.25rem; /* 이미지에 붙인다 */
}
.article-content p.img-source a {
    color: inherit;
}

.article-content table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.article-content iframe {
    max-width: 100% !important;
}

.article-content video {
    max-width: 100% !important;
    height: auto !important;
}

/* Ad Slots */
.article-ad {
    max-width: 720px;
    width: 100%;
    margin: 24px auto;
    text-align: center;
    line-height: normal;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article-ad.is-empty {
    display: none !important;
}

.article-ad > div:not(.article-ad-label) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    overflow: visible !important;
    text-align: center !important;
}

.article-ad ins.adsbygoogle {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    text-align: center !important;
}

.article-ad ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

.article-ad iframe {
    display: block !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.article-ad ins.adsbygoogle > div,
.article-ad [id^="aswift_"] {
    max-width: 100% !important;
}

.article-ad-label {
    margin-bottom: 6px;
    font-size: 11px;
    color: var(--stone);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.article-ad-byline {
    margin-top: -8px;
    margin-bottom: 28px;
}

.article-ad-content {
    margin: 28px auto;
}

.article-ad-byline-bottom {
    margin-top: 24px;
    margin-bottom: 24px;
}

/* Action Bar */
.article-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 48px auto;
    max-width: 720px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--stone);
    transition: all 0.3s;
    font-family: var(--font-body);
}

.action-btn:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.action-btn.liked {
    background: #FEE2E2;
    border-color: #FECACA;
    color: #DC2626;
}

/* 이전/다음 글 — PC 전용. 768px 이하는 스와이프로 이동하므로 숨긴다. */
.post-nav { display: none; }

@media (min-width: 769px) {
    .post-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        max-width: 720px;
        margin: 0 auto 48px;
    }

    .post-nav-item {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 12px;
        text-decoration: none;
        transition: border-color 0.3s, background 0.3s;
    }

    .post-nav-empty { border-color: transparent; }

    a.post-nav-item:hover,
    a.post-nav-item:focus-visible {
        border-color: var(--charcoal);
        background: var(--warm-white);
    }

    .post-nav-next { text-align: right; }

    .post-nav-label {
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        color: var(--terracotta);
    }

    .post-nav-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-family: var(--font-display);
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.4;
        color: var(--charcoal);
    }
}

/* Related posts (인기·최신 스토리) — 홈 More Stories 와 같은 compact-item 행.
   compact-item 스타일은 레이아웃 공통 CSS 에 있고, 목록 컨테이너만 여기서 잡는다. */
.related-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    align-items: start;
    margin-bottom: 48px;
}

.related-section {
    min-width: 0;
}

.related-section .compact-list {
    display: flex;
    flex-direction: column;
}

/* Comments */
.comments-section {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 48px;
}

.comments-section .section-header {
    padding: 48px 0 24px;
}

.comment-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-name {
    font-size: 0.9rem;
    color: var(--charcoal);
}

.comment-date {
    font-size: 0.75rem;
    color: var(--stone);
}

.comment-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
}

.comments-empty {
    text-align: center;
    padding: 48px 0;
    color: var(--stone);
    font-size: 0.9rem;
}

.alert-success-custom {
    background: #ecfdf5;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* Modal Inputs */
.modal-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    background: none;
    resize: vertical;
}

.modal-input:focus { border-color: var(--terracotta); }
.modal-input.input-error { border-color: #DC2626; }
.input-error-msg { color: #DC2626; font-size: 0.8rem; margin-top: 4px; }

/* Share Grid */
.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--ink);
    font-family: var(--font-body);
    transition: all 0.3s;
}

.share-btn i { font-size: 1.25rem; }

.share-btn:hover {
    background: var(--warm-white);
    border-color: var(--charcoal);
}

/* Responsive */
@media (max-width: 768px) {
    .article-title { font-size: 2rem; }
    /* 줄 사이는 좁히고 문단 사이는 넓혀 문단 단위가 뭉쳐 보이게 (DEV-040) */
    .article-content { font-size: calc(1.125rem * var(--fs-scale, 1)); line-height: 1.75; }
    .article-content p { margin-bottom: 1.6em; }
    .article-hero { padding-top: 32px; }
    .article-ad { margin: 14px auto; }
    .article-ad > div:not(.article-ad-label) {
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 auto !important;
    }
    .article-ad-label { margin-bottom: 4px; }
    .article-ad-byline {
        margin-top: -4px;
        margin-bottom: 16px;
    }
    .article-ad-content {
        margin-top: 14px;
        margin-bottom: 16px;
    }
    .article-ad-byline-bottom {
        margin-top: 16px;
        margin-bottom: 14px;
    }
    .article-actions { gap: 8px; padding: 20px 0; margin: 24px auto; }
    .action-btn { padding: 8px 14px; font-size: 0.8rem; }
    .related-wrap { grid-template-columns: 1fr; }
    .article-content img { max-width: 100% !important; width: 100% !important; height: auto !important; }
    .article-content { overflow-x: hidden; word-wrap: break-word; }
    .comments-section .section-header { padding: 32px 0 16px; }
}

/* ============================================
   모바일 좌우 스와이프 내비게이션
   ============================================ */
/* 터치 가능한 모바일 폭에서만 JS 가 is-enabled 를 붙인다 */
.swipe-nav { display: none; }
.swipe-nav.is-enabled { display: block; }

.swipe-peek {
    position: fixed;
    top: 50%;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 66vw;
    padding: 11px 15px;
    background: var(--charcoal);
    color: #fff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.swipe-peek-text { overflow: hidden; text-overflow: ellipsis; }

.swipe-peek-prev {
    left: 0;
    transform: translate(-100%, -50%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.swipe-peek-next {
    right: 0;
    transform: translate(100%, -50%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* 임계값을 넘겨 손을 떼면 이동하는 상태 */
.swipe-peek.is-armed { background: var(--terracotta); }

/* 그 방향에 글이 없음 — 끝까지 밀어도 이동하지 않는다 */
.swipe-peek.is-dead { background: var(--stone); }

/* 손을 뗀 뒤 제자리로 돌아갈 때만 전환을 켠다. 드래그 중에는 손가락을 즉시 따라야 한다 */
.swipe-peek.is-settling { transition: transform 0.2s ease-out, opacity 0.2s ease-out; }

/* 최초 1회 힌트 — 보이지 않는 기능이라 아무도 모르면 없는 것과 같다 */
.swipe-hint {
    position: fixed;
    left: 50%;
    bottom: 78px;
    z-index: 1040;
    transform: translateX(-50%);
    padding: 9px 16px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.swipe-hint.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .swipe-peek.is-settling,
    .swipe-hint { transition: none; }
}

/* 글 머리·본문은 처음부터 화면에 있는 자리라, 페이지 끝 스크립트(site.js 가 .visible 을 붙임)를 기다리지 않고
   CSS 로 바로 나타나게 한다. 예전에는 외부 스크립트가 끝날 때까지 투명이라 첫 화면 표시(LCP)가 약 4초였다 (2026-11-17).
   모양은 같다 — 0.5초 동안 20px 올라오며 나타나고, 본문은 0.1초 늦게(.delay-1 과 같음) */
.article-hero.animate-in,
.article-content.animate-in {
    animation: tp-reveal 0.5s ease both;
}

.article-content.animate-in {
    animation-delay: 0.1s;
}

@keyframes tp-reveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
