html {
  scroll-behavior: smooth;
}
.single:not(nav) ol, .single:not(nav) ul {
  list-style: disc;
  margin: 0;
  padding: 0;
  margin-left: 1.5rem;
}
/* h1, h2, h3, h4, h5, h6{
  font-weight: 700;
  /* line-height: 1.2em; */
  /* text-transform: var(--h1texttransform); */

/* } */ */
/* .page-template-default h1,
.page-template-default h2,
.page-template-default h3,
.page-template-default h4,
.page-template-default h5,
.page-template-default h6 {
  font-family: "Anton", sans-serif;
} */

.nav-ul{
  align-items: center!important;
}
.wysiwyg ul {
    list-style: disc;
    margin-bottom: 1rem;
    margin-left: 1rem;
  }
  .wysiwyg ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .wysiwyg li {
    margin-bottom: 0.5rem;
  }
  .wysiwyg strong{
    font-weight: 800;
  }

  @media screen and (min-width:1080px) {
    .wysiwyg ul.small{
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, 1fr);
      margin-bottom: 0px;
    }
  }
  .wysiwyg ul.small li{
    margin: 0;
  }
  .scrollbar-none {
    -ms-overflow-style: none;  /* IE + Edge */
    scrollbar-width: none;     /* Firefox */
  }
  
  .scrollbar-none::-webkit-scrollbar {
    display: none;             /* Chrome / Safari */
  }
  
@media (min-width: 768px) {
  .btn-header a{
    color: #fff!important;;
  }
  .btn-header a:hover{
    color:rgb(0 45 114 / var(--tw-bg-opacity, 1))!important;
  }
  
}
 

  /* reveal base */
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* stagger (опційно) */
  .reveal[data-delay] {
    transition-delay: var(--reveal-delay, 100ms);
  }
  
  /* повага до accessibility */
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
  }
  
  body.modal-open { overflow: hidden; }




  /* Базово ховаємо */
  @media (min-width: 960px) {
    .custom-dd-mobile,
    .dd-toggle {
      display: none;
    }
  
    .has-custom-dd > .custom-dd-wrap > .custom-dd--desktop {
      display: none;
      position: fixed;
      left: 0;
      top: 90px;
      width: 100vw;
      z-index: 9999;
    }
  
    .has-custom-dd.dd-open > .custom-dd-wrap > .custom-dd--desktop {
      display: block;
    }
  
    .has-custom-dd.dd-open .dd-overlay {
      opacity: 1;
      pointer-events: auto;
    }
  }
  
  @media (max-width: 959px) {
    .custom-dd--desktop {
      display: none !important;
    }
  
    .custom-dd-mobile {
      display: none;
    }
  
    .has-custom-dd.dd-open > .custom-dd-wrap > .custom-dd-mobile {
      display: block;
    }
  
    .menu-item-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
  
    .menu-item-head > .menu-link {
      flex: 1 1 auto;
    }
  
    .dd-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border: 0;
      background: transparent;
      cursor: pointer;
    }
  
    .dd-toggle-icon,
    .dd-toggle-icon::before {
      content: "";
      display: block;
      width: 14px;
      height: 2px;
      background: currentColor;
      position: absolute;
    }
  
    .dd-toggle {
      position: relative;
    }
  
    .dd-toggle-icon {
      position: relative;
    }
  
    .dd-toggle-icon::before {
      position: absolute;
      left: 0;
      top: 0;
      transform: rotate(90deg);
    }
  
    .has-custom-dd.dd-open .dd-toggle-icon::before {
      opacity: 0;
    }
  }
  
  .relative.z-50 {
    position: relative;
    z-index: 50;
  }

/* форма */
  label, input:not([type="checkbox"]), select, textarea{
    width: 100%;
    margin-top: 0.2rem;
  }
  label{
    margin-bottom: 0.5rem;
  }
 label > span:first-child{
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
 }
 .wpcf7-not-valid-tip {
  display: none !important;
}
/* контейнер поля */
.wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

/* ховаємо текстові помилки */
.wpcf7-not-valid-tip {
  display: none !important;
}

/* стилізація невалідного поля */
.wpcf7-form-control.wpcf7-not-valid {
  border: 1px solid #ef4444 !important;
  box-shadow: none !important;
}

/* червоний квадратик справа */
.wpcf7-form-control-wrap:has(.wpcf7-not-valid)::after {
  content: "!";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 4px;
  pointer-events: none;
}
.wpcf7-list-item{
  margin: 0!important;
}
.wpcf7-acceptance input span {
  font-size: 0.9rem;
}
span.form-description{
  font-size: 0.8rem;
  color:#6f6f6f;
}
