/* =========================================
   КАСТОМНЫЕ СТИЛИ ПРОЕКТА ХИМЕРА
   Этот файл перебивает баги основной темы
   ========================================= */

/* 1. Фикс иконок Font Awesome */
i.fa-solid, i.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

i.fa-regular, i.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

i.fa-brands, i.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Защита от скрытия иконок */
.te-social-profile a i,
.te-header-contact-info span i,
.contact-icon i,
.te-share-buttons a i,
.te-post-meta span i,
.te-icon-card .icon i,
.te-icon-card .te-icon i,
.te-slider-btn-wrapper .te-icon i,
.icon i,
.te-header-btn .te-icon i {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* =========================================
   УБИРАЕМ СЛОМАННЫЕ КВАДРАТЫ ТЕМЫ В КАТЕГОРИЯХ
   ========================================= */
.te_widget_categories ul li::before,
.te_widget_categories ul li a::before,
.te_widget_categories ul li::after,
.te_widget_categories ul li a::after {
    display: none !important;
    content: none !important;
}

/* Отключаем квадраты темы */
.progress-wrap::after,
.progress-wrap::before {
    display: none !important;
    content: none !important;
}

/* Убираем стандартный шрифт темы для этого блока */
.progress-wrap {
    font-family: sans-serif !important;
    line-height: 0 !important;
}

/* Делаем кнопку видимой, когда страница прокручена */
.progress-wrap.active-progress {
    opacity: 1 !important;
    visibility: visible !important;
}
