.agro-visitor-map {
  --map-forest: #173f35;
  --map-leaf: #2f6b4f;
  --map-sun: #d7a840;
  --map-cream: #f6f3e9;
  max-width: 76rem;
  margin-inline: auto;
}

.agro-visitor-map__header {
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--map-forest), var(--map-leaf));
}

.agro-visitor-map__header h1 {
  margin: 0 0 1rem;
  color: #fff;
}

.agro-visitor-map__header p:last-child {
  max-width: 55rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.agro-visitor-map__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--map-sun);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agro-visitor-map__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.agro-visitor-map__summary > div {
  padding: 1.25rem;
  border: 1px solid #d9ded4;
  border-radius: 0.75rem;
  background: #fff;
}

.agro-visitor-map__summary strong,
.agro-visitor-map__summary span {
  display: block;
}

.agro-visitor-map__summary strong {
  color: var(--map-forest);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.agro-visitor-map__plot {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfd8d1;
  border-radius: 0.85rem;
  background: #dfecef;
}

.agro-visitor-map__plot > img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.78;
}

.agro-visitor-map__markers {
  position: absolute;
  inset: 0;
}

.agro-visitor-map__marker {
  position: absolute;
  width: var(--marker-size);
  height: var(--marker-size);
  min-width: 0;
  min-height: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #b44927;
  box-shadow: 0 2px 8px rgba(23, 63, 53, 0.35);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.agro-visitor-map__marker:focus-visible {
  outline: 3px solid var(--map-sun);
  outline-offset: 3px;
}

.agro-visitor-map__countries {
  margin-top: 2.5rem;
}

.agro-visitor-map__countries table {
  width: 100%;
}

.agro-visitor-map__countries th:last-child,
.agro-visitor-map__countries td:last-child {
  text-align: right;
}

.agro-visitor-map__historical {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 0.85rem;
  background: var(--map-cream);
}

.agro-visitor-map__historical figure {
  margin: 0;
  text-align: center;
}

.agro-visitor-map__historical img {
  width: 218px;
  max-width: 100%;
  height: auto;
}

.agro-visitor-map__historical figcaption,
.agro-visitor-map__sources {
  color: #526159;
  font-size: 0.88rem;
}

.agro-visitor-map__sources {
  margin-top: 1.5rem;
}

@media (max-width: 43rem) {
  .agro-visitor-map__summary,
  .agro-visitor-map__historical {
    grid-template-columns: 1fr;
  }

  .agro-visitor-map__marker {
    font-size: 0;
  }
}

/* AGRO VISITOR MAP HOME BLOCK */
.agro-visitor-map-home {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.agro-visitor-map-home .agro-visitor-map__countries,
.agro-visitor-map-home .agro-visitor-map__historical {
  display: none;
}

.agro-visitor-map-home .agro-visitor-map__header {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.agro-visitor-map-home .agro-visitor-map__header h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
