/* Contact Us: purpose-built phone layout. Desktop and tablet remain unchanged. */
@media (max-width: 767px) {
  body.page-id-22 .main-page-wrapper,
  body.page-id-22 .site-content,
  body.page-id-22 .content-layout-wrapper,
  body.page-id-22 .elementor-widget-html,
  body.page-id-22 .elementor-widget-html > .elementor-widget-container {
    max-width: none !important;
    margin: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.page-id-22 .main-page-wrapper {
    padding-bottom: 0 !important;
  }

  body.page-id-22 .rb-contact-page {
    background:
      radial-gradient(circle at 0 0, rgba(10, 146, 152, .14), transparent 25%),
      linear-gradient(180deg, #fff 0%, #f3f8fd 44%, #fff 100%) !important;
  }

  body.page-id-22 .rb-contact-container {
    width: calc(100% - 32px) !important;
    max-width: none !important;
  }

  body.page-id-22 .rb-contact-hero {
    padding: 24px 0 30px !important;
  }

  body.page-id-22 .rb-contact-breadcrumbs {
    margin-bottom: 20px !important;
    font-size: 11px !important;
  }

  body.page-id-22 .rb-contact-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body.page-id-22 .rb-contact-kicker {
    gap: 8px !important;
    margin-bottom: 12px !important;
    font-size: 10px !important;
    letter-spacing: .14em !important;
  }

  body.page-id-22 .rb-contact-kicker::before {
    width: 22px !important;
  }

  body.page-id-22 .rb-contact-hero h1 {
    max-width: 340px !important;
    font-size: clamp(40px, 11.8vw, 49px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.05em !important;
  }

  body.page-id-22 .rb-contact-hero-grid > div:first-child > p {
    margin-top: 15px !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
  }

  body.page-id-22 .rb-contact-hero-card {
    padding: 18px !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 42px rgba(6, 46, 112, .09) !important;
  }

  body.page-id-22 .rb-contact-hero-card::after {
    width: 130px !important;
    height: 130px !important;
  }

  body.page-id-22 .rb-contact-hero-card > strong {
    max-width: 290px !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  body.page-id-22 .rb-contact-hero-card > p {
    margin-top: 9px !important;
    font-size: 12px !important;
    line-height: 1.52 !important;
  }

  body.page-id-22 .rb-contact-card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin-top: 16px !important;
  }

  body.page-id-22 .rb-contact-mini-card {
    min-height: 90px !important;
    padding: 11px 8px !important;
    border-radius: 15px !important;
  }

  body.page-id-22 .rb-contact-mini-card span {
    width: 31px !important;
    height: 31px !important;
    margin-bottom: 9px !important;
    border-radius: 10px !important;
  }

  body.page-id-22 .rb-contact-mini-card svg {
    width: 16px !important;
    height: 16px !important;
  }

  body.page-id-22 .rb-contact-mini-card b {
    font-size: 10px !important;
    line-height: 1.28 !important;
  }

  body.page-id-22 .rb-contact-main {
    padding: 0 0 96px !important;
  }

  body.page-id-22 .rb-contact-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.page-id-22 .rb-contact-form-card {
    order: 1 !important;
  }

  body.page-id-22 .rb-contact-info {
    order: 2 !important;
  }

  body.page-id-22 .rb-contact-info,
  body.page-id-22 .rb-contact-form-card {
    width: 100% !important;
    padding: 21px 18px !important;
    border-radius: 22px !important;
    box-shadow: 0 15px 36px rgba(6, 46, 112, .075) !important;
  }

  body.page-id-22 .rb-contact-section-label {
    margin-bottom: 10px !important;
    font-size: 10px !important;
    letter-spacing: .13em !important;
  }

  body.page-id-22 .rb-contact-info h2,
  body.page-id-22 .rb-contact-form-card h2 {
    font-size: 27px !important;
    line-height: 1.11 !important;
    letter-spacing: -.035em !important;
  }

  body.page-id-22 .rb-contact-info > p,
  body.page-id-22 .rb-contact-form-card > p {
    margin-top: 11px !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
  }

  body.page-id-22 .rb-contact-fluent-form {
    margin-top: 21px !important;
  }

  body.page-id-22 .rb-contact-fluent-form .ff-t-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body.page-id-22 .rb-contact-fluent-form .ff-t-cell {
    width: auto !important;
    padding: 0 !important;
  }

  body.page-id-22 .rb-contact-fluent-form .ff-el-group {
    margin-bottom: 12px !important;
  }

  body.page-id-22 .rb-contact-fluent-form .ff-el-input--label label {
    font-size: 11px !important;
  }

  body.page-id-22 .rb-contact-fluent-form input[type="text"],
  body.page-id-22 .rb-contact-fluent-form input[type="email"],
  body.page-id-22 .rb-contact-fluent-form input[type="tel"],
  body.page-id-22 .rb-contact-fluent-form input[type="number"],
  body.page-id-22 .rb-contact-fluent-form textarea,
  body.page-id-22 .rb-contact-fluent-form select {
    min-height: 49px !important;
    border-radius: 13px !important;
    padding-right: 13px !important;
    padding-left: 13px !important;
    font-size: 16px !important;
  }

  body.page-id-22 .rb-contact-fluent-form textarea {
    min-height: 128px !important;
    padding-top: 13px !important;
  }

  body.page-id-22 .rb-contact-fluent-form .ff-btn-submit,
  body.page-id-22 .rb-contact-fluent-form button[type="submit"],
  body.page-id-22 .rb-contact-fluent-form input[type="submit"] {
    width: 100% !important;
    min-height: 50px !important;
    margin-top: 2px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
  }

  body.page-id-22 .rb-contact-methods {
    margin-top: 19px !important;
  }

  body.page-id-22 .rb-contact-method {
    grid-template-columns: 40px 1fr !important;
    gap: 11px !important;
    padding: 13px !important;
    border-radius: 16px !important;
  }

  body.page-id-22 .rb-contact-method-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 13px !important;
  }

  body.page-id-22 .rb-contact-method-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  body.page-id-22 .rb-contact-method h3 {
    font-size: 13px !important;
  }

  body.page-id-22 .rb-contact-method a {
    font-size: 13px !important;
    overflow-wrap: anywhere !important;
  }

  body.page-id-22 .rb-contact-hours-card {
    margin-top: 12px !important;
    padding: 17px !important;
    border-radius: 17px !important;
  }

  body.page-id-22 .rb-contact-hours-card h3 {
    margin-bottom: 9px !important;
    font-size: 16px !important;
  }

  body.page-id-22 .rb-contact-hours-row {
    gap: 10px !important;
    padding: 9px 0 !important;
    font-size: 11px !important;
  }

  body.page-id-22 .rb-contact-support-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 18px !important;
  }

  body.page-id-22 .rb-contact-support-item {
    min-height: 0 !important;
    padding: 14px 15px !important;
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  body.page-id-22 .rb-contact-support-item b {
    margin-bottom: 4px !important;
    font-size: 13px !important;
  }

  body.page-id-22 .rb-contact-support-item span {
    font-size: 11px !important;
    line-height: 1.48 !important;
  }

  /* Avoid invisible blocks if the reveal script is delayed on mobile. */
  body.page-id-22 .rb-contact-page [data-rbc-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 374px) {
  body.page-id-22 .rb-contact-card-list,
  body.page-id-22 .rb-contact-fluent-form .ff-t-container {
    grid-template-columns: 1fr !important;
  }

  body.page-id-22 .rb-contact-mini-card {
    display: grid !important;
    grid-template-columns: 31px 1fr !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 0 !important;
  }

  body.page-id-22 .rb-contact-mini-card span {
    margin-bottom: 0 !important;
  }
}
