@charset "UTF-8";
@layer original-layers, site, overrides;
@layer site {
  .cveti-question-result {
    position: fixed;
    z-index: 30000;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 24px;
    color: #3e443d;
    font-family: Manrope, Arial, sans-serif;
  }

  .cveti-question-result__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(17, 18, 17, .52);
  }

  .cveti-question-result__background {
    position: absolute;
    inset: -44px;
    width: calc(100% + 88px);
    height: calc(100% + 88px);
    object-fit: cover;
    filter: blur(34px);
    transform: scale(1.05);
  }

  .cveti-question-result__close {
    position: absolute;
    z-index: 3;
    top: 24px;
    right: 24px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fcfcfa;
    box-sizing: border-box;
    padding: 0;
    cursor: pointer;
  }

  .cveti-question-result__close img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  /* Close icon supplied for the question form and its result modal. */
  .cveti-question-result__close::before,
  #questionModal .question-modal-close::before {
    position: absolute;
    display: block;
    width: 32px;
    height: 32px;
    background: center / 32px 32px no-repeat
      url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M23.619 23.619L8.38086 8.38086' stroke='%23857162' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3Cpath d='M23.619 8.38086L8.38086 23.619' stroke='%23857162' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E");
    content: "";
  }

  .cveti-question-result__close img,
  #questionModal .question-modal-close::after {
    display: none;
  }

  .cveti-question-result__card {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(392px, 100%);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: #f4f2eb;
    padding: 8px 8px 48px;
  }

  .cveti-question-result__card:focus,
  .cveti-question-result__card:focus-visible {
    outline: none;
  }

  .cveti-question-result__image {
    display: block;
    width: 100%;
    height: 360px;
    margin-bottom: 46px;
    object-fit: cover;
  }

  .cveti-question-result__content {
    width: min(327px, calc(100% - 32px));
    text-align: center;
  }

  .cveti-question-result__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .36px;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .cveti-question-result__text {
    margin: 0 0 28px;
    color: rgba(62,68,61,.64);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
  }

  .cveti-question-result__button {
    display: grid;
    width: 100%;
    min-height: 56px;
    place-items: center;
    border: 0;
    border-radius: 64px;
    background: #91ad8c;
    color: #fff;
    font: 700 13px/1 Manrope, Arial, sans-serif;
    letter-spacing: .13px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
  }

  @media (hover: hover) {
    .cveti-question-result__button:hover {
      background: #779273;
    }

    .cveti-question-result__close:hover {
      background: #fff;
    }
  }

  .cveti-question-result__button:focus-visible,
  .cveti-question-result__close:focus-visible {
    outline: 2px solid #566f53;
    outline-offset: 3px;
  }

  @media (max-width: 600px) {
    .cveti-question-result {
      padding: 16px;
    }

    .cveti-question-result__close {
      top: 16px;
      right: 16px;
      width: 44px;
      height: 44px;
    }

    .cveti-question-result__card {
      width: min(360px, 100%);
      padding-bottom: 32px;
    }

    .cveti-question-result__image {
      height: min(72vw, 332px);
      margin-bottom: 30px;
    }

    .cveti-question-result__text {
      margin-bottom: 22px;
    }
  }

  .question-contact-methods {
    width: 100%;
    margin: 20px 0 0;
    padding: 0;
    border: 0;
  }

  .question-contact-methods__title {
    margin: 0 0 12px;
    padding: 0;
    color: #3e443d;
    font: 500 14px/1.4 Manrope, Arial, sans-serif;
  }

  .question-contact-methods__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .question-contact-methods__option {
    display: flex;
    align-items: center;
    min-height: 42px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid rgba(145, 173, 140, .42);
    border-radius: 24px;
    background: rgba(255, 255, 255, .56);
    color: #596157;
    font: 500 13px/1.45 Manrope, Arial, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  }

  .question-contact-methods__option input {
    appearance: none;
    box-sizing: border-box;
    border: 1px solid #aebbac;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
  }

  .question-contact-methods__option input:checked {
    border-color: #91ad8c;
    background-color: #91ad8c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5 4.2 7.5 11 1.5' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 9px;
  }

  .question-contact-methods__option:has(input:checked) {
    border-color: #91ad8c;
    background: #edf3e9;
    color: #3e443d;
  }

  .question-contact-methods__option:hover {
    border-color: #91ad8c;
  }

  .question-contact-methods__option input:focus-visible {
    outline: 2px solid #566f53;
    outline-offset: 2px;
  }

  @media (max-width: 600px) {
    .question-contact-methods {
      margin-top: 16px;
    }

    .question-contact-methods__options {
      gap: 7px;
    }

    .question-contact-methods__option {
      min-height: 40px;
      padding: 0 12px;
    }
  }

  /* Question form: on tablets and phones show the cover above the fields. */
  @media (max-width: 1024px) {
    #questionModal .question-modal-dialog {
      display: flex;
      height: 100dvh;
      flex-direction: column;
      overflow-y: auto;
      overscroll-behavior: contain;
    }

    #questionModal .question-modal-visual {
      display: block;
      width: 100%;
      height: clamp(240px, 48vw, 420px);
      min-height: 240px;
      flex: 0 0 auto;
    }

    #questionModal .question-modal-cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    #questionModal .question-modal-content {
      display: block;
      width: 100%;
      min-height: 0;
      flex: 1 0 auto;
      overflow: visible;
      padding: 32px 20px 48px;
    }

    #questionModal .question-modal-close {
      position: fixed;
      z-index: 10;
      top: 16px;
      right: 16px;
    }
  }
}

@layer overrides {
  .cveti-question-result-open {
    overflow: hidden;
  }

  .cveti-question-result[hidden] {
    display: none;
  }

  .question-contact-methods__option input {
    width: 18px;
    height: 18px;
    margin: 0 9px 0 0;
  }
}
