/**
 * HELkom Contact Split Styles
 */

.smort-helkom-contact-split {
  width: 100%;
  padding: 2.25rem 0;
  position: relative;
  margin-top: 4rem;
}

.smort-helkom-contact-split .container {
  position: relative;
}

.smort-helkom-contact-split__watermark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -4rem;
  color: rgba(66, 87, 65, 0.09);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: 0.015em;
  line-height: 0.86;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 auto;
}

.smort-helkom-contact-split__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.smort-helkom-contact-split__left-col {
  display: grid;
  gap: 1rem;
}

.smort-helkom-contact-split__profile-card,
.smort-helkom-contact-split__form-card {
  border: 1px solid color-mix(in srgb, var(--border-light) 72%, #d7ddd4 28%);
  border-radius: var(--border-raduis-smort);
  background: var(--secondary-foreground);
}

.smort-helkom-contact-split__profile-card {
  position: relative;
  padding: 0.72rem;
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  align-items: center;
  gap: 2.5rem;
}

.smort-helkom-contact-split__profile-img {
  width: 100%;
  height: 10.6rem;
  border-radius: var(--border-raduis-smort);
  background-size: cover;
  background-position: center;
}

.smort-helkom-contact-split__profile-body h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--h4-sm-size);
  line-height: var(--h4-sm-height);
}

.smort-helkom-contact-split__profile-body p {
  margin: 0.32rem 0 0.44rem;
  max-width: 80%;
  line-height: 1.38;
  @media (max-width: 740px) {
    max-width: 100%;
  }
}

.smort-helkom-contact-split__profile-position {
  color: var(--primary);
  font-weight: 600;
}

.smort-helkom-contact-split__profile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  margin: 0.45rem 0 0.7rem;
  font-size: 0.74rem;
  line-height: 1.25;
}

.smort-helkom-contact-split__profile-contact-item {
  position: relative;
  z-index: 2;
  color: var(--primary);
  text-decoration: none;
}

.smort-helkom-contact-split__profile-contact-item:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.smort-helkom-contact-split__profile-link {
  position: static;
  display: none;

  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #fff;
  background: #ef8fa1;
  border-radius: 999px;
  padding: 0.28rem 0.34rem 0.28rem 0.72rem;
  font-size: 0.64rem;
  line-height: 1;
  font-weight: var(--font-weight-heading);
}

.smort-helkom-contact-split__profile-link::after {
  display: none;
}

.smort-helkom-contact-split__profile-link-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.smort-helkom-contact-split__image {
  min-height: 20rem;
  border-radius: var(--border-raduis-smort);
  background-size: cover;
  background-position: center;
  background-color: #cad6c8;
  position: relative;
  overflow: hidden;
}

.smort-helkom-contact-split__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(66, 87, 65, 0.68) 0%,
    rgba(66, 87, 65, 0) 75%
  );
  pointer-events: none;
}

.smort-helkom-contact-split__form-card h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--h1-sm-size);
  line-height: var(--h1-sm-height);
  text-transform: none;
  font-weight: 600;
}

.smort-helkom-contact-split__form-card > p {
  margin: 1rem 0rem 1.45rem;
  max-width: 60ch;
  line-height: 1.45;

  @media (max-width: 740px) {
    padding-bottom: 0;
  }
}

.smort-helkom-contact-split__fallback {
  display: grid;
  gap: 0.78rem;
}

.smort-helkom-contact-split__form-status {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--border-raduis-smort);
  font-size: 0.9rem;
  line-height: 1.4;
}

.smort-helkom-contact-split__form-status strong {
  font-size: 1.05rem;
}

.smort-helkom-contact-split__form-status span {
  color: inherit;
}

.smort-helkom-contact-split__form-status--success {
  color: #263c29;
  background: #dfe9dc;
}

.smort-helkom-contact-split__form-status--error {
  color: #632b31;
  background: #f3dfe1;
}

.smort-helkom-contact-split__fallback label {
  display: grid;
  gap: 0.22rem;
}

.smort-helkom-contact-split__form-wrap form {
  display: grid;
  gap: 1.5rem;
}

.smort-helkom-contact-split__field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.smort-helkom-contact-split__fallback span,
.smort-helkom-contact-split__form-wrap label,
.smort-helkom-contact-split__form-wrap .wpcf7-form-control-wrap + span,
.smort-helkom-contact-split__form-wrap .fluentform-label {
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--white);
}

.smort-helkom-contact-split__fallback input,
.smort-helkom-contact-split__fallback textarea,
.smort-helkom-contact-split__form-wrap input,
.smort-helkom-contact-split__form-wrap textarea,
.smort-helkom-contact-split__form-wrap select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--border-dark) 26%, #d4dbd1 74%);
  padding: 0.7rem 0 0.52rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.92rem;
  color: var(--text);
}

.smort-helkom-contact-split__fallback input:focus,
.smort-helkom-contact-split__fallback textarea:focus,
.smort-helkom-contact-split__form-wrap input:focus,
.smort-helkom-contact-split__form-wrap textarea:focus,
.smort-helkom-contact-split__form-wrap select:focus {
  outline: none;
  border-bottom-color: color-mix(in srgb, var(--primary) 38%, #d4dbd1 62%);
}

.smort-helkom-contact-split__form-wrap input::placeholder,
.smort-helkom-contact-split__form-wrap textarea::placeholder,
.smort-helkom-contact-split__fallback input::placeholder,
.smort-helkom-contact-split__fallback textarea::placeholder {
  color: color-mix(in srgb, var(--text) 54%, #fff);
}

/* Captcha / Spamskydd */
.smort-helkom-contact-split__captcha-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.9rem 1.1rem;
  background: #f9fbf8;
  border: 1px solid #d4dbd1;
  border-radius: var(--border-raduis-smort, 8px);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.smort-helkom-contact-split__fallback
  label.smort-helkom-contact-split__captcha-label,
.smort-helkom-contact-split__captcha-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem !important;
  cursor: pointer;
  user-select: none;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.smort-helkom-contact-split__checkbox {
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin: 0 !important;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.smort-helkom-contact-split__fallback .smort-helkom-contact-split__captcha-text,
.smort-helkom-contact-split__captcha-text {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--text, #1e2922) !important;
  line-height: 1.3 !important;
}

.smort-helkom-contact-split__captcha-badge {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  opacity: 0.65;
  color: var(--text, #1e2922) !important;
}

.smort-helkom-contact-split__captcha-icon {
  flex-shrink: 0;
  stroke: var(--text, #1e2922);
}

.smort-helkom-contact-split__fallback
  .smort-helkom-contact-split__captcha-subtext,
.smort-helkom-contact-split__captcha-subtext {
  font-size: 0.68rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-weight: 600 !important;
  color: var(--text, #1e2922) !important;
  line-height: 1 !important;
}

.smort-helkom-contact-split__captcha-icon {
  flex-shrink: 0;
}

.smort-helkom-contact-split__captcha-subtext {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.smort-helkom-contact-split__fallback textarea,
.smort-helkom-contact-split__form-wrap textarea {
  min-height: 9.4rem;
  resize: vertical;
}

.smort-helkom-contact-split__fallback
  .smort-helkom-contact-split__fallback-submit {
  margin-top: 1rem;
  width: 100%;
}

.smort-helkom-contact-split__fallback
  .smort-helkom-contact-split__fallback-submit
  .button-text {
  min-width: 0;
  justify-content: flex-start;
  padding: 0.82rem 1.15rem;
  font-size: 16px;
  line-height: var(--h4-sm-height);
}

.smort-helkom-contact-split__fallback
  .smort-helkom-contact-split__fallback-submit
  .button-icon {
  width: 3rem;
  height: 3rem;
}

.smort-helkom-contact-split__form-wrap button[type="submit"]:not(.button),
.smort-helkom-contact-split__form-wrap input[type="submit"],
.smort-helkom-contact-split__form-wrap .wpcf7-submit,
.smort-helkom-contact-split__form-wrap .ff-btn-submit {
  margin-top: 1rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 3.45rem 0.82rem 1.15rem;
  font-family: var(--font-heading);
  font-size: var(--h4-sm-size);

  line-height: var(--h4-sm-height);
  text-align: left;
  color: #fff;
  background: var(--primary);
  position: relative;
  cursor: pointer;
}

.smort-helkom-contact-split__form-wrap
  button[type="submit"]:not(.button)::after,
.smort-helkom-contact-split__form-wrap input[type="submit"]::after,
.smort-helkom-contact-split__form-wrap .wpcf7-submit::after,
.smort-helkom-contact-split__form-wrap .ff-btn-submit::after {
  content: "\2197";
  position: absolute;
  right: 0.38rem;
  top: 50%;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--primary) 94%, #ffffff 6%);
  color: #f3c3c9;
  font-size: 1.15rem;
}

@media (max-width: 979px) {
  .smort-helkom-contact-split {
    padding: 1.2rem 0 1.4rem;
    margin-top: 1.4rem;
  }

  .smort-helkom-contact-split__watermark {
    top: -1.2rem;
    font-size: clamp(2.4rem, 12vw, 4.8rem);
    line-height: 0.9;
  }

  .smort-helkom-contact-split__grid {
    gap: 0.85rem;
  }

  .smort-helkom-contact-split__left-col {
    gap: 0.85rem;
  }

  .smort-helkom-contact-split__profile-card {
    grid-template-columns: 6rem 1fr;
    gap: 0.9rem;
    padding: 0.7rem;
    align-items: start;
  }

  .smort-helkom-contact-split__profile-img {
    height: 7rem;
  }

  .smort-helkom-contact-split__profile-body p {
    margin: 0.24rem 0 0.55rem;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .smort-helkom-contact-split__image {
    min-height: 13rem;
    display: none;
  }

  .smort-helkom-contact-split__form-card {
    padding: 1rem 0.9rem 1.15rem;
  }

  .smort-helkom-contact-split__form-card > p {
    margin: 0.55rem 0 1rem;
    font-size: 0.8rem;
  }

  .smort-helkom-contact-split__form-wrap form {
    gap: 1.1rem;
  }

  .smort-helkom-contact-split__fallback textarea,
  .smort-helkom-contact-split__form-wrap textarea {
    min-height: 7.2rem;
  }
}

@media (min-width: 980px) {
  .smort-helkom-contact-split__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1rem;
    align-items: stretch;
  }

  .smort-helkom-contact-split__profile-card {
    grid-template-columns: 10.9rem 1fr;
    padding: 0.75rem;
  }

  .smort-helkom-contact-split__profile-img {
    height: 12.8rem;
  }

  .smort-helkom-contact-split__left-col {
    grid-template-rows: auto 1fr;
  }

  .smort-helkom-contact-split__image {
    min-height: 27rem;
  }

  .smort-helkom-contact-split__form-card {
    padding: 3.2rem 2.5rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .smort-helkom-contact-split__form-wrap {
    margin-top: auto;
  }

  .smort-helkom-contact-split__form-wrap textarea {
    min-height: 11.25rem;
  }
}

@media (min-width: 1024px) {
  .smort-helkom-contact-split__watermark {
    font-size: 10rem;
    line-height: 0.83;
  }

  .smort-helkom-contact-split__profile-body h3 {
    font-size: var(--h4-lg-size);
    line-height: var(--h4-lg-height);
  }

  .smort-helkom-contact-split__form-card h2 {
    font-size: var(--h1-lg-size);
    line-height: var(--h1-lg-height);
    margin-bottom: 2rem;
  }

  .smort-helkom-contact-split__fallback
    .smort-helkom-contact-split__fallback-submit
    .button-text,
  .smort-helkom-contact-split__form-wrap button[type="submit"]:not(.button),
  .smort-helkom-contact-split__form-wrap input[type="submit"],
  .smort-helkom-contact-split__form-wrap .wpcf7-submit,
  .smort-helkom-contact-split__form-wrap .ff-btn-submit {
    margin-top: 0;
  }
}

@media (max-width: 740px) {
  .smort-helkom-contact-split__watermark {
    display: none;
  }

  .smort-helkom-contact-split__profile-card {
    grid-template-columns: 5.4rem 1fr;
  }

  .smort-helkom-contact-split__profile-img {
    height: 6.2rem;
  }

  .smort-helkom-contact-split__form-card h2 {
    font-size: var(--h2-sm-size);
    line-height: var(--h2-sm-height);
  }
}
