/* Design Direction 1a: Field Journal (내셔널지오그래픽풍 클래식 에디토리얼) */

:root {
    --bg-color: #F4EEE1;
    --text-color: #1F1A16;
    --accent-color: #C75B3F;
    --border-color: rgba(31, 26, 22, 0.2);
    --border-light: rgba(31, 26, 22, 0.18);
    --highlight-bg: rgba(199, 91, 63, 0.22);
    --font-serif: 'Noto Serif KR', serif;
    --font-english: 'Newsreader', serif;
    --font-mono: ui-monospace, Menlo, monospace;
}

body {
    margin: 0;
    padding: 40px 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.journal-container {
    width: 100%;
    max-width: 940px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(31, 26, 22, 0.08);
    overflow: hidden;
}

/* Header */
.journal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 36px;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(31, 26, 22, 0.62);
}

/* Masthead */
.masthead {
    text-align: center;
    padding: 44px 36px 34px;
}

.masthead-monthly {
    font-family: var(--font-english);
    font-style: italic;
    font-size: 14px;
    color: var(--accent-color);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 10px;
}

.masthead-title {
    margin: 0;
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
}

.masthead-divider-container {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-top: 18px;
}

.divider-line {
    height: 1px;
    width: 90px;
    background: rgba(31, 26, 22, 0.35);
}

.divider-text {
    font-size: 15px;
    font-weight: 300;
    color: rgba(31, 26, 22, 0.75);
}

/* Hero Photo */
.hero-photo-wrapper {
    padding: 0 36px;
}

.hero-photo {
    position: relative;
    height: 340px;
    background: repeating-linear-gradient(135deg, rgba(199, 91, 63, 0.12) 0 12px, rgba(199, 91, 63, 0) 12px 26px), #EADFC9;
    border: 1px solid rgba(31, 26, 22, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-photo:hover {
    transform: scale(1.005);
    filter: brightness(0.98);
}

.photo-placeholder-text {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(31, 26, 22, 0.5);
}

.photo-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--text-color);
    color: var(--bg-color);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    padding: 6px 12px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 264px;
    gap: 44px;
    padding: 36px;
}

.article-body {
    display: flex;
    flex-direction: column;
}

.article-category {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--accent-color);
    margin-bottom: 14px;
}

.article-paragraph {
    margin: 0 0 16px;
    font-size: 16.5px;
    line-height: 1.95;
    font-weight: 400;
    text-wrap: pretty;
}

.article-paragraph.lead {
    font-size: 17.5px;
}

.dropcap {
    float: left;
    font-family: var(--font-english);
    font-size: 78px;
    line-height: 0.72;
    padding: 10px 12px 0 0;
    color: var(--accent-color);
}

.highlight {
    font-style: normal;
    box-shadow: inset 0 -9px var(--highlight-bg);
}

.read-more-link {
    margin-top: 6px;
    font-family: var(--font-english);
    font-style: italic;
    font-size: 13.5px;
    color: rgba(31, 26, 22, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
    align-self: flex-start;
}

.read-more-link:hover {
    color: var(--accent-color);
}

/* Sidebar */
.sidebar {
    border-left: 1px solid rgba(31, 26, 22, 0.25);
    padding-left: 28px;
}

.sidebar-title {
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: rgba(31, 26, 22, 0.6);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toc-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    cursor: pointer;
}

.toc-name {
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.toc-item:hover .toc-name {
    color: var(--accent-color);
}

.toc-dot {
    flex: 1;
    border-bottom: 1px dotted rgba(31, 26, 22, 0.4);
}

.toc-page {
    font-family: var(--font-english);
    font-size: 13.5px;
    font-weight: 400;
}

.did-you-know-card {
    margin-top: 26px;
    padding: 14px 16px;
    border: 1px solid rgba(199, 91, 63, 0.5);
    background: rgba(199, 91, 63, 0.06);
    transition: background 0.3s ease;
}

.did-you-know-card:hover {
    background: rgba(199, 91, 63, 0.1);
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--accent-color);
    display: block;
    margin-bottom: 6px;
}

.card-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

/* Stats Strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(31, 26, 22, 0.25);
}

.stat-box {
    padding: 20px 12px;
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.stat-box:last-child {
    border-right: none;
}

.stat-value {
    font-family: var(--font-english);
    font-size: 30px;
    font-weight: 500;
    display: block;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    color: rgba(31, 26, 22, 0.55);
    margin-top: 4px;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .journal-header {
        padding: 12px 18px;
    }
    
    .masthead-title {
        font-size: 64px;
    }
    
    .hero-photo-wrapper {
        padding: 0 18px;
    }
    
    .hero-photo {
        height: 220px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 18px;
    }
    
    .sidebar {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 24px;
    }
    
    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-box:nth-child(2) {
        border-right: none;
    }
    
    .stat-box:nth-child(n+3) {
        border-top: 1px solid var(--border-light);
    }
}
