/* ========== Contact Page Styles ========== */

/* Contact Info Section: email, phone, address from Site Settings */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 170px 0 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  /* Keep long addresses off the hero image, and let them wrap on narrow screens */
  max-width: min(440px, 100%);
}

/* Icon sits on the first text line: (line box - icon) / 2 */
.contact-item-icon {
  flex-shrink: 0;
  color: var(--exa-color-brand);
  margin-top: calc((var(--exa-text-lead-size) * var(--exa-text-lead-line-height) - 24px) / 2);
}

.info {
  color: var(--exa-color-text-secondary);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-lead-size);
  line-height: var(--exa-text-lead-line-height);
  font-weight: var(--exa-font-weight-regular);
  font-style: normal;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  text-decoration: none;
}

a.info {
  transition: color 0.2s ease;
}

a.info:hover {
  color: var(--exa-color-brand);
}

.map {
  background: linear-gradient(284deg, rgba(163, 215, 255, 0.51) 0%, rgba(255, 255, 255, 0.21) 100%);
}

.map .title .banner-description {
  margin-top: 20px;
}

/* Contact Badge */
.contant-badge {
  position: absolute;
  bottom: 50px;
  right: 103px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contant-badge img {
  width: auto;
  height: 150px;
}

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

/* Large to Medium devices (1200px and below) */
@media (max-width: 1200px) {
  .contact-info {
    gap: 14px;
    margin-top: 120px;
  }

  .contant-badge {
    bottom: 72px;
    right: 147px;
  }

  .contant-badge img {
    width: auto;
    height: 150px;
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .contact-info {
    gap: 12px;
    margin-top: 80px;
  }

  .contant-badge {
    bottom: 50px;
    right: 110px;
  }

  .contant-badge img {
    width: auto;
    height: 145px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .contact-info {
    gap: 10px;
    margin-top: 60px;
  }

  .contact-item {
    gap: 12px;
  }

  .contact-item-icon {
    width: 20px;
    height: 20px;
    margin-top: calc((var(--exa-text-lead-size) * var(--exa-text-lead-line-height) - 20px) / 2);
  }

  .contant-badge {
    bottom: 0px;
    right: 40px;
  }

  .contant-badge img {
    width: auto;
    height: 80px;
  }
}

/* Embedded Google Map (replaces the WP Go Maps plugin) */
.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: var(--exa-radius-card);
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 320px;
  }
}
