.question-card {
  padding: clamp(14px, 3vw, 28px);
}
.question-card h2 {
  margin: 14px 0 20px;
  line-height: 1.24;
}
.question-art {
  margin: 12px 0 20px;
}
.art-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #e3eae4;
  cursor: zoom-in;
}
.art-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
}
.art-base {
  display: block;
  width: 100%;
  height: auto;
}
.sign-face {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
/* The positions are registered to the full scene. The same frame is used for zoom.
   Sign faces: Statens vegvesen, 404.1; Norwegian sign 362.60 via Wikimedia Commons. */
.sign-60 {
  left: 78.17%;
  top: 25.30%;
  width: 9.14%;
  height: 16.15%;
  filter: brightness(.90) saturate(.9);
}
.sign-404-1 {
  left: 32.65%;
  top: 38.42%;
  width: 8.54%;
  height: 15.33%;
  filter: brightness(.94);
}
.zoom-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: rgba(12, 34, 39, .8);
  pointer-events: none;
}
.zoom-icon::before, .zoom-icon::after {
  content: "";
  position: absolute;
}
.zoom-icon::before {
  width: 9px;
  height: 9px;
  left: 7px;
  top: 6px;
  border: 2px solid white;
  border-radius: 50%;
}
.zoom-icon::after {
  width: 7px;
  height: 2px;
  left: 16px;
  top: 18px;
  background: white;
  transform: rotate(45deg);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.feedback {
  scroll-margin-block: 16px;
}
.guide-art {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.guide-art figure {
  min-width: 0;
  margin: 0;
}
.guide-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.guide-art figcaption, .viewer-caption {
  margin-top: 7px;
  color: #344e52;
  font-size: .9rem;
  line-height: 1.4;
}
.guide-art .art-trigger {
  border-radius: 10px;
}
.person-pin, .key-number {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #173f49;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.person-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 1.55rem;
  height: 1.55rem;
  font-size: .85rem;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px #173f4980;
}
.person-key {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}
.person-key li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.key-number {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  font-size: .8rem;
}
#picture-viewer {
  width: min(1060px, 96vw);
  max-width: 96vw;
  max-height: 94vh;
  max-height: 94dvh;
  padding: 12px;
  color: #172f39;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 15px 72px #132d3780;
}
#picture-viewer::backdrop {
  background: rgba(10, 24, 29, .82);
}
body:has(#picture-viewer[open]) {
  overflow: hidden;
}
.viewer-tools {
  position: sticky;
  top: -12px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  background: white;
}
.viewer-tools button {
  padding: 8px 15px;
  font-size: .95rem;
}
.picture-viewport {
  max-height: 72vh;
  max-height: 72dvh;
  overflow: auto;
  border-radius: 10px;
  overscroll-behavior: contain;
}
.picture-viewport .art-frame {
  width: 100%;
}
.picture-viewport.is-enlarged .art-frame {
  width: 200%;
}
.viewer-caption {
  margin: 12px 3px 4px;
}
@media (max-width: 540px) {
  .question-card {border-radius: 18px}
  .guide-art figcaption {font-size: .875rem}
}
@media (max-width: 350px) {
  .guide-pair {grid-template-columns: 1fr}
}
