.history-page { --history-line:color-mix(in srgb,var(--brand-secondary) 35%,var(--panel)); }
.history-intro { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:36px; align-items:center; padding:clamp(24px,4vw,42px); border:1px solid var(--history-line); border-radius:22px; background:linear-gradient(125deg,color-mix(in srgb,var(--brand-secondary) 10%,var(--panel)),var(--panel)); box-shadow:var(--shadow-card); margin-bottom:36px; }
.history-intro h2 { font-size:clamp(1.45rem,2.5vw,2rem); line-height:1.3; margin:10px 0 14px; }
.history-intro p { color:var(--muted); max-width:62ch; line-height:1.85; }
.history-intro-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; margin-top:24px; }
.history-intro-mark { display:grid; justify-items:center; padding:8px 12px; color:var(--muted); font-variant-numeric:tabular-nums; font-size:.8rem; }
.history-intro-mark i { display:block; width:1px; height:30px; margin:9px; background:var(--history-line); }
.history-intro-mark strong { color:var(--link-color); font-size:1.2rem; }
.history-chapters .section-head { align-items:center; margin-bottom:18px; gap:18px; }
.history-chapters h2 { margin-top:5px; font-size:1.35rem; }
.history-chapter-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.history-chapter-card { display:flex; flex-direction:column; padding:24px; border:1px solid var(--line); border-radius:18px; background:var(--panel); color:var(--text); text-decoration:none; box-shadow:var(--shadow-card); }
.history-chapter-card:hover { border-color:var(--brand-secondary); background:var(--surface-hover); }
.history-chapter-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:24px; }
.history-chapter-meta > span { display:grid; place-items:center; width:32px; height:32px; border:1px solid var(--history-line); border-radius:10px; font-size:.8rem; color:var(--secondary-text); }
.history-chapter-meta small { color:var(--muted); font-size:.75rem; }
.history-period { display:block; color:var(--secondary-text); font-size:.75rem; line-height:1.6; margin-bottom:8px; }
.history-chapter-card h3 { font-size:1.07rem; line-height:1.45; margin:0 0 10px; }
.history-chapter-card p { color:var(--muted); line-height:1.75; font-size:.86rem; margin-bottom:22px; }
.history-read-link { display:flex; justify-content:space-between; gap:12px; color:var(--link-color); font-size:.8rem; font-weight:600; margin-top:auto; }
.history-disclosure { scroll-margin-top:95px; }
.history-disclosure > summary { font-size:.94rem; }
.history-disclosure-body { padding:6px clamp(20px,3vw,32px) 28px; }
.history-disclosure-body > p { color:var(--muted); line-height:1.8; max-width:72ch; }
.history-timeline { list-style:none; margin:0; padding:0; }
.history-timeline > li { display:grid; grid-template-columns:160px minmax(0,1fr); gap:24px; position:relative; padding:25px 0; border-top:1px solid var(--line); }
.history-timeline > li:first-child { border-top:0; }
.history-year { color:var(--secondary-text); font-weight:650; font-variant-numeric:tabular-nums; font-size:1rem; line-height:1.6; }
.history-timeline h3 { font-size:1.05rem; line-height:1.5; margin:0 0 8px; }
.history-timeline h3 a { color:var(--text); text-decoration:none; }
.history-timeline h3 a:hover { color:var(--link-color); }
.history-timeline p { color:var(--muted); line-height:1.8; font-size:.9rem; margin:0; }
.history-references { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:18px; font-size:.75rem; line-height:1.65; }
.history-references > span { color:var(--muted); }
.history-references a { color:var(--secondary-text); text-decoration:underline; text-underline-offset:3px; }
.history-questions > section { border-top:1px solid var(--line); padding:22px 0; }
.history-questions > section:first-child { border-top:0; }
.history-questions h3 { margin:0 0 12px; font-size:1.1rem; line-height:1.5; }
.history-questions p { color:var(--muted); line-height:1.85; max-width:74ch; }
.history-source-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; margin-top:20px; }
.history-source-list article { border-top:1px solid var(--line); padding:22px 0; min-width:0; }
.history-source-list article > a { color:var(--link-color); line-height:1.65; font-weight:550; font-size:.9rem; }
.history-source-list p { color:var(--muted); line-height:1.75; font-size:.82rem; margin:8px 0 0; }
.history-source-list .history-source-publisher { color:var(--text); font-size:.8rem; }
.history-reader { display:grid; grid-template-columns:minmax(0,800px) minmax(220px,1fr); gap:30px; align-items:start; }
.history-article { border:1px solid var(--line); border-radius:22px; padding:clamp(24px,4vw,44px); background:var(--panel); box-shadow:var(--shadow-card); }
.history-back { display:inline-flex; align-items:center; min-height:44px; margin:-10px 0 24px; font-size:.85rem; }
.history-article-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; font-size:.77rem; color:var(--muted); margin-bottom:14px; }
.history-article h2.history-article-title { font-size:clamp(1.6rem,2.8vw,2.3rem); line-height:1.25; margin:0 0 18px; }
.history-article-title:focus { outline:none; }
.history-article-lead { color:var(--text); font-size:1.04rem; line-height:1.8; padding-bottom:26px; border-bottom:1px solid var(--line); }
.history-article-section { margin-top:30px; }
.history-article-section h3 { font-size:1.15rem; line-height:1.5; margin-bottom:12px; }
.history-article-section > p { color:var(--muted); font-size:1rem; line-height:1.95; max-width:66ch; margin:0 0 16px; }
.history-takeaway { border-left:3px solid var(--brand-secondary); padding:20px 22px; border-radius:0 12px 12px 0; background:var(--surface-hover); margin-top:32px; }
.history-takeaway p { color:var(--text); line-height:1.85; margin:8px 0 0; font-size:.95rem; }
.history-reading-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--line); margin-top:32px; padding-top:24px; gap:20px; }
.history-reading-nav a { display:grid; align-content:start; gap:8px; color:var(--text); text-decoration:none; line-height:1.6; }
.history-reading-nav a:last-child { text-align:right; }
.history-reading-nav small { color:var(--link-color); font-size:.78rem; }
.history-reading-nav span { font-size:.88rem; }
.history-reader-sidebar { position:sticky; top:100px; min-width:0; }
.history-reader-menu { margin:0; }
.history-reader-menu nav { display:grid; gap:4px; padding:0 12px 14px; }
.history-reader-menu nav a { display:flex; align-items:baseline; gap:12px; color:var(--muted); font-size:.84rem; line-height:1.6; padding:11px; border-radius:10px; text-decoration:none; }
.history-reader-menu nav a > span { color:var(--secondary-text); font-size:.75rem; }
.history-reader-menu nav a[aria-current] { color:var(--text); background:var(--surface-hover); box-shadow:inset 2px 0 var(--brand-secondary); }
.history-related { display:flex; justify-content:space-between; gap:16px; padding:20px 0; color:var(--link-color); font-size:.85rem; line-height:1.7; }
.culture-view-nav a { min-height:44px; }
@media(min-width:1101px) { .history-reader-menu > summary { font-size:.88rem; } }
@media(max-width:1100px) { .history-reader { grid-template-columns:minmax(0,1fr); } .history-reader-sidebar { position:static; } .history-chapter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) {
 .history-intro { grid-template-columns:minmax(0,1fr); gap:0; padding:24px 20px; margin-bottom:28px; }
 .history-intro-mark { display:none; }
 .history-intro-actions { flex-direction:column; align-items:stretch; gap:8px; }
 .history-intro-actions .btn { justify-content:center; }
 .history-intro-actions .textlink { min-height:44px; text-align:center; }
 .history-chapters .section-head { align-items:flex-start; }
 .history-chapter-grid { gap:10px; }
 .history-chapter-card { padding:17px 14px; border-radius:15px; }
 .history-chapter-meta { flex-wrap:wrap; gap:8px; margin-bottom:17px; }
 .history-chapter-meta small,.history-period { font-size:.73rem; }
 .history-chapter-card h3 { font-size:.95rem; }
 .history-chapter-card p { font-size:.8rem; line-height:1.7; }
 .history-read-link { font-size:.75rem; }
 .history-timeline > li { grid-template-columns:minmax(0,1fr); gap:8px; padding:22px 0; }
 .history-source-list { grid-template-columns:minmax(0,1fr); }
 .history-article { padding:24px 20px; border-radius:18px; }
 .history-article h2.history-article-title { font-size:1.6rem; }
 .history-article-section > p { font-size:.95rem; line-height:1.9; }
 .history-article-section h3 { font-size:1.07rem; }
 .history-article-meta { justify-content:flex-start; gap:5px 16px; }
 .history-takeaway { padding:17px; }
 .history-reading-nav { grid-template-columns:minmax(0,1fr); gap:24px; }
 .history-reading-nav a:last-child { text-align:left; }
 .history-disclosure { scroll-margin-top:78px; }
}
@media(max-width:360px) { .history-chapter-grid { grid-template-columns:minmax(0,1fr); } }
