/* ============================================================
   Общий адаптив для всех страниц (кроме страницы мода – там свой файл).
   Подключается последним (functions.php → inzoi-adaptive).
   1. Боковые отступы на каталоге, архивах и поиске
   2. Статья: заголовок и текст сразу, «Читайте также» – после текста
   3. Главная: цифры 2×2 вместо столбика
   4. Обычные страницы: маркеры списков и шапка таблицы
   ============================================================ */

/* ---------- 1. Отступы по краям ---------- */
@media (max-width: 767px) {
  body.archive #content.site-content,
  body.search #content.site-content,
  body.blog #content.site-content {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* Полоса цифр каталога прокручивается вбок – даём ей дойти до края экрана */
  body.category-mods .catalog-stats {
    margin-left: -14px;
    margin-right: -14px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  body.archive .page-title,
  body.archive .mods-latest-title { overflow-wrap: anywhere; }
}

/* ---------- 2. Статья ---------- */
@media (max-width: 1020px) {
  /* Колонка сбоку «растворяется»: оглавление – до статьи, «Читайте также» – после */
  .single-post .article-layout > .article-sidebar { display: contents !important; }
  .single-post .article-layout > .article-main { order: 1; min-width: 0; }
  .single-post .article-sidebar > * { order: 3; margin: 0 !important; grid-column: 1 / -1 !important; min-width: 0; }
  .single-post .article-layout > .article-main { grid-column: 1 / -1; }
  .single-post .article-sidebar > .article-toc-card { order: 0; }
  .single-post .article-sidebar > .article-read-more { order: 2; }
  /* В тексте уже есть своё оглавление – второе сверху не нужно */
  .single-post .article-layout:has(.table-of-contents) .article-toc-card { display: none !important; }
}

/* ---------- 3. Главная: цифры ---------- */
@media (max-width: 700px) {
  body.page-template-page-front-landing-php .inzl-stats__row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  body.page-template-page-front-landing-php .inzl-stats__item {
    width: auto !important;
    padding: 16px 8px !important;
    border-bottom: 1px solid #e8eef5;
  }
  body.page-template-page-front-landing-php .inzl-stats__item:nth-of-type(odd) { border-right: 1px solid #e8eef5; }
  body.page-template-page-front-landing-php .inzl-stats__item:nth-last-of-type(-n+2) { border-bottom: 0; }
  body.page-template-page-front-landing-php .inzl-stats__divider { display: none !important; }
  body.page-template-page-front-landing-php .inzl-stats__label { max-width: none; }
  html.dark body.page-template-page-front-landing-php .inzl-stats__item { border-color: rgba(255, 255, 255, .08); }
}

/* ---------- 4. Обычные страницы ---------- */
/* Маркер темы рисуется слева абсолютно – тексту нужно место, иначе кружок налезает на первую букву */
body.page .inzoi-page-content ul:not([class]) > li,
body.page .inzoi-page-content ul.wp-block-list > li,
body.page .inzoi-page-content ol:not([class]) > li,
body.page .inzoi-page-content ol.wp-block-list > li {
  padding-left: 1.75em !important;
}
@media (max-width: 640px) {
  body.page .inzoi-page-content ul:not([class]),
  body.page .inzoi-page-content ul.wp-block-list,
  body.page .inzoi-page-content ol:not([class]),
  body.page .inzoi-page-content ol.wp-block-list { padding-left: 4px; }
}
/* Если у таблицы есть thead, первая строка тела – обычная строка, а не вторая шапка */
body.page .inzoi-page-content table thead ~ tbody tr:first-child td {
  background: transparent !important;
  color: #4a5468 !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}
body.page .inzoi-page-content table thead ~ tbody tr:first-child td:first-child {
  color: #344056 !important;
  font-weight: 650 !important;
}
html.dark body.page .inzoi-page-content table thead ~ tbody tr:first-child td { color: #c3c8d6 !important; }
html.dark body.page .inzoi-page-content table thead ~ tbody tr:first-child td:first-child { color: #e1e4ed !important; }

/* ---------- 5. Мета статьи и мода: строка-подпись под заголовком ---------- */
.inzoi-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: #6b7385;
}
/* Точка-разделитель стоит слева от каждого пункта. Строка сдвинута влево на ширину
   разделителя и обрезана по этому краю: у первого пункта каждой строки точка
   оказывается за краем, поэтому при переносе строка не начинается с точки. */
.inzoi-byline { margin-left: -22px; clip-path: inset(-6px -6px -6px 22px); }
.inzoi-byline > * { position: relative; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-left: 22px; }
.inzoi-byline > *::before {
  content: "";
  position: absolute; left: -12px; top: 50%;
  width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%;
  background: currentColor; opacity: .55;
}
.inzoi-byline svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.inzoi-byline time { color: #2b3140; font-weight: 600; }
.inzoi-byline__author { color: #2b3140 !important; font-weight: 600; text-decoration: none !important; }
.inzoi-byline__author:hover { color: #4a90e2 !important; }
.inzoi-byline__author img { width: 24px !important; height: 24px !important; border-radius: 50%; object-fit: cover; margin: 0 !important; display: block; }
.inzoi-byline--article { margin-bottom: 18px; }
.inzoi-byline .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 380px) { .inzoi-byline { font-size: 12.5px; } }

html.dark .inzoi-byline { color: #98a1b3; }
html.dark .inzoi-byline time,
html.dark .inzoi-byline__author { color: #e7e9f2 !important; }
html.dark .inzoi-byline__author:hover { color: #8fc2ff !important; }

/* Заголовки без переносов по слогам («ап-течку», «рус-ском») */
.single-post .mod-head h1,
.single-post .article-head h1,
body.page-template-page-front-landing-php h1,
body.page-template-page-front-landing-php h2 {
  -webkit-hyphens: manual !important;
  hyphens: manual !important;
  overflow-wrap: break-word;
  word-break: normal;
}

/* ---------- 6. Главная: длинное название мода в «Свежих модах» раздвигало колонку,
   и кнопки «Скачать моды / Telegram / Steam» уезжали вправо за экран ---------- */
body.page-template-page-front-landing-php .inzl-hero__row { grid-template-columns: minmax(0, 1fr) 380px; }
body.page-template-page-front-landing-php .inzl-hero__row > * { min-width: 0; max-width: 100%; }
@media (max-width: 1024px) {
  body.page-template-page-front-landing-php .inzl-hero__row { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 900px) {
  body.page-template-page-front-landing-php .inzl-hero__row { grid-template-columns: minmax(0, 1fr); }
}
body.page-template-page-front-landing-php .inzl-hero__buttons .inzl-btn { box-sizing: border-box; max-width: 100%; }

/* ---------- 7. Мобильное меню: поиск, пункты с иконками, тёмная тема, вход ---------- */
@media (max-width: 768px) {
  .inzl-mobile-nav {
    gap: 12px;
    padding: 14px 14px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    background: #f5f7fb !important;
  }
  .inzl-mnav-search {
    position: relative; display: flex; align-items: center; flex: 0 0 auto; margin: 0;
  }
  .inzl-mnav-search svg {
    position: absolute; left: 14px; width: 18px; height: 18px;
    fill: none; stroke: #8a94a6; stroke-width: 2; stroke-linecap: round; pointer-events: none;
  }
  .inzl-mnav-search input {
    width: 100%; height: 48px; box-sizing: border-box; margin: 0;
    padding: 0 14px 0 42px; border: 1px solid #e3e8f1; border-radius: 14px; background: #fff;
    font: inherit; font-size: 16px; color: #1f2433; outline: none; -webkit-appearance: none; appearance: none;
  }
  .inzl-mnav-search input:focus { border-color: #83bbff; box-shadow: 0 0 0 3px rgba(131, 187, 255, .25); }

  .inzl-mobile-nav .inzl-nav-list,
  .inzl-mnav-foot {
    flex: 0 0 auto; margin: 0; padding: 6px; list-style: none;
    background: #fff; border: 1px solid #e8edf4; border-radius: 18px;
  }
  .inzl-mobile-nav .inzl-nav-list > li { margin: 0; }
  .inzl-mobile-nav .inzl-nav-list > li + li { border-top: 1px solid #f0f3f8; }
  .inzl-mobile-nav .inzl-nav-list a,
  .inzl-mnav-row {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; box-sizing: border-box;
    padding: 8px 10px; border: 0; border-radius: 12px; background: none;
    font: inherit; font-size: 16px !important; font-weight: 600 !important; line-height: 1.25;
    text-transform: none; letter-spacing: 0; text-align: left; text-decoration: none !important;
    color: #1f2433 !important; opacity: 1 !important; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .inzl-mobile-nav .inzl-nav-list > li > a::after {
    content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin: 0 6px 0 auto;
    border-right: 2px solid #b8c2d3; border-top: 2px solid #b8c2d3; transform: rotate(45deg);
  }
  .inzl-mobile-nav .inzl-nav-list a:active,
  .inzl-mnav-row:active { background: #f2f6fc; }
  .inzl-mnav-label { flex: 1 1 auto; min-width: 0; }
  .inzl-mnav-ic {
    display: flex; align-items: center; justify-content: center; flex: 0 0 36px;
    width: 36px; height: 36px; border-radius: 11px; background: #eef5ff; color: #5b9bf0;
  }
  .inzl-mnav-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

  /* Текущий раздел */
  .inzl-mobile-nav .inzl-nav-list > li.is-current > a,
  .inzl-mobile-nav .inzl-nav-list > li.is-current > .inzl-dropdown-trigger { background: #eef5ff; border-radius: 12px; }
  .inzl-mobile-nav .inzl-nav-list > li.is-current > a,
  .inzl-mobile-nav .inzl-nav-list > li.is-current > .inzl-dropdown-trigger > a { color: #2e6bdb !important; }
  .inzl-mobile-nav .inzl-nav-list > li.is-current .inzl-mnav-ic { background: #83bbff; color: #fff; }

  /* Вложенные пункты */
  .inzl-mobile-nav .inzl-dropdown-trigger { padding-right: 10px; }
  .inzl-mobile-nav .inzl-dropdown-trigger > a::after { display: none; }
  .inzl-mobile-nav .inzl-submenu { padding: 0 0 0 58px; }
  .inzl-mobile-nav .inzl-submenu li { margin: 0; }
  .inzl-mobile-nav .inzl-submenu a { min-height: 40px; font-size: 15px !important; font-weight: 500 !important; color: #5f6679 !important; }
  .inzl-mobile-nav .inzl-has-dropdown.is-active .inzl-submenu { margin: 0 0 6px; }

  /* Низ: тёмная тема и вход */
  .inzl-mnav-switch {
    position: relative; flex: 0 0 auto; width: 46px; height: 28px; margin-right: 2px;
    border-radius: 14px; background: #d9e0ea; transition: background .2s ease;
  }
  .inzl-mnav-switch span {
    position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .25); transition: transform .2s ease;
  }
  .inzl-mnav-theme[aria-checked="true"] .inzl-mnav-switch { background: #5b9bf0; }
  .inzl-mnav-theme[aria-checked="true"] .inzl-mnav-switch span { transform: translateX(18px); }
  .inzl-mnav-foot .inzl-mnav-row + .inzl-mnav-row { border-top: 1px solid #f0f3f8; border-radius: 0; }

  html.dark .inzl-mobile-nav { background: #0f1117 !important; }
  html.dark .inzl-mnav-search input { background: #181b25; border-color: #262b38; color: #e7e9f2; }
  html.dark .inzl-mobile-nav .inzl-nav-list,
  html.dark .inzl-mnav-foot { background: #161922; border-color: #232838; }
  html.dark .inzl-mobile-nav .inzl-nav-list > li + li,
  html.dark .inzl-mnav-foot .inzl-mnav-row + .inzl-mnav-row { border-color: #20242f; }
  html.dark .inzl-mobile-nav .inzl-nav-list a,
  html.dark .inzl-mnav-row { color: #e7e9f2 !important; }
  html.dark .inzl-mobile-nav .inzl-nav-list a:active,
  html.dark .inzl-mnav-row:active { background: #1d2130; }
  html.dark .inzl-mnav-ic { background: #1f2c42; color: #8fc2ff; }
  html.dark .inzl-mobile-nav .inzl-nav-list > li.is-current > a,
  html.dark .inzl-mobile-nav .inzl-nav-list > li.is-current > .inzl-dropdown-trigger { background: #1a2638; }
  html.dark .inzl-mobile-nav .inzl-nav-list > li.is-current > a { color: #8fc2ff !important; }
  html.dark .inzl-mobile-nav .inzl-nav-list > li.is-current .inzl-mnav-ic { background: #4a8fe8; color: #fff; }
  html.dark .inzl-mobile-nav .inzl-submenu a { color: #9aa0b8 !important; }
  html.dark .inzl-mnav-switch { background: #2c3242; }
  html.dark .inzl-mnav-theme[aria-checked="true"] .inzl-mnav-switch { background: #4a8fe8; }
}
@media (min-width: 769px) {
  .inzl-mnav-search, .inzl-mnav-foot { display: none; }
}
.inzl-mnav-search input::placeholder { color: #8a94a6; opacity: 1; }
html.dark .inzl-mnav-search input::placeholder { color: #6f7890; }

/* ---------- 8. Иконочный шрифт Reboot в woff2 (21 КБ вместо 58 КБ ttf).
   Отдельное имя семейства и те же селекторы, что у родителя: старый ttf больше не скачивается. ---------- */
@font-face {
  font-family: wpshop-core-w2;
  src: url(fonts/wpshop-core.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.comment-list .bypostauthor>.comment-body .comment-author:after,
.entry-author:before,
.entry-comments:before,
.entry-content blockquote:not(.wpremark).check:before,
.entry-content blockquote:not(.wpremark).danger:before,
.entry-content blockquote:not(.wpremark).info:before,
.entry-content blockquote:not(.wpremark).is-style-check:before,
.entry-content blockquote:not(.wpremark).is-style-danger:before,
.entry-content blockquote:not(.wpremark).is-style-info:before,
.entry-content blockquote:not(.wpremark).is-style-question:before,
.entry-content blockquote:not(.wpremark).is-style-quote:before,
.entry-content blockquote:not(.wpremark).is-style-thumbs-down:before,
.entry-content blockquote:not(.wpremark).is-style-thumbs-up:before,
.entry-content blockquote:not(.wpremark).is-style-warning:before,
.entry-content blockquote:not(.wpremark).question:before,
.entry-content blockquote:not(.wpremark).quote:before,
.entry-content blockquote:not(.wpremark).thumbs-down:before,
.entry-content blockquote:not(.wpremark).thumbs-up:before,
.entry-content blockquote:not(.wpremark).warning:before,
.entry-date:before,
.entry-time:before,
.entry-views:before,
.footer-navigation ul li.menu-item-has-children:after,
.footer-navigation ul li.menu-item-has-children>a:after,
.footer-navigation ul li.menu-item-has-children>span:after,
.home-text blockquote:not(.wpremark).check:before,
.home-text blockquote:not(.wpremark).danger:before,
.home-text blockquote:not(.wpremark).info:before,
.home-text blockquote:not(.wpremark).is-style-check:before,
.home-text blockquote:not(.wpremark).is-style-danger:before,
.home-text blockquote:not(.wpremark).is-style-info:before,
.home-text blockquote:not(.wpremark).is-style-question:before,
.home-text blockquote:not(.wpremark).is-style-quote:before,
.home-text blockquote:not(.wpremark).is-style-thumbs-down:before,
.home-text blockquote:not(.wpremark).is-style-thumbs-up:before,
.home-text blockquote:not(.wpremark).is-style-warning:before,
.home-text blockquote:not(.wpremark).question:before,
.home-text blockquote:not(.wpremark).quote:before,
.home-text blockquote:not(.wpremark).thumbs-down:before,
.home-text blockquote:not(.wpremark).thumbs-up:before,
.home-text blockquote:not(.wpremark).warning:before,
.main-navigation ul li.menu-item-has-children:after,
.main-navigation ul li.menu-item-has-children>a:after,
.main-navigation ul li.menu-item-has-children>span:after,
.post-card__author:before,
.post-card__comments:before,
.post-card__date:before,
.post-card__like:before,
.post-card__views:before,
.scrolltop:before,
.search-form .search-submit:before,
.search-icon,
.table-of-contents__hide:after,
.taxonomy-description blockquote:not(.wpremark).check:before,
.taxonomy-description blockquote:not(.wpremark).danger:before,
.taxonomy-description blockquote:not(.wpremark).info:before,
.taxonomy-description blockquote:not(.wpremark).is-style-check:before,
.taxonomy-description blockquote:not(.wpremark).is-style-danger:before,
.taxonomy-description blockquote:not(.wpremark).is-style-info:before,
.taxonomy-description blockquote:not(.wpremark).is-style-question:before,
.taxonomy-description blockquote:not(.wpremark).is-style-quote:before,
.taxonomy-description blockquote:not(.wpremark).is-style-thumbs-down:before,
.taxonomy-description blockquote:not(.wpremark).is-style-thumbs-up:before,
.taxonomy-description blockquote:not(.wpremark).is-style-warning:before,
.taxonomy-description blockquote:not(.wpremark).question:before,
.taxonomy-description blockquote:not(.wpremark).quote:before,
.taxonomy-description blockquote:not(.wpremark).thumbs-down:before,
.taxonomy-description blockquote:not(.wpremark).thumbs-up:before,
.taxonomy-description blockquote:not(.wpremark).warning:before,
.top-menu ul li.menu-item-has-children>a:after,
.top-menu ul li.menu-item-has-children>span:after,
.widget-area .widget_nav_menu .menu-item-has-children:after,
[class*=" wci-"],
[class^=wci-] {
  font-family: wpshop-core-w2 !important;
}

/* ---------- 9. Блок «H1 + описание рубрики» внизу архивов (перенесён из inzl-landing.css, который теперь только для главной) ---------- */
.page-header--bottom {
    margin-top: 48px;
    margin-bottom: 0;
    padding: 40px 48px;
    background: #fff;
    border: 1px solid #e5e7f0;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}

.page-header--bottom .page-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.page-header--bottom .taxonomy-description p {
    font-size: 15px;
    line-height: 1.75;
    color: #6b7280;
    margin: 0 0 12px;
}

.page-header--bottom .taxonomy-description p:last-child {
    margin-bottom: 0;
}

.page-header--bottom .taxonomy-description h2,
.page-header--bottom .taxonomy-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 24px 0 10px;
}

/* Мобильный */
@media (max-width: 768px) {
    .page-header--bottom {
        padding: 24px 20px;
        border-radius: 12px;
        margin-top: 32px;
    }

    .page-header--bottom .page-title {
        font-size: 20px;
    }

    .page-header--bottom .taxonomy-description p {
        font-size: 14px;
    }
}

html.dark .page-header--bottom {
    background: #1a1d27;
    border-color: #2a2d3a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

html.dark .page-header--bottom .page-title {
    color: #e1e4ed;
}

html.dark .page-header--bottom .taxonomy-description p {
    color: #8b90a0;
}

html.dark .page-header--bottom .taxonomy-description h2,
html.dark .page-header--bottom .taxonomy-description h3 {
    color: #c0c4d0;
}

/* ---------- 10. Telegram в мобильном меню ---------- */
.inzl-mnav-ic--tg { background: #2aabee !important; color: #fff !important; }
.inzl-mnav-ic--tg svg { fill: #fff !important; stroke: none !important; width: 18px !important; height: 18px !important; margin-left: -2px; }

/* ── Поделиться (27.10.2026): иконки сервисов и панель снизу на телефоне ── */
.share-popup { min-width: 230px !important; padding: 8px !important; border-radius: 16px !important; }
.share-popup__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 8px 10px; }
.share-popup__title { font-size: 13px; font-weight: 700; color: #6b7489; }
.share-popup__close { position: static !important; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
.share-popup__close:hover { background: #f2f5fa; }
.share-popup__item { gap: 12px !important; padding: 8px 10px !important; font-size: 14px !important; border-radius: 10px !important; width: 100%; text-align: left; }
.share-popup__item[hidden] { display: none !important; }
.share-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eef2f8; color: #3d4558; font: 800 12px/1 Montserrat, Arial, sans-serif; letter-spacing: -.02em; }
.share-ico svg { width: 18px; height: 18px; }
.share-ico--tg { background: #2aabee; }
.share-ico--vk { background: #0077ff; color: #fff; font-size: 12.5px; }
.share-ico--wa { background: #25d366; }
.share-ico--tg svg, .share-ico--wa svg { width: 19px; height: 19px; }
.share-backdrop { position: fixed; inset: 0; z-index: 9998; background: rgba(15, 20, 35, .35); }
.share-backdrop[hidden] { display: none; }
@media (max-width: 640px) {
    .share-popup.is-sheet { left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; width: 100%; min-width: 0 !important;
        border-radius: 20px 20px 0 0 !important; padding: 10px 12px calc(14px + env(safe-area-inset-bottom)) !important; transform: translateY(100%) !important; }
    .share-popup.is-sheet.is-open { transform: translateY(0) !important; }
    .share-popup.is-sheet .share-popup__inner { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px !important; }
    .share-popup.is-sheet .share-popup__item { flex-direction: column; justify-content: center; gap: 6px !important; padding: 12px 6px !important; font-size: 12.5px !important; text-align: center; background: #f6f8fb; white-space: normal !important; }
    .share-popup.is-sheet .share-ico { width: 40px; height: 40px; }
    .share-popup.is-sheet .share-ico svg { width: 22px; height: 22px; }
}
html.dark .share-popup { background: #1c212d !important; border-color: #2b3242 !important; }
html.dark .share-popup__item { color: #e6e9f0 !important; }
html.dark .share-popup__item:hover, html.dark .share-popup.is-sheet .share-popup__item { background: #242a39 !important; }
html.dark .share-ico:not(.share-ico--tg):not(.share-ico--vk):not(.share-ico--wa) { background: #2b3242; color: #c3cad8; }
html.dark .share-popup__close:hover { background: #242a39; }

/* ── Пагинация (27.10.2026): аккуратные кнопки, на телефоне только стрелки ── */
.navigation.pagination { margin-top: 40px !important; }
.navigation.pagination .nav-links { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.navigation.pagination .nav-links .page-numbers {
    position: relative; display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
    min-width: 42px !important; height: 42px; margin: 0 !important; padding: 0 12px !important; border-radius: 12px !important;
    background: #fff !important; border: 1px solid #e3e8f2; box-shadow: none !important;
    color: #1d2433 !important; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none !important; white-space: nowrap;
}
.navigation.pagination .nav-links .page-numbers::before, .navigation.pagination .nav-links .page-numbers::after { display: none !important; }
.navigation.pagination .nav-links a.page-numbers:hover { border-color: #83bbff; color: #3d8fe8 !important; background: #f2f8ff !important; }
.navigation.pagination .nav-links .page-numbers.current { background: #83bbff !important; border-color: #83bbff; color: #fff !important; }
.navigation.pagination .nav-links .page-numbers.dots { min-width: 20px !important; padding: 0 2px !important; border: 0; background: none !important; color: #8b93aa !important; }
.navigation.pagination .pg-arrow { width: 16px; height: 16px; flex: none; }
@media (max-width: 600px) {
    .navigation.pagination .nav-links { flex-wrap: nowrap; gap: 4px; }
    .navigation.pagination .nav-links .page-numbers { min-width: 38px !important; height: 40px; padding: 0 8px !important; font-size: 13.5px; }
    .navigation.pagination .pg-txt { display: none; }
    .navigation.pagination .nav-links .prev, .navigation.pagination .nav-links .next { padding: 0 !important; width: 40px; }
}
html.dark .navigation.pagination .nav-links .page-numbers { background: #1c212d !important; border-color: #2b3242; color: #e6e9f0 !important; }
html.dark .navigation.pagination .nav-links .page-numbers.current { background: #83bbff !important; border-color: #83bbff; color: #0f1a2b !important; }
html.dark .navigation.pagination .nav-links a.page-numbers:hover { background: #242a39 !important; color: #83bbff !important; }
html.dark .navigation.pagination .nav-links .page-numbers.dots { background: none !important; color: #9aa3b5 !important; }


/* Отступ между описанием категории и футером */
body.archive.category #content.site-content {
    padding-bottom: 24px !important;
}

body.archive.category .page-header--bottom {
    margin-bottom: 0 !important;
}
