/* ============================================= */
/*  CONTACT PAGE STYLES                          */
/*  Page: Contact                                */
/* ============================================= */


/* ====================== */
/*  SECTION 2 - CONTACT   */
/*  Band under the hero   */
/* ====================== */

/* #contact-main {
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
} */

/* Two-column layout */
#contact-main .contact-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

/* Left vs right proportions */
#contact-main .contact-info-col {
  flex: 1 1 40%;
}

#contact-main .contact-form-col {
  flex: 1 1 60%;
}

/* Contact info headings */
#contact-main .contact-info-col h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

#contact-main .contact-info-col h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Form card styling */
#contact-main .contact-form-col {
  background-color: var(--bering-light-grey);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Form heading spacing */
#contact-main .contact-form-col h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* WPForms fields */
#contact-main .contact-form-col .wpforms-field-label {
  font-weight: 600;
  color: #54595f;
}

#contact-main .contact-form-col input[type="text"],
#contact-main .contact-form-col input[type="email"],
#contact-main .contact-form-col textarea {
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

#contact-main .contact-form-col textarea {
  min-height: 160px;
}

/* Submit button */
#contact-main .contact-form-col .wpforms-submit {
  background-color: var(--bering-accent);
  color: #ffffff;
  border-radius: 4px;
  border: none;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#contact-main .contact-form-col .wpforms-submit:hover {
  background-color: var(--bering-accent-hover);
  transform: translateY(-1px);
}

/* Errors */
#contact-main .contact-form-col .wpforms-error {
  color: #f80404;
}

/* Success message */
#contact-main .contact-form-col .wpforms-confirmation-container-full {
  border-radius: 4px;
  padding: 0.8rem 1rem;
}

/* Responsive stacking */
@media (max-width: 880px) {
  #contact-main {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #contact-main .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  #contact-main .contact-form-col {
    padding: 1.5rem;
  }
}
/* END SECTION CONTACT */
/* =================== */

/* ============================== */
/*  MAP SECTION (#3)              */
/*  Title + static map image      */
/* ============================== */

/* #contact-map {
  background-color: var(--bering-light-grey);
  padding-top: 60px;
  padding-bottom: 80px;
} */

/* Inner wrapper: width handled by .container-inner globally,
   here we only adjust spacing a bit if needed */
#contact-map .contact-map-wrapper {
  display: block;
}

/* Title spacing */
#contact-map .contact-map-wrapper h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Subtitle text under the heading */
#contact-map .contact-map-wrapper .elementor-widget-text-editor {
  max-width: 700px;
  margin-bottom: 1.5rem;
  color: var(--bering-text);
}

/* Map image styling */
#contact-map .contact-map-wrapper img,
#contact-map .contact-map-wrapper .contact-map-image img {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
}

/* Responsive tweaks if needed */
@media (max-width: 880px) {
  #contact-map {
    padding-top: 50px;
    padding-bottom: 60px;
  }

  #contact-map .contact-map-wrapper .elementor-widget-text-editor {
    margin-bottom: 1.25rem;
  }
}