/*
Theme Name: Wotpack Theme
Text Domain: wotpack-theme bbg
Author: Wotpack
Version: 15.57
*//*
 * Защита русской/LTR-версии от устаревшего RTL-состояния WordPress,
 * GTranslate или оптимизатора. Для /ar/ data-атрибут равен rtl, поэтому
 * арабская локализация сохраняет правильное направление.
 */html[data-wotpack-direction='ltr'],html[data-wotpack-direction='ltr'] body,html[data-wotpack-direction='ltr'] .header-wrapper,html[data-wotpack-direction='ltr'] .site-main,html[data-wotpack-direction='ltr'] .article-section-inner,html[data-wotpack-direction='ltr'] .entry-content{direction:ltr !important}@media (min-width: 1000px){.article-section-left{max-width:calc(100% - 300px);flex:0 0 calc(100% - 300px);padding-right:40px}}/* ======== Боковая кнопка TOC на ПК (single.php) ========
 * Плоская прямоугольная плашка у левого края, открывает тот же off-canvas
 * sidebar, что и .menu-toggle в шапке. Когда sidebar открыт — кнопка едет
 * вправо вместе с панелью и остаётся прижатой к её правому краю.
 * На мобильных скрыта — там есть кнопка в шапке. */.toc-side-fab{display:none}@media (min-width: 1024px){.toc-side-fab{display:inline-flex;align-items:center;justify-content:center;position:fixed;/* Совпадает с .sidebar --sidebar-w (см. style_mobile.css ~строка 552) */--sidebar-w:241px;left:0;top:40%;width:40px;height:40px;padding:8px;border:1px solid rgba(255, 255, 255, 0.15);border-left:none;border-radius:0 8px 8px 0;/* Фирменный оранжевый бренда — единственный цвет, гарантирующий
         * читаемость поверх #000 (тёмная) и #DEDFE1 (светлая) фонов. */background:#ff6a00;box-shadow:2px 2px 8px rgba(0, 0, 0, 0.35);cursor:pointer;z-index:998;transition:left 0.3s ease,background 0.15s ease,transform 0.15s ease,box-shadow 0.15s ease,filter 0.15s ease}[data-theme="light"] .toc-side-fab{border:1px solid rgba(0, 0, 0, 0.15);border-left:none;box-shadow:2px 2px 8px rgba(0, 0, 0, 0.18)}.toc-side-fab img{width:22px;height:22px;display:block;/* SVG sidebar-btn.svg использует fill="#DDDDDD". Делаем иконку
         * полностью белой поверх оранжевого фона — высокий контраст
         * AAA-уровня и одинаково в обеих темах. */filter:invert(1) brightness(2)}.toc-side-fab:hover{filter:brightness(1.08);transform:translateX(1px)}.toc-side-fab:focus-visible{outline:2px solid #ffb066;outline-offset:2px}/* При открытом sidebar — кнопка едет вместе с панелью, оставаясь
     * прижатой к её правому краю. */body.sidebar-open .toc-side-fab{left:var(--sidebar-w, 241px)}}/* ======== Кнопка TOC в шапке на мобильных/планшетах ========
 * На <1024px единственная видимая TOC-точка — это .menu-toggle в шапке
 * (.toc-side-fab появляется только с 1024+). Раскрашиваем её в фирменный
 * оранжевый — тот же цвет, что у боковой FAB на десктопе, чтобы UI был
 * консистентным и кнопка явно вычитывалась пользователем. */@media (max-width: 1023px){.menu-toggle{background:#ff6a00;border:1px solid rgba(255, 255, 255, 0.15);box-shadow:0 2px 6px rgba(0, 0, 0, 0.25)}[data-theme="light"] .menu-toggle{border:1px solid rgba(0, 0, 0, 0.15);box-shadow:0 2px 6px rgba(0, 0, 0, 0.15)}.menu-toggle img{/* SVG sidebar-btn.svg → светло-серая (#DDDDDD); делаем белой поверх
         * оранжевого, как и у FAB-кнопки. */filter:invert(1) brightness(2)}/* Ховер/фокус-стили из style_mobile.css ставят полупрозрачный фон,
     * который убивает оранжевый — переопределяем. */.menu-toggle:hover,.menu-toggle:focus-visible,[data-theme="light"] .menu-toggle:hover,[data-theme="light"] .menu-toggle:focus-visible{background:#ff6a00;filter:brightness(1.08);outline:none}.menu-toggle:focus-visible{outline:2px solid #ffb066;outline-offset:2px}}/* ======== Адаптивное видео (WP Video & MediaElement.js) ======== */.entry-content .wp-video,.entry-content video,.entry-content iframe,.entry-content embed,.wp-video-shortcode,.mejs-container{max-width:100% !important;width:100% !important;height:auto !important;aspect-ratio:16/9 !important;display:block !important;margin:0 auto 24px auto !important;position:relative !important;box-sizing:border-box !important;z-index:1 !important;overflow:hidden !important}.entry-content p{max-width:100%/* min-height: 10px; *//* Закомментировано: не нужно для CLS, браузер сам резервирует */}.entry-content p img:not(.gicons){width:inherit}.entry-content .article-section-warning img{width:unset !important}.entry-content video,.mejs-container video{width:100% !important;height:100% !important;object-fit:cover !important}.entry-content video.wp-video-shortcode{object-fit:contain !important}/* ======== Таблицы и Ninja Tables ======== */.entry-content table,.ninja_table_wrapper{overflow-x:auto !important;-webkit-overflow-scrolling:touch !important;display:block !important;box-sizing:border-box !important;margin:0 !important;padding:0 !important}.ninja_table_wrapper table{width:100% !important;table-layout:fixed !important;/* Изменено: fixed для предотвращения перестроения таблицы */margin:0 !important;padding:0 !important;display:table !important}.entry-content table{width:100% !important;table-layout:fixed !important;/* Изменено: fixed */margin:0 !important;padding:0 !important;display:table !important}.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th{word-break:break-word !important;overflow-wrap:break-word !important;white-space:normal !important;max-width:250px !important;padding:16px !important;box-sizing:border-box !important;font-size:16px !important;/* Нормализация: базовый размер шрифта */line-height:140% !important;/* Унифицируем line-height */color:var(--section-default-text-color) !important/* Цвет текста как в контенте */}.entry-content table td p,.entry-content table th p,.ninja_table_wrapper td p,.ninja_table_wrapper th p{font-size:inherit !important;/* Наследуем от td */line-height:inherit !important;margin:0 !important;/* Сбрасываем маржины, чтобы не добавлять лишнее пространство */padding:0 !important}.entry-content table td span,.entry-content table th span,.ninja_table_wrapper td span,.ninja_table_wrapper th span{font-size:inherit !important;line-height:inherit !important}.entry-content table td li,.entry-content table th li,.ninja_table_wrapper td li,.ninja_table_wrapper th li{font-size:inherit !important;line-height:inherit !important;margin-bottom:8px !important;/* Меньше маржина для списков внутри */padding-left:16px !important}.entry-content table td ul,.entry-content table td ol,.entry-content table th ul,.entry-content table th ol,.ninja_table_wrapper td ul,.ninja_table_wrapper td ol,.ninja_table_wrapper th ul,.ninja_table_wrapper th ol{margin:0 !important;padding-left:0px !important}.entry-content table td li{font-size:16px}.entry-content table td p{font-size:16px}.entry-content .mejs-time{padding:8px 0}.entry-content .mejs-volume-slider{display:none !important}.entry-content table td img,.ninja_table_wrapper td img{max-width:60px !important;height:auto !important;display:block !important;margin:0 auto !important}/* ======== Галереи и изображения ======== */.entry-content img:not(.gicons),.entry-content .gallery img:not(.gicons){max-width:100% !important;height:auto !important;display:block !important;width:100%}/* ======== Ссылки ======== */.entry-content a{/*display: inline-block !important; */max-width:100% !important;width:100% !important;overflow-wrap:break-word !important;word-break:break-word !important;white-space:normal !important;color:#673AB7;text-decoration:underline}.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th{font-size:14px !important;padding:6px !important;max-width:120px !important}@media (min-width: 768px){.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th{font-size:16px !important;padding:8px !important;max-width:120px !important}}/* ======== Медиа-запрос для мобилок ======== */@media screen and (max-width: 768px){.entry-content .wp-video,.entry-content video,.entry-content iframe,.entry-content embed,.wp-video-shortcode,.mejs-container{aspect-ratio:16/9 !important/* min-height: 162px !important; *//* Закомментировано: для CLS лучше без фиксированной min-height */}.entry-content table,.ninja_table_wrapper{max-width:94vw !important}.entry-content table td img,.ninja_table_wrapper td img{max-width:90px !important}/* Нормализация для мобильных: уменьшаем шрифт и усиливаем переносы */.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th{font-size:14px !important;/* Как на ПК */hyphens:auto !important;/* Автоматические переносы */vertical-align:middle;text-align:center;padding:19px 8px !important;/* Как на ПК */line-height:130% !important/* Как на ПК */}.entry-content table td p,.entry-content table th p,.ninja_table_wrapper td p,.ninja_table_wrapper th p{font-size:inherit !important}}.comments-area{padding:16px}@media screen and (max-width: 600px){#comments,#respond{padding-left:16px !important;padding-right:16px !important}}/* ======== Сброс скроллов и бордеров ======== */.ninja_table_wrapper,.entry-content table{border:none !important;box-shadow:none !important;outline:none !important;scrollbar-width:thin;scrollbar-color:#e53e54 transparent}.ninja_table_wrapper::-webkit-scrollbar,.entry-content table::-webkit-scrollbar{width:8px;height:8px}.ninja_table_wrapper::-webkit-scrollbar-track,.entry-content table::-webkit-scrollbar-track{background:transparent}.ninja_table_wrapper::-webkit-scrollbar-thumb,.entry-content table::-webkit-scrollbar-thumb{background-color:#e53e54;border-radius:4px;border:2px solid transparent;background-clip:content-box}.entry-content ol li{overflow-x:auto;max-width:100%;box-sizing:border-box}.entry-content ol li,.entry-content ul li{overflow:hidden !important;max-width:100% !important;box-sizing:border-box !important}.entry-content ol li img:not(.gicons),.entry-content ul li img:not(.gicons){display:block !important;max-width:100% !important;width:inherit;height:auto !important;margin:12px 0 !important;border-radius:8px !important;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15) !important}.entry-content ol li strong,.entry-content ul li strong{display:inline !important;max-width:100% !important;overflow-wrap:break-word !important;word-break:break-word !important;white-space:normal !important;font-weight:bold !important}@media screen and (max-width: 320px){.entry-content ol li strong,.entry-content ul li strong{font-size:14px !important;max-width:100% !important;overflow-wrap:break-word !important;word-break:break-word !important}}.article-section-warning img{display:inherit !important;margin:0 !important}.entry-content > div{width:100% !important}.entry-content > div img:not(.gicons):not(table img):not(.ninja_table_wrapper img){width:100% !important;max-width:100% !important}.entry-content > div video{max-width:100% !important;width:100% !important}.entry-content p strong{width:100%;white-space:wrap}.entry-content *{max-width:100%}.entry-content{word-wrap:break-word;overflow-wrap:break-word;max-width:100%;width:100%}.entry-content p,.entry-content span,.entry-content strong,.entry-content em,.entry-content a,.entry-content b,.entry-content i,.entry-content u,.entry-content small,.entry-content sub,.entry-content sup,.entry-content mark,.entry-content del,.entry-content ins,.entry-content code{word-break:break-word;white-space:normal}/* Базовые стили для таблиц */.entry-content table,.ninja_table_wrapper{width:auto !important;max-width:100%;display:block}/* Для экранов от 320px до 500px */@media (max-width: 500px){.table-responsive{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box/* min-height: 100px; *//* Закомментировано */}.table-responsive table,.table-responsive .ninja_table_wrapper table{min-width:500px;width:auto;display:table}}/* Для экранов шире 500px */@media (min-width: 501px){.entry-content table,.ninja_table_wrapper{width:100% !important;max-width:100%/* min-height: 100px; *//* Закомментировано */}}/* Стилизация скролла для .table-responsive */.table-responsive::-webkit-scrollbar{height:8px}.table-responsive::-webkit-scrollbar-track{background:transparent}.table-responsive::-webkit-scrollbar-thumb{background-color:#e53e54;border-radius:4px;border:2px solid transparent;background-clip:content-box}.table-responsive{scrollbar-width:thin;scrollbar-color:#e53e54 transparent}/* Только для обычных таблиц из Classic Editor */.table-responsive table:not(.ninja_footable){display:table !important;min-width:100% !important;width:auto !important;table-layout:auto !important/* height: auto !important; *//* Уже есть */}/* На маленьких экранах */@media screen and (max-width: 600px){.table-responsive{overflow-x:auto !important;/* min-height: 100px; *//* Закомментировано */-webkit-overflow-scrolling:touch !important}.table-responsive table:not(.ninja_footable){/*         min-width: 783px !important; *//* min-height: 100px; *//* Закомментировано */}}.table-responsive table{display:table !important;min-width:600px;width:auto !important;table-layout:auto;height:auto !important}@media (min-width: 768px){.table-responsive table{min-width:100%}}/* ======== Inline-ширины колонок из редактора ========
   Если автор задал у td/th inline width: X%, таблица должна это уважать.
   Без этих правил селектор .table-responsive table (стр. ~490) перебивает
   .entry-content table обратно на table-layout: auto !important, и проценты
   не работают; плюс max-width: 120px на td не даёт колонкам растянуться.
   :has() применяет fixed ТОЛЬКО к таблицам с явно заданными ширинами —
   ninja-tables и старые таблицы без width остаются на auto, как было. */.entry-content .table-responsive table:has(td[style*="width"]),.entry-content .table-responsive table:has(th[style*="width"]),.entry-content table:has(td[style*="width"]),.entry-content table:has(th[style*="width"]){table-layout:fixed !important;width:100% !important}.entry-content table td[style*="width"],.entry-content table th[style*="width"]{max-width:none !important}/* Embeds/iframes */.entry-content iframe,.entry-content embed{min-height:200px;/* Резерв, но только если известно соотношение */aspect-ratio:16/9}/* Placeholders для lazy — только для картинок БЕЗ явных width/height
   атрибутов. WordPress добавляет эти атрибуты ко всем нормально загруженным
   картинкам, и современные браузеры сами считают из них aspect-ratio ДО
   загрузки → CLS уже отсутствует, min-height не нужен.
   Раньше rule применялся ко ВСЕМ lazy-картинкам и ломал узкие баннеры
   (например, полоска уязвимостей 800×54: высота прыгала до 200px, контейнер
   .img-wrapper игнорировал свой aspect-ratio и тоже растягивался до 200px). */.entry-content img[loading='lazy']:not([width]):not([height]):not(table img):not(td img):not(.ninja_table_wrapper img){background-color:#151516;/* Skeleton для визуального резерва */min-height:200px}@media screen and (max-width: 600px){.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive table{min-width:500px}}.entry-content .img-wrapper:not(table .img-wrapper):not(.ninja_table_wrapper .img-wrapper) img:not(.gicons){width:100% !important;height:auto !important;display:block !important;max-width:none !important/* To prevent conflicts with general img max-width */}/* Exceptions for .img-wrapper */.entry-content
    .img-wrapper:not(table .img-wrapper):not(.ninja_table_wrapper .img-wrapper):not(
        .table-responsive .img-wrapper
    ){width:auto !important;/* Override general div width:100% */display:block !important;max-width:100%/* Preserve inline pixel limit for small images. */}/* ======== Исключение: картинки внутри таблиц ======== */.table-responsive td img,.entry-content table td img,.ninja_table_wrapper td img{max-width:60px !important;width:auto !important;/* ключ: запрещаем растягиваться */height:auto !important;display:block !important;margin:0 auto !important}/* На мобилках делаем меньше */@media screen and (max-width: 768px){.table-responsive td img,.entry-content table td img,.ninja_table_wrapper td img{max-width:50px !important}}/* ======== Усиленные стили для изображений в таблицах (переопределение конфликтов) ======== *//* Если img внутри p в td *//* Если внутри div *//* Для WP-классов изображений */.entry-content table img,.entry-content .ninja_table_wrapper img,.entry-content .table-responsive img,.entry-content table td img,.entry-content table th img,.entry-content .ninja_table_wrapper td img,.entry-content .ninja_table_wrapper th img,.entry-content .table-responsive td img,.entry-content .table-responsive th img,.entry-content table p img,.entry-content table div img,.entry-content table .wp-image img,.entry-content .ninja_footable td img{/* Если Ninja использует этот класс */max-width:80px !important;/* Нормальный размер — подстройте */width:auto !important;/* Запрещаем растяжение */height:auto !important;min-width:unset !important;/* Убираем минимальную ширину, если есть */display:block !important;margin:0 auto !important;object-fit:contain !important;/* Сохраняем пропорции */border:none !important/* Убираем возможные бордеры */}/* Переопределение inline-стилей (через CSS, но для полного удаления — редактируйте HTML) */.entry-content table img[style],.entry-content .ninja_table_wrapper img[style],.entry-content .table-responsive img[style]{width:auto !important;max-width:80px !important;height:auto !important}/* Для мобильных — уменьшаем */@media screen and (max-width: 768px){.entry-content table img,.entry-content .ninja_table_wrapper img,.entry-content .table-responsive img{max-width:90px !important}}/* Ограничение ширины ячеек, чтобы таблицы не расширялись из-за изображений */.entry-content table td,.entry-content table th,.entry-content .ninja_table_wrapper td,.entry-content .ninja_table_wrapper th,.entry-content .table-responsive td,.entry-content .table-responsive th{max-width:150px !important;/* Подстройте, чтобы ячейки не растягивались *//*text-align: center; *//* FIX (v15.36.1): убрано «width: auto !important» — это правило перебивало
       inline style="width: 35.7%" в td (CSS !important > inline без !important).
       max-width: 150px и так ограничивает ячейки от растяжения, отдельный
       width: auto был избыточен. Default для td и так width: auto. */padding:10px !important}/* Если таблицы не responsive, добавьте класс .table-responsive вручную в посте */.table-responsive{overflow-x:auto !important;max-width:100% !important;display:block !important}.entry-content .img-wrapper:not(.table-responsive .img-wrapper):not(table .img-wrapper):not(.ninja_table_wrapper .img-wrapper){display:block !important;/* margin: 0 auto !important; */margin-bottom:20px;width:auto !important}/* ======== Минимизация вертикальных отступов в таблицах (обычные и Ninja) ======== *//* Базовые стили для всех экранов *//* Для Ninja-specific классов */.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th,.footable td,.ninja_footable td,.table-responsive td,.table-responsive th{padding:2px 8px !important;/* Vertical: 2px (минимум для читаемости), horizontal: 8px (как в ваших стилях) *//* vertical-align: top !important; Выравниваем контент по верху — убирает пространство снизу */line-height:130% !important/* Унифицируем с ПК */}/* Внутренние элементы: подтверждаем сброс margins */.entry-content table td p,.entry-content table th p,.ninja_table_wrapper td p,.ninja_table_wrapper th p,.footable td p,.table-responsive td p{margin:0 !important;padding:0 !important;line-height:inherit !important}.entry-content table td ul,.entry-content table td ol,.entry-content table th ul,.entry-content table th ol,.ninja_table_wrapper td ul,.ninja_table_wrapper td ol,.ninja_table_wrapper th ul,.ninja_table_wrapper th ol,.footable td ul,.table-responsive td ul{margin:0 !important;padding-left:0px !important/* Только horizontal для списков */}.entry-content table td li,.entry-content table th li,.ninja_table_wrapper td li,.ninja_table_wrapper th li,.footable td li,.table-responsive td li{margin-bottom:4px !important/* Уменьшаем с 8px */}/* Изображения: убираем любое вертикальное пространство */.entry-content table td img,.entry-content table th img,.ninja_table_wrapper td img,.ninja_table_wrapper th img,.footable td img,.table-responsive td img,.entry-content table img[style],.ninja_table_wrapper img[style]{margin:0 auto !important;/* Только horizontal center *//*     vertical-align: top !important; */display:block !important;line-height:0 !important/* Убирает пространство под изображением */}/* Media-запросы: для мобильных (max-width: 768px) */@media screen and (max-width: 768px){.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th,.footable td,.table-responsive td,.table-responsive th{padding:4px 8px !important;/* Как на ПК */font-size:16px !important;/* Как на ПК */line-height:130% !important/* Как на ПК */}.entry-content table td li,.ninja_table_wrapper td li,.footable td li,.table-responsive td li{margin-bottom:4px !important/* Как в базовом */}.entry-content table td img,.ninja_table_wrapper td img,.footable td img,.table-responsive td img{max-width:60px !important/* Унифицируем с ПК, если нужно; ранее 50px, но для одинаковости */}}/* Для десктопов (min-width: 768px) */@media (min-width: 768px){.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th,.footable td,.table-responsive td,.table-responsive th{padding:2px 8px !important;font-size:16px !important;line-height:130% !important/* Чуть больше для десктопа */}}/* ======== Минимизация вертикальных отступов в таблицах на мобильных (max-width: 768px) ======== *//* Базовые переопределения для мобильных */@media screen and (max-width: 768px){/* Для responsive stack на mobile */.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th,.footable td,.footable th,.ninja_footable td,.ninja_footable th,.table-responsive td,.table-responsive th,.footable.breakpoint td,.ninja_table_wrapper table.footable td{padding:2px 8px !important;/* Как на ПК *//*         vertical-align: top !important; */line-height:130% !important/* Как на ПК */}/* Внутренние элементы */.entry-content table td p,.ninja_table_wrapper td p,.footable td p,.table-responsive td p{margin:0 !important;padding:0 !important}.entry-content table td li,.ninja_table_wrapper td li,.footable td li,.table-responsive td li{margin-bottom:4px !important/* Как в базовом */}/* Изображения */.entry-content table td img,.ninja_table_wrapper td img,.footable td img,.table-responsive td img{margin:0 auto !important;vertical-align:top !important;line-height:0 !important}}/* Дополнительные media для ваших меньших экранов (600px, 500px) — на всякий случай */@media screen and (max-width: 600px){.entry-content table td,.entry-content table th,.ninja_table_wrapper td,.ninja_table_wrapper th,.footable td,.footable th,.table-responsive td,.table-responsive th{padding:2px 8px !important;/* Как на ПК */font-size:16px !important/* Как на ПК */}}.semantic_ui .ui.table td{text-align:center !important}.colored_table table.ninja_table_pro.inverted.grey.table tbody tr:hover td{color:rgba(0, 0, 0, .95) !important}.content-nav-block .content-nav-header{padding-bottom:0;margin-bottom:0}.expert-review-poll--color-black-1.expert-review-poll--style-solid-1{background:var(--background-color) !important}.expert-review-poll--style-solid-1 .expert-review-poll-item{background:var(--voite-item-background-color) !important}.widget wotpa-widget{font-size:20px;line-height:1.2}.big-button{width:290px !important;background:linear-gradient(to bottom, #fab81b 0%, #ef4511 100%) no-repeat 0,linear-gradient(to bottom, #fab81b 0%, #ef4511 100%) no-repeat 100%,#f25322 linear-gradient(to bottom, #f60 0%, #a6230e 100%) no-repeat;background-size:1px 100%,1px 100%,cover;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;font-size:20px;font-weight:700;line-height:14px;text-transform:uppercase;border-radius:1px;position:relative;height:44px;min-width:180px;text-decoration:none}/* Базовые ссылки */.entry-content a:not(.btn):not([class*="button"]){color:var(--link-color);text-decoration:underline;text-decoration-color:var(--link-underline-color);text-underline-offset:2px;transition:color .15s ease,text-decoration-color .15s ease}.entry-content a:hover:not(.btn):not([class*="button"]),.entry-content a:focus-visible:not(.btn):not([class*="button"]){color:var(--link-hover-color);text-decoration-color:currentColor}/* Посещённые */.entry-content a:visited:not(.btn):not([class*="button"]){color:var(--link-visited-color);text-decoration-color:var(--link-underline-color)}/* Состояние :focus для доступности */.entry-content a:focus-visible{outline:2px dashed currentColor;outline-offset:2px;text-decoration-thickness:2px}/* Пользователь */.article__info-user::before{background-image:url("/wp-content/themes/wotpacktheme/assets/img/user-icon.svg")}/* Дата */.article__info-date::before{background-image:url("/wp-content/themes/wotpacktheme/assets/img/date-icon.svg")/* подставь своё имя файла */}/* Комментарии */.article__info-comments::before{background-image:url("/wp-content/themes/wotpacktheme/assets/img/comments-icon.svg")/* подставь своё имя файла */}.entry-content .wp-caption,.entry-content figure.wp-caption{display:block;max-width:100%;margin:20px auto 24px;overflow:visible;color:var(--section-default-text-color)}.entry-content li .wp-caption,.entry-content li figure.wp-caption{margin-top:12px}.entry-content .wp-caption img:not(.gicons),.entry-content figure.wp-caption img:not(.gicons){display:block;width:100%;height:auto;margin:0 auto}.entry-content .wp-caption .img-wrapper,.entry-content figure.wp-caption .img-wrapper{aspect-ratio:auto !important;margin:0 auto !important;overflow:visible !important}.entry-content .wp-caption .wp-caption-text,.entry-content .wp-caption figcaption,.entry-content figcaption.wp-caption-text,.wp-caption-text{margin:8px 0 0;padding:0 4px;color:var(--section-default-text-color);font-size:16px !important;font-style:italic;line-height:1.45;text-align:center}/* Базовая типографика для любого контента внутри .entry-content,
   включая "голые" текстовые узлы после картинок */.entry-content{color:var(--text-color);font-family:var(--font-family);font-size:var(--content-font-size,18px);line-height:1.6}.expert-review-poll-item__answer .js-expert-review-poll-item-answer .expert-review-poll-item .js-expert-review-poll-item{margin-bottom:10px}/* ==== Ninja Tables minimal theme-aware overrides ==== */.entry-content .ninja_table_wrapper .footable,.entry-content .ninja_table_wrapper table.ninja_footable{background:var(--table-bg-color);color:var(--text-color)}.entry-content .ninja_table_wrapper thead th{background:var(--table-head-bg);color:var(--table-head-text);border-color:var(--table-border)}.entry-content .ninja_table_wrapper tbody td{background:var(--table-bg-color);border-color:var(--table-border)}.entry-content .ninja_table_wrapper tbody tr:nth-child(even) td{background:var(--table-row-alt)}/* Links inside Ninja tables follow theme link colors */.entry-content .ninja_table_wrapper td a,.entry-content .ninja_table_wrapper th a{color:var(--link-color) !important;text-decoration:underline;text-decoration-color:var(--link-underline-color);text-underline-offset:2px}.entry-content .ninja_table_wrapper td a:hover,.entry-content .ninja_table_wrapper th a:hover{color:var(--link-hover-color) !important;text-decoration-color:currentColor}.entry-content .ninja_table_wrapper td a:visited,.entry-content .ninja_table_wrapper th a:visited{color:var(--link-visited-color) !important}/* Images inside table cells */.entry-content .ninja_table_wrapper td img,.entry-content .ninja_table_wrapper th img{max-width:80px;height:auto;display:block;margin:0 auto;object-fit:contain}/* Do not force tables to display:block; leave to plugin */.entry-content .ninja_table_wrapper{overflow:auto}/* === Ninja Tables: светлая тема — чистый белый, скругления, тень, ховер === */[data-theme="light"] .entry-content .ninja_table_wrapper{--nt-radius:12px;--nt-shadow:0 8px 24px rgba(17, 24, 39, .06);margin:16px 0}[data-theme="light"] .entry-content .ninja_table_wrapper table,[data-theme="light"] .entry-content .ninja_table_wrapper .footable{border-collapse:separate;/* чтобы работали скругления */border-spacing:0;background:#fff;box-shadow:var(--nt-shadow);overflow:hidden;/* обрежет скругления */border-radius:var(--nt-radius)}/* Заголовок */[data-theme="light"] .entry-content .ninja_table_wrapper thead th{background:var(--table-head-bg) !important;color:var(--table-head-text) !important;font-weight:600;letter-spacing:.01em;vertical-align:middle;border-bottom:1px solid var(--table-border) !important}/* Ячейки */[data-theme="light"] .entry-content .ninja_table_wrapper tbody td{background:var(--table-bg-color) !important;color:var(--section-default-text-color);border-top:1px solid var(--table-border) !important;border-right:1px solid var(--table-border) !important;padding:14px 16px}/* первая колонка без правой рамки на старте строки, последняя — без правой */[data-theme="light"] .entry-content .ninja_table_wrapper tbody tr > td:first-child{border-left:1px solid var(--table-border) !important}[data-theme="light"] .entry-content .ninja_table_wrapper tbody tr > td:last-child{border-right:1px solid var(--table-border) !important}/* Зебра и ховер */[data-theme="light"] .entry-content .ninja_table_wrapper tbody tr:nth-child(even) td{background:var(--table-row-alt) !important}[data-theme="light"] .entry-content .ninja_table_wrapper tbody tr:hover td{background:#f0f4fa !important}/* Картинки в ячейках — аккуратно и единообразно */[data-theme="light"] .entry-content .ninja_table_wrapper td img,[data-theme="light"] .entry-content .ninja_table_wrapper th img{display:block;max-width:72px;/* можешь поставить 64/80 по вкусу */height:auto;margin:0 auto;object-fit:contain}/* Ссылки внутри таблицы — как обычные ссылки темы */[data-theme="light"] .entry-content .ninja_table_wrapper td a,[data-theme="light"] .entry-content .ninja_table_wrapper th a{color:var(--link-color) !important;text-decoration:underline;text-decoration-color:var(--link-underline-color);text-underline-offset:2px;transition:color .15s ease}[data-theme="light"] .entry-content .ninja_table_wrapper td a:hover,[data-theme="light"] .entry-content .ninja_table_wrapper th a:hover{color:var(--link-hover-color) !important;text-decoration-color:currentColor}/* Мобильные — чуть компактнее */@media (max-width: 640px){[data-theme="light"] .entry-content .ninja_table_wrapper tbody td{padding:10px 12px}}/* 1) Чуть «подчертить» все картинки в таблицах: аккуратная тень по контуру */[data-theme="light"] .entry-content .ninja_table_wrapper td img,[data-theme="light"] .entry-content .ninja_table_wrapper th img{filter:drop-shadow(0 0 0.75px rgba(0,0,0,.45)) drop-shadow(0 1px 2px rgba(0,0,0,.10))}/* 2) Дополнительная читаемость для белых/полупрозрачных иконок в колонке "Оружие"
   (3-я колонка) — мягкая подложка + скругление */[data-theme="light"] .entry-content .ninja_table_wrapper tbody tr > td:nth-child(3) img{background:rgba(0,0,0,.035);border-radius:8px;padding:6px;box-sizing:content-box/* чтобы размер иконки не «сжимался» */}/* ===== ТОЛЬКО ТЁМНАЯ тема: читаемый hover ссылок в Ninja ===== */:root .entry-content .ninja_table_wrapper td a,:root .entry-content .ninja_table_wrapper th a{color:var(--link-color) !important;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1.5px;text-decoration-color:rgba(255,255,255,.45);transition:color .15s ease,text-decoration-color .15s ease}@media (hover:hover){:root .entry-content .ninja_table_wrapper td a:hover,:root .entry-content .ninja_table_wrapper th a:hover,:root .entry-content .ninja_table_wrapper tbody tr:hover td a{color:#e6f3ff !important;/* или var(--link-hover-color) */text-decoration-color:currentColor;text-decoration-thickness:2px}}:root .entry-content .ninja_table_wrapper td a:visited,:root .entry-content .ninja_table_wrapper th a:visited{color:#d2b9ff !important;/* или var(--link-visited-color) */text-decoration-color:rgba(255,255,255,.45)}/* ===== СВЕТЛАЯ тема: обычные цвета ссылок темы в Ninja ===== */[data-theme="light"] .entry-content .ninja_table_wrapper td a,[data-theme="light"] .entry-content .ninja_table_wrapper th a{color:var(--link-color) !important;text-decoration:underline;text-decoration-color:var(--link-underline-color);text-underline-offset:2px;text-decoration-thickness:1.5px}@media (hover:hover){[data-theme="light"] .entry-content .ninja_table_wrapper td a:hover,[data-theme="light"] .entry-content .ninja_table_wrapper th a:hover,[data-theme="light"] .entry-content .ninja_table_wrapper tbody tr:hover td a{color:var(--link-hover-color) !important;text-decoration-color:currentColor}}[data-theme="light"] .entry-content .ninja_table_wrapper td a:visited,[data-theme="light"] .entry-content .ninja_table_wrapper th a:visited{color:var(--link-visited-color) !important;text-decoration-color:var(--link-underline-color)}/* Ninja Tables: изображение сверху, подпись ниже — ничего не наезжает */.entry-content .ninja_table_wrapper td{vertical-align:top}.entry-content .ninja_table_wrapper td img{display:block;/* картинка занимает всю строку */margin:0 auto 6px;/* центр + отступ снизу */float:none/* на всякий случай */}/* подпись/ссылка сразу после картинки — на новой строке */.entry-content .ninja_table_wrapper td img + a,.entry-content .ninja_table_wrapper td img + span,.entry-content .ninja_table_wrapper td img + strong,.entry-content .ninja_table_wrapper td img + em{display:block;margin-top:6px;text-align:center/* если нужно выравнивание под аватаркой */}/* Унифицированный стиль цитат */.entry-content blockquote{margin:20px 0;padding:16px 20px;background:var(--blockquote-bg);color:var(--blockquote-text);border-left:6px solid var(--blockquote-accent);border-radius:10px;line-height:1.6}.entry-content blockquote p{margin:0}.entry-content blockquote p + p{margin-top:.6em}/* Ссылки внутри — читабельные для обеих тем */.entry-content blockquote a{color:var(--blockquote-link);text-decoration:underline;text-underline-offset:2px}.entry-content blockquote a:hover,.entry-content blockquote a:focus-visible{color:var(--blockquote-link-hover);text-decoration-color:currentColor}/* Унифицированный стиль цитат */.entry-content blockquote{margin:20px 0;padding:16px 20px;background:var(--blockquote-bg);color:var(--blockquote-text);border-left:6px solid var(--blockquote-accent);border-radius:10px;line-height:1.6}.entry-content blockquote p{margin:0}.entry-content blockquote p + p{margin-top:.6em}/* Ссылки внутри — читабельные для обеих тем */.entry-content blockquote a{color:var(--blockquote-link);text-decoration:underline;text-underline-offset:2px}.entry-content blockquote a:hover,.entry-content blockquote a:focus-visible{color:var(--blockquote-link-hover);text-decoration-color:currentColor}.widget wotpa-widget{font-size:20px;line-height:1.2}.big-button{width:290px !important;background:linear-gradient(to bottom, #fab81b 0%, #ef4511 100%) no-repeat 0,linear-gradient(to bottom, #fab81b 0%, #ef4511 100%) no-repeat 100%,#f25322 linear-gradient(to bottom, #f60 0%, #a6230e 100%) no-repeat;background-size:1px 100%,1px 100%,cover;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;font-size:20px;font-weight:700;line-height:14px;text-transform:uppercase;border-radius:1px;position:relative;height:44px;min-width:180px;text-decoration:none}/* Базовые ссылки */.entry-content a:not(.btn):not([class*="button"]){color:var(--link-color);text-decoration:underline;text-decoration-color:var(--link-underline-color);text-underline-offset:2px;transition:color .15s ease,text-decoration-color .15s ease}.entry-content a:hover:not(.btn):not([class*="button"]),.entry-content a:focus-visible:not(.btn):not([class*="button"]){color:var(--link-hover-color);text-decoration-color:currentColor}/* Посещённые */.entry-content a:visited:not(.btn):not([class*="button"]){color:var(--link-visited-color);text-decoration-color:var(--link-underline-color)}/* Состояние :focus для доступности */.entry-content a:focus-visible{outline:2px dashed currentColor;outline-offset:2px;text-decoration-thickness:2px}/* Пользователь */.article__info-user::before{background-image:url("/wp-content/themes/wotpacktheme/assets/img/user-icon.svg")}/* Дата */.article__info-date::before{background-image:url("/wp-content/themes/wotpacktheme/assets/img/date-icon.svg")/* подставь своё имя файла */}/* Комментарии */.article__info-comments::before{background-image:url("/wp-content/themes/wotpacktheme/assets/img/comments-icon.svg")/* подставь своё имя файла */}/* Базовая типографика для любого контента внутри .entry-content,
   включая "голые" текстовые узлы после картинок */.entry-content{color:var(--text-color);font-family:var(--font-family);font-size:var(--content-font-size,18px);line-height:1.6}.expert-review-poll-item__answer .js-expert-review-poll-item-answer .expert-review-poll-item .js-expert-review-poll-item{margin-bottom:10px}/* Вернуть нормальное выравнивание в таблицах */table td,table th{vertical-align:middle/* как в браузерных стилях по умолчанию */}/* Если в контенте/в Ninja нужно, чтобы текст был сверху — делай так: */.entry-content table td,.entry-content table th,.entry-content .ninja_table_wrapper td,.entry-content .ninja_table_wrapper th{vertical-align:top/* или middle — по вкусу */}/* отступ после картинки*//* 1) ОДИНОЧНЫЕ КАРТИНКИ: отступ снизу */.entry-content img:not(.emoji):not(.wp-smiley):not(.gicons):not(:is(.gallery *, .wp-block-gallery *, .blocks-gallery-grid *, .ninja_table_wrapper *, .table-responsive *, table *)){display:block;margin:0 auto 20px/* отступ снизу 20px */}/* 2) Блок-редактор: отступ после <figure class="wp-block-image"> (но не в галереях) */.entry-content figure.wp-block-image:not(:is(.wp-block-gallery *, .gallery *)){margin-bottom:20px}/* 3) Классический редактор: картинки внутри <p> */.entry-content p > img:not(.gicons):not(:is(.gallery *, .wp-block-gallery *, .blocks-gallery-grid *)){display:block;margin:0 auto 20px}/* 4) Твои кастомные обёртки (если используешь .img-wrapper) — тоже, но не в галереях/таблицах */.entry-content .img-wrapper:not(:is(.gallery *, .wp-block-gallery *, .blocks-gallery-grid *, .ninja_table_wrapper *, .table-responsive *)){margin-bottom:20px}/* 5) Для плавающих картинок — чуть меньший низ, чтобы не рвало поток */.entry-content img.alignleft,.entry-content img.alignright{margin-bottom:12px}/* Контейнер галереи — меньше отступ после */.entry-content .gallery{margin-bottom:12px/* было 24px; подгони под свой ритм */}/* Если галерея последняя в блоке — совсем без отступа */.entry-content .gallery:last-child{margin-bottom:0}/* На всякий: уберём лишние внешние отступы у элементов галереи */.entry-content .gallery .gallery-item{margin:0}.entry-content .gallery .gallery-caption{margin:8px 0 0}/* только сверху под подпиcь *//* Чтобы не было «белой полоски» снизу из-за baseline у inline-картинок */.entry-content .gallery img{display:block;width:100%;height:auto}/* ОДИНОЧНЫЕ КАРТИНКИ — отступ снизу, но не в галереях/таблицах/Ninja */.entry-content .img-wrapper:not(:is(.gallery *, .wp-block-gallery *, .blocks-gallery-grid *, .ninja_table_wrapper *, .table-responsive *)){/* inline margin:0 auto; перебиваем только низ */margin-block-end:16px !important;/* = margin-bottom */margin-inline:auto/* оставляем центрирование */}/* Классический редактор: картинки без .img-wrapper */.entry-content p > img:not(.gicons):not(:is(.gallery *, .wp-block-gallery *, .blocks-gallery-grid *)),.entry-content a > img:not(.gicons):not(:is(.gallery *, .wp-block-gallery *, .blocks-gallery-grid *)){display:block;margin:0 auto 16px !important}/* Gutenberg: figure с одиночным изображением (не галерея) */.entry-content figure.wp-block-image:not(:is(.wp-block-gallery *, .gallery *)){margin-bottom:16px !important}/* Плавающие картинки — чуть меньше отступа */.entry-content img.alignleft,.entry-content img.alignright{margin-bottom:12px !important}#wpdcom .wpd-comment-text a{color:#7bc1ff}/* FIX: wpDiscuz SVG-иконки в кнопках голосования в новой версии плагина приходят
   без атрибутов width/height. Пока его CSS грузится lazy (IntersectionObserver),
   флекс растягивает их на 906px → страница становится бесконечной.
   Фиксим размеры жёстко в теме — применяется до загрузки wpdiscuz-combo.min.css. */.wpd-vote-up svg,.wpd-vote-down svg,.wpd-vote svg,.wpd-voting-buttons svg,#wpdcom .wpd-vote svg,#wpdcom .wpd-tools svg{width:24px !important;height:24px !important;max-width:24px !important;max-height:24px !important;flex-shrink:0 !important}/* Мгновенная визуальная обратная связь */.wpd-load-more-submit{transition:all 0.1s ease !important;will-change:transform}.wpd-load-more-submit:active{transform:scale(0.98) !important;opacity:0.8 !important}/* === wpDiscuz «Самый обсуждаемый» / «Горячие» — фикс подсветки ===
   Плагин при активных фильтрах вешает inline style="background: #fffad6"
   на блок .wpd-comment-right. У нас wpDiscuz отрендерен в тёмной палитре
   независимо от темы сайта (Settings → Styles → Color Scheme = Dark),
   поэтому светло-жёлтый фон + белый текст коммента = нечитаемо, текст
   проявляется только на hover. Просто убираем inline-фон у всех таких
   комментов — «горячий» статус и так виден по иконке в шапке.
   Если когда-нибудь wpDiscuz переключится на Light/Auto-палитру, это
   правило стоит снова сделать тематическим (см. историю v15.37). */.wpd-comment-right[style*="background"]{background:transparent !important}.wpd-load-more-submit.loading{pointer-events:none !important;opacity:0.6 !important}.wpd-load-more-submit.loading::after{content:'';display:inline-block;width:12px;height:12px;margin-left:8px;border:2px solid #fff;border-radius:50%;border-top-color:transparent;animation:spin 0.6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}/* Оптимизация текстового поля */#wc-textarea-0_0{transition:none !important;will-change:auto !important}/* Отключить тяжелые анимации */.wpd-comment-wrap *{animation-duration:0.1s !important;transition-duration:0.1s !important}/*стили стим*/.steam-link{display:inline-block;text-decoration:none;line-height:1.2}/* Основной текст – как у темы сайта */.steam-link__title{display:block;font-size:20px;font-weight:400;color:inherit;/* подтягивает цвет текста из темы */margin-bottom:2px}/* Подзаголовок – зелёный, видно и на светлой, и на тёмной */.steam-link__subtitle{display:block;font-size:14px;color:#2e7d32/* зелёный для светлой темы */}/* Чуть более яркий зелёный для тёмной темы */@media (prefers-color-scheme: dark){.steam-link__subtitle{color:#66bb6a}}/* лёгкий ховер-эффект по желанию */.steam-link:hover .steam-link__subtitle{text-decoration:underline}/* === FIX 2025-12-05: restore list markers and numbers in text/tables/Ninja === *//* Do not clip list markers or numbers */.entry-content ol li,.entry-content ul li{overflow:visible !important}/* Ensure numbered lists use normal decimal markers */.entry-content ol{list-style:decimal;list-style-position:outside;padding-left:1.5em}/* In HTML tables and Ninja Tables, restore padding and markers for numbered lists */.entry-content table td ol,.entry-content table th ol,.ninja_table_wrapper td ol,.ninja_table_wrapper th ol,.footable td ol,.table-responsive td ol{list-style:decimal;list-style-position:outside;padding-left:1.5em !important}.entry-content table td ol li,.entry-content table th ol li,.ninja_table_wrapper td ol li,.ninja_table_wrapper th ol li,.footable td ol li,.table-responsive td ol li{overflow:visible !important}/* === FIX 2025-12-05: unordered lists bullets === *//* Remove default disc so that only custom bullet (if any) is visible */.entry-content ul{list-style:none;padding-left:0}/* Исправление залипания hover в таблицах Ninja *//* 1. Убираем transition, который вызывает задержку */.semantic_ui .ui.table.ninja_table_pro td,.semantic_ui .ui.table.ninja_table_pro th{transition:none !important}/* 2. Исправляем hover для inverted grey таблицы - 
   возвращаем читаемый текст */.colored_table table.ninja_table_pro.inverted.grey.table tbody tr:hover td{color:rgb(56, 61, 63) !important/* Тёмный текст на светлом фоне OK */}/* стики для обьяв
   position:sticky работает в рамках ближайшего block-ancestor (containing block).
   Раньше sticky висел на самом .wotp-hh, но его прямой родитель .widget.wotpa-widget
   высотой всего ~300px (практически равен высоте самого .wotp-hh) — поэтому «дорожка»
   для прилипания была ~10px и sticky фактически не работал.
   Решение: вешаем sticky на САМ виджет-обёртку (.widget.wotpa-widget:has(.wotp-hh)),
   который является прямым flex-чайлдом .post-sidebar-widgets — а тот уже растянут
   на всю высоту сайдбара через height:100%. Внутри виджета .wotp-hh остаётся
   статичным, без собственного position:sticky, иначе получится «двойной» sticky.
   flex-grow на виджет НЕ вешаем — он раздувал страницу до 40 000px из-за iframe
   с height:100% внутри рекламы. */.post-sidebar-widgets{height:100%}.post-sidebar-widgets .widget.wotpa-widget:has(.wotp-hh){position:sticky;top:90px;/* запас под фикс-шапку */align-self:flex-start/* не даём flex растянуть виджет — сохраняем его естественную высоту */}/* Визуальный заголовок таблиц — ТОЛЬКО семантические <thead>/<th>.
   Раньше мы дополнительно ловили `tr:first-child`, чтобы покрыть "классические"
   таблицы, где шапка — обычная первая <tr>. Но селектор tr:first-child матчит
   первую строку КАЖДОЙ секции таблицы (и <thead>, и <tbody>), из-за чего:
   - в Ninja Tables подсвечивалась и корректная <thead>-строка, И первая
     строка <tbody> (обычная строка данных — бага «Цзы Бай выделен жирным»);
   - в таблицах без <thead> первая строка данных подсвечивалась «как шапка»,
     даже если это просто первая запись (например, key/value таблицы вида
     «Особенность испытания | Вражеский бонус Инверсия»).
   Для key/value-таблиц вида <tr><th scope="row">…</th><td>…</td></tr>
   браузер сам рендерит <th> жирным — отдельная стилизация не нужна. */.entry-content table thead tr{background:var(--table-head-bg)}.entry-content table thead th,.entry-content table thead td{font-weight:700;color:var(--table-head-text)}/* Фон обычных ячеек и «зебра» — только внутри <tbody>. Браузеры автоматически
   оборачивают беспризорные <tr> в <tbody>, так что это покрывает и те таблицы,
   где <tbody> явно не задан. */.entry-content table tbody tr:nth-child(even) td{background:var(--table-row-alt)}.entry-content table tbody tr:nth-child(odd) td{background:var(--table-bg-color)}/* Тонкая сетка через единую переменную --table-border вместо 0.75px */.entry-content table td,.entry-content table th{border-bottom:1px solid var(--table-border)}/* FIX #10: разделители у карточек новостей в правой колонке.
   Важно: у .news-item фиксированная height (331px на десктопе, min-height:250px на мобиле),
   поэтому НЕ добавляем padding-bottom — он съедал вторую строку заголовка.
   Воздух между карточками уже обеспечивает gap:24px у .news. */.post-sidebar-widgets .news-item{border-bottom:1px solid var(--table-border)}.post-sidebar-widgets .news-item:last-child{border-bottom:0}/* FIX #11: страница поиска — полная ширина без правого сайдбара + адаптивная сетка.
   Сайдбар удалён из search.php. Базовые правила темы резервировали
   `calc(100% - 300px)` под правую колонку и задавали сетку `1fr 1fr 1fr` только
   с ≥1170px, а на меньших ширинах падали в одну колонку. Дополнительно
   `.search__img img` не имеет ограничения ширины → изображение рендерится
   в натуральную ширину, карточка растягивается, сетка ломается в одну колонку.
   Специфичность 0,3,0 за счёт body.search-results + двойного класса — без `!important`. */@media (min-width: 800px){body.search-results .article-section-left.search-section-left{flex:1 1 100%;max-width:100%;padding-right:0}}/* Сетка карточек: auto-fill + minmax, работает на всех ширинах. */body.search-results .articles-block-wrap--categories.search-block-wrap--categories{display:grid;grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));gap:20px;justify-items:stretch;justify-content:start}/* Разрешаем grid-ячейкам сжиматься ниже естественной ширины контента. */body.search-results .articles-block-wrap--categories.search-block-wrap--categories > .search-article-item{width:100%;min-width:0}/* Фиксируем ширину картинки карточки — иначе натуральный размер растягивает ячейку. */body.search-results .search-article-item .search__img{width:100%;overflow:hidden}body.search-results .search-article-item .search__img img{width:100%;height:180px;object-fit:cover;display:block}/* FIX #12 (v15.20): видимые хлебные крошки.
   - Промежуточные пункты НЕ сжимаются (flex-shrink: 0), их имена видны целиком.
   - Только последний пункт (текущая страница) может усекаться многоточием.
   - При нехватке места вся цепочка скроллится по горизонтали без скроллбара.
   - На очень узких экранах (<= 420px) промежуточные пункты скрываются,
     остаётся «предпоследний › текущий» — пользователь всё ещё может уйти
     на шаг вверх.
   Разделители `›` через ::before — не попадают в копирование и скринридер. *//* Лаконичные хлебные крошки (паттерн PC Gamer / Polygon): приглушённый
   серый, разделитель "/", компактный шрифт. Переменная --muted
   переопределяется под светлую тему — при отсутствии работает fallback. */.breadcrumbs{--muted:#a0a0a0;/* тёмная тема — по умолчанию */display:block;width:100%;max-width:100%;margin:0 0 12px 0;font-size:13px;line-height:1.3;color:var(--muted, #7a7a7a);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none/* Firefox */}[data-theme="light"] .breadcrumbs{--muted:#6d6d6d/* светлая тема */}.breadcrumbs::-webkit-scrollbar{display:none/* WebKit */}.breadcrumbs__list{display:flex;flex-wrap:nowrap;align-items:center;min-width:0;margin:0;padding:0;list-style:none;gap:0;white-space:nowrap}.breadcrumbs__item{display:inline-flex;align-items:center;padding:0;margin:0;flex-shrink:0;/* не сжимать имена промежуточных пунктов */min-width:0}.breadcrumbs__item:last-child{flex-shrink:1/* только текущий пункт может сжиматься и усекаться */}.breadcrumbs__item + .breadcrumbs__item::before{content:"/";margin:0 8px;color:inherit;opacity:0.4;flex-shrink:0}.breadcrumbs__link{color:inherit;text-decoration:none;border-bottom:1px solid transparent;transition:color 0.15s ease,border-color 0.15s ease}.breadcrumbs__link:hover,.breadcrumbs__link:focus-visible{color:var(--link-color);border-bottom-color:currentColor}.breadcrumbs__current{display:block;color:inherit;opacity:0.9;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/* Скрытая метка для скринридеров — дублирует aria-label, но озвучивается
   раньше и в виде полноценного текста. */.breadcrumbs__label{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}/* Средние мобильные (421–600px): снимаем ellipsis с текущего пункта, чтобы
   длинный заголовок распирал контейнер и включал горизонтальный скролл у
   .breadcrumbs (overflow-x: auto). Без этого override'а `.breadcrumbs__current`
   всегда укладывается в ширину родителя за счёт многоточия, и скролл не
   срабатывает. На ≤ 420px ниже включается режим «последние два пункта». */@media (min-width: 421px) and (max-width: 600px){.breadcrumbs__current{max-width:none;overflow:visible;text-overflow:clip}}/* Очень узкие экраны: оставляем «предпоследний / текущий».
   Первый (Главная) и глубокие родители скрываются — остаётся контекст,
   на который можно вернуться одним кликом. Скринридеры всё равно зачитают
   полную цепочку из JSON-LD. */@media (max-width: 420px){.breadcrumbs__item:not(:nth-last-child(-n + 2)){display:none}/* После скрытия у нового первого видимого ::before не нужен. */.breadcrumbs__item:nth-last-child(2)::before{content:none}}/* ═══════════════════════════════════════════════════════════════════
 * Accessibility (v15.38) — фиксы PageSpeed для single-post страниц
 * ═══════════════════════════════════════════════════════════════════ *//* Утилита screen-reader-text для скрытых label'ов. */.screen-reader-text{border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important;clip-path:inset(50%) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;word-wrap:normal !important}.screen-reader-text:focus{clip:auto !important;clip-path:none !important;height:auto !important;margin:0 !important;overflow:visible !important;padding:8px 12px !important;width:auto !important;z-index:100000;background:#fff;color:#111;box-shadow:0 0 0 2px currentColor}/* Кнопка #toggleBtn в блоке «Содержание» — контраст. Старое сочетание
   серого текста на сером фоне валило WCAG AA. Делаем плотный красный
   с белым (контраст ~6:1). */#toggleBtn.toggle-btn{color:#ffffff;background-color:#b91c1c;border:1px solid #7f1d1d;font-weight:600}#toggleBtn.toggle-btn:hover,#toggleBtn.toggle-btn:focus-visible{background-color:#991b1b}/* wpDiscuz — у нас Color Scheme = Dark, сайт тоже dark по умолчанию.
   Ниже — повышаем контраст служебных надписей и ссылок плагина. */#wpdcom .wpd-sbs-title,#wpdcom .wpd-connect-with,#wpdcom .wpd-thread-info,#wpdcom .wpd-current-view,#wpdcom .wpd-filter-view-all,#wpdcom .wpdiscuz-sort-button,#wpdcom .wpdiscuz-subscribe-form-intro,#wpdcom .article-commentary{color:#cbd5e1}/* wpDiscuz/Quill editor toolbar: WP Rocket can defer plugin CSS, so keep
   formatting buttons readable before wpdiscuz-combo styles arrive. */#wpdcom [id^="wpd-editor-toolbar-"]{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-height:38px;padding:6px 8px;line-height:1;box-sizing:border-box}#wpdcom [id^="wpd-editor-toolbar-"] button{display:inline-flex !important;align-items:center;justify-content:center;width:34px !important;min-width:34px !important;height:34px !important;min-height:34px !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:4px;background:transparent !important;box-shadow:none !important;color:#a7a7a7 !important;font:700 15px/1 Arial,sans-serif !important}#wpdcom [id^="wpd-editor-toolbar-"] button:hover,#wpdcom [id^="wpd-editor-toolbar-"] button:focus-visible,#wpdcom [id^="wpd-editor-toolbar-"] button.ql-active{background:rgba(255, 255, 255, 0.08) !important;color:#f9fafb !important}#wpdcom [id^="wpd-editor-toolbar-"] button svg{display:block !important;width:18px !important;height:18px !important;max-width:18px !important;max-height:18px !important}#wpdcom [id^="wpd-editor-toolbar-"] button .ql-stroke{stroke:currentColor !important}#wpdcom [id^="wpd-editor-toolbar-"] button .ql-fill{fill:currentColor !important}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-sourcecode,#wpdcom [id^="wpd-editor-toolbar-"] button.ql-spoiler{width:34px !important;min-width:34px !important;padding:0 !important;font-size:13px !important}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-bold:empty::before{content:"B"}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-italic:empty::before{content:"I";font-style:italic}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-underline:empty::before{content:"U";text-decoration:underline}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-strike:empty::before{content:"S";text-decoration:line-through}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-list[value="ordered"]:empty::before{content:"1."}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-list[value="bullet"]:empty::before{content:"\2022";font-size:20px}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-blockquote:empty::before{content:"\201C";font-size:20px}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-code-block:empty::before{content:"</>";font-size:12px}#wpdcom [id^="wpd-editor-toolbar-"] button.ql-link:empty::before{content:"ln";font-size:11px}#wpdcom .wpdiscuz-sort-button,#wpdcom .wpdiscuz-subscribe-form-intro,#wpdcom .article-commentary{color:#cbd5e1/* достаточно контрастный к тёмному фону */}#wpdcom a{color:#8ab4f8;text-decoration:underline;text-underline-offset:0.16em}#wpdcom a:hover,#wpdcom a:focus-visible{color:#aac4fa;text-decoration-thickness:0.12em}#wpdcom .wpdiscuz-sort-button{border-bottom:1px dotted currentColor}/* Поля ввода — контрастные плейсхолдеры и чёткие границы. */#wpdcom input[type="email"],#wpdcom input[type="text"],#wpdcom select,#wpdcom textarea{color:#f9fafb;background-color:#1f2937;border-color:#94a3b8}#wpdcom input::placeholder,#wpdcom textarea::placeholder{color:#cbd5e1;opacity:1}[data-theme='light'] #wpdcom,[data-theme='light'] #wpdcom .wpd-form-wrap,[data-theme='light'] #wpdcom .wpd-thread-list,[data-theme='light'] #wpdcom .wpd-comment,[data-theme='light'] #wpdcom .wpd-comment-wrap,[data-theme='light'] #wpdcom .wpd-comment-right,[data-theme='light'] #wpdcom .wpd-comment-footer{background:#f3f4f5 !important;color:#212121 !important}[data-theme='light'] #wpdcom .wpd-sbs-title,[data-theme='light'] #wpdcom .wpd-connect-with,[data-theme='light'] #wpdcom .wpd-thread-info,[data-theme='light'] #wpdcom .wpd-current-view,[data-theme='light'] #wpdcom .wpd-filter-view-all,[data-theme='light'] #wpdcom .wpdiscuz-sort-button,[data-theme='light'] #wpdcom .wpdiscuz-subscribe-form-intro,[data-theme='light'] #wpdcom .wpd-comment-text,[data-theme='light'] #wpdcom .wpd-comment-text *,[data-theme='light'] #wpdcom .wpd-comment-date,[data-theme='light'] #wpdcom .wpd-comment-header,[data-theme='light'] #wpdcom .wpd-comment-footer{color:#212121 !important}[data-theme='light'] #wpdcom a,[data-theme='light'] #wpdcom .wpd-comment-text a{color:#0b57d0 !important}[data-theme='light'] #wpdcom a:hover,[data-theme='light'] #wpdcom a:focus-visible,[data-theme='light'] #wpdcom .wpd-comment-text a:hover,[data-theme='light'] #wpdcom .wpd-comment-text a:focus-visible{color:#0847ad !important}[data-theme='light'] #wpdcom input[type="email"],[data-theme='light'] #wpdcom input[type="text"],[data-theme='light'] #wpdcom select,[data-theme='light'] #wpdcom textarea{color:#212121 !important;background-color:#ffffff !important;border-color:#b9c2cf !important}[data-theme='light'] #wpdcom input::placeholder,[data-theme='light'] #wpdcom textarea::placeholder{color:#6b7280 !important}[data-theme='light'] #comments.comments-area,[data-theme='light'] #wpdcom.wpd-dark{background:#f3f4f5 !important;color:#212121 !important}[data-theme='light'] #wpdcom.wpd-dark .wpd-form-wrap,[data-theme='light'] #wpdcom.wpd-dark .wpd-form-head,[data-theme='light'] #wpdcom.wpd-dark .wpd-auth,[data-theme='light'] #wpdcom.wpd-dark .wpd-social-login,[data-theme='light'] #wpdcom.wpd-dark .wpd-login,[data-theme='light'] #wpdcom.wpd-dark .wpd-form,[data-theme='light'] #wpdcom.wpd-dark .wpd_comm_form,[data-theme='light'] #wpdcom.wpd-dark .wpd-field-comment,[data-theme='light'] #wpdcom.wpd-dark .wpdiscuz-item,[data-theme='light'] #wpdcom.wpd-dark .wpdiscuz-textarea-wrap,[data-theme='light'] #wpdcom.wpd-dark .wpd-thread-wrapper,[data-theme='light'] #wpdcom.wpd-dark .wpd-thread-head,[data-theme='light'] #wpdcom.wpd-dark .wpd-thread-list,[data-theme='light'] #wpdcom.wpd-dark .wpd-comment,[data-theme='light'] #wpdcom.wpd-dark .wpd-comment-wrap,[data-theme='light'] #wpdcom.wpd-dark .wpd-comment-right,[data-theme='light'] #wpdcom.wpd-dark .wpd-comment-header,[data-theme='light'] #wpdcom.wpd-dark .wpd-comment-text,[data-theme='light'] #wpdcom.wpd-dark .wpd-comment-text *,[data-theme='light'] #wpdcom.wpd-dark .wpd-comment-footer,[data-theme='light'] #wpdcom.wpd-dark .wpd-reply-button{color:#212121 !important}[data-theme='light'] #wpdcom.wpd-dark .ql-container{background:#ffffff !important;color:#212121 !important;border-color:#cfd6df !important}[data-theme='light'] #wpdcom.wpd-dark .ql-editor,[data-theme='light'] #wpdcom.wpd-dark .ql-editor *{color:#212121 !important}[data-theme='light'] #wpdcom.wpd-dark .ql-editor.ql-blank::before{color:#6b7280 !important}[data-theme='light'] #wpdcom.wpd-dark .ql-toolbar{background:#eef2f7 !important;border-color:#cfd6df !important}[data-theme='light'] #wpdcom.wpd-dark .ql-toolbar .ql-stroke{stroke:#4b5563 !important}[data-theme='light'] #wpdcom.wpd-dark .ql-toolbar .ql-fill{fill:#4b5563 !important}[data-theme='light'] #wpdcom.wpd-dark .wpd-tooltip-content{background:#ffffff !important;color:#212121 !important;border:1px solid #cfd6df !important;box-shadow:0 8px 22px rgba(15, 23, 42, 0.12) !important}/* Touch targets: 44×44px для интерактивных элементов wpDiscuz и нашей
   кнопки [Показать]. НЕ применяется к ссылкам в .entry-content — только
   к контролам форм/кнопок. */#wpdcom select,#wpdcom input[type="email"],#wpdcom input[type="text"],#wpdcom input[type="submit"],#wpdcom button,#toggleBtn.toggle-btn{min-height:44px}#wpdcom select,#wpdcom input[type="email"],#wpdcom input[type="text"]{padding:8px 10px}#wpdcom input[type="submit"],#wpdcom button,#toggleBtn.toggle-btn{min-width:44px;padding:8px 12px}#wpdcom .wpdiscuz-sort-button,#wpdcom .wpd-filter-view-all,#wpdcom .wpd-current-view{display:inline-flex;align-items:center;min-height:36px;padding:6px 8px}@media (max-width: 767px){#wpdcom .wpdiscuz-sort-buttons,#wpdcom .wpd-filter{gap:8px}#wpdcom .wpdiscuz-sort-button,#wpdcom .wpd-filter-view-all,#wpdcom .wpd-current-view{min-height:44px}}/* wpDiscuz author bubble — кнопка-закрытие (после JS-замены role="button"). */#wpd-bubble-author a[href="#"][role="button"]{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:4px 8px;color:#f9fafb;text-decoration:none;border-radius:4px}#wpd-bubble-author a[href="#"][role="button"]:hover,#wpd-bubble-author a[href="#"][role="button"]:focus-visible{background-color:rgba(255, 255, 255, 0.08)}/* Wantispam — поле уже скрыто плагином, но если оно видимо — дать ему рамку. */input.wantispam-control[name="wantispam_q"]{border:1px solid #6b7280;color:#111827;background-color:#ffffff}/* Универсальный focus-visible для интерактивных элементов. Не назначаем
   глобально, чтобы не конфликтовать с темными/светлыми вариантами темы;
   используем currentColor — выглядит уместно в любой палитре. */a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role="button"]:focus-visible{outline:2px solid currentColor;outline-offset:3px}/* ═══════════════════════════════════════════════════════════════════
 * Pagination (v15.40) — на локализованных страницах GTranslate
 * ═══════════════════════════════════════════════════════════════════ */.wotpack-pagination{margin:32px 0;text-align:center}.wotpack-pagination .page-numbers{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:6px;list-style:none;margin:0;padding:0}.wotpack-pagination .page-numbers li{margin:0;padding:0}.wotpack-pagination a.page-numbers,.wotpack-pagination span.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:6px 12px;border-radius:6px;text-decoration:none;font-weight:500;border:1px solid var(--section-default-text-color, #4b5563);color:var(--section-default-text-color, #cbd5e1);background:transparent;transition:background-color .15s ease}.wotpack-pagination a.page-numbers:hover,.wotpack-pagination a.page-numbers:focus-visible{background:rgba(229, 62, 84, 0.12);border-color:#e53e54;color:#e53e54}.wotpack-pagination span.page-numbers.current{background:#e53e54;border-color:#e53e54;color:#fff}.wotpack-pagination span.page-numbers.dots{border-color:transparent}/* Планшетный фикс: при скрытом сайдбаре сложные Ninja Tables не должны сжиматься в узкую колонку. */@media (max-width: 999.98px){.table-responsive,.ninja_table_wrapper{overflow-x:auto !important}.entry-content .ninja_table_wrapper table.ninja_footable{min-width:760px !important;width:auto !important;table-layout:auto !important}.entry-content .ninja_footable th,.entry-content .ninja_footable td{word-break:normal !important;overflow-wrap:break-word}.entry-content .ninja_footable .ninja_clmn_nm_особенности{min-width:280px !important;max-width:none !important}}
