.june8-section-block {
  margin-top: 33px;
}

.june8-menu {
  margin-left: 20px;
}

.june8-menu a {
  color: #045233;
  font-size: 18px;
  text-decoration: none;
}

.june8-menu a:hover {
  text-decoration: underline;
}

.june8-menu .day-post-link {
  color: #c94c2f;
  font-weight: 800;
}

.june8-caption {
  margin-top: 8px;
  color: #4d4a45;
  font-family: 'Source Code Pro', 'IBM Plex Mono', monospace;
  font-size: 12px;
  line-height: 1.2;
}

.june8-scan-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
  align-items: start;
}

.june8-scan-pair figure,
.june8-plaque-reference,
.june8-swift-photo,
.june8-audio-clip,
.june8-graffiti-feature-grid figure,
.june8-graffiti-grid figure,
.june8-panorama figure {
  margin: 0;
}

.june8-scan-reference img {
  width: 100%;
  height: 560px;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

.june8-scan-pair model-viewer {
  width: 100%;
  height: 560px;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #141414;
}

.june8-plaque-reference {
  margin-top: 18px;
}

.june8-plaque-reference img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.june8-audio-clip audio {
  width: 100%;
  display: block;
}

.june8-audio-clip {
  margin-bottom: 18px;
}

.june8-swift-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.june8-swift-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.june8-map-shell {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(77, 74, 69, 0.32);
  border-radius: 6px;
  background: #141414;
}

#june8-map {
  width: 100%;
  height: 620px;
}

.june8-map-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #4d4a45;
  font-family: 'Source Code Pro', 'IBM Plex Mono', monospace;
  font-size: 12px;
  line-height: 1.2;
}

.june8-map-controls input {
  max-width: 100%;
  color: var(--prague-body);
  font: inherit;
}

.june8-map-status {
  margin-left: auto;
  text-align: right;
}

.june8-route .leaflet-container {
  font-family: 'Source Code Pro', 'IBM Plex Mono', monospace;
}

.june8-panorama img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.june8-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.june8-gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #141414;
}

.june8-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.june8-graffiti-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.june8-graffiti-feature-grid a,
.june8-graffiti-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #141414;
}

.june8-graffiti-feature-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.june8-graffiti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.june8-graffiti-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

@media (max-width: 560px) {
  .june8-scan-pair,
  .june8-swift-gallery,
  .june8-graffiti-grid,
  .june8-gallery-grid {
    grid-template-columns: 1fr;
  }

  .june8-menu {
    margin-left: 0;
  }

  .june8-scan-reference img {
    height: auto;
  }

  .june8-scan-pair model-viewer,
  #june8-map {
    height: 360px;
  }

  .june8-map-status {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
}
