/* ============================================================
   CONTACT US — Layout, Alignment, Symmetry
   ============================================================ */


/* Two-column grid, fuller width on large screens */
#page-contact-contact-us .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); /* slightly wider form side */
  gap: 2.5rem;
  align-items: flex-start;
}

/* Make both cards equal & tidy inside */
#page-contact-contact-us .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

/* Unified field styling */
#page-contact-contact-us .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

#page-contact-contact-us .field {
  flex: 1;
}

#page-contact-contact-us .field label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* ============================================================
   CONTACT US — Honeypot (spam trap, hidden from users)
   ============================================================ */

#page-contact-contact-us .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  /* No margin/padding so it doesn't affect layout */
}

/* Inputs / Select / Textarea all uniform */
#page-contact-contact-us input[type="text"],
#page-contact-contact-us input[type="email"],
#page-contact-contact-us input[type="tel"],
#page-contact-contact-us select,
#page-contact-contact-us textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #242424;
  background: #0d0d0d;
  color: var(--text);
  font: inherit;
  box-sizing: border-box;
}

#page-contact-contact-us textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button row */
#page-contact-contact-us .actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Right column stack sections */
#page-contact-contact-us .stack-block + .stack-block {
  margin-top: 16px;
}

/* Divider line spacing */
#page-contact-contact-us .divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #242424;
}

/* Mobile responsive — stack like home/about columns */
@media (max-width: 880px) {
  #page-contact-contact-us .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   CONTACT PAGE HERO
   ============================================================ */

.contact-hero {
  width: 100%;
  padding: 80px 20px;
  margin: 0 auto 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1b1b1b, #101010);
  border: 1px solid #2a2a2a;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

.contact-hero .hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: clamp(2rem, 2.8vw + 1rem, 3rem);
  margin-bottom: 14px;
  color: var(--parchment);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  opacity: 0.9;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   CONTACT PAGE — BLENDED GRADIENT + PHOTO HERO
   ============================================================ */

.contact-hero-blend {
  position: relative;
  width: 100%;
  margin: 0 auto 42px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);

  /* Background gradient under the photo */
  background: linear-gradient(135deg, #1b1b1b, #101010);
}

.contact-hero-blend img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  mix-blend-mode: lighten;
  opacity: 0.85;
}

/* Tighten space just between "Send a Message" text and the form */
#page-contact-contact-us [aria-labelledby="contact-form-title"] form {
  margin-top: 0.4rem;
}

/* ============================================================
   CONTACT US — full-width details card under the grid
   ============================================================ */

#page-contact-contact-us .contact-details-wide h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--parchment);
}

#page-contact-contact-us .contact-details-wide h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--parchment);
}

#page-contact-contact-us .contact-details-wide p {
  margin: 0.25rem 0 0.85rem;
  line-height: 1.55;
}

#page-contact-contact-us .contact-details-wide a {
  color: var(--parchment);
  text-decoration: underline;
}
/* Tighten gap between the last Prayer text paragraph and the form */
#page-contact-contact-us [aria-labelledby="prayer-title"] p:last-of-type {
  margin-bottom: 0.4rem;
}
/* Consistent gap between stacked fields in forms (e.g., Name → Request) */
#page-contact-contact-us form > .field + .field {
  margin-top: 0.85rem;
}
/* Contact form success message */
.contact-success {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(90, 180, 90, 0.15);
  border: 1px solid rgba(110, 200, 110, 0.25);
}

.contact-success p {
  margin: 0;
  color: var(--parchment);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

