/* Light milestone timeline, scoped to the company history section. */
.about-page .about-history-hero { height: auto; padding: 96px 0 72px; background: #F4F6F8; color: #182129; }
.about-page .about-history-hero > img, .about-page .about-history-shade { display: none; }
.history-roadmap-inner { position: relative; width: min(1360px,calc(100% - 96px)); margin: 0 auto; }
.history-roadmap-header { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; margin-bottom: 30px; }
.history-roadmap-header h2 { grid-column: 1 / -1; margin: 0; color: #182129; text-align: center; font-size: 36px; line-height: 1.4; font-weight: 600; }
.about-page .history-roadmap-english { display: none; }
.about-page .history-roadmap-intro { margin: 0; max-width: none; width: 100%; color: #4b5667; font-size: 16px; line-height: 2; text-indent: 0; }
.history-current-stage { display: flex; align-items: center; justify-content: center; gap: 30px; text-align: left; }
.history-current-stage > strong { display: block; color: #1a1a1a; font-size: clamp(21px,2.3vw,38px); font-weight: 600; line-height: 1.15; letter-spacing: -.04em; }
.about-page .history-current-stage > p { text-align: right; margin: 0; color: #4b5667; font-size: 16px; line-height: 2; text-indent: 0; }
.history-roadmap-scroll { overflow: hidden; }
.history-roadmap-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); }
.history-milestone { position: relative; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-width: 0; padding: 34px 20px 40px; text-align: center; margin-inline: 10px; border-radius: 8px; background: #fff; }
.history-milestone::before { content: ''; position: absolute; top: 4px; left: -10px; right: -10px; height: 1px; background: #b8c5d5; }
.history-milestone:first-child::before { left: 50%; }
.history-milestone:last-child::before { right: 50%; }
.history-milestone::after { content: ''; position: absolute; top: 0; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: #1d5dbf; }
.history-milestone h3 { margin: 0; color: #182129; font-size: 24px; line-height: 1.5; font-weight: 600; }
.about-page .history-milestone p { white-space: pre-line; margin: 56px 0 0; color: #4b5667; font-size: 13px; line-height: 1.9; text-indent: 0; }
.history-controls { display: flex; align-items: center; justify-content: space-between; margin: 20px 10px 0; }
.history-dots, .history-arrows { display: flex; align-items: center; gap: 16px; }
.history-dots button { position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.history-dots button::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: #bdc8d6; }
.history-dots button[aria-pressed="true"]::after { background: #1d5dbf; }
.history-arrows button { width: 80px; height: 48px; border: 1px solid #9ba1a7; border-radius: 28px; background: transparent; color: #182129; font-size: 28px; cursor: pointer; }
.history-arrows button:hover:not(:disabled) { background: #e5edf8; }
.history-arrows button:disabled { opacity: .35; cursor: default; }
.history-controls button:focus-visible, .history-roadmap-scroll:focus-visible { outline: 2px solid #55a9ff; outline-offset: 4px; }
@media(max-width:800px) {
 .about-page .about-history-hero { padding: 64px 0 48px; }
 .history-roadmap-inner { width: calc(100% - 40px); }
 .history-roadmap-header { grid-template-columns: 1fr; gap: 28px; margin-bottom: 30px; }
 .history-current-stage { text-align: left; }
 .history-roadmap-header h2 { font-size: 30px; }
 .history-roadmap-track { grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); }
 .history-milestone { min-height: 340px; padding: 28px 24px 32px; }
 .history-controls { margin-top: 20px; }
 .history-dots { gap: 2px; }
 .history-arrows { gap: 8px; }
 .history-arrows button { width: 52px; height: 40px; }
}
.about-site :is(.history-arrows, .about-news-controls) { gap: 12px; }
.about-site :is(.history-arrows, .about-news-controls) button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 64px; height: 40px; padding: 0; border: 1px solid var(--blue); border-radius: 6px; background: transparent; color: var(--blue); font-size: 26px; line-height: 1; cursor: pointer; }
.about-site :is(.history-arrows, .about-news-controls) button:hover:not(:disabled) { background: rgba(0,93,190,.06); color: var(--blue); }
.about-site :is(.history-arrows, .about-news-controls) button:disabled { opacity: .3; cursor: default; }
.about-site :is(.history-arrows, .about-news-controls) button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.about-site .about-news-controls svg { width: 32px; height: 24px; }

/* Move the timeline and year labels down together within each card. */
.history-milestone::before, .history-milestone::after, .history-milestone h3 { translate: 0 30px; }

/* Place milestone descriptions above the year and timeline. */
.history-milestone { flex-direction: column-reverse; }
.about-page .history-milestone p { margin: 0 0 46px; }
.history-milestone h3 { translate: none; }
.history-milestone::before { top: auto; bottom: 106px; translate: none; }
.history-milestone::after { top: auto; bottom: 102px; translate: none; }
@media (max-width: 800px) {
 .history-milestone::before { bottom: 98px; }
 .history-milestone::after { bottom: 94px; }
}

/* Reserve two lines for every year so their first lines align. */
.history-milestone h3 { min-height: 72px; line-height: 36px; }
.history-milestone::before { bottom: 142px; }
.history-milestone::after { bottom: 138px; }
@media (max-width: 800px) {
 .history-milestone::before { bottom: 134px; }
 .history-milestone::after { bottom: 130px; }
}

/* Anchor the year row 15px above the card bottom. */
.history-milestone { padding-bottom: 15px; }
.history-milestone h3 { min-height: 36px; }
.history-milestone::before { bottom: 81px; }
.history-milestone::after { bottom: 77px; }
