/* Pulsanti raggio di ricerca */
.btn-distanza {
  display: block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  margin: 8px;
  float: left;

  background-color: #C65D3B;
  border: 1px solid #C65D3B;
  border-radius: 6px;

  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;

  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-distanza:hover {
  background-color: #ffffff;
  color: #C65D3B;
  text-decoration: none;
}
.riga-dintorni {
  padding: 6px 6px 8px 6px;
  font-size: 12px;
}

.riga-dintorni.chiara {
  background-color: #f7f7f3;
}

.riga-dintorni.scura {
  background-color: #ffffff;
}

.riga-dintorni .titolo {
  color: #4A5E34;
  font-size: 12px;
  line-height: 1.2;
}

.riga-dintorni .azioni {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.2;
}

.riga-dintorni .azioni a {
  text-decoration: none;
}

.riga-dintorni .distanza {
  color: #4A5E34;
}
.btn-raggio-reset {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 20px;
  background-color: #ffffff;
  border: 2px solid #4A5E34;
  color: #4A5E34;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-raggio-reset i {
  margin-right: 6px;
}

.btn-raggio-reset:hover {
  background-color: #4A5E34;
  color: #ffffff;
  text-decoration: none;
}

.map-responsive {
  position: relative;
  width: 100%;
  max-width: 900px;        /* limite elegante su desktop */
  padding-bottom: 56.25%; /* 16:9 */
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Legenda mappa */
.legenda-mappa {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 15px;
}

.legenda-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
}

.legenda-item img {
  width: 18px;
  height: auto;
}

/* Pulsante azione */
.legenda-azione {
  text-align: center;
}

.btn-posizione {
  background-color: #4A5E34;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

.btn-posizione:hover {
  background-color: #C65D3B;
}
/* Colore legenda mappa */
.legenda-mappa,
.legenda-item {
  color: #4A5E34 !important;
}

.legenda-item span {
  color: #4A5E34 !important;
}

.legenda-item:first-child {
  color: #C65D3B;
  font-weight: bold;
}

