/* Final alignment polish for the Chinese static preview. */
:root {
  --ak-content-width: min(1320px, calc(100vw - clamp(48px, 10vw, 320px)));
  --ak-header-width: min(1640px, calc(100vw - clamp(40px, 7vw, 180px)));
  --ak-gold: #b88a12;
  --ak-gold-dark: #8e6c18;
  --ak-ink: #1f2a2f;
  --ak-muted: #64727b;
  --ak-line: rgba(165, 137, 72, 0.34);
}

.site-header {
  padding: 0 !important;
}

.site-header .nav-row {
  width: var(--ak-header-width) !important;
  max-width: var(--ak-header-width) !important;
  min-height: 104px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 250px) 1fr minmax(132px, 190px) !important;
  align-items: center !important;
  gap: clamp(22px, 3vw, 64px) !important;
}

.site-header .brand {
  justify-self: start !important;
  margin: 0 !important;
}

.site-header .brand img {
  display: block !important;
  width: clamp(168px, 9vw, 220px) !important;
  height: auto !important;
  object-fit: contain !important;
}

.site-header .main-nav {
  justify-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(24px, 2.8vw, 50px) !important;
  white-space: nowrap !important;
}

.site-header .language-menu {
  justify-self: end !important;
}

.gold-strip {
  display: flex !important;
  justify-content: center !important;
  padding: 10px 0 !important;
}

.gold-strip .gold-ticker {
  width: var(--ak-content-width) !important;
  max-width: var(--ak-content-width) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: center !important;
  column-gap: clamp(32px, 7vw, 160px) !important;
}

.gold-strip .gold-ticker > div {
  min-width: 0 !important;
}

.gold-strip .gold-ticker strong {
  color: var(--ak-gold-dark) !important;
}

section.section,
.section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#about > .section-heading,
#timeline,
#about .about-metrics,
#news > .section-heading,
#news .news-list,
#news .section-more-link,
#project .project-map-switch,
#operations > .section-heading,
#operations .operation-switch {
  width: var(--ak-content-width) !important;
  max-width: var(--ak-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#about > .section-heading,
#news > .section-heading,
#operations > .section-heading {
  text-align: left !important;
}

#about > .section-heading h2,
#news > .section-heading h2,
#operations > .section-heading h2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#about > .section-heading p {
  width: 100% !important;
  max-width: none !important;
  color: #111 !important;
  line-height: 1.85 !important;
}

#news .section-heading.row {
  align-items: flex-end !important;
}

#news .news-list {
  border-top: 1px solid var(--ak-line) !important;
  border-bottom: 1px solid var(--ak-line) !important;
}

#news .news-row {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(120px, 170px) minmax(62px, 90px) minmax(86px, 120px) minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: clamp(24px, 3vw, 60px) !important;
}

#news .news-row + .news-row {
  border-top: 1px solid var(--ak-line) !important;
}

#news .news-row h3 {
  font-size: clamp(18px, 1.25vw, 22px) !important;
  font-weight: 400 !important;
  color: #111 !important;
}

#news .news-row a {
  font-size: 0.95em !important;
}

#operations .operation-copy > h3,
#operations .operation-copy > p,
#operations .operation-copy > ol {
  display: none !important;
}

#operations .operation-stage {
  width: 100% !important;
}

#operations .operation-media-block {
  width: 100% !important;
}

#operations .operation-gallery-wrap {
  width: min(940px, 100%) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#operations .operation-gallery {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#operations .operation-image {
  margin-left: auto !important;
  margin-right: auto !important;
}

#operations .gallery-arrow.prev {
  left: -58px !important;
}

#operations .gallery-arrow.next {
  right: -58px !important;
}

.article-body,
.article-body * {
  color: #111 !important;
}

@media (max-width: 1180px) {
  :root {
    --ak-content-width: min(100% - 48px, 1040px);
    --ak-header-width: calc(100% - 48px);
  }

  .site-header .nav-row {
    grid-template-columns: minmax(145px, 190px) 1fr auto !important;
    gap: 24px !important;
  }

  .site-header .brand img {
    width: 145px !important;
  }

  .site-header .main-nav {
    gap: clamp(16px, 2vw, 28px) !important;
    font-size: 15px !important;
  }

  #operations .operation-gallery-wrap {
    width: min(860px, 100%) !important;
  }
}

@media (max-width: 820px) {
  :root {
    --ak-content-width: calc(100% - 32px);
    --ak-header-width: calc(100% - 28px);
  }

  .site-header .nav-row {
    min-height: 88px !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 14px !important;
  }

  .site-header .brand img {
    width: 116px !important;
  }

  .site-header .main-nav {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    gap: 18px !important;
  }

  .gold-strip .gold-ticker {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  #news .news-row {
    grid-template-columns: 92px 64px 1fr !important;
    row-gap: 10px !important;
  }

  #news .news-row a {
    grid-column: 3 !important;
    justify-self: start !important;
  }

  #operations .gallery-arrow.prev {
    left: -18px !important;
  }

  #operations .gallery-arrow.next {
    right: -18px !important;
  }
}
