.maps-hero p {
  max-width: 78ch;
}

.maps-section {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 38, 59, 0.12);
  border-radius: 16px;
  padding: 12px;
}

.maps-section h2 {
  margin: 0 0 10px;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: 1.24rem;
}

.maps-note {
  margin: 0 0 10px;
  color: #305069;
}

.step-grid,
.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.step-card {
  border: 1px solid #dce8f3;
  border-radius: 12px;
  background: #fafdff;
  padding: 11px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #163954;
}

.step-card p {
  margin: 0;
  color: #2a4b65;
  line-height: 1.42;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.map-card {
  border: 1px solid #dce8f3;
  border-radius: 12px;
  background: #fafdff;
  padding: 11px;
}

.map-card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  color: #143652;
}

.map-preview {
  margin: 0 0 8px;
  border: 1px solid #dce8f3;
  border-radius: 10px;
  overflow: hidden;
  background: #eef6fc;
}

.map-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.map-preview figcaption {
  padding: 6px 8px;
  border-top: 1px solid #dce8f3;
  background: #fafdff;
  color: #3a5870;
  font-size: 0.86rem;
}

.map-card p {
  margin: 0 0 8px;
  color: #254861;
  line-height: 1.42;
}

.map-card p:last-of-type {
  margin-bottom: 10px;
}

.map-link {
  display: inline-block;
  color: #0f4f78;
  font-weight: 800;
  text-decoration: none;
}

.map-link:hover,
.map-link:focus-visible {
  text-decoration: underline;
}

.rule-card {
  border: 1px solid #dce8f3;
  border-radius: 12px;
  background: #fafdff;
  padding: 11px;
}

.rule-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #163954;
}

.rule-card p {
  margin: 0;
  color: #2a4b65;
  line-height: 1.42;
}

.map-details {
  border: 1px solid #dce8f3;
  border-radius: 12px;
  background: #fafdff;
  overflow: clip;
}

.map-details summary {
  cursor: pointer;
  list-style: none;
  padding: 12px;
  font-weight: 900;
  color: #103450;
}

.map-details summary::-webkit-details-marker {
  display: none;
}

.map-details summary:hover {
  background: #edf7ff;
}

.details-copy {
  padding: 0 12px 12px;
}

.details-copy p {
  margin: 0 0 8px;
  color: #254861;
  line-height: 1.42;
}

.details-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .step-grid,
  .rule-grid,
  .map-grid {
    grid-template-columns: 1fr;
  }
}
