/* Аккордеон для process-vertical с использованием стилей Porto */
.process-step-content[data-accordion-item] .accordion-toggle {
  cursor: pointer;
  position: relative;      /* для абсолютного позиционирования псевдоэлемента */
  transition: color 0.3s ease-in-out;
  user-select: none;
}

.process-step-content[data-accordion-item] .accordion-toggle:hover {
  color: var(--primary);
}

.process-step-content[data-accordion-item] .accordion-toggle::after {
  content: '\f067';           /* Font Awesome plus icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 100%;                 /* сразу за пределами текста */
  top: 50%;
  transform: translateY(-50%);
  margin-left: 20px;          /* отступ 20px от конца заголовка */
  transition: all 0.3s ease-in-out;
  font-size: 0.8em;
  color: var(--primary);
}

.process-step-content[data-accordion-item].active .accordion-toggle::after {
  content: '\f068';           /* Font Awesome minus icon */
}

.process-step-content[data-accordion-item] .accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.process-step-content[data-accordion-item].active .accordion-content {
  max-height: 300px;
  opacity: 1;
  margin-top: 1rem;
  transform: translateY(0);
  animation: fadeInUp 0.4s ease-out;
}

@media (max-width: 767px) {
  .process-step-content[data-accordion-item] .accordion-toggle::after {
    font-size: 0.7em;
    margin-left: 10px;
  }
}
/* =====================================================
   NO-JS FALLBACK — GLOBAL
   SEO / GEO / Accessibility Safe
   ===================================================== */


/* =====================================================
   1. APPEAR ANIMATION (Porto / theme animations)
   ===================================================== */


/* Без JS всегда показываем элементы с appear-animation */
.no-js .appear-animation {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


/* =====================================================
   2. BOOTSTRAP TABS
   ===================================================== */


/* Без JS показываем все tab-pane */
.no-js .tab-content > .tab-pane {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}


/* Убираем fade-эффекты */
.no-js .tab-pane.fade {
  opacity: 1 !important;
}


/* Прячем навигацию табов */
.no-js .nav-tabs,
.no-js .nav-pills {
  display: none !important;
}


/* Визуально разделяем секции */
.no-js .tab-pane {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}


/* =====================================================
   3. BOOTSTRAP ACCORDION / COLLAPSE
   ===================================================== */


/* Всегда раскрываем accordion */
.no-js .accordion-collapse,
.no-js .collapse,
.no-js .collapsing {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}


/* Делаем кнопки некликабельными */
.no-js .accordion-button {
  pointer-events: none;
  cursor: default;
  background: transparent;
}


/* Убираем стрелки */
.no-js .accordion-button::after {
  display: none !important;
}


/* Визуально отделяем элементы */
.no-js .accordion-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}


/* =====================================================
   4. READMORE / CUSTOM PLUGINS
   ===================================================== */


/* Без JS показываем весь текст */
.no-js [data-plugin-readmore] {
  max-height: none !important;
  overflow: visible !important;
}


/* Скрываем кнопки "читать далее" */
.no-js .readmore-button-wrapper,
.no-js [data-bs-toggle="collapse"] {
  display: none !important;
}


/* =====================================================
   5. FADE / OPACITY SAFETY
   ===================================================== */


/* Убираем любые fade-скрытия */
.no-js .fade {
  opacity: 1 !important;
}


/* Защита от inline opacity */
.no-js [style*="opacity: 0"] {
  opacity: 1 !important;
}


/* =====================================================
   END NO-JS FALLBACK
   ===================================================== */
