/* ==========================================================================
   YESNEWS Theme 06: Society (소사이어티 / 조직과 사람의 이야기를 앞세운 구성)
   The Atlantic & ProPublica inspired Investigative Narrative Layout
   ========================================================================== */

:root {
    --society-bg: #f5f5f4;
    --society-paper: #fafaf9;
    --society-ink: #1c1917;
    --society-ink-body: #292524;
    --society-ink-muted: #78716c;
    --society-terracotta: #c2410c;
    --society-ochre: #d97706;
    --society-slate: #334155;
    --society-border: #e7e5e4;
    --society-border-strong: #1c1917;
    --society-serif: 'Playfair Display', 'Nanum Myeongjo', Georgia, serif;
    --society-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.society-theme-stage {
    background: var(--society-bg);
    padding: 30px 16px 80px;
    min-height: 100vh;
    font-family: var(--society-sans);
}

.society-container {
    max-width: 1220px;
    margin: 0 auto;
    transition: max-width 0.3s ease;
}

/* 1. Control Bar */
.society-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1c1917;
    color: #f5f5f4;
    padding: 10px 20px;
    border-radius: 6px 6px 0 0;
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 10px;
}

.society-control-bar .badge-theme {
    background: var(--society-terracotta);
    color: #fff;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
}

.society-btn {
    background: #292524;
    color: #f5f5f4;
    border: 1px solid #44403c;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.society-btn:hover, .society-btn.active {
    background: var(--society-terracotta);
    color: #ffffff;
    border-color: var(--society-terracotta);
}

/* 2. Paper Canvas */
.society-paper {
    background: var(--society-paper);
    color: var(--society-ink);
    border: 1px solid var(--society-border);
    border-top: none;
    box-shadow: 0 10px 40px rgba(28, 25, 23, 0.05);
    padding: 32px 40px 60px;
}

/* 3. Ear Bar: Issue & Support */
.society-ear-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: var(--society-ink-muted);
    border-bottom: 1px solid var(--society-border);
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.society-masthead {
    text-align: center;
    padding: 28px 0 22px;
    border-bottom: 2px solid var(--society-border-strong);
}

.society-logo {
    font-family: var(--society-serif);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: var(--society-ink);
    margin: 0;
    line-height: 1;
}

.society-logo-sub {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--society-terracotta);
    margin-top: 6px;
    display: block;
}

/* 4. Full-Bleed Investigative Hero Cover */
.society-hero-cover {
    margin: 28px 0 36px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #0c0a09;
    color: #fff;
}

.society-hero-media {
    aspect-ratio: 21/9;
    overflow: hidden;
    position: relative;
    opacity: 0.75;
}

.society-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.society-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 10, 9, 0.95) 100%);
}

.society-hero-series-tag {
    background: var(--society-terracotta);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
}

.society-hero-title {
    font-family: var(--society-serif);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
    color: #ffffff;
}

.society-hero-deck {
    font-size: 15px;
    color: #d6d3d1;
    line-height: 1.6;
    max-width: 820px;
    margin: 0 0 14px;
}

.society-hero-byline {
    font-size: 12px;
    color: #a8a29e;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 5. Asymmetric 2:1 Narrative Layout (65% Story + 35% Pullouts) */
.society-asym-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--society-border);
}

.society-narrative-body {
    font-size: 15px;
    color: var(--society-ink-body);
    line-height: 1.85;
}

.society-narrative-body p {
    margin: 0 0 20px;
}

.society-dropcap {
    float: left;
    font-family: var(--society-serif);
    font-size: 56px;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 12px;
    padding-bottom: 4px;
    color: var(--society-terracotta);
    font-weight: 900;
}

/* Right Column: Quotes, Evidence, Audio Box */
.society-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.society-pullquote {
    background: #f5f5f4;
    border-left: 4px solid var(--society-terracotta);
    padding: 20px 22px;
    border-radius: 0 6px 6px 0;
}

.society-pullquote blockquote {
    font-family: var(--society-serif);
    font-size: 17px;
    font-style: italic;
    color: var(--society-ink);
    line-height: 1.55;
    margin: 0 0 10px;
}

.society-pullquote cite {
    font-size: 11.5px;
    color: var(--society-ink-muted);
    font-style: normal;
    font-weight: 700;
}

/* Audio Player Box */
.society-audio-card {
    background: #1c1917;
    color: #f5f5f4;
    border-radius: 6px;
    padding: 18px;
}

.society-audio-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--society-ochre);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.society-audio-title {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 12px;
}

.society-player-ui {
    display: flex;
    align-items: center;
    gap: 12px;
}

.society-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--society-terracotta);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
}

.society-progress-bar {
    flex: 1;
    height: 4px;
    background: #44403c;
    border-radius: 2px;
    position: relative;
}

.society-progress-fill {
    width: 42%;
    height: 100%;
    background: var(--society-ochre);
    border-radius: 2px;
}

/* 6. Investigation Fact Sheet Box */
.society-fact-vault {
    background: #ffffff;
    border: 1px solid var(--society-border);
    border-radius: 6px;
    padding: 24px;
    margin: 36px 0;
}

.society-fact-header {
    border-bottom: 2px solid var(--society-ink);
    padding-bottom: 8px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.society-fact-header h4 {
    font-family: var(--society-serif);
    font-size: 19px;
    font-weight: 800;
    color: var(--society-ink);
    margin: 0;
}

.society-timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.society-timeline-step {
    border-left: 2px solid var(--society-terracotta);
    padding-left: 14px;
}

.society-timeline-step span.date {
    font-size: 11px;
    font-weight: 800;
    color: var(--society-terracotta);
    display: block;
    margin-bottom: 3px;
}

.society-timeline-step h5 {
    font-size: 14px;
    font-weight: 800;
    color: var(--society-ink);
    margin: 0 0 6px;
    line-height: 1.4;
}

.society-timeline-step p {
    font-size: 12px;
    color: var(--society-ink-muted);
    line-height: 1.5;
    margin: 0;
}

/* 7. People & Organization 3-Column Spotlight */
.society-people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.society-people-card {
    border: 1px solid var(--society-border);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.society-people-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.society-people-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.society-people-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.society-people-body span.tag {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--society-terracotta);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.society-people-body h5 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.4;
    color: var(--society-ink);
}

.society-people-body p {
    font-size: 12.5px;
    color: var(--society-ink-muted);
    line-height: 1.5;
    margin: 0 0 12px;
    flex: 1;
}

/* AD Slot General */
.society-ad-slot {
    position: relative;
    border: 1px solid var(--society-border);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    margin: 28px 0;
}

.society-ad-tag {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 9px;
    font-weight: 800;
    background: rgba(28, 25, 23, 0.7);
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    z-index: 2;
}

/* Footer (3-Column Editorial) */
.society-footer {
    margin-top: 48px;
    border-top: 2px solid var(--society-border-strong);
    padding-top: 24px;
    font-size: 12px;
    color: var(--society-ink-muted);
}

.society-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--society-border);
}

.society-footer-nav a {
    color: var(--society-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 12.5px;
}

.society-footer-nav a:hover {
    color: var(--society-terracotta);
    text-decoration: underline;
}

.society-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr 1.2fr;
    gap: 28px;
    padding-bottom: 24px;
}

.society-footer-legal-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px;
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 4px;
    border: 1px solid var(--society-border);
}

.society-footer-legal-item dt {
    font-weight: 600;
    color: #78716c;
    font-size: 10.5px;
    margin-bottom: 2px;
}

.society-footer-legal-item dd {
    margin: 0;
    font-weight: 800;
    color: var(--society-ink);
    font-size: 11.5px;
}

.society-footer-card {
    background: #ffffff;
    border: 1px solid var(--society-border);
    border-radius: 4px;
    padding: 16px;
}

.society-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--society-border);
    font-size: 11.5px;
    flex-wrap: wrap;
    gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .society-asym-grid {
        grid-template-columns: 1fr;
    }
    .society-timeline-grid {
        grid-template-columns: 1fr;
    }
    .society-people-grid {
        grid-template-columns: 1fr;
    }
    .society-footer-grid {
        grid-template-columns: 1fr;
    }
}

.society-container[style*="max-width: 440px"] .society-asym-grid,
.society-container[style*="max-width: 440px"] .society-timeline-grid,
.society-container[style*="max-width: 440px"] .society-people-grid,
.society-container[style*="max-width: 440px"] .society-footer-grid {
    grid-template-columns: 1fr !important;
}
