/* ═══════════════════════════════════════════════════════════════
   STORIES PAGE — Dasom Saessak Initiative
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────── */
.st-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0f1f0e 0%, #1a3018 50%, #0f1f0e 100%);
    position: relative;
    overflow: hidden;
}

.st-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(168,213,160,0.08) 0%, transparent 50%);
}

.st-hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }

.st-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.st-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
}

/* ─── Featured Story ───────────────────────────────── */
.st-featured { padding: 80px 0; background: #f5f6f1; }

.st-feat-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border: 1px solid #e8ede6;
}

.st-feat-img {
    position: relative;
    min-height: 400px;
}

.st-feat-img .st-placeholder-img {
    width: 100%; height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}

.st-feat-badge {
    position: absolute;
    top: 20px; left: 20px;
    background: linear-gradient(135deg, #3b5a38, #4a7046);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; gap: 6px;
}

.st-feat-badge i { width: 14px; height: 14px; }

.st-feat-body { padding: 40px 40px 40px 0; display: flex; flex-direction: column; justify-content: center; }

.st-feat-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f0f7ee;
    color: #3b5a38;
    margin-bottom: 14px;
    width: fit-content;
}

.st-feat-body h2 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.st-feat-body > p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.st-feat-body blockquote {
    border-left: 3px solid #3b5a38;
    padding: 16px 20px;
    background: #f8faf7;
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    font-style: italic;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
}

.st-feat-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
}

.st-feat-meta span { display: flex; align-items: center; gap: 5px; }
.st-feat-meta i { width: 14px; height: 14px; }

/* ─── Placeholder Images ───────────────────────────── */
.st-placeholder-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e1e8de, #cdd6c9);
    border-radius: 14px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; color: #aaa;
}

.st-placeholder-img i { width: 40px; height: 40px; opacity: 0.35; }
.st-placeholder-img span { font-size: 13px; font-weight: 600; opacity: 0.4; }
.st-placeholder-img.sm { aspect-ratio: 16/9; border-radius: 14px 14px 0 0; }

/* ─── Filters ──────────────────────────────────────── */
.st-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.st-filter-btn {
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid #e8ede6;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
    transition: all 0.2s;
    color: #777;
}

.st-filter-btn:hover { border-color: #c3debb; color: #3b5a38; }
.st-filter-btn.active { background: #3b5a38; color: #fff; border-color: #3b5a38; }

/* ─── Story Grid ───────────────────────────────────── */
.st-grid-section { padding: 80px 0; background: #fff; }

.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.story-card {
    background: #fff;
    border: 1px solid #e8ede6;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.story-card:hover {
    box-shadow: 0 12px 36px rgba(59,90,56,0.08);
    transform: translateY(-3px);
}

.story-card-body { padding: 24px; }

.story-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f0f7ee;
    color: #3b5a38;
    margin-bottom: 10px;
}

.story-card-body h3 {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.story-card-body > p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 14px;
}

.story-quote {
    border-left: 3px solid #c3debb;
    padding: 12px 16px;
    background: #f8faf7;
    border-radius: 0 10px 10px 0;
    font-size: 13px;
    font-style: italic;
    color: #444;
    line-height: 1.65;
    margin-bottom: 14px;
}

.story-quote em {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-weight: 600;
    color: #3b5a38;
    font-size: 12px;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: #999;
}

.story-meta span { display: flex; align-items: center; gap: 4px; }
.story-meta i { width: 13px; height: 13px; }

/* ─── Numbers Section ──────────────────────────────── */
.st-numbers {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2e19, #2d4a2b);
}

.st-numbers-header { text-align: center; margin-bottom: 48px; }

.st-numbers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.st-num-card {
    text-align: center;
    padding: 28px 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    transition: background 0.2s;
}

.st-num-card:hover { background: rgba(255,255,255,0.1); }
.st-num-card i { width: 28px; height: 28px; color: #a8d5a0; margin-bottom: 12px; }

.st-num-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.st-num-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .st-feat-card { grid-template-columns: 1fr; }
    .st-feat-body { padding: 32px; }
    .st-feat-img { min-height: 300px; }
    .st-numbers-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .st-hero { padding: 120px 0 60px; }
    .st-hero-title { font-size: 32px; }
    .st-featured { padding: 50px 0; }
    .st-feat-body h2 { font-size: 22px; }
    .stories-grid { grid-template-columns: 1fr; }
    .st-grid-section { padding: 50px 0; }
    .st-numbers { padding: 50px 0; }
    .st-numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
    .st-hero { padding: 100px 0 48px; }
    .st-hero-title { font-size: 28px; }
    .st-hero-desc { font-size: 15px; }
    .st-feat-body { padding: 20px; }
    .st-feat-body h2 { font-size: 20px; }
    .story-card-body { padding: 18px; }
    .story-card-body h3 { font-size: 16px; }
    .st-numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .st-num-card { padding: 20px 8px; }
    .st-num-value { font-size: 20px; }
    .st-filters { gap: 6px; }
    .st-filter-btn { padding: 6px 14px; font-size: 12px; }
}

/* --- Added Image Styles --- */
.st-feat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.story-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.story-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.story-card:hover .story-card-img img {
    transform: scale(1.05);
}

