﻿/* =========================================================
   contact-map.css
   用途：全球服務據點（contact_map.aspx）
   作用範圍：.contact-map-page
========================================================= */

.contact-map-page {
  --map-primary: #0c596f;
  --map-accent: #19a7b8;
  --map-text: #1a3040;
  --map-muted: #7a94a3;
  --map-border: #dce4ea;
  --map-bg-light: #f5f8fa;
}

.contact-map-content {
  width: 100%;
}

.contact-map-panel {
  padding: 32px 36px;
  background: #ffffff;
  border: 1px solid var(--map-border);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(7, 41, 56, 0.05);
}

.contact-map-hero {
  margin-bottom: 2rem;
  text-align: center;
}

.contact-map-hero img {
  max-width: 100%;
  height: auto;
  padding: 0.75rem;
  border: 1px solid var(--map-border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(7, 41, 56, 0.06);
}

.contact-location-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-location-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.contact-location-item--reverse .contact-location-map {
  order: 2;
}

.contact-location-item--reverse .contact-location-body {
  order: 1;
}

.contact-location-map iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(7, 41, 56, 0.08);
}

.contact-location-body h3 {
  margin-bottom: 1rem;
}

.contact-location-body h3 small {
  display: block;
  margin-top: 0.35rem;
  color: var(--map-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-location-details {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--map-text);
  line-height: 1.9;
}

.contact-location-details li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.contact-location-details i {
  width: 1.1rem;
  margin-top: 0.35rem;
  color: var(--map-primary);
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .contact-map-panel {
    padding: 22px 18px;
  }

  .contact-location-item,
  .contact-location-item--reverse {
    grid-template-columns: 1fr;
  }

  .contact-location-item--reverse .contact-location-map,
  .contact-location-item--reverse .contact-location-body {
    order: unset;
  }

  .contact-location-map iframe {
    height: 280px;
  }
}
