/* Nearby location / live distance map — Hotel Dev Ganga */

#location-section.location-section {
  background:
    linear-gradient(180deg, rgba(241, 248, 233, 0.95) 0%, #eef6e8 100%);
  border-top: 1px solid rgba(27, 94, 32, 0.08);
  border-bottom: 1px solid rgba(27, 94, 32, 0.08);
}

.location-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
}

.location-map-frame {
  position: relative;
  width: 100%;
  min-height: 320px;
  height: min(52vh, 460px);
  border: 1px solid rgba(93, 64, 55, 0.14);
  background: #dfe8d8;
  overflow: hidden;
}

.location-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 0.25rem 0;
}

.location-status {
  margin: 0;
  font-size: 0.95rem;
  color: #4a5d3f;
  min-height: 1.4em;
}

.location-status.is-loading {
  color: #1b5e20;
}

.location-status.is-error {
  color: #8a3b2b;
}

.location-distance {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: #2e1f18;
}

.location-distance[hidden],
.location-actions[hidden] {
  display: none !important;
}

.location-meta {
  margin: 0;
  font-size: 0.92rem;
  color: #5d4037;
  opacity: 0.9;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  background: #1b5e20;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-directions:hover,
.btn-directions:focus-visible {
  background: #2e7d32;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-locate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.2rem;
  background: transparent;
  color: #1b5e20 !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid #1b5e20;
  cursor: pointer;
  font: inherit;
}

.btn-locate:hover,
.btn-locate:focus-visible {
  background: rgba(27, 94, 32, 0.08);
}

@media (max-width: 900px) {
  .location-layout {
    grid-template-columns: 1fr;
  }

  .location-map-frame {
    height: 280px;
    min-height: 260px;
  }

  .btn-directions,
  .btn-locate {
    width: 100%;
    min-height: 56px;
  }
}
