/*Стили для аккордеона в карточке услуги*/
  .ww-faq {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'MontserratMy', Arial, sans-serif;
    color: #fff;
  }

  .ww-faq__item {
    margin-bottom: 8px;
    padding: 4px 15px;
    background: linear-gradient(0turn, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 10px;
    overflow: hidden;
  }
  
  .ww-faq__question h3 {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

  .ww-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
  }

  .ww-faq__icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    font-weight: 300;
    transition: transform 0.3s ease;
  }

  .ww-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
  }

  .ww-faq__answer p {
    min-height: 0;
    max-width: 650px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.25s ease, padding 0.35s ease;
  }

  .ww-faq__item.is-open .ww-faq__answer {
    grid-template-rows: 1fr;
  }

  .ww-faq__item.is-open .ww-faq__answer p {
    padding: 0 255px 15px 0;
    opacity: 0.75;
  }

  .ww-faq__item.is-open .ww-faq__icon {
    transform: rotate(45deg);
  }


  /* =========================
     МОБИЛЬНАЯ АДАПТАЦИЯ
     ========================= */

  @media screen and (max-width: 640px) {

    .ww-faq__item {
      margin-bottom: 6px;
      padding: 5px 12px;
      border-radius: 16px;
    }

    .ww-faq__question {
      gap: 15px;
      padding: 5px 0;
      font-size: 14px;
      line-height: 1.35;
    }

    .ww-faq__icon {
      width: 26px;
      height: 26px;
      font-size: 22px;
    }

    .ww-faq__answer p {
      font-size: 11px;
      line-height: 1.5;
    }

    .ww-faq__item.is-open .ww-faq__answer p {
      padding: 0 10px 14px 0;
    }
  }


  /* Для совсем узких экранов */
  @media screen and (max-width: 380px) {

    .ww-faq__item {
      padding: 4px 10px;
      border-radius: 14px;
    }

    .ww-faq__question {
      gap: 10px;
      font-size: 14px;
    }

    .ww-faq__icon {
      width: 24px;
      height: 24px;
      font-size: 20px;
    }

    .ww-faq__answer p {
      font-size: 11px;
      line-height: 1.5;
    }

    .ww-faq__item.is-open .ww-faq__answer p {
      padding-right: 5px;
      padding-bottom: 12px;
    }
  }
  
    /* Скрываем визуальную полосу скролла, но оставляем прокрутку */
@media (max-width: 767px) {
.tn-molecule {
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

.tn-molecule::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Яндекс */
    }
}

