/* ── Contact Hero Banner ─────────────────────────────── */
.contact-hero-banner {
  position: relative;
  min-height: 380px;
  background-image: url('/wp-content/uploads/2026/03/get-together-1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.contact-hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 30, 36, 0.30) 0%,
    rgba(30, 30, 36, 0.80) 70%,
    rgba(30, 30, 36, 0.97) 100%
  );
}

.contact-hero-banner__content {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
  padding-top: 2.5rem;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-hero-banner__content h1 {
  color: #ffffff;
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.contact-hero-banner__content p {
  color: rgba(237, 232, 223, 0.82);
  font-size: 1.05rem;
  margin: 0;
}

/* ────────────────────────────────────────────────────── */
.page-contact {
  padding: 40px 0;
}

.page-contact a {
  color: var(--brand-blue);
}

.page-contact a:hover {
  color: var(--brand-navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 1rem;
}

.page-contact .card {
  margin-bottom: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 102, 0.14);
  box-shadow: 0 12px 22px rgba(0, 18, 71, 0.1);
}

.contact-meta,
.contact-form-wrap {
  margin-bottom: 0;
}

.contact-meta h2,
.contact-form-wrap h2 {
  margin-top: 0;
}

.contact-meta h3 {
  margin: 1rem 0 0.35rem;
  color: var(--brand-blue);
}

.contact-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.contact-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-item h3 {
  margin-top: 0;
}

.contact-item p {
  margin: 0.2rem 0;
}

.service-times-list {
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(var(--accent-rgb), 0.05);
}

.service-times-list p {
  margin: 0.35rem 0;
  color: rgba(var(--text-main-rgb), 0.84);
}

/* ── Info card social icons ──────────────────────────── */
.contact-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.contact-social__icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  color: var(--text-main);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.contact-social__icon:hover {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.45);
  color: var(--brand-blue);
}

.church-form {
  display: grid;
  gap: 12px;
  margin-top: 0.8rem;
}

.church-form label:not(.consent-row) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.church-form input[type="text"],
.church-form input[type="email"],
.church-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 102, 0.22);
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
  color: var(--brand-navy);
}

.church-form textarea {
  min-height: 130px;
}

.church-form input::placeholder,
.church-form textarea::placeholder {
  color: var(--text-soft);
}

.captcha-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.captcha-row label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.captcha-row input[type="number"] {
  width: 80px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 102, 0.22);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
  color: var(--brand-navy);
}

.consent-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--text-muted);
}

.consent-row input[type="checkbox"] {
  width: auto;
  flex: 0 0 auto;
  margin: 0.18rem 0 0;
}

.consent-row span {
  flex: 1;
}

.map-placeholder {
  margin-top: 14px;
  border: 1px dashed rgba(var(--accent-rgb), 0.32);
  padding: 12px;
  color: var(--text-muted);
  background: rgba(var(--accent-rgb), 0.06);
  border-radius: 12px;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 10px;
}

.map-directions-link {
  margin: 0.75rem 0 0;
}

.map-directions-link a {
  font-weight: 700;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .map-placeholder iframe {
    min-height: 240px;
  }
}
