/* --- Article 01: Timeline --- */
.article-timeline-page { line-height: 1.85; }
.timeline-lead { font-size: 1.08rem; font-weight: 500; margin-bottom: 2rem; color: var(--text-dark); }
.timeline-group+.timeline-group { margin-top: 2.5rem; }
.timeline-group-title { margin: 0 0 1rem; font-size: 1.15rem; font-weight: 800; color: var(--text-dark); display: flex; align-items: center; gap: .75rem; }
.timeline-group-title::before { content: ""; width: 4px; height: 1.1em; border-radius: 999px; background: var(--orange); flex: 0 0 auto; }
.timeline-list { position: relative; margin-left: .75rem; padding-left: 1.5rem; }
.timeline-list::before { content: ""; position: absolute; left: .28rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(to bottom, rgba(243, 107, 24, .28), rgba(243, 107, 24, .12)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.25rem; padding: .15rem 0 1.35rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -1.5rem; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 0 0 4px rgba(243, 107, 24, .12); }
.timeline-date { font-weight: 800; color: var(--orange); line-height: 1.55; font-size: .98rem; }
.timeline-content { min-width: 0; }
.timeline-content h3 { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--text-dark); font-weight: 800; }
.timeline-content p { margin: .4rem 0 0; color: var(--text-light, #5f6673); }
.timeline-content ul { margin: .45rem 0 0; padding-left: 1.15rem; }
.timeline-content li { margin: .2rem 0; color: var(--text-light, #5f6673); }
.timeline-note { margin-top: 2rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(243, 107, 24, .08); color: var(--text-light, #5f6673); font-size: .95rem; }
@media (max-width: 768px) {
    .timeline-lead { font-size: 1rem; margin-bottom: 1.5rem; }
    .timeline-group+.timeline-group { margin-top: 2rem; }
    .timeline-list { margin-left: .25rem; padding-left: 1.1rem; }
    .timeline-list::before { left: .2rem; }
    .timeline-item { grid-template-columns: 1fr; gap: .35rem; padding: .1rem 0 1.1rem; }
    .timeline-item::before { left: -1.1rem; width: 10px; height: 10px; }
    .timeline-date { font-size: .92rem; }
    .timeline-content h3 { font-size: 1rem; }
    .timeline-note { font-size: .9rem; }
}

/* --- Article 02: Table --- */
.med-table-wrapper { margin: 2rem auto; max-width: 1000px; background: #fff; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.med-scroll-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.med-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 850px; }
.med-table th { background: #f8f9fa; color: var(--dark); font-weight: 700; text-align: left; padding: 1rem 0.75rem; border-bottom: 2px solid var(--border); white-space: nowrap; position: sticky; top: 0; z-index: 10; }
.med-table td { padding: 1rem 0.75rem; border-bottom: 1px solid #eee; color: var(--text-dark); vertical-align: middle; }
.med-table tr:last-child td { border-bottom: none; }
.med-table tr:nth-child(even) { background-color: #fcfcfc; }
.med-table tr:hover { background-color: #fffcf9; }
.school-name { font-weight: 700; color: var(--dark); }
.school-name a { color: inherit; text-decoration: none; transition: color 0.2s; }
.school-name a:hover { color: var(--orange); }
.score-val { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 600; color: var(--orange); }
.interview-text { font-size: 0.82rem; color: var(--gray); max-width: 220px; line-height: 1.4; }
@media (max-width: 768px) {
    .med-table-wrapper { margin: 1.5rem 0; border-radius: 8px; }
    .med-table { font-size: 0.85rem; }
}

/* --- Article 04 & 04.5: Cluster --- */
.cluster-article { display: block; min-height: auto; margin-bottom: 2rem; }
.cluster-content { padding: 1.5rem; }
.cluster-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; padding: 0; background: transparent; border-radius: 0; }
@media (min-width: 1200px) { .cluster-tables { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 769px) and (max-width: 1199px) { .cluster-tables { grid-template-columns: repeat(2, 1fr); } }
.cluster-card { background: #fff; border: 1px solid var(--mag-border); border-radius: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); overflow: hidden; }
.cluster-card-head { background: rgba(232, 98, 26, 0.05); padding: 0.8rem 1.2rem; border-bottom: 2px solid rgba(232, 98, 26, 0.2); display: flex; align-items: center; gap: 0.8rem; }
.cluster-code { background: var(--mag-orange); color: #338cd4; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.85rem; letter-spacing: 0.05em; }
.cluster-name { font-size: 1.15rem; font-weight: 700; color: #222; margin: 0; }
.cluster-table { width: 100%; border-collapse: collapse; }
.cluster-table th, .cluster-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid #f2f2f2; font-size: 0.9rem; line-height: 1.4; vertical-align: top; }
.cluster-table th { width: 35%; color: #555; font-weight: 600; background: #fafafa; }
.cluster-table td { color: #333; }
.cluster-table tr:last-child th, .cluster-table tr:last-child td { border-bottom: none; }
@media (max-width: 768px) {
    .cluster-content { padding: 1rem 0.75rem; }
    .cluster-tables { grid-template-columns: 1fr; gap: 1rem; padding: 0; }
    .cluster-card-head { flex-direction: row; align-items: center; gap: 0.8rem; padding: 1.2rem; }
    .cluster-table th, .cluster-table td { display: block; width: 100%; padding: 0.6rem 1rem; }
    .cluster-table th { background: transparent; padding-bottom: 0.15rem; color: var(--mag-orange); }
    .cluster-table td { padding-top: 0; padding-bottom: 1rem; border-bottom: 1px solid #eee; }
    .cluster-table tr:last-child td { border-bottom: none; }
    .container { padding-left: 0.8rem; padding-right: 0.8rem; max-width: 100%; }
}
.news-image { width: 100%; max-width: 900px; margin: 0 auto 3rem; padding: 0 1rem; box-sizing: border-box; }
.news-image img { width: 100%; height: auto; max-width: 100%; display: block; border-radius: 20px; object-fit: cover; margin: 0 auto; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); }

/* --- Article 05 & 06: Content --- */
.article-content { line-height: 1.8; color: #444; }
.article-content h2 { margin-top: 3rem; margin-bottom: 1.5rem; color: #222; font-size: 1.5rem; border-left: 4px solid var(--mag-orange); padding-left: 1rem; line-height: 1.3; }
.article-content h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--mag-orange); font-size: 1.25rem; font-weight: 700; }
.article-content p { margin-bottom: 1.5rem; font-size: 1.05rem; }
.article-content ul, .article-content ol { margin-bottom: 2rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.8rem; font-size: 1.05rem; }
.article-image-placeholder { background: #fcf9f7; border: 2px dashed rgba(232, 98, 26, 0.2); border-radius: 12px; padding: 4rem 2rem; margin: 2.5rem 0; text-align: center; color: #999; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.article-image-placeholder::before { content: "🖼️"; font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
.article-image-placeholder span { font-size: 0.95rem; font-weight: 500; color: #888; }
.crisis-box { background: #fff8f5; border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; border-left: 4px solid var(--mag-orange); }
.crisis-box h3 { margin-top: 0; color: #d35400; }
@media (max-width: 768px) {
    .article-content h2 { font-size: 1.35rem; }
    .article-content h3 { font-size: 1.15rem; }
}
.article-page h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); color: #222; margin-bottom: 2rem; line-height: 1.3; font-weight: 800; }
.article-page h2 { margin-top: 3.5rem; margin-bottom: 1.5rem; color: #222; font-size: 1.6rem; border-left: 5px solid var(--mag-orange); padding-left: 1.2rem; line-height: 1.2; font-weight: 700; }
.article-page h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--mag-orange); font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.article-page p { margin-bottom: 1.6rem; font-size: 1.05rem; text-align: justify; }
.article-page ul { margin-bottom: 2rem; padding-left: 1.5rem; }
.article-page li { margin-bottom: 0.8rem; font-size: 1.05rem; list-style-type: disc; }
.summary { background: #fff8f5; padding: 2.5rem; border-radius: 20px; margin-top: 4rem; border: 1px solid rgba(232, 98, 26, 0.1); }
.summary h2 { margin-top: 0; border-left: none; padding-left: 0; color: var(--mag-orange); text-align: center; font-size: 1.8rem; }
@media (max-width: 768px) {
    .article-page h1 { font-size: 1.6rem; }
    .article-page h2 { font-size: 1.4rem; }
    .summary { padding: 1.5rem; }
    .summary h2 { font-size: 1.4rem; }
}
