.page-node-type-directory:has(.webform-submission-which-meng-track-is-right-for-yo-form) {
  * {
    letter-spacing: initial !important;
  }
  
  .c-headline--large {
    padding-top: 64px !important;
  }

  .c-headline__heading {
    margin-bottom: 0;
    font-size: 36px;
    color: #000;
    font-weight: 400;
  }
  
  .l-container + .l-container {
    margin-top: 14px !important;
  }
  
  .c-form {
    margin-top: 0!important;
  }
  
  @media print, screen and (min-width: 48em) {
    .c-article {
      grid-template-columns: 1fr 6.7% 63.67% 6.7% 1fr;
    }
  }
  
  main {
    position: relative;
    
    form,
    section {
      position: relative;
      z-index: 2;
    }
  }
  
  main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #F7F7F7;
    z-index: 1;
  }
}

.c-article:has(.meng-completion) {
  @media print, screen and (min-width: 48em) {
    grid-template-columns: 1fr 6.7% 63.67% 6.7% 1fr;
  }
}


.webform-submission-which-meng-track-is-right-for-yo-form {
  margin-bottom: 64px;
  
  .ajax-progress-throbber,
  .webform-progress__status {
    display: none;
  }
  
  .progress-step {
    position: relative;
    margin-bottom: 0 !important;
  }
  
  .progress-marker {
    height: 100%;
   }
  
  .webform-progress-tracker .progress-step .progress-marker::before {
    clip-path: polygon(100% 50%,75% 93.3%,25% 93.3%,0% 50%,25% 6.7%,75% 6.7%,100% 50%,calc(75% - 2px) calc(6.7% - -3.46px),calc(25% - -2px) calc(6.7% - -3.46px),calc(0% - -4px) calc(50% - 0px),calc(25% - -2px) calc(93.3% - 3.46px),calc(75% - 2px) calc(93.3% - 3.46px),calc(100% - 4px) calc(50% - 0px),calc(75% - 2px) calc(6.7% - -3.46px));
    border-radius: 0;
    aspect-ratio: 1;
    width: 22px;
    height: 22px;
    background-color: #DFE2E3;
    top: 50%;
    transform: translateY(-50%);
    padding-bottom:0;
    display: block;
    font-size: 0;
  }
  
  .webform-progress-tracker .progress-step.is-active .progress-marker::before {
    clip-path: polygon(100% 50%,75% 93.3%,25% 93.3%,0% 50%,25% 6.7%,75% 6.7%);
    background-color: #5F0016;
    color: #5F0016;
    width: 36px;
    height: 36px;
    top: 0;
    transform: none;
  }
  
  .webform-progress-tracker .progress-step.is-active .progress-marker::after {
    width: calc(100% - 30px);
    left: calc(50% + 20px);
    right: auto;
    clip-path: polygon(0 0,100% 0,100% 100%,0 100%,1.3px 50%);
  }
  
  .webform-progress-tracker .progress-step.is-complete .progress-marker::before {
    display: none;
  }
  
  
  .webform-progress-tracker .progress-step .progress-marker::after {
    background-color: #DFE2E3;
    top: 50% !important;
    transform: translateY(-50%);
    width: calc(100% - 20px);
    right: calc(-50% + 10px);
  }
  
  .webform-progress-tracker .progress-step.is-complete:first-of-type .progress-marker::after {
    width: 100%;
    right: calc(-50% + 13px);
    left:auto;
    height: 32px;
    background-color: #8A0021;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 8px 100%, 1px 50%);
  }
  
  .webform-progress-tracker .progress-step.is-complete + .is-complete .progress-marker::after {
    height: 32px;
    background-color: #8A0021;
    clip-path: polygon(0 0,100% 0,calc(100% - 8px) 50%,100% 100%,0 100%);
    width:calc(100% + 24px);
    right: calc(-50% + 13px);
    left: auto;
  }
  
  .webform-progress-tracker .is-active:last-child .progress-marker::before {
    z-index: -1;
  }
  
  .webform-progress-tracker .is-active:last-child .progress-marker::after {
    content: '';
    width: 36px;
    height: 36px;
    color: #fff;
    margin: 0 auto;
    display: block !important;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    z-index: 4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='white' d='M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z'/%3E%3C/svg%3E");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  legend {
    margin-bottom: 24px;
  }
  
  fieldset {
    padding-bottom: 0 !important;
  }
  
  .fieldset-legend {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 143%;
  }
  
  .js-webform-checkboxes {
    .js-form-type-checkbox {
      margin-bottom: 12px;
    }
    
    .js-form-type-checkbox:last-of-type {
      margin-bottom: 0;
    }
  }
  
  
  .form_checkbox {
    .form_label {
      margin-bottom: 12px;
    }
    
    .form_response {
      margin-bottom: 12px;
    }
    
    .form_response:last-of-type {
      margin-bottom: 0;
    }
    
    label {
      position: relative;
      font-size: 16px;
      margin-left: 36px;
    } 
    
    .form_response input {
     position: absolute;
     left: 0;
     width: 20px;
     height: 20px;
     margin: 0;
     margin-right: 16px;
     accent-color: #007396;
    }
  }
  
  .js-webform-checkboxes {
    .js-form-type-checkbox {
      margin-bottom: 12px;
    }
    
    .js-form-type-checkbox:last-of-type {
      margin-bottom: 0;
    }
  }
  
  .js-form-type-checkbox {
    width: 100%;
    
    label {
      position: relative;
      font-size: 16px;
    } 
    
    label::before {
      
    }
  } 
  
  .js-form-type-checkbox:not(.form-item-comm-opt-in) {
    padding: 22px;
    border: 2px solid #DEDED7;
    background: #FFF;
  }

  .js-form-type-checkbox:not(.form-item-comm-opt-in) input {
    position: absolute;
    left: 22px;
    width: 20px;
    height: 20px;
    margin: 0;
    margin-right: 16px;
    accent-color: #007396;
  }
  
  .js-form-type-checkbox:not(.form-item-comm-opt-in) label {
    padding-left: 36px;
  }

  
  .js-form-type-checkbox:not(.form-item-comm-opt-in) {
    padding: 22px;
    border: 2px solid #DEDED7;
    background: #FFF;
  }
  
  .form-item-comm-opt-in {
    display: flex;
  }
  
  .form-item-comm-opt-in input {
    width: 20px;
    height: 20px;
    flex: none;
    margin: 0;
    margin-right: 16px;
    accent-color: #007396;
  }
  
  .form_radio {
    .form_response {
      margin-bottom: 12px;
    }
    
    .form-response:last-of-type {
      margin-bottom: 0;
    }
    
    .form_label {
      margin-bottom: 12px;
    }
    
    label {
      font-size: 16px;
    }
  }
  
  .form_radio .form_response label::before {
    content: '';
    display: inline-block;
    left: 0;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #686E77;
    background-color: #fff;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 16px;
    transition: all 0.1s ease;
  }
  
  .form_radio .form_response input:checked + label::before {
    border: 5px solid #007396;
  }
  
  
  .form-actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    
    input {
      margin: 0;
    }
  }
  
  .webform-button--next {
    background: transparent;
    color: #800000;
    border-color: #800000;
  }
  
  .webform-button--next:hover,
  .webform-button--next:focus {
    background:#800000;
    color: #fff;
  }
  
  .webform-button--previous {
    border: 2px solid rgba(112, 112, 112, 0.25);
    background: #F7F7F7;
    color: #707070;
    margin-left: 24px !important;
  }
  
  .webform-button--previous:hover,
  .webform-button--previous:focus {
    background: #707070;
    border-color: #707070;
    color: #fff;
  }
  #edit-page-contact {
    .form-item-first-name,
    .form-item-last-name,
    .form-item-email,
    .form-item-phone {
      margin-bottom: 24px !important;
      width: 100%;
    }

    .js-form-item:not(.js-form-type-checkbox) label {
      margin-bottom: 8px;
      font-size: 18px;
      font-weight: 500;
    }

    .js-form-item:not(.js-form-type-checkbox) input {
      height: 52px;
      padding: 0 16px;
      background: #FFF;
      border: 2px solid #DEDED7;
      font-size: 16px;
      width: 100%;
    }
  }
}

@media screen and (min-width: 768px) {
  .page-node-type-directory:has(.webform-submission-which-meng-track-is-right-for-yo-form){
   .c-headline__heading {
      font-size: 40px;
    }
  }
  
  #edit-page-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
    .form-item-first-name,
    .form-item-last-name {
      flex: 0 0 calc(50% - 16px);
      max-width: calc(50% - 16px);
    }
  }
}

.webform-submission-which-meng-track-is-right-for-yo-form .progress-step::before {
  display: none;
}

.webform-submission-which-meng-track-is-right-for-yo-form .progress-step,
.webform-progress .progress-step {
  padding-left:0!important;
}

.webform-submission-which-meng-track-is-right-for-yo-form .progress-text,
.webform-progress .progress-text{
  display:none;
}

.meng-completion {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  
  > * {
    margin: 0 auto;
    max-width: 1200px;
  }
}

.meng-completion .webform-confirmation__message > p {
  text-align: center;
}

.result-item {
  h2 {
    margin-top:0;
    margin-bottom: 4px;
    font-size: 32px;
    line-height: 1.2;
  }
  
  p {
    font-size: 16px;
  }
  
  @media screen and (min-width: 768px) {
    display: flex;
    align-items: center;
    gap: 45px;
    
    h2 {
      font-size: 40px;
    }
    
    img {
      max-width: 330px;
    }
  }
  
  img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
  }
  
  img + .result-item__content {
    margin-left: 0;
  }
}

.result-item__content {
  width: 100%;
  @media screen and (min-width: 768px) {
    max-width: 764px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 767px) {
  .result-item__content {
    padding: 22px;
    padding-bottom: 0;
  }
}

.result-item + .result-item {
  margin-top: 40px;
  
  @media screen and (min-width: 768px) {
    margin-top: 48px;
  }
}

.meng-eyebrow {
  color: #676767;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form_text {
  label {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
  }

  input {
    height: 52px;
    padding: 0 16px;
    background: #FFF;
    border: 2px solid #DEDED7;
    font-size: 16px;
    width: 100%;
  }
}

#form_page_1 {
  .form_label {
    margin-bottom: 12px;
  }
  
  .form_label {
    label {
      font-size: 18px;
    }
  }
  
  .form_birthdate {
    .form_responses {
      display: flex;
      gap: 16px;
  
      @media screen and (min-width: 768px) {
        gap: 32px;
      }
    }
  }
  
  select {
    margin-left: 0 !important;
    max-width: 100%;
    height: 52px;
    padding: 0 16px;
    background: #FFF;
    border: 2px solid #DEDED7;
    font-size: 16px;
    width: 100%;
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 98% center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%23007396' d='M297.4 470.6C309.9 483.1 330.2 483.1 342.7 470.6L534.7 278.6C547.2 266.1 547.2 245.8 534.7 233.3C522.2 220.8 501.9 220.8 489.4 233.3L320 402.7L150.6 233.4C138.1 220.9 117.8 220.9 105.3 233.4C92.8 245.9 92.8 266.2 105.3 278.7L297.3 470.7z'/%3E%3C/svg%3E");
    
  }
  
  #form_question_064800e3-ea16-4f09-92f6-1cb8038d96f8 {
    select {
      @media screen and (min-width: 768px) {
        max-width: calc(33% - 16px);
      }
    }
  }
  
  @media screen and (min-width: 768px) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
    > div {
      width: 100%;
    }
    
    .form_text {
      max-width: calc(50% - 16px);
      width: 100%;
    }
  }
  
  .form_question {
    margin-bottom: 24px;
  }
}

.webform-confirmation__message + div {
  padding: 0 22px;
}

.form_container {
  max-width: 764px;
  margin-left: auto;
  margin-right: auto;
}

.embed-heading {
  max-width: 764px;
  margin-left: auto;
  margin-right: auto;
}

#form_description p {
  font-size: 16px !important;
}