:root {
  --ak-shell: min(1360px, calc(100vw - clamp(48px, 10vw, 180px)));
  --ak-header-shell: min(1700px, calc(100vw - clamp(48px, 8vw, 160px)));
  --ak-gold: #b88a08;
  --ak-deep-gold: #8b6816;
  --ak-ink: #20292d;
  --ak-line: rgba(169, 146, 95, 0.36);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--ak-line);
  box-shadow: 0 8px 28px rgba(60, 52, 36, 0.05);
}

.site-header .nav-row {
  width: var(--ak-header-shell);
  min-height: 86px;
  margin: 0 auto;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 270px 1fr 270px;
  align-items: center;
  column-gap: 24px;
}

.site-header .brand {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
}

.site-header .brand img {
  width: clamp(170px, 11vw, 230px) !important;
  max-height: 74px !important;
  height: auto !important;
  object-fit: contain;
}

.site-header .main-nav {
  grid-column: 2;
  justify-self: center;
  width: max-content !important;
  max-width: 100%;
  margin: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 2.2vw, 44px);
  flex-wrap: nowrap;
}

.site-header .main-nav a {
  padding: 29px 0 24px !important;
  font-size: clamp(15px, 0.95vw, 18px) !important;
  line-height: 1;
  white-space: nowrap;
}

.site-header .language-menu {
  grid-column: 3;
  justify-self: end;
}

.hero {
  margin-top: 0 !important;
}

.gold-strip {
  margin: 0 !important;
  padding: 0 !important;
  background: #efe4cc !important;
  display: flex;
  justify-content: center;
}

.gold-strip .gold-ticker {
  width: min(1120px, 70vw) !important;
  margin: 0 auto !important;
  padding: 10px 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.gold-strip .gold-ticker > div {
  text-align: left;
}

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

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

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

#about .section-heading h2,
#news .section-heading h2,
#operations .section-heading h2 {
  margin: 0 0 30px !important;
  font-size: clamp(44px, 4vw, 64px) !important;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--ak-ink);
}

#about .section-heading p {
  width: 100%;
  max-width: none !important;
  color: #111 !important;
  font-size: clamp(18px, 1.15vw, 23px);
  line-height: 1.9;
  text-align: left;
}

#news > .section-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ak-line);
}

#news .news-list {
  border-top: 0 !important;
}

#news .news-row {
  width: 100%;
  display: grid !important;
  grid-template-columns: 180px 86px 110px minmax(0, 1fr) 58px;
  gap: clamp(18px, 2vw, 40px);
  align-items: center;
  padding: 24px 0 !important;
  border-bottom: 1px solid var(--ak-line);
}

#news .news-row h3 {
  color: #111 !important;
  font-size: clamp(16px, 1.05vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

#news .news-row a {
  font-size: clamp(14px, 0.9vw, 16px) !important;
}

#operations .section-heading.row {
  display: block !important;
}

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

#operations .operation-controls {
  width: 100%;
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin: 0 0 clamp(28px, 3vw, 42px) !important;
}

#operations .operation-gallery-wrap {
  width: min(940px, 72vw) !important;
  max-width: 100%;
  margin: 0 auto 38px !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  column-gap: 22px;
  align-items: center;
  overflow: visible !important;
}

#operations .operation-gallery {
  grid-column: 2;
  width: 100%;
  display: flex !important;
  overflow: hidden !important;
  scroll-snap-type: x mandatory;
}

#operations .operation-image {
  flex: 0 0 100% !important;
  aspect-ratio: 4 / 3;
  max-height: min(500px, calc(100vh - 300px));
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(44, 39, 29, 0.12);
}

#operations .operation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#operations .gallery-arrow {
  position: static !important;
  transform: none !important;
  width: 46px !important;
  height: 46px !important;
  grid-row: 1;
  justify-self: center;
}

#operations .gallery-arrow.prev {
  grid-column: 1;
}

#operations .gallery-arrow.next {
  grid-column: 3;
}

#operations .button.inline-action {
  display: block !important;
  width: max-content;
  margin: 0 auto 56px !important;
}

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

@media (max-width: 1180px) {
  .site-header .nav-row {
    grid-template-columns: 210px 1fr 190px;
    column-gap: 16px;
  }

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

  .site-header .main-nav {
    gap: 22px;
  }

  .gold-strip .gold-ticker {
    width: var(--ak-shell) !important;
  }

  #news .news-row {
    grid-template-columns: 140px 68px 92px minmax(0, 1fr) 46px;
  }
}

@media (max-width: 760px) {
  :root {
    --ak-shell: calc(100vw - 32px);
    --ak-header-shell: calc(100vw - 28px);
  }

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

  .site-header .brand {
    grid-column: 1;
  }

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

  .site-header .language-menu {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header .main-nav {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100% !important;
    overflow: auto;
    gap: 22px;
  }

  .site-header .main-nav a {
    padding: 12px 0 14px !important;
  }

  .gold-strip .gold-ticker {
    width: var(--ak-shell) !important;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0 !important;
  }

  #news .news-row {
    grid-template-columns: 92px 58px 1fr 38px;
    gap: 12px;
  }

  #news .news-row .news-category {
    display: none;
  }

  #operations .operation-gallery-wrap {
    width: var(--ak-shell) !important;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    column-gap: 8px;
  }
}
