/* 关于我们页的教育体系：时间线、定位图、对比矩阵。配色沿用全站阳光橙黄。 */
.edu-map, .edu-table { --ink: #8f4200; --muted: #7c6f60; --accent: #e67300; --line: #ffe38a; --soft: #fffbea; --card: #fff; }
html.dark .edu-map, html.dark .edu-table { --ink: #ffe3a6; --muted: #a89f8f; --accent: #ffb23e; --line: #5a4a2c; --soft: #33291a; --card: #2a241b; }

/* 时间线：手机上 4 个一行，宽屏一行排开 */
.tl-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: .5rem; }
@media (min-width: 768px) { .tl-track { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.tl-node { width: 100%; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .35rem 0; border-radius: .75rem; }
.tl-node:hover { background: rgba(255,171,0,.12); }
.tl-node:focus-visible { outline: 2px solid #e67300; }
.tl-year { font-size: .875rem; font-weight: 700; color: #e67300; }
.tl-name { font-size: .75rem; line-height: 1.2; }
/* 圆点和穿过它的横线 */
.tl-dot { position: relative; width: 100%; height: 16px; }
.tl-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 2px solid #ffd96b; }
.tl-dot::after { content: ""; position: absolute; left: calc(50% - 7px); top: 1px; width: 14px; height: 14px; border-radius: 50%; background: #ffab00; transition: transform .15s; }
.tl-node[aria-pressed="true"] .tl-dot::after { background: #e67300; transform: scale(1.3); box-shadow: 0 0 0 3px rgba(230,115,0,.25); }
.tl-node[aria-pressed="true"] .tl-name { font-weight: 800; }
html.dark .tl-year { color: #ffb23e; }
html.dark .tl-dot::before { border-color: #6b562a; }

/* 定位图 */
.edu-map { width: 100%; max-width: 34rem; height: auto; margin-inline: auto; }
.map-area { fill: var(--soft); stroke: var(--line); }
.map-quad { fill: rgba(255,171,0,.12); }
.map-grid { stroke: var(--line); stroke-dasharray: 4 4; fill: none; }
.map-axis { font-size: 14px; fill: var(--ink); }
.map-end { font-size: 12px; fill: var(--muted); }
.map-ref { fill: var(--muted); }
.map-dot { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.map-name { font-size: 15px; font-weight: 700; fill: var(--ink); }

/* 对比矩阵：首列固定，横向滑动时仍看得到维度 */
.edu-table-wrap { overflow-x: auto; }
.edu-table { width: 100%; min-width: 52rem; border-collapse: separate; border-spacing: 0; font-size: .75rem; line-height: 1.6; text-align: left; }
.edu-table th, .edu-table td { padding: .6rem .5rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.edu-table thead th { background: var(--soft); color: var(--ink); font-size: .875rem; }
.edu-table tr > :first-child { position: sticky; left: 0; white-space: nowrap; color: var(--ink); }
.edu-table tbody th { background: var(--card); }
