/* Local maintenance layer for the generated FTP export. */

svg.gi-map { display: none !important; }
.local-rate-panel { display: none !important; }
#journal > div.mt-14 { margin-top: 2rem !important; }
#journal .gi-post { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.gi-row > .gi-band { box-shadow: inset 0 -5rem 5rem -3rem rgba(11, 14, 16, .78); }
.local-location-map__note { display: none !important; }

.gi-row > .gi-band {
  position: relative;
  inset: auto;
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(150px, 24vw, 260px);
  clip-path: inset(0) !important;
  margin: 0 0 1rem;
}

.gi-row > .gi-band img:first-child {
  opacity: 1;
  transform: none;
}

.gi-row > .gi-band .gi-band-scrim {
  background: linear-gradient(90deg, rgba(11, 14, 16, .78), rgba(11, 14, 16, .2));
}

.gi-row .gi-rail {
  display: none;
}

.gi-status.is-finished {
  color: var(--gi-azure, #79a9ff);
}

.local-location-map {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--gi-hair);
  background: linear-gradient(135deg, rgba(234, 231, 224, .06), rgba(234, 231, 224, .015));
}

.local-location-map__route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: .75rem;
  position: relative;
}

.local-location-map__route::before {
  content: "";
  position: absolute;
  top: .7rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--gi-slate);
  opacity: .55;
}

.local-location-map button {
  position: relative;
  z-index: 1;
  min-height: 4.25rem;
  padding: .75rem .5rem;
  border: 1px solid transparent;
  color: var(--gi-slate);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.local-location-map button::before {
  content: "";
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 auto .7rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--gi-ink);
}

.local-location-map button[aria-pressed="true"],
.local-location-map button:focus-visible,
.local-location-map button:hover {
  color: var(--gi-bone);
  border-color: var(--gi-hair);
}

.local-location-map button[aria-pressed="true"]::before {
  background: var(--gi-azure);
  box-shadow: 0 0 0 .35rem rgba(121, 169, 255, .16);
}

.local-location-map__note {
  margin: 0;
  color: var(--gi-slate);
  font: 500 .7rem/1.4 var(--gi-mono, monospace);
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .gi-row { min-width: 0 !important; overflow: hidden; }
  .gi-row > .gi-band { height: clamp(180px, 58vw, 260px); }
  .local-location-map__route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-location-map__route::before {
    display: none;
  }
}
