/* ============================================
   사이루트 (PsyRoute) - 프리미엄 아티클 스타일
   대기업 공식 홈페이지 수준의 하이엔드 본문 디자인
   ============================================ */

/* Paperlogy 프리미엄 폰트 */
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

/* ----------------------------------------
   CSS Variables
   ---------------------------------------- */
:root {
    --color-bg: #FFFFFF;
    --color-bg-warm: #FAFAFA;
    --color-text: #1a1a1a;
    --color-text-secondary: #4a4a4a;
    --color-text-muted: #888888;
    --color-accent: #c9a96e;
    --color-border: #e8e8e8;
    --font-primary: 'Paperlogy', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
    --content-max: 900px;
}

/* ----------------------------------------
   Reset & Base
   ---------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ----------------------------------------
   공통 헤더 스타일
   ---------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 24px 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    border-radius: 12px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.site-header.scrolled .logo-text {
    color: var(--color-text);
}

.main-nav {
    display: flex;
    gap: 48px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.site-header.scrolled .nav-link {
    color: var(--color-text-secondary);
}

.nav-link:hover {
    color: white;
}

.site-header.scrolled .nav-link:hover {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
}

.site-header.scrolled .mobile-menu-btn {
    color: var(--color-text);
}

/* ----------------------------------------
   히어로 섹션 - 프리미엄 풀스크린
   ---------------------------------------- */
.article-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 30, 0.3) 0%,
        rgba(10, 15, 30, 0.5) 50%,
        rgba(10, 15, 30, 0.8) 100%
    );
    z-index: 1;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 5%;
    width: 100%;
}

.article-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.article-category:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.article-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.article-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 400;
}

.meta-author {
    font-weight: 600;
    color: white;
}

.meta-separator {
    opacity: 0.5;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 28px;
    height: 28px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ----------------------------------------
   본문 콘텐츠 - 대기업 공홈 스타일 (넓은 폭)
   ---------------------------------------- */
.article-content {
    background: var(--color-bg);
    position: relative;
    z-index: 10;
}

.article-body {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 100px 5%;
    font-family: var(--font-primary);
    font-size: 19px;
    line-height: 2;
    color: var(--color-text-secondary);
}

/* 리드 문단 - 프리미엄 강조 */
.article-body > p:first-of-type {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}

/* 문단 */
.article-body p {
    margin-bottom: 32px;
    letter-spacing: -0.2px;
}

/* H2 - 대기업 공홈 스타일 */
.article-body h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 72px 0 28px;
    line-height: 1.35;
    letter-spacing: -0.5px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
}

/* H3 */
.article-body h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 48px 0 20px;
    letter-spacing: -0.3px;
}

/* ----------------------------------------
   리드 문단 (첫 문단 강조)
   ---------------------------------------- */
.article-body .article-lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #334155;
    font-weight: 500;
    padding: 28px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 5px solid #3182F6;
    border-radius: 0 16px 16px 0;
    margin-bottom: 2.5em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ----------------------------------------
   강조 박스 (파란색)
   ---------------------------------------- */
.highlight-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 5px solid #3182F6;
    padding: 24px 28px;
    margin: 1.8em 0;
    border-radius: 0 12px 12px 0;
    color: #1e40af;
    font-size: 1.05rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(49, 130, 246, 0.08);
}

.highlight-box strong {
    color: #1e3a8a;
    font-weight: 700;
}

/* ----------------------------------------
   정보 박스 (파란색)
   ---------------------------------------- */
.info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 5px solid #3b82f6;
    padding: 24px 28px;
    margin: 1.8em 0;
    border-radius: 0 12px 12px 0;
    color: #1e40af;
    font-size: 1.05rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.info-box h3,
.info-box h4 {
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-box a {
    color: #1d4ed8;
    font-weight: 600;
}

.info-box ul {
    margin: 12px 0 0 0 !important;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
}

/* ----------------------------------------
   경고 박스 (주황색)
   ---------------------------------------- */
.warning-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-left: 5px solid #FF6B35;
    padding: 24px 28px;
    margin: 1.8em 0;
    border-radius: 0 12px 12px 0;
    color: #9a3412;
    font-size: 1.05rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
}

.warning-box strong {
    color: #7c2d12;
    font-weight: 700;
}

.warning-box h4 {
    color: #7c2d12;
    font-weight: 700;
    margin-bottom: 12px;
}

/* 인용구 - 프리미엄 디자인 */
.article-body blockquote {
    margin: 48px 0;
    padding: 40px 48px;
    background: var(--color-bg-warm);
    border-left: 4px solid var(--color-accent);
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    border-radius: 0 16px 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.article-body blockquote p {
    margin: 0;
}

/* 강조 */
.article-body strong {
    font-weight: 700;
    color: var(--color-text);
}

/* 리스트 */
.article-body ul,
.article-body ol {
    margin: 28px 0;
    padding-left: 32px;
}

.article-body li {
    margin-bottom: 14px;
    line-height: 1.8;
}

/* ----------------------------------------
   작성자 섹션
   ---------------------------------------- */
.author-section {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 5% 50px;
}

.author-card {
    display: flex;
    gap: 32px;
    padding: 40px;
    background: var(--color-bg-warm);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.author-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.author-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.author-bio {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* ----------------------------------------
   FAQ 섹션
   ---------------------------------------- */
.faq-section {
    margin: 32px 0;
}

.faq-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-question:hover {
    background: rgba(201, 169, 110, 0.05);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer p {
    margin: 0;
}

/* ----------------------------------------
   공통 푸터 스타일
   ---------------------------------------- */
.site-footer {
    background: var(--color-text);
    color: white;
    padding: 80px 5% 50px;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand span {
    font-weight: 400;
    opacity: 0.6;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social {
    display: none !important;
}

.footer-social a {
    opacity: 0.6;
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 1;
}

/* ----------------------------------------
   본문 콘텐츠 - 표
   ---------------------------------------- */
.article-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2em 0;
    font-size: 0.95rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.article-body thead {
    background: #3182F6;
}

.article-body th {
    padding: 16px 20px;
    font-weight: 600;
    color: white;
    text-align: left;
    font-size: 0.9rem;
    border: none;
}

.article-body td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    line-height: 1.7;
}

.article-body tbody tr:last-child td {
    border-bottom: none;
}

.article-body tbody tr:nth-child(even) {
    background: #f8fafc;
}

.article-body tbody tr:hover {
    background: #edf2f7;
}

/* 첫 번째 열 너비 고정 (단계 컬럼) */
.article-body td:first-child,
.article-body th:first-child {
    width: 80px;
    min-width: 80px;
    white-space: nowrap;
    text-align: center;
}

/* ----------------------------------------
   요약 정리 박스 - Premium Card Style
   ---------------------------------------- */
.summary-box {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 2em 0 0.85em;
    box-shadow: 
        0 4px 6px -1px rgba(49, 130, 246, 0.1),
        0 10px 20px -5px rgba(49, 130, 246, 0.15);
    border: 1px solid #e0f2fe;
    position: relative;
    overflow: hidden;
}

/* 왼쪽 포인트 바 */
.summary-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #3182F6 0%, #60a5fa 50%, #3182F6 100%);
}

.summary-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #3182F6 0%, #2563eb 100%);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(49, 130, 246, 0.3);
}

/* 라벨 아이콘 */
.summary-label::before {
    content: '✓';
    font-size: 0.9rem;
}

.summary-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0f2fe;
}

.summary-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-box li {
    position: relative;
    padding-left: 28px;
    padding-bottom: 14px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.summary-box li:last-child {
    padding-bottom: 0;
}

/* 체크 아이콘 */
.summary-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #3182F6;
    font-size: 1.4rem;
    line-height: 1.4;
}

/* 모바일 */
@media (max-width: 768px) {
    .summary-box {
        padding: 24px;
        border-radius: 16px;
    }
    
    .summary-box h4 {
        font-size: 1.1rem;
    }
    
    .summary-box li {
        font-size: 0.95rem;
        padding-left: 24px;
    }
}

/* ----------------------------------------
   FAQ 섹션 (details/summary) - Premium Style
   ---------------------------------------- */
.article-body details {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    margin: 16px 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-body details:hover {
    box-shadow: 0 8px 24px rgba(49, 130, 246, 0.12);
    border-color: #3182F6;
    transform: translateY(-2px);
}

.article-body summary {
    padding: 24px 28px;
    font-weight: 600;
    font-size: 1.08rem;
    color: #1a202c;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #ffffff 0%, #f7fafc 100%);
}

.article-body summary::-webkit-details-marker {
    display: none;
}

/* 플러스 아이콘 원형 배경 */
.article-body summary::before {
    content: '';
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #3182F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 가로선 */
.article-body summary::after {
    content: '';
    position: absolute;
    right: 41px;
    width: 12px;
    height: 2px;
    background: white;
    border-radius: 1px;
    z-index: 2;
    transition: all 0.3s ease;
}

/* 세로선 (플러스 모양 완성) */
.article-body summary span.icon-plus {
    display: none;
}

/* 열린 상태 */
.article-body details[open] {
    box-shadow: 0 12px 32px rgba(49, 130, 246, 0.15);
    border-color: #3182F6;
}

.article-body details[open] summary {
    background: linear-gradient(90deg, #ebf8ff 0%, #f0f9ff 100%);
    color: #1e40af;
    border-bottom: 1px solid #bee3f8;
}

.article-body details[open] summary::before {
    background: #FF6B35;
    transform: rotate(45deg);
}

.article-body details > div {
    padding: 24px 28px;
    color: #4a5568;
    line-height: 1.9;
    font-size: 1.02rem;
    background: #ffffff;
}

/* 답변 내용 */
.article-body details > div p {
    margin: 0;
}

/* 모바일 */
@media (max-width: 768px) {
    .article-body summary {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .article-body summary::before {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }
    
    .article-body summary::after {
        right: 34px;
        width: 10px;
    }
    
    .article-body details > div {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
}

/* ----------------------------------------
   참고 자료 섹션
   ---------------------------------------- */
.references-section {
    max-width: 720px;
    margin: 60px auto 0;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.references-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #3182F6;
}

.references-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.references-section li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
}

.references-section li:last-child {
    border-bottom: none;
}

.references-section a {
    color: #3182F6;
    text-decoration: underline;
    word-break: break-all;
}

.references-section a:hover {
    color: #2c5aa0;
}

/* ----------------------------------------
   YMYL 면책 조항
   ---------------------------------------- */
.ymyl-notice {
    max-width: 720px;
    margin: 40px auto 80px;
    padding: 24px 28px;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #742a2a;
}

.ymyl-notice strong {
    color: #c53030;
    font-weight: 700;
}

/* ----------------------------------------
   반응형
   ---------------------------------------- */
@media (max-width: 1024px) {
    .article-body {
        padding: 80px 5%;
        font-size: 18px;
    }
    
    .article-body > p:first-of-type {
        font-size: 1.2rem;
    }
    
    .article-body h2 {
        font-size: 1.6rem;
    }
    
    .article-body blockquote {
        padding: 32px 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .article-body table {
        display: block;
        overflow-x: auto;
        font-size: 0.85rem;
    }
    
    .article-body th,
    .article-body td {
        padding: 12px 14px;
        white-space: normal;
    }
    
    .article-body td:first-child,
    .article-body th:first-child {
        width: 55px;
        min-width: 55px;
        white-space: nowrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-btn:active {
        background: rgba(0, 0, 0, 0.05);
        transform: scale(0.95);
    }
    
    /* 햄버거 버튼 애니메이션 */
    .mobile-menu-btn svg {
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-btn[aria-expanded="true"] svg {
        transform: rotate(90deg);
    }
    
    .mobile-menu-btn line {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }
    
    .mobile-menu-btn[aria-expanded="true"] line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-menu-btn[aria-expanded="true"] line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .mobile-menu-btn[aria-expanded="true"] line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    /* 오버레이 딤드 */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 30, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* 모바일 메뉴 활성화 상태 - 슬라이드 인 */
    .main-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        padding: 100px 32px 40px;
        gap: 0;
        box-shadow: -10px 0 60px rgba(0, 0, 0, 0.15);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 999;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav .nav-link {
        padding: 20px 0;
        font-size: 18px;
        font-weight: 600;
        color: var(--color-text);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .main-nav.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* 순차 등장 애니메이션 */
    .main-nav.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active .nav-link:nth-child(2) { transition-delay: 0.18s; }
    .main-nav.active .nav-link:nth-child(3) { transition-delay: 0.26s; }
    
    .main-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .main-nav .nav-link::after {
        display: none;
    }
    
    .main-nav .nav-link:hover {
        color: var(--color-accent);
        padding-left: 8px;
    }
    
    .article-hero {
        height: 65vh;
        min-height: 500px;
    }
    
    .article-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }
    
    .article-subtitle {
        font-size: 1.05rem;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 14px;
    }
    
    .article-body {
        padding: 60px 5%;
        font-size: 17px;
        line-height: 1.9;
    }
    
    .article-body > p:first-of-type {
        font-size: 1.15rem;
        margin-bottom: 40px;
        padding-bottom: 32px;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin: 48px 0 20px;
        padding-bottom: 16px;
    }
    
    .article-body h3 {
        font-size: 1.2rem;
    }
    
    .article-body blockquote {
        padding: 28px;
        font-size: 1.05rem;
        margin: 36px 0;
    }
    
    .article-body .article-lead {
        font-size: 1.05rem;
        padding: 20px 24px;
        margin-bottom: 2em;
    }
    
    .highlight-box,
    .warning-box {
        padding: 20px 24px;
        font-size: 0.95rem;
    }
    
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px;
    }
    
    .author-image {
        width: 80px;
        height: 80px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1920px) {
    :root {
        --content-max: 1000px;
    }
    
    .article-body {
        font-size: 20px;
    }
}
