/* =====================================================
   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
   ===================================================== */


