/* Axiom office cards, matching the supplied headquarters reference. */
#main .company-office-card {
  --office-ink: #1d354b;
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 1.3vw, 24px);
  border: 1px solid #476176;
  border-radius: 30px;
  background: linear-gradient(125deg, #203d55, #172b3c);
  color: #fff;
  box-shadow: 0 7px 0 #142737, 0 24px 34px -20px #17324766;
  overflow: hidden;
  isolation: isolate;
  text-align: start;
}
#main .company-office-photo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.87;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 17px;
  overflow: hidden;
  isolation: isolate;
  background: #355365;
  color: #fff;
  cursor: zoom-in;
}
#main .company-office-backdrop {
  position: absolute;
  inset: -24px;
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(20px) brightness(.64);
  pointer-events: none;
}
#main .company-office-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: none !important;
}
#main .company-office-photo-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  max-width: calc(100% - 40px);
  padding: 9px 13px;
  border-radius: 9px;
  background: #20303ae6;
  color: #fff;
  font-size: clamp(10px, .78vw, 14px);
  font-weight: 600;
  line-height: 1.8;
  text-align: start;
  pointer-events: none;
}
#main .company-office-body { padding: 25px 16px 18px; }
#main .company-office-location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #bfccd5;
  font-size: clamp(12px, .95vw, 16px);
  font-weight: 500;
  line-height: 1.8;
}
#main .company-office-pin {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff0d;
  color: #efaa80;
}
#main .company-office-pin svg { width: 18px; height: 18px; }
#main .company-office-body h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(25px, 1.85vw, 35px);
  font-weight: 700;
  line-height: 1.6;
}
#main .company-office-address {
  margin: 0;
  color: #bfccd5;
  font-size: clamp(12px, .95vw, 16px);
  font-weight: 500;
  line-height: 1.9;
}
#main .company-office-directions {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  margin-top: 22px;
  color: #efa77e;
  font-size: clamp(13px, 1.04vw, 18px);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
}
#main .company-office-directions svg { width: 23px; height: 23px; }
#main .company-office-directions:hover { color: #fff; }
#main .company-office-photo:focus-visible,
#main .company-office-directions:focus-visible,
#main .company-office-choice:focus-visible,
#main .company-office-contact a:focus-visible {
  outline: 3px solid #e16538;
  outline-offset: 5px;
}
#main .company-offices-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: 'card sidebar';
  gap: clamp(28px, 3.2vw, 65px);
  align-items: start;
  direction: ltr;
}
#main .company-offices-sidebar { grid-area: sidebar; min-width: 0; }
#main .company-offices-gallery > .company-office-card { grid-area: card; }
html[dir=rtl] #main .company-offices-sidebar,
html[dir=rtl] #main .company-offices-gallery > .company-office-card { direction: rtl; }
#main .company-office-choices { display: grid; gap: 17px; }
#main .company-office-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: clamp(110px, 7vw, 140px);
  padding: 25px 29px;
  border: 1px solid #e1e8ee;
  border-inline-start: 5px solid transparent;
  border-radius: 18px;
  background: #fff;
  color: #233649;
  box-shadow: 0 5px 0 #e1e8ed;
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
#main .company-office-choice[aria-pressed=true] {
  border-color: #bed0dd;
  border-inline-start-color: #e16538;
  background: #eaf1f7;
}
#main .company-office-choice:hover { background: #f0f5f8; }
#main .company-office-number {
  color: #8298ac;
  font-size: 14px;
  font-weight: 400;
  direction: ltr;
}
#main .company-office-choice[aria-pressed=true] .company-office-number,
#main .company-office-choice[aria-pressed=true] .company-office-choice-arrow { color: #e16538; }
#main .company-office-choice-copy { display: grid; gap: 5px; }
#main .company-office-choice-copy strong {
  color: inherit;
  font-size: clamp(22px, 1.6vw, 30px);
  font-weight: 700;
  line-height: 1.65;
}
#main .company-office-choice-copy > span { color: #667784; font-size: 14px; line-height: 1.8; }
#main .company-office-choice-arrow { margin-inline-start: auto; color: #8496a1; }
#main .company-office-choice-arrow svg { width: 24px; height: 24px; }
#main .company-office-contact { margin-top: 47px; padding-inline: 30px; text-align: start; }
#main .company-office-contact h3 {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0 0 12px;
  color: #24384b;
  font-size: 18px;
  font-weight: 700;
}
#main .company-office-contact h3 svg { width: 21px; height: 21px; color: #e16538; }
#main .company-office-contact > a { display: block; width: fit-content; margin: 8px 38px; color: #6b7b88; font-size: 14px; }
#main .company-office-operations {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: radial-gradient(ellipse at 70% 30%, #497b8d, #243d53 65%);
  cursor: default;
}
#main .company-office-operations-mark svg { width: 90px; height: 90px; stroke-width: 1; color: #c4d6df; }
#main .company-office-operations-title { color: #d8e3e9; font-size: 23px; font-weight: 500; }
#main .headquarters-visual:has(> .company-office-card) { padding: 0; background: none; box-shadow: none; border: 0; }
#main .company-office-card--compact { padding: 16px; border-radius: 25px; }
#main .company-office-card--compact .company-office-photo { aspect-ratio: 1.55; border-radius: 14px; }
#main .company-office-card--compact .company-office-photo-label { top: 13px; left: 13px; max-width: calc(100% - 26px); font-size: 10px; padding: 7px 10px; }
#main .company-office-card--compact .company-office-body { padding: 18px 9px 9px; }
#main .company-office-card--compact .company-office-location { margin-bottom: 12px; font-size: 11px; gap: 9px; }
#main .company-office-card--compact .company-office-pin { width: 30px; height: 30px; flex-basis: 30px; }
#main .company-office-card--compact .company-office-body h3 { margin-bottom: 10px; font-size: clamp(22px, 1.6vw, 27px); }
#main .company-office-card--compact .company-office-address { font-size: 11px; }
#main .company-office-card--compact .company-office-directions { margin-top: 12px; font-size: 12px; gap: 20px; }
#main .company-office-card--compact .company-office-directions svg { width: 20px; height: 20px; }
#main .office-section:has(.company-offices-gallery) { padding-block: 36px 64px; background: #f6f8fa; }
@media (min-width: 1700px) {
  #main .office-section:has(.company-offices-gallery) > .container { width: min(1780px, calc(100% - 160px)); max-width: 1780px; }
}
@media (max-width: 900px) {
  #main .company-offices-gallery { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
  #main .company-office-card { border-radius: 24px; padding: 15px; }
  #main .company-office-choice { padding: 20px 16px; gap: 14px; min-height: 110px; }
  #main .company-office-choice-copy strong { font-size: 22px; }
  #main .company-office-choice-copy > span { font-size: 12px; }
  #main .company-office-contact { padding-inline: 16px; margin-top: 34px; }
  #main .company-office-contact h3 { font-size: 15px; gap: 10px; }
  #main .company-office-contact > a { margin-inline: 0; font-size: 12px; }
  #main .company-office-body { padding: 20px 9px 10px; }
}
@media (max-width: 650px) {
  #main .company-offices-gallery { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'sidebar' 'card'; gap: 25px; }
  #main .company-office-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #main .company-office-choice { min-height: 101px; padding: 14px 12px; gap: 10px; border-radius: 14px; }
  #main .company-office-choice-copy strong { font-size: 21px; }
  #main .company-office-choice-copy > span { font-size: 11px; }
  #main .company-office-number { font-size: 11px; }
  #main .company-office-choice-arrow { display: none; }
  #main .company-office-contact { display: none; }
  #main .company-office-card { padding: 13px; border-radius: 23px; }
  #main .company-office-photo { aspect-ratio: 1.25; border-radius: 14px; }
  #main .company-office-photo-label { top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 7px 10px; font-size: 10px; }
  #main .company-office-body { padding: 18px 8px 10px; }
  #main .company-office-location { margin-bottom: 13px; font-size: 11px; gap: 9px; }
  #main .company-office-pin { width: 30px; height: 30px; flex-basis: 30px; }
  #main .company-office-body h3 { margin-bottom: 12px; font-size: 23px; }
  #main .company-office-address { font-size: 12px; }
  #main .company-office-directions { margin-top: 15px; font-size: 13px; gap: 22px; }
  #main .company-office-card--compact .company-office-photo { aspect-ratio: 1.25; }
  #main .office-section:has(.company-offices-gallery) { padding-block: 28px 45px; }
}
@media (max-width: 360px) {
  #main .company-office-choice { gap: 7px; padding-inline: 9px; }
  #main .company-office-choice-copy strong { font-size: 19px; }
  #main .company-office-choice-copy > span { font-size: 10px; }
  #main .company-office-body h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  #main .company-office-choice, #main .company-office-directions { transition: none; }
}
@media print {
  #main .company-office-card { break-inside: avoid; box-shadow: none; }
  #main .company-offices-gallery { display: block; }
  #main .company-offices-sidebar { display: none; }
}

/* The headquarters photo stays visible beside all international addresses. */
#main .company-office-addresses { display: grid; gap: 16px; }
#main .company-office-address-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  min-width: 0;
  min-height: 140px;
  padding: 24px;
  border: 1px solid #dce5ec;
  border-inline-start: 4px solid #e16538;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f8fafc);
  box-shadow: 0 5px 0 #e1e8ed, 0 13px 26px -23px #1c3b55;
  text-align: start;
}
#main .company-office-country {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #d5e2eb;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #e5eef4);
  box-shadow: 0 3px 0 #dce6ed;
  color: #234258;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  direction: ltr;
}
#main .company-office-address-copy { min-width: 0; }
#main .company-office-address-label { display: block; color: #8193a2; font-size: 10px; line-height: 1.6; }
#main .company-office-address-copy h3 { margin: 4px 0 9px; color: #233c50; font-size: clamp(23px, 1.6vw, 29px); line-height: 1.5; }
#main .company-office-address-copy p { margin: 0; color: #657b8b; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
#main .company-office-address-number { padding-top: 4px; color: #b77555; font-size: 11px; direction: ltr; }
#main .company-office-map { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin-top: 7px; color: #b8522b; font-size: 11px; font-weight: 600; text-decoration: none; }
#main .company-office-map svg { width: 15px; height: 15px; }
#main .company-office-map:focus-visible { outline: 3px solid #e16538; outline-offset: 4px; border-radius: 4px; }
#main .company-office-map:hover { color: #173c53; }
#main .company-office-contact { margin-top: 33px; }
#main .company-office-addresses--compact { gap: 11px; margin-block: 23px 21px; }
#main .company-office-addresses--compact .company-office-address-card { grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 82px; padding: 13px 16px; border-radius: 14px; border-inline-start-width: 3px; box-shadow: 0 3px 0 #e1e8ed; }
#main .company-office-addresses--compact .company-office-country { width: 36px; height: 36px; border-radius: 10px; font-size: 11px; }
#main .company-office-addresses--compact .company-office-address-label,
#main .company-office-addresses--compact .company-office-map { display: none; }
#main .company-office-addresses--compact .company-office-address-copy h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.5; }
#main .company-office-addresses--compact .company-office-address-copy p { margin: 0; font-size: 11px; line-height: 1.8; }
#main .company-office-addresses--compact .company-office-address-number { align-self: start; font-size: 10px; }
@media (max-width: 1000px) and (min-width: 651px) {
  #main .company-office-address-card { grid-template-columns: 38px minmax(0, 1fr); gap: 13px; padding: 18px; }
  #main .company-office-country { width: 38px; height: 38px; border-radius: 11px; font-size: 11px; }
  #main .company-office-address-number { display: none; }
  #main .company-office-address-copy p { font-size: 12px; }
}
@media (max-width: 650px) {
  #main .company-offices-gallery { grid-template-areas: 'card' 'sidebar'; }
  #main .company-office-addresses { gap: 15px; }
  #main .company-office-address-card { min-height: 120px; grid-template-columns: 42px minmax(0, 1fr) auto; padding: 20px 17px; gap: 14px; border-radius: 16px; }
  #main .company-office-country { width: 42px; height: 42px; border-radius: 12px; font-size: 12px; }
  #main .company-office-address-copy h3 { font-size: 24px; }
  #main .company-office-address-copy p { font-size: 12px; }
  #main .company-office-addresses--compact { gap: 12px; }
  #main .company-office-addresses--compact .company-office-address-card { min-height: 83px; padding: 14px; }
}

/* Address selection controls the adjacent photo gallery. */
#main .company-office-address-card { min-height: 124px; padding: 19px 22px; transition: background .2s, border-color .2s; }
#main .company-office-address-card[data-selected=true] { background: #eaf2f8; border-color: #b9d0e0; border-inline-start-color: #e16538; }
#main .company-office-address-copy h3 { margin-bottom: 7px; }
#main .company-office-address-copy h3 button { padding: 0; border: 0; background: none; color: inherit; font: inherit; line-height: inherit; text-align: inherit; cursor: pointer; }
#main .company-office-address-copy h3 button::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; cursor: pointer; }
#main .company-office-address-card:has(button:focus-visible) { outline: 3px solid #e16538; outline-offset: 4px; }
#main .company-office-address-copy h3 button:focus-visible { outline: none; }
#main .company-office-address-sample { display: inline-block; margin-top: 7px; padding: 2px 7px; border-radius: 5px; background: #f8e9dc; color: #8c461e; font-size: 9px; }
#main .company-office-gallery-hint { display: flex; align-items: center; gap: 7px; margin-top: 9px; color: #b5522c; font-size: 10px; font-weight: 600; }
#main .company-office-gallery-hint svg { width: 14px; height: 14px; }
#main .company-office-gallery-hint bdi { margin-inline-start: auto; color: #8b9eac; font-weight: 400; }
#main .company-office-photo-controls { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 10px 5px 8px; border-bottom: 1px solid #ffffff14; color: #c6d6e0; }
#main .company-office-card { scroll-margin-top: calc(var(--header, 80px) + 15px); }
#main .company-office-photo-controls > span { font-size: 13px; font-variant-numeric: tabular-nums; }
#main .company-office-photo-note { position: absolute; bottom: 14px; inset-inline-start: 14px; padding: 5px 9px; border-radius: 6px; background: #20303ae6; color: #fff; font-size: 10px; }
#main .company-office-photo-zoom { position: absolute; bottom: 13px; inset-inline-end: 14px; display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid #ffffff50; border-radius: 9px; background: #193245b3; color: #fff; }
#main .company-office-photo-zoom svg { width: 17px; height: 17px; }
#main .company-office-sample { display: block; width: fit-content; margin-top: 10px; padding: 3px 8px; border-radius: 5px; background: #ffffff13; color: #efbf9e; font-size: 11px; }
#main .company-office-body { padding-top: 18px; }
#main .company-office-addresses--compact .company-office-address-card { padding-block: 12px; }
#main .company-office-addresses--compact .company-office-gallery-hint { margin-top: 5px; font-size: 9px; }
#main .company-office-addresses--compact .company-office-address-sample { margin-top: 5px; font-size: 8px; }
#main .company-office-card--compact .company-office-photo-controls { padding-block: 8px; }

/* Show the complete portrait of the headquarters in the opening slide. */
#main .hero-photo--headquarters::before { content: ''; position: absolute; inset: -22px; background-image: var(--hq-image); background-size: cover; background-position: center; filter: blur(16px) brightness(.65); }
#main .hero .hero-slide .hero-photo--headquarters > img { z-index: 1; object-fit: contain !important; object-position: 76% 50% !important; transform: none !important; }
html[dir=rtl] #main .hero .hero-slide .hero-photo--headquarters > img { object-position: 24% 50% !important; }
#main .hero:has(.hero-slide.active .hero-photo--headquarters) .hero-shade { background: linear-gradient(90deg, #002c42db, #002c4273 45%, #002c4226 80%); }
html[dir=rtl] #main .hero:has(.hero-slide.active .hero-photo--headquarters) .hero-shade { background: linear-gradient(-90deg, #002c42db, #002c4273 45%, #002c4226 80%); }
@media (max-width: 800px) {
  #main .hero .hero-slide .hero-photo--headquarters > img,
  html[dir=rtl] #main .hero .hero-slide .hero-photo--headquarters > img { object-position: 50% 50% !important; }
  #main .hero:has(.hero-slide.active .hero-photo--headquarters) .hero-shade,
  html[dir=rtl] #main .hero:has(.hero-slide.active .hero-photo--headquarters) .hero-shade { background: linear-gradient(0deg, #002c42e8, #002c426b 65%, #002c4233); }
}
@media (prefers-reduced-motion: reduce) { #main .company-office-address-card { transition: none; } }
