:root {
  --timeline-paper: #f0ebe1;
  --timeline-paper-deep: #e4dccf;
  --timeline-ink: #171714;
  --timeline-muted: #68635a;
  --timeline-red: #913328;
  --timeline-dark: #1a1b19;
  --timeline-line: rgba(23, 23, 20, 0.2);
}

/* 2026-07-18：统一非首页首屏的文字层级与版面高度 */
.timeline-hero {
  min-height: 0;
  height: clamp(500px, 42vw, 620px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 17, 15, 0.88) 0%, rgba(16, 17, 15, 0.68) 34%, rgba(16, 17, 15, 0.2) 62%, rgba(16, 17, 15, 0.06) 100%),
    url("public/images/timeline/timeline-corridor-gallery-v2.png") center center / cover no-repeat;
}

.timeline-hero::before,
.timeline-hero::after {
  display: none;
}

.timeline-hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1120px);
  padding: clamp(36px, 4.6vw, 64px) 5vw;
  color: #f7f0e6;
}

.timeline-eyebrow {
  margin-bottom: clamp(20px, 2.6vw, 36px);
  color: #f1c4b2;
  font-size: 14px;
  letter-spacing: 0.15em;
}

.timeline-hero h1 {
  color: #f7f0e6;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.timeline-hero-statement {
  margin: clamp(16px, 2vw, 26px) 0 0;
  color: #f3e9dd;
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.timeline-hero-statement em {
  color: #efb39f;
}

.timeline-hero-lead {
  max-width: clamp(640px, 41vw, 760px);
  margin-top: clamp(20px, 2.4vw, 32px);
  color: rgba(247, 240, 230, 0.82);
  font-size: clamp(18px, 1.22vw, 21px);
  line-height: 1.68;
}

.timeline-hero-visual {
  display: none;
}

@media (max-width: 760px) {
  .timeline-hero {
    height: auto;
    min-height: 520px;
    background-position: center;
  }

  .timeline-hero-copy {
    max-width: none;
    padding: 64px 22px 46px;
  }

  .timeline-hero h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .timeline-hero-statement {
    white-space: normal;
  }
}

/* 2026-07-26：压实时光长廊，保留长廊感但减少上下空白。 */
.timeline-corridor {
  padding-top: clamp(42px, 4vw, 64px);
  padding-bottom: clamp(54px, 5vw, 78px);
}

.timeline-progress {
  top: clamp(42px, 4vw, 64px);
  bottom: clamp(54px, 5vw, 78px);
}

.timeline-events {
  row-gap: clamp(24px, 3vw, 44px);
}

.timeline-event:nth-child(even) {
  margin-top: clamp(24px, 3vw, 46px);
}

.timeline-event-year {
  margin-bottom: 9px;
  font-size: clamp(30px, 2.7vw, 50px);
}

.timeline-event-media {
  margin-bottom: 14px;
}

.timeline-event-media img {
  height: clamp(190px, 19vw, 310px);
}

.timeline-event h3 {
  font-size: clamp(22px, 1.65vw, 31px);
  line-height: 1.38;
}

.timeline-event-description {
  margin-top: 9px;
  font-size: clamp(15px, 0.95vw, 17px);
  line-height: 1.75;
}

.timeline-event.is-compact {
  padding: 16px 20px 18px;
}

.timeline-event.is-compact .timeline-event-year {
  font-size: clamp(27px, 2.2vw, 40px);
}

@media (max-width: 760px) {
  .timeline-corridor {
    padding: 40px 22px 52px 46px;
  }

  .timeline-progress {
    top: 40px;
    bottom: 52px;
    left: 23px;
  }

  .timeline-event,
  .timeline-event:nth-child(even),
  .timeline-event:nth-child(odd) {
    margin-bottom: 34px;
  }

  .timeline-event-media img {
    height: clamp(190px, 58vw, 300px);
  }

  .timeline-event h3 {
    font-size: 24px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--timeline-paper);
}

body.timeline-page {
  margin: 0;
  color: var(--timeline-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(145, 51, 40, 0.035), transparent 24rem),
    var(--timeline-paper);
  font-family: var(--sans);
}

.timeline-page img {
  display: block;
  max-width: 100%;
}

.timeline-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--timeline-line);
  color: var(--timeline-ink);
  background: rgba(241, 237, 228, 0.97);
}

.timeline-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.timeline-brand span {
  color: var(--timeline-red);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.timeline-brand strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.timeline-header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.timeline-header nav a,
.timeline-home-link {
  color: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.timeline-header nav a[aria-current="page"] {
  color: var(--timeline-red);
}

.timeline-hero {
  --timeline-hero-image: url("public/images/timeline/timeline-corridor-gallery-v2.png");
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(360px, 0.34fr) minmax(680px, 0.66fr);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  color: #fff9ee;
  background:
    linear-gradient(90deg, rgba(36, 35, 30, 0.72) 0%, rgba(61, 60, 53, 0.5) 36%, rgba(98, 96, 86, 0.22) 58%, rgba(98, 96, 86, 0.04) 78%, rgba(98, 96, 86, 0) 100%),
    var(--timeline-hero-image) center center / cover no-repeat;
}

.timeline-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(20, 20, 18, 0.58) 0%, rgba(39, 39, 35, 0.48) 32%, rgba(72, 71, 64, 0.24) 52%, rgba(96, 94, 84, 0.08) 68%, rgba(96, 94, 84, 0) 100%);
  pointer-events: none;
}

.timeline-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(15, 15, 13, 0.08), rgba(15, 15, 13, 0) 28%, rgba(15, 15, 13, 0.18));
  pointer-events: none;
}

.timeline-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 2;
  padding: clamp(32px, 3.8vw, 70px) 5vw;
}

.timeline-eyebrow,
.timeline-preface-index,
.timeline-ending > p {
  margin: 0;
  color: #f2b59e;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.timeline-hero h1 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 3.8vw, 68px);
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1;
  color: #fffaf0;
}

.timeline-hero-statement {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 38px);
  line-height: 1.25;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: #fff6e8;
}

.timeline-hero-statement em {
  color: #f0bca8;
  font-style: normal;
}

.timeline-hero-lead {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgba(255, 249, 238, 0.88);
  font-family: var(--serif);
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.75;
}

.timeline-hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1080 / 529;
  overflow: hidden;
  background: transparent;
}

.timeline-hero-visual::before {
  display: none;
}

.timeline-hero-main {
  position: absolute;
  overflow: hidden;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: transparent;
}

.timeline-hero-main img {
  width: 110%;
  height: 110%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.9) contrast(1.03);
}

.timeline-hero-main::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(26, 27, 25, 0.1), transparent 22%, transparent 100%);
}

.timeline-corridor {
  position: relative;
  padding: clamp(52px, 5vw, 78px) 6vw clamp(64px, 6vw, 92px);
}

.timeline-progress {
  position: absolute;
  z-index: 1;
  top: clamp(52px, 5vw, 78px);
  bottom: clamp(64px, 6vw, 92px);
  left: 50%;
  width: 1px;
  overflow: hidden;
  background: rgba(23, 23, 20, 0.16);
}

.timeline-progress span {
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  background: var(--timeline-red);
}

.timeline-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1180px;
  margin: 0 auto;
  column-gap: clamp(48px, 5vw, 76px);
  row-gap: clamp(24px, 3vw, 42px);
}

.timeline-event {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: start;
}

.timeline-event:nth-child(even) {
  grid-column: 2;
  margin-top: clamp(20px, 2vw, 34px);
}

.timeline-event:nth-child(odd) {
  grid-column: 1;
}

.timeline-event::before {
  position: absolute;
  top: 18px;
  width: calc(clamp(48px, 5vw, 76px) / 2);
  height: 1px;
  content: "";
  background: var(--timeline-line);
}

.timeline-event::after {
  position: absolute;
  top: 13px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--timeline-paper);
  border-radius: 50%;
  content: "";
  background: var(--timeline-red);
}

.timeline-event:nth-child(odd)::before {
  left: 100%;
}

.timeline-event:nth-child(even)::before {
  right: 100%;
}

.timeline-event:nth-child(odd)::after {
  left: calc(100% + clamp(48px, 5vw, 76px) / 2 - 5px);
}

.timeline-event:nth-child(even)::after {
  right: calc(100% + clamp(48px, 5vw, 76px) / 2 - 5px);
}

.timeline-event-year {
  display: block;
  margin: 0 0 12px;
  color: var(--timeline-red);
  font-family: var(--serif);
  font-size: clamp(34px, 3.3vw, 60px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
}

.timeline-event-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: inherit;
  background: var(--timeline-paper-deep);
  cursor: zoom-in;
}

.timeline-event-media.is-pair {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: stretch;
}

.timeline-event-media img {
  width: 100%;
  height: clamp(150px, 14vw, 230px);
  object-fit: cover;
  transition: transform 350ms ease;
}

.timeline-event-media.is-pair img:last-child {
  object-fit: contain;
  object-position: center;
  background: var(--timeline-paper-deep);
}

.timeline-event-media:hover img {
  transform: scale(1.018);
}

.timeline-event h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 1.65vw, 30px);
  font-weight: 400;
  line-height: 1.45;
}

.timeline-event-description {
  margin: 12px 0 0;
  color: var(--timeline-muted);
  font-family: var(--serif);
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.9;
}

.timeline-event.is-compact {
  padding: 20px 24px 22px;
  border-top: 1px solid var(--timeline-line);
  border-bottom: 1px solid var(--timeline-line);
  background: rgba(255, 255, 255, 0.14);
}

.timeline-event.is-compact .timeline-event-year {
  font-size: clamp(30px, 2.6vw, 48px);
}

.timeline-ending {
  display: flex;
  width: 100%;
  min-height: clamp(150px, 15vw, 220px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 3.2vw, 52px) 7vw;
  color: #f3eee6;
  background: var(--timeline-dark);
}

.timeline-ending h2 {
  max-width: 1100px;
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 36px);
  font-weight: 400;
  line-height: 1.28;
}

.timeline-footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 30px 5vw;
  border-top: 1px solid rgba(243, 238, 230, 0.12);
  background: var(--timeline-dark);
  color: #f3eee6;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.timeline-footer div {
  display: flex;
  gap: 28px;
}

.timeline-footer a {
  color: inherit;
  text-decoration: none;
}

.timeline-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 64px 6vw 42px;
  border: 0;
  color: #f4efe7;
  background: rgba(14, 15, 14, 0.96);
}

.timeline-lightbox::backdrop {
  background: rgba(8, 9, 8, 0.8);
}

.timeline-lightbox > button {
  position: fixed;
  z-index: 2;
  top: 24px;
  right: 32px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 231, 0.6);
  color: #f4efe7;
  background: transparent;
  cursor: pointer;
}

.timeline-lightbox figure {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 100%;
  min-height: calc(100vh - 106px);
  margin: 0;
}

.timeline-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
}

.timeline-lightbox figcaption {
  margin-top: 18px;
  color: rgba(244, 239, 231, 0.72);
  font-size: 15px;
}

@media (max-width: 1080px) {
  .timeline-header {
    grid-template-columns: 1fr auto;
  }

  .timeline-header nav {
    display: none;
  }

  .timeline-hero {
    grid-template-columns: minmax(330px, 0.38fr) minmax(0, 0.62fr);
  }

  .timeline-hero-copy {
    padding: 30px 3.5vw;
  }

}

@media (max-width: 760px) {
  .timeline-header {
    min-height: 70px;
    padding: 0 22px;
  }

  .timeline-brand span,
  .timeline-home-link span {
    display: none;
  }

  .timeline-brand strong {
    font-size: 17px;
  }

  .timeline-home-link {
    font-size: 13px;
  }

  .timeline-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .timeline-hero-copy {
    min-height: 0;
    padding: 56px 24px 48px;
  }

  .timeline-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .timeline-hero-statement {
    font-size: clamp(21px, 6.6vw, 30px);
    letter-spacing: 0.015em;
  }

  .timeline-hero-lead {
    font-size: 17px;
  }

  .timeline-hero-visual {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1080 / 481;
  }

  .timeline-hero-main {
    inset: 0;
  }

  .timeline-corridor {
    padding: 48px 24px 58px 48px;
  }

  .timeline-progress {
    top: 48px;
    bottom: 58px;
    left: 24px;
  }

  .timeline-events {
    display: block;
  }

  .timeline-event,
  .timeline-event:nth-child(even),
  .timeline-event:nth-child(odd) {
    margin: 0 0 44px;
  }

  .timeline-event:last-child {
    margin-bottom: 0;
  }

  .timeline-event::before {
    top: 18px;
    right: 100%;
    left: auto !important;
    width: 24px;
  }

  .timeline-event::after,
  .timeline-event:nth-child(even)::after,
  .timeline-event:nth-child(odd)::after {
    top: 13px;
    right: calc(100% + 19px);
    left: auto;
  }

  .timeline-event-media img {
    height: clamp(210px, 66vw, 330px);
  }

  .timeline-event-media.is-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  }

  .timeline-event h3 {
    font-size: 23px;
  }

  .timeline-event.is-compact {
    padding: 18px 20px 20px;
  }

  .timeline-ending {
    padding: 30px 24px;
  }

  .timeline-ending h2 {
    font-size: 23px;
  }

  .timeline-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 34px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .timeline-event-media img {
    transition: none;
  }
}

/* 2026-07-18：最终覆盖——统一非首页首屏的文字格式 */
.timeline-hero {
  min-height: 0;
  height: clamp(500px, 42vw, 620px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 17, 15, 0.88) 0%, rgba(16, 17, 15, 0.68) 34%, rgba(16, 17, 15, 0.2) 62%, rgba(16, 17, 15, 0.06) 100%),
    url("public/images/timeline/timeline-corridor-gallery-v2.png") center center / cover no-repeat;
}

.timeline-hero::before,
.timeline-hero::after {
  display: none;
}

.timeline-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(36px, 4.6vw, 64px) 5vw;
  color: #f7f0e6;
}

.timeline-eyebrow {
  margin-bottom: clamp(20px, 2.6vw, 36px);
  color: #f1c4b2;
  font-size: 14px;
  letter-spacing: 0.15em;
}

.timeline-hero h1 {
  color: #f7f0e6;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.timeline-hero .timeline-hero-statement {
  margin-top: clamp(18px, 2.2vw, 28px);
  color: #f3e9dd;
  font-size: clamp(36px, 3.55vw, 54px);
  line-height: 1.12;
  white-space: nowrap;
}

.timeline-hero-statement span,
.timeline-hero-statement em {
  display: inline;
  white-space: nowrap;
}

.timeline-hero-statement em {
  color: #efb39f;
}

.timeline-hero .timeline-hero-lead {
  max-width: min(88vw, 900px);
  margin-top: clamp(20px, 2.4vw, 32px);
  color: rgba(247, 240, 230, 0.82);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  white-space: nowrap;
}

.timeline-hero-visual {
  display: none;
}

@media (max-width: 760px) {
  .timeline-hero {
    height: auto;
    min-height: 520px;
    background-position: center;
  }

  .timeline-hero-copy {
    max-width: none;
    padding: 64px 22px 46px;
  }

  .timeline-hero h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .timeline-hero-statement {
    white-space: normal;
  }

  .timeline-hero .timeline-hero-lead {
    white-space: normal;
  }
}

/* 2026-07-29：时光长廊首屏换用高清增强图，并减少遮罩压暗。 */
.timeline-hero {
  --timeline-hero-image: url("public/images/timeline/timeline-corridor-gallery-v2-enhanced.jpg");
  background:
    linear-gradient(90deg, rgba(16, 17, 15, 0.74) 0%, rgba(16, 17, 15, 0.5) 34%, rgba(16, 17, 15, 0.16) 62%, rgba(16, 17, 15, 0.03) 100%),
    var(--timeline-hero-image) center center / cover no-repeat;
}

.timeline-hero-main img {
  filter: saturate(1.02) contrast(1.06) brightness(1.02);
}

/* Timeline ending/footer unified v2: 收尾板块与页脚统一底色，去掉中间分割线。 */
.timeline-page .timeline-ending,
.timeline-page .timeline-footer {
  background: #171a17;
}

.timeline-page .timeline-footer {
  border-top: 0;
}

/* Timeline mobile rail layout v3: 手机端固定为左侧年份/轴线、右侧照片与文字。 */
@media (max-width: 760px) {
  .timeline-page .timeline-corridor {
    padding: 34px 16px 46px 16px;
  }

  .timeline-page .timeline-progress {
    top: 40px;
    bottom: 46px;
    left: 96px;
    width: 1px;
    background: rgba(145, 51, 40, 0.22);
  }

  .timeline-page .timeline-events {
    display: block;
    max-width: none;
    margin: 0;
  }

  .timeline-page .timeline-event,
  .timeline-page .timeline-event:nth-child(even),
  .timeline-page .timeline-event:nth-child(odd),
  .timeline-page .timeline-event.is-compact {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 28px;
    width: 100%;
    margin: 0 0 30px;
    padding: 0 0 30px;
    border-top: 0;
    border-bottom: 1px solid rgba(64, 58, 48, 0.12);
  }

  .timeline-page .timeline-event:last-child {
    margin-bottom: 0;
  }

  .timeline-page .timeline-event::before,
  .timeline-page .timeline-event:nth-child(even)::before,
  .timeline-page .timeline-event:nth-child(odd)::before {
    top: 12px;
    right: auto;
    left: 72px !important;
    width: 24px;
    height: 1px;
    background: rgba(145, 51, 40, 0.24);
  }

  .timeline-page .timeline-event::after,
  .timeline-page .timeline-event:nth-child(even)::after,
  .timeline-page .timeline-event:nth-child(odd)::after {
    top: 7px;
    right: auto;
    left: 75px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--timeline-paper);
    background: var(--timeline-red);
  }

  .timeline-page .timeline-event-year,
  .timeline-page .timeline-event.is-compact .timeline-event-year {
    grid-column: 1;
    grid-row: 1 / span 4;
    margin: 0;
    padding-top: 0;
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.18;
    text-align: left;
    word-break: keep-all;
  }

  .timeline-page .timeline-event-media {
    grid-column: 2;
    width: 100%;
    margin: 0 0 10px;
    background: rgba(231, 224, 211, 0.78);
  }

  .timeline-page .timeline-event-media,
  .timeline-page .timeline-event-media.is-pair {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .timeline-page .timeline-event-media img,
  .timeline-page .timeline-event-media.is-pair img,
  .timeline-page .timeline-event-media.is-pair img:last-child {
    width: 100%;
    height: clamp(120px, 38vw, 180px);
    object-fit: contain;
    object-position: center;
    background: rgba(231, 224, 211, 0.78);
  }

  .timeline-page .timeline-event h3,
  .timeline-page .timeline-event-description {
    grid-column: 2;
  }

  .timeline-page .timeline-event h3 {
    font-size: clamp(17px, 4.7vw, 20px);
    line-height: 1.42;
  }

  .timeline-page .timeline-event-description {
    margin-top: 7px;
    font-size: 13.5px;
    line-height: 1.68;
  }
}

@media (max-width: 430px) {
  .timeline-page .timeline-corridor {
    padding-right: 14px;
    padding-left: 14px;
  }

  .timeline-page .timeline-progress {
    left: 84px;
  }

  .timeline-page .timeline-event,
  .timeline-page .timeline-event:nth-child(even),
  .timeline-page .timeline-event:nth-child(odd),
  .timeline-page .timeline-event.is-compact {
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 22px;
  }

  .timeline-page .timeline-event::before,
  .timeline-page .timeline-event:nth-child(even)::before,
  .timeline-page .timeline-event:nth-child(odd)::before {
    left: 62px !important;
    width: 22px;
  }

  .timeline-page .timeline-event::after,
  .timeline-page .timeline-event:nth-child(even)::after,
  .timeline-page .timeline-event:nth-child(odd)::after {
    left: 66px;
  }

  .timeline-page .timeline-event-year,
  .timeline-page .timeline-event.is-compact .timeline-event-year {
    font-size: 17px;
  }
}
