/* Homepage Neshan map section */
.home-location-section {
  background:
    radial-gradient(circle at 90% 8%, rgba(34,211,238,.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding-top: 72px;
  padding-bottom: 72px;
}

.home-location-grid {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.15fr);
  gap: 26px;
  align-items: stretch;
}

.home-location-copy,
.home-location-map-card {
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(186,230,253,.96);
  border-radius: 34px;
  box-shadow: 0 24px 64px rgba(15,23,42,.09);
}

.home-location-copy {
  padding: 28px;
}

.home-location-copy h3 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 22px;
}

.home-location-details {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.home-location-details span,
.home-location-details a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #e0f2fe;
  color: #334155;
  font-weight: 900;
}

.home-location-copy .map-open-link {
  width: fit-content;
}

.home-location-map-card {
  position: relative;
  padding: 14px;
  overflow: hidden;
  min-height: 430px;
}

.home-neshan-map {
  width: 100%;
  height: 430px;
  min-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  direction: ltr;
  background: #e0f2fe;
}

.home-map-fallback {
  position: absolute;
  inset: 28px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid #bae6fd;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  color: #075985;
  padding: 20px;
  z-index: 10;
}

.home-map-fallback[hidden] {
  display: none !important;
}

.home-map-popup {
  direction: rtl;
  text-align: right;
  min-width: 190px;
  line-height: 1.8;
}

.home-map-popup strong {
  display: block;
  color: #075985;
  margin-bottom: 4px;
}

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

  .home-location-map-card,
  .home-neshan-map {
    min-height: 380px;
    height: 380px;
  }
}

@media (max-width: 560px) {
  .home-location-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .home-location-copy,
  .home-location-map-card {
    border-radius: 26px;
  }

  .home-location-copy {
    padding: 22px 18px;
  }

  .home-location-map-card {
    padding: 10px;
    min-height: 340px;
  }

  .home-neshan-map {
    min-height: 340px;
    height: 340px;
    border-radius: 20px;
  }

  .home-location-copy .map-open-link {
    width: 100%;
  }
}
