﻿/* Read the introduction, then use the complete viewport for the timeline. */
.history-intro-panel{padding:120px 24px 60px;background:#fff}
.history-intro-panel .history-intro{margin:0 auto;padding:0;max-width:1200px}
.history-intro-panel .history-dots{margin-top:60px;height:6px}
.company-page.sub0102 .history-stage{
  --history-controls-height:60px;--history-hint-height:20px;--history-stage-bottom:34px;
  grid-template-rows:var(--history-arc-height,clamp(180px,26vh,290px)) minmax(0,1fr) var(--history-controls-height) var(--history-hint-height);
  padding:var(--history-stage-top,120px) 0 var(--history-stage-bottom);
}
.company-page.sub0102 .history-arc{grid-row:1}
.company-page.sub0102 .history-stage>.history-events{
  grid-row:2;width:max-content;max-width:min(960px,calc(100% - 48px));min-width:0;justify-self:center;
  height:auto;min-height:0;max-height:none;padding:24px 0 0;overflow:visible;overscroll-behavior:auto;
}
.company-page.sub0102 .history-nav{grid-row:3;gap:24px;translate:-7px 0}
.company-page.sub0102 .history-nav button{width:48px;height:48px;flex:none;border:1px solid #ddd;background:#fff;font-size:24px}
.company-page.sub0102 .history-progress{color:#f38102;font-size:16px;line-height:24px}
.company-page.sub0102 .history-progress span{color:#666;font-size:14px;font-weight:500;text-shadow:none}
.company-page.sub0102 .history-hint{grid-row:4}
/* PDF canvas 1920px: image box x=-267.839, w=2456.011, h=836.089,
   clipped 170.388px below the section. This leaves the center clear. */
.company-page.sub0102 .history-stage::before{background-size:127.917226% 43.546292vw;background-position:center calc(100% + 8.874356vw);opacity:.5}
.company-page.sub0102 .history-stage>.history-events li{font-size:clamp(14px,1.25vw,24px);padding-block:7.3px;line-height:1.6}
.company-page.sub0102 .history-stage>.history-events li>span{font-size:clamp(17px,1.458333vw,28px)}
.company-page.sub0102 .history-measure{position:absolute!important;top:0;left:0;visibility:hidden;pointer-events:none;height:auto!important;contain:layout style}
@media(max-width:700px){
  .history-intro-panel{padding:56px 24px 48px}
  .history-intro-panel .history-dots{margin-top:40px}
  .company-page.sub0102 .history-stage{grid-template-rows:var(--history-arc-height,190px) minmax(0,1fr) var(--history-controls-height) var(--history-hint-height);padding-top:var(--history-stage-top,96px)}
  .company-page.sub0102 .history-stage>.history-events li{padding-block:5px}
  .company-page.sub0102 .history-stage::before{background-size:127.917226% 43.546292vw;background-position:center calc(100% + 8.874356vw);opacity:.35}
}
@media(max-height:700px){
  .company-page.sub0102 .history-stage{--history-controls-height:46px;--history-hint-height:18px;--history-stage-bottom:20px;padding-top:var(--history-stage-top,96px)}
}
@media(max-width:700px) and (max-height:600px){
  .company-page.sub0102 .history-events li{padding-block:2px;line-height:1.4}
}
@media(prefers-reduced-motion:reduce){
  .company-page.sub0102 .history-stage{display:block;height:auto;padding:40px 24px}
  .company-page.sub0102 .history-card>.history-events{height:auto;overflow:visible}
}

/* Keep the full relocation date clear of the event description. */
.history-events li.history-event-dated{grid-template-columns:minmax(72px,max-content) 1fr}
