/* ==========================================================================
   Olverin theme: contact page modules
   Authored by Olverin Ventures for the OlverinEcom theme.
   Markup: the address-box Elementor widget
   (.klb-address-detail.style-1|2|3) and the contact-form-7 widget
   (.klb-contact-form > .form-header + Contact Form 7 output). Measured on
   the contact page at 1440; column widths come from the Elementor layout.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Address box, style-1: numbered circle + country / office / address / phone
   -------------------------------------------------------------------------- */
.klb-address-detail {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}
.klb-address-detail .address-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 20px;
  color: var(--olv-text);
}
.klb-address-detail .address-icon.number {
  width: 34px;
  height: 34px;
  border: 2px solid var(--olv-text);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.klb-address-detail .address-icon i,
.klb-address-detail .address-icon svg {
  font-size: 34px;
  line-height: 1;
}
.klb-address-detail .address-icon.color-red {
  color: var(--olv-primary);
}
.klb-address-detail .address-detail {
  flex: 1 0 0%;
  min-width: 0;
}
.klb-address-detail .address-country {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.klb-address-detail .address-title {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.5;
}
.klb-address-detail p.address {
  margin-bottom: 16px;
  font-size: 14px;
}
.klb-address-detail p.phone {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.klb-address-detail p.phone a {
  color: inherit;
}
.klb-address-detail p.phone a:hover {
  color: var(--olv-primary);
}
.klb-address-detail a.email {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 1px;
  color: var(--olv-info);
  font-size: 14px;
  line-height: 1.5;
}
.klb-address-detail a.email::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: opacity var(--olv-transition);
}
.klb-address-detail a.email:hover::before {
  opacity: 0;
}

/* style-2: text only, larger title */
.klb-address-detail.style-2 .address-title {
  margin-bottom: 8px;
  font-family: var(--olv-font-heading);
  font-size: 22px;
  font-weight: var(--olv-heading-weight);
  line-height: 1.2;
}

/* style-3: icon + title */
.klb-address-detail.style-3 {
  flex-wrap: nowrap;
}
.klb-address-detail.style-3 .address-icon {
  width: 48px;
  height: 48px;
  margin-right: 16px;
}
.klb-address-detail.style-3 .address-title {
  font-family: var(--olv-font-heading);
  font-size: 20px;
  font-weight: var(--olv-heading-weight);
  line-height: 1.2;
}

@media (max-width: 991.98px) {
  .elementor-widget-blonwe-address-box {
    margin-bottom: 30px;
  }
}

/* --------------------------------------------------------------------------
   Contact form module: .klb-contact-form.contact-form
   -------------------------------------------------------------------------- */
.klb-contact-form {
  position: relative;
}
.klb-contact-form .form-header {
  margin-bottom: 30px;
}
.klb-contact-form .form-header .entry-title {
  margin-bottom: 5px;
  font-size: 24px;
  line-height: 1.2;
}
.klb-contact-form .form-header .entry-description {
  font-size: 16px;
  line-height: 1.5;
}
.klb-contact-form .form-header .entry-description p {
  margin-bottom: 16px;
}
.klb-contact-form .form-header .entry-description p:last-child {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .klb-contact-form .form-header {
    margin-bottom: 40px;
  }
  .klb-contact-form .form-header .entry-title {
    font-size: 28px;
  }
}

/* Contact Form 7 fields (.wpcf7-form) */
.wpcf7-form p {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.wpcf7-form p > label {
  width: 100%;
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.5;
}
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  position: relative;
  width: 100%;
}
.wpcf7-form .wpcf7-form-control-wrap + br {
  display: none;
}
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-url,
.wpcf7-form .wpcf7-number,
.wpcf7-form .wpcf7-date,
.wpcf7-form .wpcf7-select,
.wpcf7-form .wpcf7-textarea {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--olv-radius-form);
  background-color: #f1f3f5;
  color: var(--olv-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.wpcf7-form .wpcf7-textarea {
  height: 150px;
  min-height: 150px;
  padding: 12px;
  line-height: 1.5;
  resize: vertical;
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-textarea:focus,
.wpcf7-form .wpcf7-select:focus {
  outline: 0;
  box-shadow: 0 0 0 1px var(--olv-primary);
}
.wpcf7-form .wpcf7-not-valid {
  box-shadow: 0 0 0 1px var(--olv-danger);
}
.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  width: 100%;
  margin-top: 4px;
  color: var(--olv-danger);
  font-size: 12px;
}
.wpcf7-form .wpcf7-list-item {
  margin: 0 16px 0 0;
}
.wpcf7-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.wpcf7-form .wpcf7-acceptance label {
  font-size: 13px;
}
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: var(--olv-btn-h);
  min-height: var(--olv-btn-h);
  padding: 0 18px;
  border: 0;
  border-radius: var(--olv-radius-form);
  background-color: var(--olv-primary);
  color: var(--olv-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.wpcf7-form .wpcf7-submit:hover {
  background-color: var(--olv-text);
  color: var(--olv-white);
}
.wpcf7-form .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wpcf7-form .wpcf7-spinner {
  margin: 0 24px;
  background-color: #23282d;
}
.wpcf7-form .wpcf7-response-output {
  width: 100%;
  margin: 20px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--olv-border-15);
  border-radius: var(--olv-radius-form);
  font-size: 14px;
}
.wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--olv-success);
  color: var(--olv-success);
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
  border-color: var(--olv-danger);
  color: var(--olv-danger);
}
.wpcf7-form .row {
  --bs-gutter-x: 24px;
}
@media (min-width: 992px) {
  .wpcf7-form .wpcf7-text,
  .wpcf7-form .wpcf7-email,
  .wpcf7-form .wpcf7-tel,
  .wpcf7-form .wpcf7-url,
  .wpcf7-form .wpcf7-number,
  .wpcf7-form .wpcf7-date,
  .wpcf7-form .wpcf7-select {
    height: var(--olv-input-h);
  }
}
