/* ==========================================================
 * S2B_CONTACT_FEEDBACK_CSS_20260924
 * ========================================================== */

.s2b-contact-feedback-form {
  width: min(100% - 32px, 980px);
  margin: 28px auto 72px;
}

.s2b-contact-hero {
  position: relative;
  margin: 0 0 24px;
  padding: 34px 28px 30px 38px;
  border: 1px solid rgba(213, 169, 63, 0.45);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 167, 193, 0.22), transparent 30%),
    radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(135deg, #0f2c4b 0%, #12385d 48%, #0f5c74 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16, 40, 61, 0.16);
}

.s2b-contact-hero::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 16px;
  border-radius: 28px 0 0 28px;
  background: linear-gradient(180deg, #d5a93f 0%, #f0d579 100%);
}

.s2b-contact-hero__kicker {
  margin: 0 0 14px;
  color: #e1b84d;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.s2b-contact-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.s2b-contact-hero__lead {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.65;
}

.s2b-contact-note {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid #d9e1ea;
  border-radius: 20px;
  background: #f6f8fb;
  color: #24384b;
  font-size: 16px;
  line-height: 1.65;
  box-shadow: 0 10px 24px rgba(16, 40, 61, 0.06);
}

.s2b-contact-note a {
  color: #0f2c4b;
  font-weight: 700;
  text-decoration: underline;
}

.s2b-contact-feedback-form > .form-item,
.s2b-contact-feedback-form > .js-form-item,
.s2b-contact-feedback-form > .form-actions,
.s2b-contact-feedback-form > .description,
.s2b-contact-feedback-form > .fieldset-wrapper,
.s2b-contact-feedback-form > fieldset {
  position: relative;
  margin-bottom: 18px;
  padding-left: 0;
  padding-right: 0;
}

.s2b-contact-feedback-form {
  padding: 0;
}

.s2b-contact-feedback-form .form-item,
.s2b-contact-feedback-form .js-form-item,
.s2b-contact-feedback-form .form-actions {
  background: #fff;
}

.s2b-contact-feedback-form .js-form-item label,
.s2b-contact-feedback-form .form-item label {
  display: block;
  margin-bottom: 10px;
  color: #10283d;
  font-size: 17px;
  font-weight: 700;
}

.s2b-contact-feedback-form input[type="text"],
.s2b-contact-feedback-form input[type="email"],
.s2b-contact-feedback-form input[type="search"],
.s2b-contact-feedback-form input[type="url"],
.s2b-contact-feedback-form textarea,
.s2b-contact-feedback-form select {
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 2px solid #d9e1ea;
  border-radius: 18px;
  background: #fff;
  color: #10283d;
  font-size: 17px;
  line-height: 1.5;
  box-shadow: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.s2b-contact-feedback-form textarea {
  min-height: 260px;
  resize: vertical;
}

.s2b-contact-feedback-form input:focus,
.s2b-contact-feedback-form textarea:focus,
.s2b-contact-feedback-form select:focus {
  outline: none;
  border-color: #d5a93f;
  box-shadow: 0 0 0 4px rgba(213, 169, 63, 0.16);
}

.s2b-contact-feedback-form .description {
  color: #66788a;
  font-size: 14px;
  line-height: 1.5;
}

.s2b-contact-feedback-form .form-actions {
  margin-top: 24px;
  background: transparent;
}

.s2b-contact-feedback-form .form-actions .button,
.s2b-contact-feedback-form .form-actions input[type="submit"],
.s2b-contact-feedback-form .button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #dfb84c 0%, #d5a93f 100%) !important;
  color: #10283d !important;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(213, 169, 63, 0.28);
}

.s2b-contact-feedback-form .form-actions .button:hover,
.s2b-contact-feedback-form .form-actions input[type="submit"]:hover,
.s2b-contact-feedback-form .button--primary:hover {
  transform: translateY(-1px);
  color: #10283d !important;
}

@media (max-width: 680px) {
  .s2b-contact-feedback-form {
    width: 100vw;
    margin: 0 0 48px;
    margin-left: calc(50% - 50vw);
    padding: 0 16px;
    box-sizing: border-box;
  }

  .s2b-contact-hero {
    padding: 28px 20px 24px 28px;
    border-radius: 24px;
  }

  .s2b-contact-hero::before {
    width: 14px;
    border-radius: 24px 0 0 24px;
  }

  .s2b-contact-hero__kicker {
    font-size: 14px;
  }

  .s2b-contact-hero__lead,
  .s2b-contact-note {
    font-size: 16px;
  }

  .s2b-contact-feedback-form textarea {
    min-height: 220px;
  }

  .s2b-contact-feedback-form .form-actions .button,
  .s2b-contact-feedback-form .form-actions input[type="submit"],
  .s2b-contact-feedback-form .button--primary {
    width: 100%;
  }
}


/* S2B_CONTACT_HIDE_PAGE_TITLE_20260924 */

/*
 * De S2B-contacthero bevat al de paginatitel.
 * Verberg daarom uitsluitend op de feedbackpagina
 * de standaard Drupal page-title erboven.
 */
body:has(.s2b-contact-feedback-form)
.block-page-title-block,
body:has(.s2b-contact-feedback-form)
.page-title {
  display: none !important;
}
