/* Devio regional map section, adapted from agenciadeviohn */
.region-section {
  background: var(--ink);
  overflow: hidden;
}

.region2 {
  display: grid;
  grid-template-columns: minmax(340px, .86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: clamp(42px, 5vw, 86px);
  min-height: min(780px, calc(100svh - 132px));
}

.region2-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.4vh, 30px);
  max-width: 560px;
}

.region-orb {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(244,244,236,.38);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: clamp(18px, 3vh, 34px);
}

.region-orb::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2c8693;
  box-shadow: 0 0 18px rgba(44,134,147,.55);
}

.region2 .eyebrow {
  color: #2c8693;
  margin: 0;
}

.region2-h2 {
  color: #f4f4ec;
  font-size: clamp(43px, 4.05vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 12.5ch;
  margin: 0;
}

.region2-h2 .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.region2 .rmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: clamp(22px, 3vh, 38px);
}

.rmap-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 19px 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,236,.20);
  background: transparent;
  color: rgba(244,244,236,.55);
  font: 700 clamp(17px, 1.2vw, 21px)/1 var(--font-display);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.rmap-chip:hover,
.rmap-chip.active {
  color: #f4f4ec;
  border-color: var(--chip-color, #2c8693);
  background: color-mix(in srgb, var(--chip-color, #2c8693) 12%, transparent);
}

.rmap-chipflag {
  width: 40px;
  height: 28px;
  border-radius: 6px;
  display: block;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 1px rgba(244,244,236,.18);
}

.rmap-chipflag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rmap-chiptag {
  color: #2c8693;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.region2 .region-note {
  max-width: 45ch;
  color: rgba(244,244,236,.58);
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1.45;
  margin: 8px 0 0;
}

.zenit-card {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(100%, 720px);
  min-height: 116px;
  margin-top: clamp(18px, 3vh, 34px);
  padding: 24px 18px 24px 28px;
  border: 1px solid rgba(244,244,236,.15);
  border-radius: 21px;
  background: rgba(244,244,236,.025);
  color: #f4f4ec;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}

.zenit-card:hover {
  border-color: rgba(244,244,236,.30);
  background: rgba(244,244,236,.055);
  transform: translateY(-2px);
}

.zenit-logo-wrap {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 164px;
  padding-right: 24px;
  border-right: 1px solid rgba(244,244,236,.16);
}

.zenit-logo {
  width: 132px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .68;
}

.zenit-tx {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.zenit-eyebrow {
  color: rgba(244,244,236,.34);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
}

.zenit-h {
  color: rgba(244,244,236,.64);
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 600;
  line-height: 1.25;
}

.zenit-go {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(244,244,236,.20);
  color: rgba(244,244,236,.46);
  display: grid;
  place-items: center;
  flex: none;
}

.zenit-go svg {
  width: 30px;
  height: 30px;
}

.region2-right {
  min-width: 0;
}

.amap-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(244,244,236,.16);
  border-radius: 38px;
  overflow: hidden;
  background: radial-gradient(85% 72% at 58% 40%, rgba(44,134,147,.12), transparent 48%),
              radial-gradient(120% 90% at 68% 14%, var(--ink-3), var(--ink) 76%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018);
}

.amap-holder {
  position: absolute;
  inset: 0;
}

.amap-holder svg,
.amap-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.amap-svg .land {
  fill: rgba(244,244,236,.12);
  stroke: rgba(244,244,236,.12);
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
  transition: fill .35s var(--ease), stroke .35s var(--ease), opacity .35s var(--ease);
}

.amap-svg .amk {
  cursor: pointer;
  fill: rgba(44,134,147,.20);
}

.amap-svg .amk:hover,
.amap-svg .amk.is-hover {
  fill: color-mix(in srgb, var(--cc) 58%, rgba(244,244,236,.13));
}

.amap-svg .amk.is-active {
  fill: var(--cc);
  stroke: var(--cc);
  stroke-width: 1.1;
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--cc) 72%, transparent));
}

.amap-card {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: min(342px, 38%);
  overflow: hidden;
  border: 1px solid rgba(244,244,236,.18);
  border-radius: 22px;
  background: var(--ink-2);
  box-shadow: 0 28px 70px rgba(0,0,0,.58);
  animation: cardIn .35s var(--ease) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
}

.amap-card .rmap-photo {
  aspect-ratio: 16 / 9;
  background: var(--ink-3);
  overflow: hidden;
}

.amap-card .rmap-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rmap-cardbody {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rmap-cardbody .rmap-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rmap-flag {
  width: 46px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
  flex: none;
  box-shadow: 0 0 0 1px rgba(244,244,236,.18);
}

.rmap-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rmap-cardbody .rmap-metatext {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rmap-cardbody .rmap-cn {
  color: #f4f4ec;
  font-size: clamp(22px, 1.4vw, 27px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.rmap-cardbody .rmap-badge {
  color: rgba(244,244,236,.40);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.rmap-cardbody .rmap-badge.here {
  color: #2c8693;
}

.rmap-loc {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-top: 24px;
  border-top: 1px solid rgba(244,244,236,.14);
  color: #2c8693;
}

.rmap-loc svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
}

.rmap-loc div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rmap-loc1 {
  color: #f4f4ec;
  font-size: clamp(17px, 1.15vw, 21px);
  font-weight: 700;
  line-height: 1.15;
}

.rmap-loc2 {
  color: rgba(244,244,236,.44);
  font-size: clamp(14px, .95vw, 17px);
  font-weight: 600;
  line-height: 1.2;
}

.rmap-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(244,244,236,.09);
  color: rgba(244,244,236,.60);
  font-size: clamp(16px, 1.1vw, 20px);
  font-weight: 800;
  line-height: 1;
  transition: filter .25s var(--ease), transform .25s var(--ease);
}

.rmap-visit.live {
  background: #2c8693;
  color: #F4F4EC;
}

.rmap-visit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.rmap-visit svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) {
  .region2 {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .region2-left {
    max-width: 760px;
  }

  .region2-h2 {
    max-width: 15ch;
  }

  .amap-stage {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .region-orb {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
  }

  .region2-h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .rmap-chip {
    min-height: 46px;
    font-size: 16px;
    padding-right: 14px;
  }

  .rmap-chipflag {
    width: 32px;
    height: 22px;
  }

  .zenit-card {
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }

  .zenit-logo-wrap {
    min-width: 0;
    padding-right: 14px;
  }

  .zenit-logo {
    width: 96px;
  }

  .zenit-go {
    display: none;
  }

  .amap-stage {
    border-radius: 24px;
    aspect-ratio: 4 / 5;
  }

  .amap-card {
    left: 16px;
    right: 16px;
    top: 16px;
    width: auto;
  }

  .rmap-cardbody {
    padding: 18px;
    gap: 16px;
  }
}
