/* ===========================================
   SECTION MAP
   =========================================== */
.section-map {
  padding-bottom: 4rem;
}

.map-wrapper {
  display: flex;
  min-height: 800px;
  position: relative;
}

.map-sidebar {
  width: 500px;
  flex-shrink: 0;
  background: #fff;
  padding: 32px;
  overflow-y: auto;
  max-height: 500px;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  position: absolute;
  bottom: -30px;
  left: 10%;
  border-radius: 15px;
}

.map-sidebar-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 24px;
  line-height: 1.5;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e0e5ed;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-item:hover,
.location-item.active {
  border-color: var(--color-primary);
  background: rgba(0, 32, 88, 0.02);
}

.location-item.active {
  box-shadow: 0 4px 12px rgba(0, 32, 88, 0.1);
}

.location-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.location-info {
  flex: 1;
}

.location-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 10px;
}

.location-address {
  font-size: 13px;
  color: var(--color-text-light);
  margin: 0;
  display: flex;
  gap: 6px;
  line-height: 1.6;
}

.location-address svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.map-container {
  flex: 1;
  position: relative;
}

#map-iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
}

@media screen and (max-width: 1024px) {
  /* ===========================================
   SECTION MAP
   =========================================== */
  .map-sidebar {
    width: 350px;
  }
}

@media screen and (max-width: 768px) {
  /* ===========================================
   SECTION MAP
   =========================================== */
  .map-wrapper {
    flex-direction: column;
  }
  .section-map {
    padding-bottom: 0;
  }
  .map-sidebar {
    width: 100%;
    max-height: none;
    padding: 24px;
    position: initial;
  }

  .map-container {
    min-height: 400px;
  }

  #map-iframe {
    height: 100%;
  }
}
