/* =========================================
   Contact Map Module
   ========================================= */

.contact_map_module {
  padding-top: 30px;
  padding-bottom: 20px;
}

/* Heading */
.contact_map_module h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 6px;
}

/* Divider */
.contact_map_module__content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 0;
    background: var(--ib-primary);
    margin: 14px 0 22px;
}

.contact_map_module__amenities {
    background: var(--ib-surface);
    border: 1px solid rgba(22, 58, 44, 0.1);
    border-radius: var(--ib-radius-lg);
    padding: 30px 32px;
    align-self: start;
  }

/* Main layout */
.contact_map_module {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 34px;
  align-items: stretch;
}

/*
 * Make heading + divider span the full width
 */
.contact_map_module h2,
.contact_map_module::after {
  grid-column: 1 / -1;
}

/* Content / left column */
.contact_map_module__content {
  display: flex;
  flex-direction: column;
}

/* Field titles */
.contact_map_module__content strong {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Address */
.contact_map_module__address {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ib-muted-green, #65776b);
}

/* Phone */
.contact_map_module__phone {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ib-muted-green, #65776b);
}

/* Email */
.contact_map_module__email {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ib-muted-green, #65776b);
}

.contact_map_module__email a {
  color: inherit;
  text-decoration: none;
}

.contact_map_module__email a:hover {
  text-decoration: underline;
}

/* Map */
.contact_map_module__map {
  border-radius: var(--ib-radius-lg, 12px);
  overflow: hidden;
  box-shadow: var(--ib-shadow, 0 4px 20px rgba(0, 0, 0, 0.08));
}

.contact_map_module__map iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
}

.contact_map_module__map {
  width: 100%;
  min-height: 400px;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 767px) {

  .contact_map_module {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 25px;
    padding-bottom: 20px;
  }

  .contact_map_module h2,
  .contact_map_module::after {
    grid-column: 1;
  }

  .contact_map_module h2 {
    font-size: 26px;
  }

  .contact_map_module::after {
    margin-bottom: 10px;
  }

  .contact_map_module__address,
  .contact_map_module__phone {
    margin-bottom: 20px;
  }

  .contact_map_module__map iframe {
    height: 300px;
  }
}