/* ---------- /spot-the-difference-pictures/ ---------- */

.article.wide > .puzzle { max-width: 1080px; }

.puzzle {
  margin: 0 0 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.puzzle:last-of-type { border-bottom: 0; }

.puzzle h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.shot {
  position: relative;
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f3f4f8;
}

.shot figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .01em;
}

/* answer rings — hidden until the card is revealed */
.ring {
  position: absolute;
  display: none;
  border: 2px solid #ff3d71;
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .75), 0 0 14px rgba(255, 61, 113, .45);
  pointer-events: none;
  min-width: 26px;
  min-height: 26px;
}

.ring b {
  position: absolute;
  top: -11px;
  left: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff3d71;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
}

.puzzle.revealed .ring { display: block; }

.reveal {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  padding: 11px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}

.reveal:hover {
  border-color: var(--accent);
  background: #fff;
}

.answers {
  margin: 18px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 15.5px;
  line-height: 1.65;
  color: #2b2f38;
}

.answers li { margin-bottom: 7px; }

.answers b { color: var(--accent-dark); }

@media (max-width: 640px) {
  .pair { grid-template-columns: 1fr; gap: 10px; }
  .puzzle { margin-bottom: 44px; padding-bottom: 32px; }
}
