:root {
  /* Base palette and fonts */
  --pg-bg: #eceef2;
  --pg-surface: #ffffff;
  --pg-border: #dde1e8;
  --pg-text: #111827;
  --pg-text-soft: #4b5563;
  --pg-accent: #e30017;
  --pg-font-base: "Roboto Condensed", "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
  --pg-font-alt: "Open Sans", "Roboto Condensed", system-ui, sans-serif;
  --pg-font-condensed-cjk: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  /* Shared type tokens (desktop-first) */
  --pg-type-10-size: 10px;
  --pg-type-10-lh-body: 14px;
  --pg-type-12-size: 12px;
  --pg-type-12-lh-body: 16.8px;
  --pg-type-14-size: 14px;
  --pg-type-14-lh: 19.6px;
  --pg-type-16-size: 16px;
  --pg-type-16-lh-tight: 18.4px;
  --pg-type-16-lh-body: 22.4px;
  --pg-type-18-size: 18px;
  --pg-type-18-lh-body: 27px;
  /* Лента главной: описание в карточке (strapline), плотнее тела статьи */
  --pg-type-18-lh-feed: 22px;
  --pg-type-20-size: 20px;
  --pg-type-20-lh-card: 26px;
  --pg-type-22-size: 22px;
  --pg-type-22-lh-body: 28.6px;
  /* Mobile type tokens */
  --pg-m-title-size: 16px;
  --pg-m-title-lh: 20px;
  --pg-m-title-weight: 500;
  --pg-m-body-size: 14px;
  --pg-m-body-lh: 20px;
  --pg-m-body-weight: 400;
  --pg-m-meta-size: 13px;
  --pg-m-meta-lh: 18px;
  --pg-m-action-size: 14px;
  --pg-m-action-lh: 20px;
  --pg-m-action-weight: 400;
  --pg-m-input-size: 16px;
  --pg-m-input-lh: 20px;
  /* Десктоп ≥1025px: сдвиг графики (.pg-logo-graphic-inner), + вправо, − влево */
  --pg-logo-shift-x: -8px;
  /* Мобилка ≤1024px: сдвиг всего контейнера логотипа, + вправо, − влево */
  --pg-logo-mobile-shift-x: -14px;
  /* Синхрон с карточками героя: боковой inset viewport (см. .pg-hero padding) */
  --pg-hero-inset: 20px;
}

@media (max-width: 1650px) {
  :root {
    --pg-hero-inset: 65px;
  }
}

@media (max-width: 1200px) {
  :root {
    --pg-hero-inset: 45px;
  }
}

@media (max-width: 830px) {
  :root {
    --pg-hero-inset: 16px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* 100vw у full-bleed (.pg-hero, .pg-news-region) иначе даёт горизонтальный скролл из-за полосы прокрутки */
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--pg-bg);
  color: var(--pg-text);
  font-family: var(--pg-font-base);
  line-height: 1.45;
}

.pg-container h1,
.pg-container h2,
.pg-container h3,
.pg-container h4,
.pg-container h5 {
  font-family: var(--pg-font-base);
}

a {
  color: #0f3e8a;
}

/* Лента: ссылка категории наследует красный kicker, не глобальный цвет ссылки */
.pg-news--feed a.pg-feed-category-row__text {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 3;
}

/* Специфичность как у .summary .pg-feed-category-row__text { color }, иначе hover не перебивает kicker */
.pg-news--feed.pg-news--spotlight .summary a.pg-feed-category-row__text:hover,
.pg-news--feed.pg-news--spotlight .summary a.pg-feed-category-row__text:focus-visible {
  color: #fff;
  text-decoration: none;
  outline: none;
}

.pg-news--feed.pg-news--spotlight .summary a.pg-feed-category-row__text:hover::after,
.pg-news--feed.pg-news--spotlight .summary a.pg-feed-category-row__text:focus-visible::after {
  color: #fff;
}

/* Наведение на заголовок поста — категория белая (рядом заголовок краснеет) */
.pg-news--feed.pg-news--spotlight .summary .title:has(.link:hover) .pg-feed-category-row__text,
.pg-news--feed.pg-news--spotlight .summary .title:has(.link:focus-visible) .pg-feed-category-row__text {
  color: #fff;
}

.pg-news--feed.pg-news--spotlight .summary .title:has(.link:hover) .pg-feed-category-row__text::after,
.pg-news--feed.pg-news--spotlight .summary .title:has(.link:focus-visible) .pg-feed-category-row__text::after {
  color: #fff;
}

.pg-page {
  min-height: 100vh;
  min-width: 0;
}

/* Страницы /nav/*: чёрная подложка — без серой щели снизу при коротком контенте и скрытом на мобилке подвале */
.pg-page--nav-slot {
  background-color: #000;
}

/* Подвал у нижнего края при коротком контенте. min-height задаёт .pg-page (класс всегда вместе с модификатором). */
.pg-page--sticky-footer {
  display: flex;
  flex-direction: column;
}

/*
 * Hub и поиск: flex: 1 0 auto — колонка растягивается на свободную высоту при короткой странице и не сжимается
 * ниже контента при длинной (подвал не «плавает», лента не наезжает на футер).
 */
.pg-page--sticky-footer--hub > .pg-container,
.pg-page--sticky-footer--search > .pg-container {
  flex: 1 0 auto;
}

/* Категория, тег, /nav: grid, третья строка 1fr тянет чёрный фон ленты до подвала */
.pg-page--sticky-footer--hub > .pg-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 12px;
}

/* Главная: без растягивания контейнера; подвал прижимается margin-top: auto */
.pg-page--sticky-footer--home > .pg-container {
  flex: 0 1 auto;
}

.pg-page--sticky-footer--home > .pg-site-footer {
  margin-top: auto;
}

/* Поиск: вертикальный flex внутри контейнера; тёмная зона — см. .pg-search-page-region ниже */
.pg-page--sticky-footer--search > .pg-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pg-page--sticky-footer--search .pg-search-page-region {
  flex: 1 0 auto;
}

.pg-page--sticky-footer--search {
  background-color: #000;
}

.pg-container {
  width: min(100% - 24px, 1200px);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  /* Нижний padding убран: подвал вне .pg-container — иначе видна щель цвета body */
  padding: 0;
  display: grid;
  gap: 12px;
}

.pg-block {
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: 10px;
  padding: 14px 16px;
}

.pg-site-header {
  position: sticky;
  top: 0;
  width: 100vw;
  min-height: 50px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000;
  padding: 0;
  transition: transform 0.05s linear;
  z-index: 1000;
}

.pg-site-header.is-header-scroll-hidden {
  transform: translateY(-100%);
}

.pg-site-header-inner {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: 1520px;
  height: 50px;
  margin: 0 auto;
  padding: 0;
}

@media (min-width: 1025px) {
  .pg-site-header-inner {
    margin-left: calc((100vw - min(100vw, 1520px)) / 2);
    margin-right: calc((100vw - min(100vw, 1520px)) / 2);
  }
}

.pg-icon-block {
  display: flex;
  align-items: center;
  position: static;
  margin: 0;
  padding: 0;
  gap: 12px;
}

/* Десктоп: поиск, затем иконка аккаунта — без текстовой подписи */
@media (min-width: 1025px) {
  .pg-icon-block {
    gap: 16px;
  }
}

.pg-profile-wrap--header {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 50px;
  margin: 0;
  padding: 0;
}

.pg-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7f7f7;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.pg-profile-btn .pg-header-icon {
  display: block;
  width: 25px;
  height: 25px;
  fill: currentColor;
  transition: fill 0.3s linear;
}

.pg-profile-btn:hover .pg-header-icon,
.pg-profile-btn:focus-visible .pg-header-icon {
  fill: #e30017;
}

.pg-profile-btn:focus {
  outline: 0 solid transparent;
}

.pg-profile-btn:focus:focus-visible {
  outline: 3px solid #00d5ff;
  outline-offset: 1px;
}

.pg-profile-btn:focus:not(:focus-visible) {
  outline: 0 solid transparent;
}

/* Вход: иконка-силуэт; авторизован: круглое фото или буква (без ника в кнопке) */
.pg-profile-btn--user {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: visible;
}

.pg-profile-btn__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #525252;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.pg-profile-btn__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pg-profile-btn__avatar-fallback {
  font-family: var(--pg-font-alt);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  color: #f5f5f5;
}

.pg-profile-btn--user:hover .pg-profile-btn__avatar,
.pg-profile-btn--user:focus-visible .pg-profile-btn__avatar {
  box-shadow:
    0 0 0 2px #0f0f0f,
    0 0 0 4px rgba(227, 0, 23, 0.45);
}

/* Непрочитанные уведомления: то же красное кольцо, что при наведении */
.pg-profile-wrap--header.has-unread-notify .pg-profile-btn--user .pg-profile-btn__avatar {
  box-shadow:
    0 0 0 2px #0f0f0f,
    0 0 0 4px rgba(227, 0, 23, 0.45);
}

/* Выпадающее меню профиля: общая геометрия и оформление (все ширины; мобилка — аватар справа как на ПК) */
.pg-profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: min(290px, calc(100vw - 32px));
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
  pointer-events: none;
  box-sizing: border-box;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
}

.pg-profile-dropdown-info {
  background: #181818;
  padding: 25px 0 20px;
}

.pg-profile-dropdown-info p {
  margin: 0;
}

.pg-profile-dropdown-email {
  font-size: 14px;
  margin-top: 0;
  text-align: center;
  color: #fff;
}

.pg-profile-dropdown-notify {
  color: #e30017;
  font-family: var(--pg-font-condensed-cjk);
  font-size: var(--pg-type-16-size);
  line-height: var(--pg-type-16-lh-tight);
  font-weight: 700;
  letter-spacing: normal;
  margin-top: 8px;
  text-align: center;
}

.pg-profile-dropdown-notify a {
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

.pg-profile-dropdown-notify a:hover {
  color: #e30017;
  text-decoration: none;
}

.pg-profile-dropdown-list {
  background: #f5f5f5;
  list-style: none;
  margin: 0;
  padding: 24px 30px;
}

.pg-profile-dropdown-link {
  display: inline-block;
  position: relative;
  color: #202020;
  font-family: "Roboto Condensed", "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 19.2px;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none;
  transition: all 0.1s ease-in-out;
  background-image: linear-gradient(#e30017, #e30017);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
}

.pg-profile-dropdown-link:hover,
.pg-profile-dropdown-link:focus-visible {
  color: #e30017;
  outline: 0;
  text-decoration: none;
  background-size: 100% 1px;
}

.pg-profile-wrap--header.is-profile-open .pg-profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.pg-profile-wrap--header.is-profile-open .pg-profile-btn:not(.pg-profile-btn--user) .pg-header-icon {
  fill: #e30017;
}

.pg-profile-wrap--header.is-profile-open .pg-profile-btn--user .pg-profile-btn__avatar {
  box-shadow:
    0 0 0 2px #0f0f0f,
    0 0 0 4px rgba(227, 0, 23, 0.55);
}

/* Десктоп: смещение панели под широкую шапку + стрелка */
@media (min-width: 1025px) {
  .pg-profile-wrap--header {
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    font-size: 20px;
  }

  .pg-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
  }

  .pg-profile-btn .pg-header-icon {
    width: 24px;
    height: 24px;
  }

  .pg-profile-dropdown {
    right: -131px;
    min-width: 290px;
    z-index: 12;
  }

  .pg-profile-wrap--header.is-profile-open::after {
    content: "";
    position: absolute;
    top: 42px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #181818;
    z-index: 13;
    pointer-events: none;
  }

  .pg-profile-wrap--header.is-profile-open:not(.has-user)::after {
    border-bottom-color: #f5f5f5;
  }

  @media (max-width: 1900px) {
    .pg-profile-dropdown {
      right: -17px;
    }

    [dir="rtl"] .pg-profile-dropdown {
      left: -17px;
    }
  }
}

/* Оболочка логотипа: сдвиг и flex-ячейка */
.pg-logo-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.pg-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  line-height: 0;
}

/* Горизонтальный знак + надпись (site-logo.svg): обёртки по ширине графики, не на всю полосу */
.pg-logo-graphic {
  display: block;
  line-height: 0;
  width: fit-content;
  max-width: min(262px, 44vw);
  max-height: 48px;
}

.pg-logo-graphic-inner {
  display: block;
  line-height: 0;
  width: fit-content;
  max-width: inherit;
}

.pg-logo-graphic-inner > svg {
  display: block;
  width: auto;
  max-width: min(262px, 44vw);
  height: auto;
  max-height: 48px;
  color: inherit;
  shape-rendering: geometricPrecision;
  aspect-ratio: 207 / 44;
}

/* Запасной вариант (текст в SVG), когда нет site-logo.svg */
.pg-logo-graphic-inner > .pg-logo-svg {
  width: auto;
  max-width: min(262px, 44vw);
  height: auto;
  max-height: 48px;
  shape-rendering: geometricPrecision;
}

/* Nav: бургер и выезжающая панель; на десктопе — горизонтальное меню по центру */
.pg-main-nav {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0;
  padding: 0;
  font-family: "Roboto Condensed", "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
}

.pg-header-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 35px;
  height: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

/* Desktop: mobile-root ведёт себя как обычный ряд пунктов меню */
.pg-nav-mobile-root {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: inherit;
  height: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pg-nav-mobile-menu-list > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1025px) {
  .pg-header-menu {
    gap: 0;
    height: 100%;
    font-size: 0;
    position: relative;
  }

  .pg-nav-mobile-root {
    display: block;
    height: 100%;
    font-size: 0;
    position: relative;
  }

  .pg-nav-mobile-menu-list > li {
    display: inline-block;
    position: relative;
    height: 100%;
    margin: 0 16px;
    font-size: 14px;
    line-height: 50px;
    vertical-align: top;
  }

  .pg-nav-mobile-menu-list > li.pg-nav-item--small {
    margin: 0 8px;
  }

  .pg-nav-item-wrap {
    display: inline-block;
    height: 100%;
  }

  .pg-nav-link {
    display: inline-block;
    height: auto;
    line-height: 50px;
    font-size: 14px;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  }

  .pg-nav-mobile-menu-trigger {
    display: none !important;
  }
}

.pg-nav-link {
  display: inline-flex;
  align-items: center;
  height: 50px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  transition: color .14s ease;
}

@media (max-width: 1150px) {
  .pg-nav-link {
    font-size: 14px;
  }
}

.pg-nav-link:hover {
  color: #e30017;
}

/* Обёртка для нав-пункта с dropdown */
.pg-nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Выпадающее меню под кнопкой (desktop) */
.pg-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 200px;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 5px);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out, visibility 0.2s;
  z-index: 12;
  pointer-events: none;
  box-sizing: border-box;
}

.pg-nav-item-wrap.is-nav-dropdown-open .pg-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.pg-nav-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 48px 52px 49px;
  min-width: 160px;
  box-sizing: border-box;
}

.pg-nav-dropdown-list li {
  margin: 0 0 16px 0;
  padding: 0;
  line-height: 20px;
  min-width: 160px;
  position: relative;
}

.pg-nav-dropdown-list li:last-child {
  margin-bottom: 0;
}

/* Панель «Новости»: 676×…, padding 48 52 72, справа 72 под замер; три колонки по 160px + зазоры 36px. */
.pg-nav-item-wrap[data-slot="news"] .pg-nav-dropdown {
  position: absolute;
  margin: 0;
  top: 50px;
  left: -52px;
  right: auto;
  width: 676px;
  max-width: min(676px, calc(100vw - 16px));
  padding: 48px 52px 72px;
  padding-right: 72px;
  box-sizing: border-box;
  background-color: #f5f5f5;
  -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  z-index: 5;
  transform: none;
}

.pg-nav-item-wrap[data-slot="news"] .pg-nav-dropdown-columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  direction: ltr;
  border-top: 0;
}

.pg-nav-item-wrap[data-slot="news"] .pg-nav-dropdown-list--news-col {
  display: block;
  align-self: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  color: #000;
  font-size: 16px;
  width: 160px;
}

.pg-nav-item-wrap[data-slot="news"] .pg-nav-dropdown-list--news-col:not(:last-child) {
  margin-right: 36px;
  padding-right: 20px;
}

.pg-nav-item-wrap[data-slot="news"] .pg-nav-dropdown-list--news-col li {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  min-width: 0;
  width: auto;
}

.pg-nav-item-wrap[data-slot="news"] .pg-nav-dropdown-list--news-col li:last-child {
  margin-bottom: 0;
}

/* Одна колонка: панель как у «Новости» (отступы, тень, позиция). «Статьи» — только рамка/список; ссылки без отдельного блока (подчёркивание — базовый .pg-nav-dropdown-link). */
.pg-nav-item-wrap[data-slot="platforms"] .pg-nav-dropdown,
.pg-nav-item-wrap[data-slot="technologies"] .pg-nav-dropdown,
.pg-nav-item-wrap[data-slot="articles"] .pg-nav-dropdown {
  position: absolute;
  margin: 0;
  top: 50px;
  left: -52px;
  right: auto;
  width: 284px;
  max-width: min(284px, calc(100vw - 16px));
  min-width: 0;
  padding: 48px 52px 72px;
  padding-right: 72px;
  box-sizing: border-box;
  background-color: #f5f5f5;
  -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  z-index: 5;
  transform: none;
}

.pg-nav-item-wrap[data-slot="platforms"] .pg-nav-dropdown > .pg-nav-dropdown-list,
.pg-nav-item-wrap[data-slot="technologies"] .pg-nav-dropdown > .pg-nav-dropdown-list,
.pg-nav-item-wrap[data-slot="articles"] .pg-nav-dropdown > .pg-nav-dropdown-list {
  margin: 0;
  padding: 0;
  min-width: 0;
  width: 100%;
  max-width: 160px;
  box-sizing: border-box;
}

.pg-nav-item-wrap[data-slot="platforms"] .pg-nav-dropdown-list li,
.pg-nav-item-wrap[data-slot="technologies"] .pg-nav-dropdown-list li,
.pg-nav-item-wrap[data-slot="articles"] .pg-nav-dropdown-list li {
  margin: 0 0 16px;
  min-width: 0;
  width: 100%;
  max-width: 160px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
}

.pg-nav-item-wrap[data-slot="platforms"] .pg-nav-dropdown-list li:last-child,
.pg-nav-item-wrap[data-slot="technologies"] .pg-nav-dropdown-list li:last-child,
.pg-nav-item-wrap[data-slot="articles"] .pg-nav-dropdown-list li:last-child {
  margin-bottom: 0;
}

/*
 * Как «Популярное»: .post-article-sidebar-popular-name (-webkit-box) + .post-article-sidebar-popular-name-text (inline + градиент).
 * Без box-decoration-break: clone — иначе все строки подчёркиваются синхронно; здесь линия тянется по строкам как в сайдбаре.
 * Цвет линии и hover — красный дропа.
 */
.pg-nav-dropdown-link {
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  letter-spacing: normal;
  color: #000;
  text-decoration: none;
}

.pg-nav-dropdown-link-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 12;
  line-clamp: 12;
  margin: 0;
  padding: 0;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  font: inherit;
  line-height: inherit;
  color: inherit;
  min-width: 0;
}

.pg-nav-dropdown-link-name-text {
  display: inline;
  position: relative;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  background-image: linear-gradient(#e30017, #e30017);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: all 0.2s ease-in-out;
}

.pg-nav-dropdown-link:hover .pg-nav-dropdown-link-name-text,
.pg-nav-dropdown-link:focus-visible .pg-nav-dropdown-link-name-text {
  color: #e30017;
  background-size: 100% 1px;
}

.pg-nav-mobile-menu-trigger,
.pg-nav-mobile-submenu-panel {
  display: none;
}

@media (max-width: 1024px) {
  .pg-nav-dropdown {
    display: none;
  }
}

.pg-tags-toggle,
.pg-nav-burger {
  display: none;
  width: 24px;
  height: 24px;
  margin: 0 12px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.14s ease;
}

.pg-nav-burger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.pg-tags-toggle:hover .pg-header-icon,
.pg-nav-burger:hover .pg-header-icon {
  fill: #e30017;
}

.pg-nav-mobile-toolbar {
  display: none;
}

.pg-nav-user-mobile {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.has-nav-open {
  overflow: hidden;
}

body.has-search-open {
  overflow: hidden;
}

.pg-search-btn {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 18.4px;
  font-weight: 400;
  letter-spacing: normal;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: .3s;
}

.pg-search-btn:hover .pg-header-icon {
  fill: #e30017;
}

/* В скролл-режиме sticky-шапки скрываем поиск; в верхней шапке показываем. */
.pg-site-header.is-header-scrolled .pg-header-search {
  display: none;
}

.pg-header-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
}

.search-overlay {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  height: 236px;
  z-index: 103;
  background-color: #202020;
  box-shadow: 0 5px 5px 1px rgba(0, 0, 0, 0.1);
  color: #f5f5f5;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pg-header-search.is-open .search-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay-inner {
  position: static;
  height: 236px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 36px 0 27px;
  box-sizing: border-box;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 18.4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pg-header-search.is-open .search-overlay-inner {
  opacity: 1;
  transform: translateY(0);
}

.search-overlay-row {
  max-width: 760px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #757575;
  padding: 11px;
  box-sizing: border-box;
  position: relative;
}

.search-overlay-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a6a6a6;
}

.search-overlay-icon svg {
  width: 24px;
  height: 24px;
  filter: brightness(1.1);
}

.search-overlay-input {
  flex: 1;
  padding: 0;
  border-radius: 0;
  border: none;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 18px;
  line-height: 20.7px;
  font-weight: 400;
  letter-spacing: normal;
  box-sizing: border-box;
  background-color: transparent;
  color: #f5f5f5;
}

.search-overlay-input:focus {
  outline: none;
}

.search-overlay-input::placeholder {
  color: #9e9e9e;
}

.search-overlay-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #a6a6a6;
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  right: -51px;
  transform: translateY(-50%);
  margin-left: 0;
  filter: brightness(1.1);
}

.search-overlay-close:hover {
  color: #e30017;
}

.search-overlay-suggestions {
  max-width: 760px;
  margin: 8px auto 0;
  padding: 0 11px;
  box-sizing: border-box;
}

.search-overlay-suggestion-item {
  display: block;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #878787;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 9px 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.search-overlay-suggestion-item:hover {
  background-color: #292929;
  color: #e30017;
}

.search-overlay-mask {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  height: calc(100vh - 50px);
  border: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 102;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pg-header-search.is-open .search-overlay-mask {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .search-overlay-inner {
    padding: 36px 20px 27px;
  }
}

@media (max-width: 540px) {
  .search-overlay {
    top: 0;
    height: auto;
  }

  .search-overlay-inner {
    height: auto;
    padding: 16px 20px 0;
  }

  .search-overlay-row {
    border: none;
    border-bottom: 1px solid #2d2d2d;
    padding: 0 0 16px;
  }

  .search-overlay-input {
    font-size: var(--pg-m-input-size);
    line-height: var(--pg-m-input-lh);
    font-weight: var(--pg-m-body-weight);
    letter-spacing: normal;
  }

  .search-overlay-suggestion-item,
  .search-overlay-suggest-item a {
    font-size: var(--pg-m-meta-size);
    line-height: var(--pg-m-meta-lh);
    letter-spacing: normal;
  }

  .search-overlay-close {
    position: static;
    transform: none;
    margin-left: 12px;
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 24px;
  }

  .search-overlay-suggestions {
    padding: 0;
  }

  .search-overlay-suggestion-item {
    padding: 9px 0;
  }

  .search-overlay-mask {
    top: 0;
    height: 100vh;
  }
}

/* Поиск: живые подсказки (API) в оверлее */
.search-overlay-live {
  max-width: 760px;
  margin: 12px auto 0;
  padding: 0 11px;
  box-sizing: border-box;
}

.search-overlay-live[hidden] {
  display: none !important;
}

.search-overlay-suggest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-overlay-suggest-item {
  margin: 0;
  padding: 0;
}

.search-overlay-suggest-item a {
  display: block;
  font-family: var(--pg-font-base);
  font-size: 14px;
  line-height: 1.35;
  color: #e5e5e5;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 16px;
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 1025px) {
  .search-overlay-suggestion-item,
  .search-overlay-suggest-item a {
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: 14px;
    line-height: 16.1px;
    font-weight: 400;
    letter-spacing: normal;
    color: #878787;
    border-radius: 0;
  }
}

.search-overlay-suggest-item a:hover,
.search-overlay-suggest-item a:focus-visible,
.search-overlay-suggest-item a.is-active {
  background-color: #292929;
  color: #e30017;
  outline: none;
}

/* Страница результатов поиска */
.pg-search-page {
  margin: 0 0 40px;
}

.pg-search-page__header {
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--pg-border);
}

.pg-search-page__title {
  margin: 0 0 8px;
  font-family: var(--pg-font-base);
  font-size: 24px;
  font-weight: 600;
  color: var(--pg-text);
  letter-spacing: -0.02em;
}

.pg-search-page__query {
  margin: 0;
  font-size: 15px;
  color: var(--pg-text-soft);
}

.pg-search-page__query-text {
  color: var(--pg-text);
  font-weight: 500;
}

.pg-search-page__hint,
.pg-search-page__empty-note,
.pg-search-page__meta {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pg-text-soft);
}

.pg-search-page__empty {
  margin-top: 12px;
}

.pg-search-page__feed {
  margin-top: 8px;
}

.pg-search-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 28px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--pg-border);
  font-family: var(--pg-font-base);
  font-size: 14px;
}

.pg-search-pagination__link {
  color: #0f3e8a;
  font-weight: 600;
  text-decoration: none;
}

.pg-search-pagination__link:hover,
.pg-search-pagination__link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.pg-search-pagination__info {
  color: var(--pg-text-soft);
}

/* Поиск: тёмная полоса как у главной ленты, светлый текст шапки блока */
/* Верхний отступ как у хабов (.pg-tag-hub): 28px до десктопа, 48px с 1025px */
.pg-search-page-region .pg-search-page {
  margin: 0;
  padding-top: 28px;
  padding-bottom: 36px;
}

@media (min-width: 1025px) {
  .pg-search-page-region .pg-search-page {
    padding-top: 48px;
  }
}

.pg-search-page-region .pg-search-page__header {
  border-bottom-color: #2a2a2a;
}

.pg-search-page-region .pg-search-page__title {
  color: #fff;
}

.pg-search-page-region .pg-search-page__query {
  color: #9ca3af;
}

.pg-search-page-region .pg-search-page__query-text {
  color: #f3f4f6;
  font-weight: 600;
}

.pg-search-page-region .pg-search-page__hint,
.pg-search-page-region .pg-search-page__empty-note,
.pg-search-page-region .pg-search-page__meta {
  color: #9ca3af;
}

.pg-search-page-region .pg-search-page__empty,
.pg-search-page-region .pg-empty {
  color: #a3a3a3;
}

.pg-search-page-region .pg-search-pagination {
  border-top-color: #2a2a2a;
}

.pg-search-page-region .pg-search-pagination__link {
  color: #e30017;
}

.pg-search-page-region .pg-search-pagination__link:hover,
.pg-search-page-region .pg-search-pagination__link:focus-visible {
  color: #ff6b7a;
  text-decoration: underline;
}

.pg-search-page-region .pg-search-pagination__info {
  color: #9ca3af;
}

/* Страница автора */
.pg-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--pg-border);
}

.pg-author__avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #525252;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.pg-author__avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pg-font-alt);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #f5f5f5;
}

.pg-author__info {
  min-width: 0;
}

.pg-author__name {
  margin: 0 0 8px;
  font-family: var(--pg-font-base);
  font-size: 24px;
  font-weight: 600;
  color: var(--pg-text);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.pg-author__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pg-text-soft);
}

.pg-search-page-region .pg-author {
  border-bottom-color: #2a2a2a;
}

.pg-search-page-region .pg-author__name {
  color: #fff;
}

.pg-search-page-region .pg-author__meta {
  color: #9ca3af;
}

@media (max-width: 767px) {
  .pg-author {
    gap: 16px;
  }

  .pg-author__avatar {
    width: 72px;
    height: 72px;
  }

  .pg-author__name {
    font-size: 20px;
  }
}

@media (max-width: 540px) {
  .search-overlay-live {
    padding: 0;
  }
}

.pg-header-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
  outline: none;
  transition: .3s;
}

.pg-top-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: -12px;
}

/* Вторая колонка — доля ширины (как три колонки героя в том же max-width 1520px), не фикс 380px */
.pg-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, min(32%, 480px));
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
  overflow: visible;
}

.pg-news-layout--no-sidebar {
  grid-template-columns: 1fr;
}

/* Левая колонка главной: блок ленты с карточками (дата — в .pg-news-head-row) */
.pg-news-primary {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  overflow: visible;
}

/* Шапка ленты: левую колонку (дата) и правую («Актуальное») менять только согласованно. .pg-news-layout: row-gap 0 + column-gap 16px. */
.pg-news-head-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  box-sizing: border-box;
  border-bottom: none;
  padding-top: 0;
  padding-bottom: 0;
}

.pg-news-head-row--dual {
  grid-template-columns: minmax(0, 1fr) minmax(280px, min(32%, 480px));
  align-items: start;
}

.pg-news-head-row__primary {
  min-width: 0;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 8px;
}

/* 16px по горизонтали как у блока «Популярное» в .post-article-sidebar */
.pg-news-head-row__sidebar {
  min-width: 0;
  padding: 0 16px;
  box-sizing: border-box;
  border-bottom: none;
}

/* Линия на всю ширину внутренней колонки (отступы уже на .pg-news-head-row__sidebar). border-top — ровно 1px. */
.pg-news-head-row__sidebar::after {
  content: "";
  display: block;
  height: 0;
  margin: 8px 0 0;
  border-top: 1px solid #2a2a2a;
  background: none;
}

.pg-news-head-row__actual-title::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 5px;
  height: 16px;
  background-color: #e30017;
  transform: translateY(-50%) skewX(-22deg);
}

/* Линию под заголовком рисуем на ячейке, не дублировать как у «Популярное» ::after */
.pg-news-head-row__actual-title::after {
  content: none !important;
  display: none !important;
}

.pg-news-head-row .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading {
  margin: 0;
}

/* Линия только у строки — не дублировать ::after у h2 */
.pg-news-head-row .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading::after {
  content: none !important;
  display: none !important;
}

/* Лента + сайдбар: full-bleed; горизонтальный inset как у .pg-hero (без второго поля внутри max-width) */
.pg-news-region {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* Убираем щель с фоном body: у .pg-container gap:12px между .pg-top-layout и лентой */
  margin-top: -12px;
  padding: 0 var(--pg-hero-inset) 36px;
  background: #000;
  box-sizing: border-box;
}

.pg-news-region-inner {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* Страница тега/категории: список статей, не главная лента */
.pg-tag-hub {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -12px;
  padding: 28px 0 20px;
  background: #000;
  box-sizing: border-box;
  --pg-post-muted: #9ca3af;
  font-family: var(--pg-font-base);
}

@media (min-width: 1025px) {
  .pg-tag-hub {
    padding-top: 48px;
  }
}

.pg-tag-hub-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Шапка раздела: h2 «Статьи», h1 с темой */
.pg-tag-hub-header {
  margin: 0;
  padding: 0;
}

.pg-tag-hub-section {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--pg-post-muted);
  font-family: var(--pg-font-base);
  text-transform: uppercase;
}

@media (min-width: 1025px) {
  .pg-tag-hub-section {
    font-family: tradegothicltprobold, "Microsoft JhengHei", sans-serif;
    font-size: 46px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: normal;
    color: #fff;
  }
}

.pg-tag-hub-topic {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.18;
  color: #fff;
  font-family: var(--pg-font-base);
  text-transform: uppercase;
  font-synthesis: none;
}

.pg-tag-hub-subscribe {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
}

.pg-tag-hub-subscribe-error {
  margin: 0;
  color: #e30017;
  font-size: 14px;
}

.pg-tag-hub-subscribe-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.pg-tag-hub-subscribe-text {
  margin: 0;
  font-size: 15px;
  color: #ccc;
  font-family: "Roboto Condensed", sans-serif;
}

.pg-tag-hub-subscribe-form {
  margin: 0;
}

.pg-tag-hub-subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border: 1px solid #e30017;
  border-radius: 0;
  background: transparent;
  color: #e30017;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: normal;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.pg-tag-hub-subscribe-btn:hover {
  background: #e30017;
  color: #fff;
}

/* Карточки в списке тега/категории: одна ссылка — фото, метка, заголовок, лид */
.pg-tag-hub-empty {
  margin: 0;
  padding: 32px 0 48px;
  font-size: 16px;
  color: #999;
  font-family: "Roboto Condensed", sans-serif;
}

/* Три карточки в ряд на десктопе, ниже — адаптив */
.pg-tag-hub-list {
  list-style: none;
  margin: 0;
  padding: 24px 0 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  align-items: stretch;
}

.pg-tag-hub-item {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.pg-legal-page {
  padding-bottom: 40px;
}

.pg-legal-page__inner {
  max-width: 1120px;
}

.pg-legal-page__header {
  margin-bottom: 28px;
}

.pg-legal-page__header--center {
  text-align: center;
}

.pg-legal-page__header--center .pg-legal-page__lead {
  margin-left: auto;
  margin-right: auto;
}

.pg-legal-page__lead {
  max-width: 860px;
  margin: 0;
  color: #b8b8b8;
  font-size: 18px;
  line-height: 1.7;
  font-family: "Roboto Condensed", sans-serif;
}

.pg-legal-card {
  margin: 0 0 24px;
  padding: 24px 28px;
  border: 1px solid #252525;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pg-legal-card--note {
  border-left: 3px solid #e30017;
}

.pg-legal-card__title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  font-family: var(--pg-font-base);
  text-transform: uppercase;
}

.pg-legal-card__text {
  margin: 0 0 14px;
  color: #b8b8b8;
  font-size: 17px;
  line-height: 1.75;
  font-family: "Roboto Condensed", sans-serif;
}

.pg-legal-card__text:last-child {
  margin-bottom: 0;
}

.pg-legal-rules {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pg-legal-rule;
}

.pg-legal-rules__item {
  position: relative;
  margin: 0;
  padding: 0 0 18px 52px;
  color: #d0d0d0;
  font-size: 17px;
  line-height: 1.75;
  font-family: "Roboto Condensed", sans-serif;
  border-bottom: 1px solid #202020;
}

.pg-legal-rules__item::before {
  counter-increment: pg-legal-rule;
  content: counter(pg-legal-rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  color: #e30017;
  font-size: 14px;
  line-height: 1.4;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.08em;
}

.pg-legal-rules__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pg-legal-rules--plain {
  counter-reset: none;
}

.pg-legal-rules--plain .pg-legal-rules__item::before {
  content: "";
  width: 10px;
  height: 10px;
  top: 10px;
  border-radius: 50%;
  background: #e30017;
}

.pg-legal-rules--no-counter {
  counter-reset: none;
}

.pg-legal-rules--no-counter .pg-legal-rules__item::before {
  content: none;
}

.pg-legal-rules__item--plain {
  padding-left: 0;
}

.pg-about-topics {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pg-about-topics--compact .pg-about-topics__item {
  padding-bottom: 12px;
  font-size: 16px;
}

.pg-about-topics--compact .pg-about-topics__item + .pg-about-topics__item {
  margin-top: 12px;
}

.pg-about-topics__item {
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px solid #202020;
  color: #d0d0d0;
  font-size: 17px;
  line-height: 1.75;
  font-family: "Roboto Condensed", sans-serif;
}

.pg-about-topics__item + .pg-about-topics__item {
  margin-top: 16px;
}

.pg-about-topics__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pg-about-topics__name {
  color: #e30017;
  font-weight: 700;
}

.pg-about-topics__dash {
  color: #999;
  margin: 0 4px;
}

/* Плотный список в юридических карточках (п. 2.4 и аналоги): без линий между пунктами */
.pg-legal-liability-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.pg-legal-liability-list > li {
  position: relative;
  margin: 0;
  padding: 0 0 0.5em 1.15em;
  border: none;
  color: #d0d0d0;
  font-size: 17px;
  line-height: 1.65;
  font-family: "Roboto Condensed", sans-serif;
}

.pg-legal-liability-list > li:last-child {
  padding-bottom: 0;
}

.pg-legal-liability-list > li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: #777;
  font-weight: 400;
}

.pg-about-link {
  color: #e30017;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pg-about-link:hover,
.pg-about-link:focus-visible {
  color: #ff4153;
  border-color: currentColor;
}

/* Карточка статьи на странице тега/категории: тёмная плашка, скругления, подчёркивание заголовка */
.pg-hub-article {
  box-sizing: border-box;
  position: relative;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 488px;
  width: 100%;
  color: #fff;
  vertical-align: middle;
  background-color: #000;
  padding: 24px;
  transition: all 0.3s ease;
}

.pg-hub-article:hover {
  outline: 1px solid #4d4d4d;
}

/* Четыре угла карточки хаба (LTR) */
.pg-hub-article__corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transition: all 0.4s ease-in-out;
}

.pg-hub-article__corner--1 {
  top: -1px;
  right: -1px;
  height: 50%;
  width: 50%;
  border-top: 1px solid rgba(0, 0, 0, 0);
  border-right: 1px solid rgba(0, 0, 0, 0);
}

.pg-hub-article__corner--2 {
  bottom: -1px;
  right: -1px;
  height: 50%;
  width: 50%;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  border-right: 1px solid rgba(0, 0, 0, 0);
}

.pg-hub-article__corner--3 {
  bottom: -1px;
  left: -1px;
  height: 50%;
  width: 50%;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  border-left: 1px solid rgba(0, 0, 0, 0);
}

.pg-hub-article__corner--4 {
  top: -1px;
  left: -1px;
  height: 50%;
  width: 50%;
  border-top: 1px solid rgba(0, 0, 0, 0);
  border-left: 1px solid rgba(0, 0, 0, 0);
}

.pg-hub-article:hover .pg-hub-article__corner--1,
.pg-hub-article:hover .pg-hub-article__corner--2,
.pg-hub-article:hover .pg-hub-article__corner--3,
.pg-hub-article:hover .pg-hub-article__corner--4 {
  height: 10px;
  width: 10px;
}

.pg-hub-article:hover .pg-hub-article__corner--1 {
  border-top-color: #fff;
  border-right-color: #fff;
}

.pg-hub-article:hover .pg-hub-article__corner--2 {
  border-bottom-color: #fff;
  border-right-color: #fff;
}

.pg-hub-article:hover .pg-hub-article__corner--3 {
  border-bottom-color: #fff;
  border-left-color: #fff;
}

.pg-hub-article:hover .pg-hub-article__corner--4 {
  border-top-color: #fff;
  border-left-color: #fff;
}

.pg-hub-article__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  outline: none;
  border-radius: 0;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.pg-hub-article__link:focus-visible {
  outline: 3px solid #00d5ff;
}

/* Тап-подсветка только на мобильном таче для всей карточки-ссылки */
@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .pg-hub-article__link {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.22);
  }
}

.pg-hub-article__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 440 / 280;
  max-height: 280px;
  overflow: hidden;
  background: #141414;
  line-height: 0;
  margin-bottom: 24px;
}

.pg-hub-article__photo img {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
  transform: translateY(-50%);
}

.pg-hub-article__photo--empty {
  display: block;
  width: 100%;
  aspect-ratio: 440 / 280;
  max-height: 280px;
  min-height: 0;
  background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
}

.pg-hub-article__category {
  display: block;
  margin: 0 0 8px;
  color: #e30017;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  height: 14px;
  text-transform: uppercase;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-style: normal;
  letter-spacing: normal;
  transition: color 0.2s ease;
}

.pg-hub-article__slash {
  margin-right: 0;
  transition: color 0.2s ease;
}

.pg-hub-article__tag {
  font-weight: 600;
}

/* Категория/тег: белый при наведении (только устройства с hover — иначе на таче залипает :hover и «ломает» вид) и при :active на тап */
@media (hover: hover) and (pointer: fine) {
  .pg-hub-article:hover .pg-hub-article__category {
    color: #fff;
  }

  .pg-hub-article:hover .pg-hub-article__slash {
    color: #fff;
  }
}

.pg-hub-article__link:active .pg-hub-article__category {
  color: #fff;
}

.pg-hub-article__link:active .pg-hub-article__slash {
  color: #fff;
}

.pg-hub-article__tag-text {
  display: inline-block;
  font: inherit;
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  vertical-align: middle;
  border-radius: 0;
}

@media (min-width: 1025px) {
  .pg-hub-article__category {
    display: block;
    color: #e30017;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: 14px;
    line-height: 14px;
    height: 14px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: normal;
    text-transform: uppercase;
    border-radius: 0;
  }

  .pg-hub-article__tag {
    font-weight: 600;
    border-radius: 0;
  }

  .pg-hub-article__slash {
    display: inline-block;
    color: #e30017;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: 14px;
    line-height: 14px;
    height: 14px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: normal;
    text-transform: uppercase;
    vertical-align: middle;
    border-radius: 0;
  }

  .pg-hub-article__title h2,
  .pg-hub-article__title .pg-hub-article__title-text {
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: var(--pg-type-20-size);
    line-height: var(--pg-type-20-lh-card);
    font-weight: 400;
    letter-spacing: normal;
    color: #fff;
    border-radius: 0;
  }
}

.pg-hub-article__title {
  margin: 0 0 12px;
}

.pg-hub-article__title h2 {
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: var(--pg-type-20-size);
  font-weight: 400;
  line-height: var(--pg-type-20-lh-card);
  color: #fff;
  font-family: "Roboto Condensed", "Microsoft JhengHei", serif;
  vertical-align: middle;
}

/* Как .post-article-sidebar-popular-name-text: подчёркивание по ширине текста, слева направо */
.pg-hub-article__title-text {
  display: inline;
  position: relative;
  color: #fff;
  transition: all 0.2s ease-in-out;
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
}

.pg-hub-article:hover .pg-hub-article__title-text {
  background-size: 100% 1px;
}

.pg-hub-article__description {
  margin: 0;
}

.pg-hub-article__description p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  max-height: 72px;
  color: #b3b3b3;
  font-family: "Roboto Condensed", "Segoe UI", system-ui, sans-serif;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .pg-hub-article,
  .pg-hub-article__corner,
  .pg-hub-article__title-text,
  .pg-hub-article__category,
  .pg-hub-article__slash {
    transition: none;
  }

  .pg-hub-article:hover .pg-hub-article__corner--1,
  .pg-hub-article:hover .pg-hub-article__corner--2,
  .pg-hub-article:hover .pg-hub-article__corner--3,
  .pg-hub-article:hover .pg-hub-article__corner--4 {
    height: 10px;
    width: 10px;
  }

  .pg-hub-article:hover .pg-hub-article__title-text {
    background-size: 100% 1px;
  }
}

@media (max-width: 1024px) {
  .pg-hub-article__photo,
  .pg-hub-article__photo--empty {
    aspect-ratio: 306 / 142;
    max-height: none;
  }
}

@media (max-width: 540px) {
  .pg-hub-article__photo,
  .pg-hub-article__photo--empty {
    aspect-ratio: 280 / 142;
  }
}

@media (max-width: 1100px) {
  .pg-tag-hub-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
}

@media (max-width: 768px) {
  .pg-tag-hub-inner {
    padding: 0 16px;
  }

  .pg-tag-hub-subscribe-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .pg-tag-hub-subscribe-form {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .pg-tag-hub-subscribe-btn {
    min-height: 34px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .pg-tag-hub-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.pg-news-sidebar {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.pg-news-sidebar .pg-block.pg-tags-panel {
  background: #000;
  border: none;
  border-radius: 0;
  color: #e5e5e5;
  margin-left: 0;
}

/* Заголовок «Актуальное» перенесён в .pg-news-head-row; в панели тегов только список. */

.pg-news-sidebar .post-article-sidebar-item--end > .post-article-sidebar-title {
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 20px;
  line-height: 10px;
  font-weight: 400;
  letter-spacing: normal;
  color: #fff;
  border-radius: 0;
}

.pg-news-sidebar .post-article-page[dir="ltr"] .post-article-sidebar-item .post-article-sidebar-title::before {
  width: 5px;
  height: 16px;
}

/* Тот же DOM/CSS, что у поста: вложенный .post-article-page без внешних отступов секции статьи */
.pg-news-sidebar > .post-article-page.pg-news-embedded-post-page {
  --post-article-pad-x: 0px;
  padding: 0;
  margin: -3px 0 0;
  background: transparent;
  box-shadow: none;
}

/*
 * На странице поста в .post-article-wrapper два flex-ребёнка (main + aside).
 * На главной aside один — flex-ряд с flex:1 у сайдбара даёт лишнее растягивание/ширину.
 * Делаем колонку блочной, как обычный сайдбар в потоке, + min-width:0 для сжатия текста в flex-строке ссылки.
 */
.pg-news-sidebar .pg-news-embedded-post-page .post-article-wrapper {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pg-news-sidebar .pg-news-embedded-post-page .post-article-sidebar {
  flex: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0;
  padding: 40px 16px;
  background-color: #000;
  border: none;
  outline: none;
  box-shadow: none;
}

/* Декоративная плашка слева сверху сайдбара поста — на главной не показываем */
.pg-news-sidebar .post-article-page[dir="ltr"] .post-article-sidebar::before {
  display: none;
}

.pg-news-sidebar .post-article-sidebar-popular-link {
  min-width: 0;
}

.pg-news-sidebar .post-article-sidebar-popular-name {
  min-width: 0;
}

/* Лента новостей на главной: тёмный блок списка статей */
/* Горизонтальные разделители ленты — одна толщина (1px) и цвет #2a2a2a (без градиента и без «двойных» границ). */
.pg-news.pg-news--feed {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #000;
  border-top: none;
  border-bottom: 1px solid #2a2a2a;
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.pg-news--feed {
  padding: 12px 18px 16px;
}

/*
 * Даты в ленте: первый день (h2 над блоком) и следующие дни (h3 внутри ленты) — один стиль,
 * как «Актуальное»: красная плашка ::before + линия ::after тем же цветом, что и прочие разделители ленты.
 */
.pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading,
.pg-news--feed h3.post-article-sidebar-title.pg-feed-day__title {
  position: relative;
  overflow: visible;
  padding-top: 5px;
  padding-left: 18px;
  padding-bottom: 14px;
  padding-right: 0;
  font-size: 20px;
  line-height: 10px;
  font-weight: 400;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  text-transform: uppercase;
  letter-spacing: normal;
  color: #fff;
  border-radius: 0;
  border: none;
}

/* «Сегодня» над лентой: как дата в шапке поста — пять серых слэшей + дата, без красной плашки */
.pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date {
  display: flex;
  align-items: center;
  color: #999;
  font-size: 16px;
  line-height: 24px;
  padding-top: 4px;
  padding-left: 0;
  padding-bottom: 0;
}

.pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date::before {
  content: none !important;
  display: none !important;
}

.pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date .post-article-date {
  color: inherit;
}

/* Как .post-article-meta-row > span:not(:last-child)::after — вертикальная черта после даты */
.pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date .post-article-date::after {
  content: "";
  display: inline-block;
  height: 20px;
  vertical-align: middle;
  margin: 0 2px 0 15px;
  border-right: 1px solid #313131;
  flex-shrink: 0;
}

.pg-news--feed h3.post-article-sidebar-title.pg-feed-day__title {
  margin: 0 0 16px;
}

.pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading::before,
.pg-news--feed h3.post-article-sidebar-title.pg-feed-day__title::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 16px;
  background-color: #e30017;
  transform: skewX(-22deg);
}

/*
 * Линия под заголовком дня внутри ленты (h3). У h2 даты линия — у .pg-news-head-row__primary.
 */
.pg-news--feed h3.post-article-sidebar-title.pg-feed-day__title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 1px;
  pointer-events: none;
  z-index: 1;
  background: #2a2a2a;
}

.pg-feed {
  margin: 0;
  padding: 0;
}

.pg-feed-day {
  margin: 0;
  padding: 0;
}

.pg-feed-day + .pg-feed-day {
  margin-top: 0;
  border-top: 1px solid #2a2a2a;
}

.pg-feed-day__list {
  margin: 0;
  padding: 0;
}

/* Врезка в конце ленты: сетка карточек без наплыва spotlight */
.pg-feed-hub {
  margin: 0;
  padding-top: 0;
  border-top: 1px solid #2a2a2a;
  background: #000;
}

.pg-feed-hub__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 900px) {
  .pg-feed-hub__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pg-news--feed.pg-news--spotlight .pg-feed-hub .summary.pg-feed-hub-item {
  min-height: 0;
  border: none;
  background: #000;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .pg-news--feed.pg-news--spotlight .pg-feed-hub .summary.pg-feed-hub-item .thumbnail {
    display: block;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-bottom: 12px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .pg-news--feed.pg-news--spotlight .pg-feed-hub .summary.pg-feed-hub-item .thumbnail img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /*
   * Врезка ленты: затемнение снизу превью.
   * Не height:70% + linear-gradient(180deg) — даёт «полосу» по середине кадра.
   * Как у карточек ленты на мобилке: слой на весь кадр, градиент to top.
   */
  .pg-news--feed.pg-news--spotlight .pg-feed-hub .summary.pg-feed-hub-item .thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 48%,
      transparent 100%
    );
  }

  .pg-news--feed.pg-news--spotlight .pg-feed-hub .summary.pg-feed-hub-item .wrapper {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding-right: 16px;
    min-height: 0;
    background: #000;
  }

  .pg-news--feed.pg-news--spotlight .pg-feed-hub .summary.pg-feed-hub-item .details {
    padding-top: 0;
  }
}

/* Лента: десктоп — наплыв текста на превью (градиент + отрицательный margin); мобилка — без наплыва ниже */
.pg-news--feed.pg-news--spotlight .pg-feed-day__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.pg-news--feed.pg-news--spotlight .summary {
  --eg-kicker: var(--pg-accent);
  position: relative;
  min-height: 222px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: #141414;
  border-top: 1px solid #2a2a2a;
  word-break: break-word;
  -webkit-tap-highlight-color: transparent;
}

/* Одна линия между днями: граница у .pg-feed-day или линия у заголовка — без второго border-top у первой карточки дня. */
.pg-news--feed.pg-news--spotlight .pg-feed-day .pg-feed-day__list > .summary:first-child {
  border-top: none;
}

@media (min-width: 768px) {
  .pg-news--feed.pg-news--spotlight .summary .thumbnail {
    display: block;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    z-index: 0;
    width: min(46%, 384px);
    height: 100%;
    min-height: 216px;
    overflow: hidden;
  }

  .pg-news--feed.pg-news--spotlight .summary .thumbnail--empty {
    min-height: 216px;
    background: #2a2a2a;
  }

  .pg-news--feed.pg-news--spotlight .summary .thumbnail img {
    position: relative;
    z-index: 0;
  }

  /* Наплыв на превью: тёмнее у стыка с текстом (левый край картинки) + лёгкий край справа */
  .pg-news--feed.pg-news--spotlight .summary .thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.42) 32%,
        rgba(0, 0, 0, 0.12) 58%,
        transparent 82%
      ),
      linear-gradient(
        to left,
        rgba(0, 0, 0, 0.35) 0%,
        transparent 45%
      );
  }

  .pg-news--feed.pg-news--spotlight .summary .wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 216px;
    width: min(calc(58% + 80px), 78%);
    margin-right: -80px;
    padding-right: 96px;
    background: linear-gradient(
      90deg,
      #000 0%,
      #000 36%,
      rgba(0, 0, 0, 0.92) 56%,
      rgba(0, 0, 0, 0.62) 76%,
      rgba(0, 0, 0, 0.18) 92%,
      transparent 100%
    );
  }

  /*
   * Лента spotlight: категория + заголовок — один абзац на всю ширину (см. .cursor/rules/playrox-feed-spotlight.mdc).
   * Не возвращать flex «колонка категория | колонка title» — длинная категория ломает заголовок.
   */
  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-title-line {
    display: block;
    min-width: 0;
    width: 100%;
  }

  /* Категория + заголовок в одном абзаце: не более 3 строк в ленте (десктоп). */
  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-title-line .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin: 0;
    max-width: 100%;
    min-width: 0;
  }

  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-title-line .title .link {
    white-space: normal;
  }

  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row--accent,
  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row--spotlight {
    display: inline;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
  }

  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row__label {
    color: var(--eg-kicker);
    display: inline;
    font-size: inherit;
    text-align: left;
  }

  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row__label::before,
  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row__label::after {
    content: none !important;
    display: none !important;
  }

  /* Десктоп: категория — та же типографика, что и заголовок карточки (.title); цвет kicker */
  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row__text {
    color: var(--eg-kicker);
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    font-style: normal;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: none;
    vertical-align: baseline;
  }

  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row__text::after {
    color: var(--eg-kicker);
    content: "\00a0|";
  }

  /* Врезка ленты: заголовок карточки не более 2 строк (обычная лента — 3). */
  .pg-news--feed.pg-news--spotlight .pg-feed-hub .summary.pg-feed-hub-item .pg-feed-category-title-line .title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

}

.pg-news--feed.pg-news--spotlight .summary .thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #141414;
}

.pg-news--feed.pg-news--spotlight .summary .thumbnail--empty::after {
  content: none;
  display: none;
}

.pg-news--feed.pg-news--spotlight .summary .thumbnail--empty {
  background: #2a2a2a;
}

/* Общая колонка текста: ширина/фон/наплыв задаются в min-width 768px; на мобилке — в max-width 767px */
.pg-news--feed.pg-news--spotlight .summary .wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 222px;
}

.pg-news--feed.pg-news--spotlight .summary .details {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Десктоп: одинаковый горизонтальный «воздух» (раньше справа было 8px); наплыв превью — у .wrapper (градиент + margin) */
  padding: 16px;
  background: transparent;
  box-shadow: none;
  z-index: 1;
}

.pg-news--feed.pg-news--spotlight .summary .title {
  position: relative;
  margin: 0;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 20px;
  line-height: 23px;
  font-weight: 400;
  letter-spacing: normal;
  color: #fff;
}

.pg-news--feed.pg-news--spotlight .summary .title .link--expand::before {
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.pg-news--feed.pg-news--spotlight .summary .title .link {
  color: #fff;
  text-decoration: none;
  position: relative;
  z-index: 2;
  display: inline;
  vertical-align: baseline;
  white-space: normal;
  overflow: visible;
}

.pg-news--feed.pg-news--spotlight .summary .title .link:hover,
.pg-news--feed.pg-news--spotlight .summary .title .link:focus-visible {
  color: #e30017;
  outline: none;
}

.pg-news--feed.pg-news--spotlight .summary .strapline {
  margin: 4px 0 0;
  padding: 0;
  font-size: var(--pg-type-18-size);
  font-weight: 400;
  line-height: var(--pg-type-18-lh-feed);
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  letter-spacing: normal;
  color: #c8c8c8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

/* Как .post-article-meta-row: шрифты, вертикальные разделители, дата со слэшами — классы .post-article-date* */
.pg-news--feed.pg-news--spotlight .summary .metadata {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 8px 8px 16px 16px;
  background: transparent;
  font-size: 14px;
  line-height: 24px;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  text-transform: uppercase;
  color: #999;
  box-shadow: none;
}

.pg-news--feed.pg-news--spotlight .summary .metadata > span:not(:last-child)::after {
  content: "";
  display: inline-block;
  height: 20px;
  vertical-align: middle;
  margin: 0 2px 0 15px;
  border-right: 1px solid #313131;
}

.pg-news--feed.pg-news--spotlight .summary .byline {
  font-weight: 400;
  color: inherit;
}

.pg-news--feed.pg-news--spotlight .summary .comments {
  margin: 0;
  font-size: 14px;
  line-height: 1;
}

.pg-news--feed.pg-news--spotlight .summary .comments__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.pg-news--feed.pg-news--spotlight .summary .comments__link.comments-bubble::before {
  background: currentcolor;
  content: "";
  display: inline-block;
  height: 1.15em;
  margin-right: 2px;
  opacity: 0.45;
  width: 1.15em;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.pg-news--feed.pg-news--spotlight .summary .comments__link:hover,
.pg-news--feed.pg-news--spotlight .summary .comments__link:focus-visible {
  color: #e30017;
  text-decoration: none;
  outline: none;
}

.pg-news--feed.pg-news--spotlight .summary .comments__link.comments-bubble:hover::before,
.pg-news--feed.pg-news--spotlight .summary .comments__link.comments-bubble:focus-visible::before {
  opacity: 1;
}

.pg-news--feed.pg-news--spotlight .summary .comments__count {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.pg-news--feed.pg-news--spotlight .summary .comments__link:hover .comments__count,
.pg-news--feed.pg-news--spotlight .summary .comments__link:focus-visible .comments__count {
  color: #e30017;
}

/*
 * Моб. лента spotlight: граница 768px, не 767 — иначе при ровно 768px срабатывает только min-width:768px (десктоп),
 * а max-width:767 не срабатывает → превью остаётся в колонке справа и «мобильные» правки не видны.
 * Моб. декор категории: см. .cursor/rules/PlayroX-feed-spotlight.mdc — не nowrap на весь p.title при наличии категории
 */
@media (max-width: 768px) {
  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-title-line {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row--accent,
  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row--spotlight {
    display: block;
    max-width: 100%;
    margin: 0 0 0 4px;
    padding: 0;
  }

  html[dir="ltr"] .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label {
    text-align: left;
  }

  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label {
    color: var(--eg-kicker);
    display: block;
    font-size: 0;
  }

  /* Маркеры категории: общая геометрия; margin и transform-origin различаются */
  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label::before,
  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label::after {
    background: var(--eg-kicker);
    content: "";
    display: inline-block;
    height: 12px;
    vertical-align: middle;
    transform: skewX(32deg);
  }

  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label::before {
    width: 22px;
    margin-left: -8px;
    margin-right: 7px;
    transform-origin: right center;
  }

  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label::after {
    width: 16px;
    margin-left: 7px;
    transform-origin: left center;
  }

  /* Квадраты слева/справа — в тон тексту ссылки при hover/focus (на ПК декор у label отключён) */
  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label:has(a.pg-feed-category-row__text:hover)::before,
  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label:has(a.pg-feed-category-row__text:hover)::after,
  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label:has(a.pg-feed-category-row__text:focus-visible)::before,
  .pg-news--feed.pg-news--spotlight .pg-feed-category-row__label:has(a.pg-feed-category-row__text:focus-visible)::after {
    background: #fff;
  }

  /* Наведение на заголовок — квадраты у категории тоже белые */
  .pg-news--feed.pg-news--spotlight .summary .title:has(.link:hover) .pg-feed-category-row__label::before,
  .pg-news--feed.pg-news--spotlight .summary .title:has(.link:hover) .pg-feed-category-row__label::after,
  .pg-news--feed.pg-news--spotlight .summary .title:has(.link:focus-visible) .pg-feed-category-row__label::before,
  .pg-news--feed.pg-news--spotlight .summary .title:has(.link:focus-visible) .pg-feed-category-row__label::after {
    background: #fff;
  }

  /* Моб. категория: 14px; лёгкий сдвиг вниз — капс казался выше нижней кромки маркеров 12px */
  .pg-news--feed.pg-news--spotlight .summary .pg-feed-category-row__text {
    color: var(--eg-kicker);
    display: inline-block;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    vertical-align: middle;
    position: relative;
    top: 1px;
  }

  .pg-news--feed.pg-news--spotlight .summary .title .pg-feed-category-row--accent,
  .pg-news--feed.pg-news--spotlight .summary .title .pg-feed-category-row--spotlight {
    margin-bottom: 4px;
  }

  .pg-news--feed.pg-news--spotlight .summary .title {
    font-size: var(--pg-m-title-size);
    font-weight: var(--pg-m-title-weight);
    line-height: var(--pg-m-title-lh);
    letter-spacing: normal;
    min-width: 0;
  }

  .pg-news--feed.pg-news--spotlight .summary .title .link {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pg-news--feed.pg-news--spotlight .summary .strapline {
    /* Ниже заголовка карточки (16px / 500), но крупнее прежних 14px */
    font-size: 15px;
    font-weight: var(--pg-m-body-weight);
    line-height: 20px;
    letter-spacing: normal;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pg-news--feed.pg-news--spotlight .summary {
    min-height: 0;
    background: #141414;
  }

  .pg-news--feed.pg-news--spotlight .summary .thumbnail {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    height: auto;
    margin-bottom: 16px;
    aspect-ratio: 16 / 9;
  }

  .pg-news--feed.pg-news--spotlight .summary .thumbnail img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .pg-news--feed.pg-news--spotlight .summary .thumbnail--empty {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  /* Затемнение снизу превью — мягче, чем на десктопе (на телефонах сильный слой «забивает» кадр) */
  .pg-news--feed.pg-news--spotlight .summary .thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    /* Сильнее только у нижнего края; к середине кадра быстрее уходит в прозрачность */
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.18) 34%,
      transparent 72%
    );
  }

  .pg-news--feed.pg-news--spotlight .summary .wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: #0d0d0d;
    box-shadow: none;
  }

  .pg-news--feed.pg-news--spotlight .summary .details {
    box-shadow: none;
    min-width: 0;
    padding: 16px 16px 12px;
    /* Иначе наследуется justify-content:center с десктопа — колонка текста «по центру» и не совпадает с шириной превью визуально */
    justify-content: flex-start;
    align-items: stretch;
  }

  .pg-news--feed.pg-news--spotlight .summary .metadata {
    align-items: flex-start;
    flex-grow: 1;
    min-width: 0;
    padding: 8px 16px 16px;
    box-shadow: none;
  }

}

/*
 * =========================================================================
 * Главная страница (index.php): body.pg-body--home — лента под героем
 * =========================================================================
 * Условия: только max-width 768px (мобилка). Десктопная лента не затрагивается.
 * Карточки дня и врезка feed hub (.pg-feed-hub-item) — одни и те же правила типографики и полей.
 * !important у заголовка/strapline/layout — иначе перебивают общие .summary .title / .strapline / .details.
 * =========================================================================
 */
@media (max-width: 768px) {
  /* Превью 490:256 — все карточки в ленте (включая hub) */
  body.pg-body--home .pg-news-region .pg-news--feed.pg-news--spotlight .summary .thumbnail {
    aspect-ratio: 490 / 256;
  }

  body.pg-body--home .pg-news-region .pg-news--feed.pg-news--spotlight .summary .thumbnail img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 490 / 256;
    object-fit: cover;
  }

  html[dir="ltr"] body.pg-body--home .pg-news-region .pg-news--feed.pg-news--spotlight .summary .thumbnail img {
    margin-right: 0;
  }

  body.pg-body--home .pg-news-region .pg-news--feed.pg-news--spotlight .summary .thumbnail--empty {
    aspect-ratio: 490 / 256;
  }

  /* Контейнер ленты: низ 46px; бока — var(--pg-hero-inset) на .pg-news-region (как у героя) */
  body.pg-body--home .pg-news-region {
    padding: 0 var(--pg-hero-inset) 46px;
  }

  body.pg-body--home .pg-news-head-row__primary {
    padding-left: 0;
    padding-right: 0;
  }

  /* Перебить общий .pg-block.pg-news.pg-news--feed { padding } из блока «узкая мобилка» ниже по файлу */
  body.pg-body--home .pg-block.pg-news.pg-news--feed.pg-news--spotlight {
    padding-top: 12px;
    padding-bottom: 16px;
    padding-left: 0;
    padding-right: 0;
  }

  /* Карточки дня и врезка hub: типографика + ширина текстового блока под превью */
  body.pg-body--home #pg-news article.summary.pg-feed-item p.title {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 23px !important;
    letter-spacing: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #eaeaea !important;
  }

  body.pg-body--home #pg-news article.summary.pg-feed-item .title .link {
    color: #eaeaea !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
  }

  body.pg-body--home #pg-news article.summary.pg-feed-item .title .link:hover,
  body.pg-body--home #pg-news article.summary.pg-feed-item .title .link:focus-visible {
    color: #e30017 !important;
  }

  body.pg-body--home #pg-news article.summary.pg-feed-item p.strapline {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 18.4px !important;
    letter-spacing: normal !important;
    color: #c8c8c8 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.pg-body--home #pg-news article.summary.pg-feed-item .wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.pg-body--home #pg-news article.summary.pg-feed-item .details {
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 16px 0 12px !important;
  }

  body.pg-body--home #pg-news article.summary.pg-feed-item .metadata {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 8px 0 16px !important;
  }

  body.pg-body--home #pg-news article.summary.pg-feed-item .pg-feed-category-title-line {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Врезка: без лишнего gap, фон и разделители как у карточек дня */
  body.pg-body--home #pg-news .pg-feed-hub .pg-feed-hub__list {
    gap: 0;
  }

  body.pg-body--home #pg-news .pg-feed-hub .summary.pg-feed-hub-item {
    background: #141414;
  }

  body.pg-body--home #pg-news .pg-feed-hub .pg-feed-hub__list > .summary.pg-feed-hub-item ~ .summary.pg-feed-hub-item {
    border-top: 1px solid #2a2a2a;
  }
}

@media (max-width: 639px) {
  body.pg-body--home .pg-block.pg-news.pg-news--feed.pg-news--spotlight {
    padding: 10px 0 14px;
  }
}

.pg-news--feed .pg-empty {
  margin: 0;
  color: #9ca3af;
  font-family: var(--pg-font-base);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 639px) {
  .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading,
  .pg-news--feed h3.post-article-sidebar-title.pg-feed-day__title {
    font-size: 17px;
    padding-bottom: 12px;
  }

  .pg-news-head-row__primary {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 8px;
  }

  .pg-news--feed {
    padding: 10px 14px 14px;
  }

  .pg-feed-day + .pg-feed-day {
    margin-top: 0;
    border-top: 1px solid #2a2a2a;
  }

  .pg-news--feed.pg-news--spotlight .summary .metadata .byline,
  .pg-news--feed.pg-news--spotlight .summary .metadata .dateline {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: normal;
  }

  /*
   * Дата над лентой (h2 + .post-article-date): на смартфоне глобальные .post-article-date / -text
   * дают 20px — визуально тяжелее меты карточек (14px) и шире за счёт 5 слэшей + ::after.
   * Уплотняем кегль и уменьшаем декор; разделитель после даты сохраняем в компактном виде.
   */
  .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 6px;
  }

  .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date .post-article-date {
    font-size: 15px;
    line-height: 20px;
    transform: none;
    max-width: 100%;
  }

  .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date .post-article-date-text {
    font-size: 15px;
    line-height: 20px;
    margin-left: 6px;
  }

  .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date .post-article-date-slash {
    width: 2px;
    height: 12px;
    margin-right: 3px;
  }

  .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date .post-article-date-slash:nth-child(n + 4) {
    display: none;
  }

  .pg-news-head-row__primary > h2.post-article-sidebar-title.pg-feed-day-heading.pg-feed-day-heading--post-date .post-article-date::after {
    content: "";
    display: inline-block;
    height: 14px;
    margin: 0 0 0 10px;
    border-right: 1px solid #313131;
    vertical-align: middle;
  }
}

.pg-tags-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

/* Теги в сайдбаре главной — как в посте (.post-article-sidebar-tags) */
.pg-tags-list--post-style {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.pg-tags-list--post-style > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-block h2 {
  margin: 0 0 10px;
  font-size: 21px;
  font-family: "Roboto Condensed", "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
  text-transform: uppercase;
}

/* Герой: красная полоса промо над блоком карточек (--pg-hero-inset в :root) */
.pg-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-height: none;
  /* Боковые поля снаружи, не внутри max-width 1520 */
  padding: 0 var(--pg-hero-inset);
  border: none;
  background-color: #000;
  background-image: none;
}

/* Полоса промо: как в эталоне — width 100%, min-height 40, padding 0 10 */
.pg-hero-promo-bar {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #e30017;
  box-sizing: border-box;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 40px;
  min-height: 40px;
  margin-left: calc(-1 * var(--pg-hero-inset));
  margin-right: calc(-1 * var(--pg-hero-inset));
  padding: 0 10px;
  position: relative;
  transition: all 0.2s linear;
  width: calc(100% + 2 * var(--pg-hero-inset));
  z-index: 100;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.pg-hero-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 20px 0 50px;
}

.pg-hero-heading {
  box-sizing: border-box;
  color: #fff;
  display: inline-block;
  font-family: var(--pg-font-base);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  text-align: center;
  text-transform: none;
  width: auto;
  border-radius: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.pg-hero-heading-text {
  font-size: 14px;
  line-height: 1.15;
}

.pg-hero-promo-bar--link {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.pg-hero-promo-bar--link:hover {
  background-color: #c90014;
}

.pg-hero-promo-bar--link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.pg-hero-scroll {
  overflow: hidden;
  margin-bottom: 0;
}

.pg-hero-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.pg-hero-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.pg-hero-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #e30017;
  font-family: var(--pg-font-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.pg-hero-more-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.pg-hero-more-link__icon svg {
  display: block;
  width: 17px;
  height: 20px;
  margin-left: 6px;
  transform: translateY(-1px) rotate(0deg);
}

.pg-hero-more-link:hover,
.pg-hero-more-link:focus-visible {
  color: #e30017;
}

.pg-hero-more-link:hover .pg-hero-more-link__icon,
.pg-hero-more-link:focus-visible .pg-hero-more-link__icon {
  color: #e30017;
}

@media (max-width: 540px) {
  .pg-hero-more-link {
    font-size: 14px;
  }
}

@media screen and (max-width: 375px) {
  .pg-hero-more-link {
    font-size: 14px;
  }
}

/* Сетка героя PlayroX: верхний ряд 3, нижний 2 */
.pg-hero-track > .pg-hero-card:nth-child(-n + 3) {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  margin-bottom: 20px;
  max-width: 492px;
  width: calc(33.33333% - 13.33333px);
}

.pg-hero-track > .pg-hero-card:nth-child(n + 4) {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  margin-bottom: 0;
  width: calc(50% - 10px);
}

/* Ровно 4 карточки: нижняя одна по центру */
.pg-hero-track > .pg-hero-card:nth-child(4):nth-last-child(1) {
  margin-left: auto;
  margin-right: auto;
}

.pg-hero-track > .pg-hero-card {
  min-width: 0;
}

.pg-hero-card {
  border-radius: 0;
  margin: 0;
  padding: 0;
  position: relative;
  border: none;
  box-shadow: none;
  outline: none;
}

.pg-hero-card-link {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  text-decoration: none;
  color: #fff;
  border: none;
  box-shadow: none;
  outline: none;
}

.pg-hero-card-link:focus-visible {
  outline: 3px solid #00d5ff;
  outline-offset: 2px;
}

/* Блоковая обёртка: у inline (span) процентный padding-top не задаёт высоту — карточки схлопывались */
.pg-hero-card-media {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Верхний ряд: заданное соотношение сторон (padding-top 116.8%) */
.pg-hero-track > .pg-hero-card:nth-child(-n + 3) .pg-hero-card-media {
  padding-top: 116.8%;
}

/* Нижний ряд: шире и ниже (53.86%) */
.pg-hero-track > .pg-hero-card:nth-child(n + 4) .pg-hero-card-media {
  padding-top: 53.86%;
}

.pg-hero-card-bg {
  position: absolute;
  inset: 0;
  background-color: #1c1c1c;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  transform: scale(1);
  transition: transform 0.25s ease-out;
  animation: pgHeroHoverOut 0.25s ease-out;
}

.pg-hero-card-link:hover .pg-hero-card-bg {
  transform: scale(1.1);
  animation: pgHeroHoverIn 0.25s ease-out;
}

/* Оверлей градиента на карточке героя (::after) */
.pg-hero-card-link::after {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(#000));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), #000);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0), #000);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000);
  bottom: 0;
  content: "";
  height: 70%;
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.pg-hero-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 22;
  padding: 0 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--pg-font-base);
  background: none;
}

.pg-hero-card-title {
  color: #fff;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: var(--pg-type-20-size);
  font-weight: 500;
  /* Как заголовок карточки в ленте (.summary .title) */
  line-height: 23px;
  letter-spacing: normal;
  margin: 0;
  margin-bottom: -2px;
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  border-radius: 0;
}

/* Две строки и обрезка с многоточием только без краткого описания под заголовком */
.pg-hero-card-content > .pg-hero-card-title:only-child {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

@keyframes pgHeroHoverIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes pgHeroHoverOut {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.pg-hero-card-excerpt {
  color: #fff;
  display: block;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: var(--pg-type-18-size);
  font-weight: 400;
  line-height: var(--pg-type-18-lh-feed);
  letter-spacing: normal;
  margin: 0;
  margin-top: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  border-radius: 0;
}

.pg-empty {
  margin: 0;
  color: var(--pg-text-soft);
}

/* Герой ≤830px: горизонтальный ряд карточек; без scroll-snap — свободная инерция, как у типовой карточной ленты */
@media (max-width: 830px) {
  .pg-hero-inner {
    padding-bottom: 40px;
  }

  .pg-hero-promo-bar {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .pg-hero-heading {
    font-size: 14px;
    padding: 0;
    text-align: center;
    display: inline-block;
    width: auto;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .pg-hero-scroll {
    overflow-x: scroll;
    overflow-y: hidden;
    margin-bottom: 30px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .pg-hero-scroll::-webkit-scrollbar {
    height: 4px;
  }

  .pg-hero-scroll::-webkit-scrollbar-track {
    background-color: rgba(33, 33, 33, 0.3);
  }

  .pg-hero-scroll::-webkit-scrollbar-thumb {
    background-color: #e30017;
  }

  .pg-hero-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    width: max-content;
    gap: 0;
  }

  .pg-hero-track > .pg-hero-card:nth-child(-n + 3),
  .pg-hero-track > .pg-hero-card:nth-child(n + 4),
  .pg-hero-track > .pg-hero-card:nth-child(4):nth-last-child(1) {
    width: 76vw;
    max-width: 492px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }

  .pg-hero-track > .pg-hero-card:not(:last-child) {
    margin-right: 20px;
  }

  /* Та же специфичность, что у десктопного nth-child(n+4), иначе 4–5 остаются с padding-top 53.86% */
  .pg-hero-track > .pg-hero-card:nth-child(-n + 3) .pg-hero-card-media,
  .pg-hero-track > .pg-hero-card:nth-child(n + 4) .pg-hero-card-media {
    padding-top: 116.8%;
  }

  .pg-hero-card-content {
    padding: 0 20px 20px;
  }

  .pg-hero-more-wrap {
    margin-top: 40px;
  }

}

/* Mobile — контент */
@media (max-width: 768px) {
  .pg-container {
    width: min(100% - 16px, 1200px);
    padding-top: 0;
    gap: 10px;
  }

  .pg-site-header-inner {
    width: min(100% - 16px, 1520px);
  }

  .pg-news-region {
    margin-top: -12px;
  }

  .pg-block {
    border-radius: 8px;
    padding: 12px;
  }

  .pg-block.pg-news.pg-news--feed {
    padding: 20px 14px 24px;
  }

  .pg-block h2 {
    font-size: 19px;
  }

  .pg-hero-card-link:hover .pg-hero-card-bg {
    transform: scale(1);
    animation: none;
  }
}

/* Узкая мобилка: границы ленты — var(--pg-hero-inset) на .pg-news-region (симметрия с героем) */
@media (max-width: 768px) {
  .pg-block.pg-news.pg-news--feed {
    padding: 20px 16px 24px;
  }

  /* Герой: как карточка ленты на мобилке (заголовок 16px, описание 15px) */
  .pg-hero-card-title {
    font-size: var(--pg-m-title-size);
    line-height: var(--pg-m-title-lh);
  }

  .pg-hero-card-excerpt {
    font-size: 15px;
    line-height: 20px;
  }
}

/* Узкие телефоны: не подтягиваем контент под sticky-шапку */
@media (max-width: 480px) {
  .pg-top-layout,
  .pg-news-region {
    margin-top: -12px;
  }

  .pg-hero-more-wrap {
    margin-top: 32px;
  }

}

/* Планшет/мобилка — контент-раскладка */
@media (max-width: 1024px) {
  .pg-top-layout {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
  }

  .pg-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-news-sidebar {
    display: none;
  }

  .pg-news-head-row__sidebar {
    display: none;
  }

  .pg-news-head-row--dual {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1100px) {
  .pg-top-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-news-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, min(32%, 480px));
  }

  .pg-news-sidebar .pg-tags-panel {
    display: block;
  }

}

/* Шапка: плавная деградация при прокрутке */

@media (max-width: 1450px) {
  .pg-header-menu {
    gap: 28px;
    flex-wrap: wrap;
    padding: 0 10px;
  }
  .pg-nav-mobile-root {
    gap: 28px;
  }
}

@media (max-width: 1305px) {
  .pg-header-menu {
    gap: 20px;
    padding: 0 10px;
  }
  .pg-nav-mobile-root {
    gap: 20px;
  }
}

@media (max-width: 1200px) {
  .pg-header-menu {
    gap: 20px;
  }
}

@media (max-width: 1150px) {
  .pg-header-menu {
    gap: 10px;
  }
  .pg-nav-mobile-root {
    gap: 10px;
  }
}

/* Десктопный ритм меню: интервалы пунктов как в референсе */
@media (min-width: 1025px) and (max-width: 1600px) {
  .pg-header-menu,
  .pg-nav-mobile-root {
    gap: 0;
    padding: 0;
    flex-wrap: nowrap;
  }

  .pg-nav-mobile-menu-list > li {
    margin: 0 16px;
  }

  .pg-nav-mobile-menu-list > li.pg-nav-item--small {
    margin: 0 8px;
  }
}

@media (min-width: 1025px) and (max-width: 1450px) {
  .pg-nav-mobile-menu-list > li {
    margin: 0 14px;
  }

  .pg-nav-mobile-menu-list > li.pg-nav-item--small {
    margin: 0 8px;
  }
}

@media (min-width: 1025px) and (max-width: 1305px) {
  .pg-nav-mobile-menu-list > li {
    margin: 0 10px;
  }

  .pg-nav-mobile-menu-list > li.pg-nav-item--small {
    margin: 0 8px;
  }
}

/* Мобильная шапка (breakpoint 1024px) */
@media (max-width: 1024px) {
  .pg-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .pg-page {
    padding-top: 50px;
  }

  .pg-site-header-inner {
    position: relative;
    height: 50px;
    min-height: 50px;
    padding: 0;
    width: min(100% - 24px, 1520px);
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
  }

  /* Профиль в чёрной шапке на мобилке не используем (меню бургера + атрибут hidden в footer_nav_scripts). */
  .pg-site-header .pg-icon-block .pg-profile-wrap--header {
    display: none !important;
    pointer-events: none !important;
  }

  .pg-site-header .pg-icon-block {
    order: 3;
    flex: 0 0 auto;
  }

  /* Логотип по центру полосы */
  .pg-logo-wrap {
    order: 2;
    position: relative;
    flex: 1 1 0;
    min-width: 100px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 2;
  }

  /* Сдвиг всего блока логотипа: translate надёжнее margin при flex:1 + content по центру ячейки */
  .pg-site-header .pg-logo-wrap {
    transform: translateX(var(--pg-logo-mobile-shift-x, -24px));
  }

  .pg-logo-graphic {
    width: fit-content;
    max-width: min(240px, 72vw);
    max-height: 42px;
  }

  .pg-logo-graphic-inner > svg,
  .pg-logo-graphic-inner > .pg-logo-svg {
    max-width: min(240px, 72vw);
    max-height: 42px;
  }

  /* Якорь бургера: при открытии меню nav выше .pg-icon-block (z-index и порядок в DOM) */
  .pg-main-nav {
    order: 1;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    height: auto;
    flex: 0 0 auto;
    display: block;
    z-index: 3;
    margin: 0;
    padding: 0;
  }

  .pg-site-header.is-nav-open .pg-main-nav {
    z-index: 50;
  }

  .pg-tags-toggle,
  .pg-nav-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 24px;
    height: 24px;
  }

  .pg-nav-burger .pg-header-icon path {
    fill: #fff;
  }

  /* Полноэкранное выезжающее меню */
  .pg-header-menu {
    /* Единственный источник шрифта для всего бургера (верхний и второй уровень) */
    --pg-burger-font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-family: var(--pg-burger-font-family);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    transform: translateX(-100vw);
    transition: transform 0.4s cubic-bezier(0.52, 0.16, 0.24, 1);
    background-color: #f5f5f5;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    z-index: 30;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    box-sizing: border-box;
    pointer-events: none;
  }

  .pg-header-menu button {
    font-family: var(--pg-burger-font-family);
  }

  /* Явно тот же стек, что у второго уровня: у кнопок первого уровня нельзя полагаться на font: inherit / inherit от li */
  .pg-header-menu .pg-nav-link,
  .pg-header-menu .pg-nav-mobile-menu-item,
  .pg-header-menu .pg-nav-mobile-submenu-link {
    font-family: var(--pg-burger-font-family);
  }

  .pg-nav-mobile-root {
    display: block;
    height: auto;
    width: 100%;
    box-sizing: border-box;
  }

  .pg-nav-mobile-menu-list > li {
    display: block;
  }

  .pg-site-header.is-nav-open .pg-header-menu {
    transform: translateX(0);
    pointer-events: auto;
  }

  .pg-nav-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 48px;
    padding: 0 16px;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
  }

  .pg-nav-mobile-toolbar-start {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 1 auto;
  }

  /* Аватар в меню первого уровня: слева в тулбаре, над блоком «ПОЛЬЗОВАТЕЛЬ» */
  .pg-nav-mobile-menu-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #525252;
    border: 1px solid rgba(24, 24, 24, 0.2);
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .pg-nav-mobile-menu-user-avatar--guest {
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: transparent;
    border: none;
  }

  .pg-nav-mobile-menu-user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pg-nav-mobile-menu-user-avatar-fallback {
    font-family: var(--pg-font-alt);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    color: #f5f5f5;
  }

  .pg-nav-mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }

  .pg-nav-mobile-close svg {
    width: 24px;
    height: 24px;
  }

  .pg-nav-mobile-close:hover svg path {
    fill: #e30017;
  }

  .pg-nav-mobile-close:focus-visible {
    outline: 2px solid #00d5ff;
    outline-offset: 2px;
  }

  /* Мобильный блок «Пользователь» и ссылки аккаунта */
  .pg-nav-user-mobile {
    display: block;
    flex-shrink: 0;
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .pg-nav-user-mobile > li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .pg-nav-user-mobile-title {
    display: flex;
    align-items: center;
    height: 48px;
    line-height: 48px;
    margin: 0;
    padding: 0 0 0 15px;
    box-sizing: border-box;
  }

  .pg-nav-user-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #e30017;
    flex-shrink: 0;
  }

  .pg-nav-user-back svg {
    display: block;
    width: 23px;
    height: 23px;
  }

  .pg-nav-user-back:hover,
  .pg-nav-user-back:focus-visible {
    color: #e30017;
  }

  .pg-nav-user-back:focus-visible,
  .pg-nav-account-link:focus-visible,
  .pg-nav-link:focus-visible {
    outline: 2px solid #00d5ff;
    outline-offset: 2px;
  }

  .pg-nav-user-heading {
    margin: 0 0 0 22px;
    padding: 0;
    color: #181818;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: normal;
    text-transform: none;
  }

  .pg-nav-account-section {
    list-style: none;
    margin: 0;
    padding: 0 0 12px 0;
  }

  .pg-nav-account-section > li {
    margin: 0;
    padding: 0 0 0 60px;
    height: 48px;
    line-height: 48px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: normal;
    color: #202020;
    box-sizing: border-box;
  }

  .pg-nav-account-link {
    display: block;
    color: #202020;
    text-decoration: none;
    height: 48px;
    line-height: 48px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: normal;
    transition: color 0.14s ease;
  }

  .pg-nav-account-link:hover {
    color: #e30017;
  }


  .pg-nav-link {
    color: #202020;
    font-size: 18px;
    font-weight: 400;
    line-height: 48px;
    height: auto;
    margin: 0 20px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    text-transform: none;
    text-decoration: none;
    letter-spacing: normal;
  }

  .pg-nav-link:hover {
    color: #e30017;
    outline: 3px solid #f5f5f5;
  }

  .pg-nav-link:focus-visible {
    color: #e30017;
  }

  /* Верхний уровень — строка menuItem + стрелка; ссылка для десктопа скрыта */
  .pg-nav-item-wrap .pg-nav-link--has-dropdown {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pg-nav-item-wrap {
    display: block;
    margin: 0;
  }

  .pg-nav-item-wrap .pg-nav-link {
    margin: 0;
  }

  .pg-nav-mobile-menu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--pg-burger-font-family);
    font-size: inherit;
    font-weight: 400;
    font-style: normal;
    line-height: inherit;
    text-align: left;
    color: #202020;
  }

  .pg-nav-mobile-menu-item {
    flex: 1 1 auto;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 48px;
    text-transform: none;
    letter-spacing: normal;
    color: inherit;
  }

  /* Только пять пунктов первого уровня (Новости…Форум): заглавные буквы */
  .pg-nav-mobile-menu-list .pg-nav-link,
  .pg-nav-mobile-menu-list .pg-nav-mobile-menu-item {
    text-transform: uppercase;
  }

  .pg-nav-mobile-menu-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: 8px;
    color: inherit;
  }

  .pg-nav-mobile-menu-arrow svg path {
    fill: currentColor;
  }

  .pg-nav-mobile-menu-trigger:hover,
  .pg-nav-mobile-menu-trigger:focus-visible {
    color: #e30017;
  }

  .pg-nav-mobile-menu-trigger:focus-visible {
    outline: 2px solid #00d5ff;
    outline-offset: 2px;
  }

  /* Второй уровень — fixed-панель, заезд справа (left 100% → 0). top/height задаёт JS по #pg-nav-mobile-root */
  .pg-nav-mobile-submenu-panel {
    display: block;
    position: fixed;
    top: 48px;
    left: 100%;
    width: 100vw;
    max-width: 100vw;
    height: calc(100dvh - 48px);
    max-height: none;
    margin: 0;
    padding: 0 0 50px;
    box-sizing: border-box;
    background-color: #f5f5f5;
    box-shadow: 0 0 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Всегда выше списка первого уровня: иначе при закрытии z-index падал до 0 и «просвечивали» стрелки пунктов */
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
    transition:
      left 0.26s cubic-bezier(0.52, 0.16, 0.24, 1),
      visibility 0s linear 0.26s;
  }

  .pg-header-menu.is-mobile-submenu-open .pg-nav-mobile-submenu-panel {
    left: 0;
    visibility: visible;
    pointer-events: auto;
    transition:
      left 0.26s cubic-bezier(0.52, 0.16, 0.24, 1),
      visibility 0s linear 0s;
  }

  /* Строка «Назад» + заголовок — одна кнопка на всю ширину (как строка «Пользователь») */
  .pg-nav-mobile-submenu-title.pg-nav-mobile-submenu-back-row {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 0 0 0 15px;
    box-sizing: border-box;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    color: #181818;
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: normal;
    -webkit-appearance: none;
    appearance: none;
  }

  .pg-nav-mobile-submenu-back-row .pg-nav-mobile-submenu-heading {
    flex: 1 1 auto;
    margin: 0 0 0 20px;
    padding: 0;
    color: #181818;
    font-size: inherit;
    font-weight: inherit;
    line-height: 22px;
    letter-spacing: normal;
    text-transform: none;
    text-align: left;
  }

  .pg-nav-mobile-submenu-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    color: #e30017;
  }

  .pg-nav-mobile-submenu-back-icon svg {
    display: block;
    width: 23px;
    height: 23px;
  }

  .pg-nav-mobile-submenu-title.pg-nav-mobile-submenu-back-row:hover .pg-nav-mobile-submenu-back-icon,
  .pg-nav-mobile-submenu-title.pg-nav-mobile-submenu-back-row:focus-visible .pg-nav-mobile-submenu-back-icon {
    opacity: 0.85;
  }

  .pg-nav-mobile-submenu-title.pg-nav-mobile-submenu-back-row:focus-visible {
    outline: 2px solid #00d5ff;
    outline-offset: 2px;
  }

  /* Вертикальный шаг как у основного списка (.pg-nav-link / .pg-nav-mobile-menu-item): 50px; отступ слева как у аккаунта: 60px */
  .pg-nav-mobile-submenu-olist {
    list-style: none;
    margin: 0;
    padding: 0 0 12px;
    box-sizing: border-box;
    color: #000;
    font-size: 16px;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
  }

  .pg-nav-mobile-submenu-olist .pg-nav-mobile-submenu-item {
    margin: 0;
    padding: 0 0 0 60px;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    font-weight: 400;
    color: #202020;
    box-sizing: border-box;
  }

  .pg-nav-mobile-submenu-link {
    display: block;
    margin: 0;
    padding: 0;
    height: 50px;
    line-height: 50px;
    color: #202020;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    transition: color 0.14s ease;
  }

  .pg-nav-mobile-submenu-link:hover,
  .pg-nav-mobile-submenu-link:focus-visible {
    color: #e30017;
    outline: none;
  }

  /* Поиск у правого края шапки (без transform на предке — иначе position:fixed у .search-overlay цепляется к узкому блоку и ломает панель). */
  .pg-icon-block {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    width: fit-content;
    max-width: 48px;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 4;
    margin: 0;
    padding: 0;
    height: 50px;
    overflow: visible;
    pointer-events: none;
  }

  /* Кликабельна только зона поиска */
  .pg-icon-block .pg-header-search {
    pointer-events: auto;
  }

  .pg-header-search {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 48px;
    min-width: 0;
  }

  .pg-search-btn {
    display: flex;
    height: 50px;
    width: 24px;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
  }

  .pg-search-btn .pg-header-icon path {
    fill: #fff;
  }
}

@media (max-width: 768px) {
  .pg-search-btn {
    width: 24px;
    margin-right: 0;
  }
}

@media (max-width: 390px) {
  .pg-nav-user-heading {
    font-size: 22px;
    line-height: 22px;
    margin-left: 18px;
  }

  .pg-nav-account-section > li {
    padding-left: 52px;
    font-size: 17px;
  }

  .pg-nav-mobile-submenu-olist .pg-nav-mobile-submenu-item {
    padding-left: 52px;
    font-size: 17px;
  }

  .pg-nav-mobile-submenu-link {
    font-size: 17px;
  }

  .pg-nav-link {
    margin: 0 16px;
    font-size: 17px;
  }

  .pg-nav-mobile-menu-trigger {
    padding: 0 16px;
  }

  .pg-nav-mobile-menu-item {
    font-size: 17px;
  }
}

/* Full HD */
@media (min-width: 1920px) {
  .pg-container {
    width: min(100% - 40px, 1360px);
  }
}

/* Wide */
@media (min-width: 2560px) {
  .pg-container {
    width: min(100% - 56px, 1520px);
  }
}

/* Страница поста: тёмная тема оформления */
.post-article-page {
  --pg-post-accent: var(--pg-accent);
  --pg-post-accent-soft: rgba(227, 0, 23, 0.35);
  --pg-comment-accent: var(--pg-post-accent);
  --pg-comment-accent-hover: #ff4d5d;
  --pg-post-frame: #3a3a3a;
  --pg-post-frame-inner: #0a0a0a;
  --pg-post-body: #b8b8b8;
  --pg-post-lead: #c8c8c8;
  --pg-post-muted: #9ca3af;
  /* Горизонтальный padding страницы — для full-bleed блоков (комментарии) */
  --post-article-pad-x: 24px;
  color: var(--pg-post-body);
  position: relative;
  background-color: #000;
  font-family: var(--pg-font-base);
  padding: 48px var(--post-article-pad-x) 64px;
  box-shadow: 0 -28px 0 0 #000;
}

/* Десктоп: верхний воздух как в референсе (~90px); мобильные брейкпоинты не трогаем */
@media (min-width: 1025px) {
  .post-article-page {
    padding-top: 90px;
  }
}

.post-article-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1520px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
}

.post-article-main {
  flex: 2;
  min-width: 0;
  max-width: 944px;
  width: 100%;
  margin-right: 96px;
}

.post-article-header {
  margin-bottom: 0;
  width: 100%;
  padding: 0;
}

.post-article-meta-row {
  margin-bottom: 12px;
  height: 24px;
}

.post-article-info,
.post-article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 24px;
  height: 24px;
  text-transform: uppercase;
  color: #999;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  transform: none;
}

.post-article-page[dir="ltr"] .post-article-meta-row {
  margin-left: 0;
}

.post-article-meta-row > span:not(:last-child)::after {
  content: "";
  display: inline-block;
  height: 20px;
  vertical-align: middle;
  margin: 0 2px 0 15px;
  border-right: 1px solid #313131;
}

.post-article-date {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: normal;
  transform: translateX(3px);
  border-radius: 0;
}

.post-article-date-slashes {
  display: inline-flex;
  align-items: center;
  transform: skewX(-24deg) translateY(1px);
}

.post-article-date-slash {
  display: block;
  width: 3px;
  height: 16px;
  margin-right: 4px;
  border-radius: 0;
  background-color: #7f7f7f;
}

.post-article-date-slash:last-child {
  margin-right: 0;
}

.post-article-date-text {
  margin-left: 8px;
  display: inline-block;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: normal;
  border-radius: 0;
}

.post-article-category-badge a {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
}

.post-article-category-badge a:hover {
  color: inherit;
  text-decoration: none;
}

.post-article-category-text {
  display: inline-block;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: normal;
  border-radius: 0;
}

.post-article-title {
  margin: 0;
  color: #fff;
  font-family: var(--pg-font-base);
  font-size: 32px;
  font-weight: 500;
  font-synthesis: none;
  height: auto;
  line-height: 1.18;
  min-height: auto;
  text-transform: uppercase;
}

.post-article-title-wrap {
  margin: 16px 0 52px;
}

[dir="ltr"] .post-article-title {
  text-align: left;
}

.post-article-excerpt {
  margin: 0;
  padding: 16px 0;
  color: var(--pg-post-lead);
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: var(--pg-type-18-size);
  line-height: var(--pg-type-18-lh-body);
  font-weight: 400;
  letter-spacing: normal;
}

/* Обложка поста: без рамок (постер) */
.post-article-featured-image {
  margin-top: 16px;
  margin-bottom: 32px;
  width: 100%;
  text-align: center;
  position: relative;
  padding: 0;
  margin-left: 0;
  border: none;
  box-shadow: none;
  outline: none;
  box-sizing: border-box;
}

.post-article-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  border: none;
  background: transparent;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
}

.post-article-content {
  width: 100%;
  color: var(--pg-post-body);
  position: relative;
  box-sizing: border-box;
  padding: 0 0 20px;
}

/* Появление блоков при скролле (только post.php + pg-post-scroll-reveal.js) */
.post-article-body.pg-post-reveal-enabled .pg-post-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.post-article-body.pg-post-reveal-enabled .pg-post-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .post-article-body.pg-post-reveal-enabled .pg-post-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.post-article-content p {
  margin: 0;
  padding: var(--pg-post-block-pad-y, 16px) 0;
  color: var(--pg-post-body);
  font-family: var(--pg-font-condensed-cjk);
  font-size: var(--pg-type-18-size);
  line-height: var(--pg-type-18-lh-body);
  font-weight: 400;
  letter-spacing: normal;
}

.post-article-content a {
  color: #fff;
}

.post-article-content a:hover {
  color: #e30017;
}

.post-article-content p:first-child {
  padding-top: 0;
}

/* Заголовок блока конструктора: с блоком ниже — одна секция (16px), с соседями — 32px */
.post-article-content-heading {
  margin: 0;
  color: #e7e7e7;
  font-family: var(--pg-font-base);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  position: relative;
  overflow: visible;
  padding-left: 22px;
}

.post-article-content > .post-article-content-heading:first-child {
  margin-top: 0;
}

.post-article-content-block + .post-article-content-heading {
  margin-top: var(--pg-post-block-pad-y, 16px);
}

.post-article-content-heading + .post-article-content-block {
  margin-top: 0;
  padding-top: var(--pg-post-block-pad-y, 16px);
}

.post-article-page[dir="ltr"] .post-article-content-heading::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.14em;
  width: 4px;
  height: 0.82em;
  min-height: 12px;
  max-height: 1em;
  background-color: var(--pg-post-accent);
  transform: skewX(-22deg);
  transform-origin: center center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.post-article-content h2,
.post-article-content h3,
.post-article-content h4,
.post-article-content h5,
.post-article-content h6 {
  color: #e7e7e7;
  font-family: var(--pg-font-base);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 10px;
}

.post-article-content h2 {
  font-size: 32px;
  line-height: 36px;
}

.post-article-content h3,
.post-article-content h4,
.post-article-content h5,
.post-article-content h6 {
  font-size: 24px;
}

/* Подзаголовки в тексте блока: строки # … ###### (в разметке h2–h6), кегль строго ниже заголовка поста (32px) */
.post-article-inline-heading {
  color: #e7e7e7;
  font-family: var(--pg-font-base);
  font-weight: 500;
  text-transform: uppercase;
  margin: 14px 0 10px;
  line-height: 1.22;
}

.post-article-content .post-article-inline-heading[id],
.post-article-ti-text .post-article-inline-heading[id] {
  scroll-margin-top: 64px;
}

.post-article-inline-heading--leading-slash {
  position: relative;
  overflow: visible;
  padding-left: 18px;
}

/* Геометрия как в классическом листе (compose-inline-heading--leading-slash) */
.post-article-page[dir="ltr"] .post-article-inline-heading--leading-slash::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.1em;
  top: calc(0.5lh - 0.44em);
  width: 5px;
  height: 0.88em;
  background-color: #e30017;
  transform: skewX(-22deg);
  transform-origin: center;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (min-width: 1025px) {
  .post-article-page[dir="ltr"] .post-article-inline-heading--leading-slash::before {
    width: 4px;
  }
}

.post-article-content .post-article-inline-heading--depth-1,
.post-article-ti-text .post-article-inline-heading--depth-1 {
  font-size: 28px;
  line-height: 1.2;
}

.post-article-content .post-article-inline-heading--depth-2,
.post-article-ti-text .post-article-inline-heading--depth-2 {
  font-size: 24px;
  line-height: 1.22;
}

.post-article-content .post-article-inline-heading--depth-3,
.post-article-ti-text .post-article-inline-heading--depth-3 {
  font-size: 21px;
  line-height: 1.25;
}

.post-article-content .post-article-inline-heading--depth-4,
.post-article-ti-text .post-article-inline-heading--depth-4 {
  font-size: 20px;
  line-height: 1.28;
}

.post-article-content .post-article-inline-heading--depth-5,
.post-article-ti-text .post-article-inline-heading--depth-5 {
  font-size: 19px;
  line-height: 1.3;
}

.post-article-content .post-article-inline-heading--depth-6,
.post-article-ti-text .post-article-inline-heading--depth-6 {
  font-size: 18px;
  line-height: 1.32;
  text-transform: none;
  font-weight: 500;
}

.post-article-content-block {
  margin: 0;
  padding: var(--pg-post-block-pad-y, 16px) 0;
  color: var(--pg-post-body);
  font-size: var(--pg-type-18-size);
  line-height: var(--pg-type-18-lh-body);
  font-family: var(--pg-font-condensed-cjk);
  font-weight: 400;
  letter-spacing: normal;
}

.post-article-content-block:first-child {
  padding-top: 0;
}

/* Лайки под постом: иконка + счётчик (как в Черновике) */
.post-article-page .post-likes {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  position: relative;
}

.post-article-page .post-likes::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(100%, 200px);
  height: 2px;
  background: linear-gradient(90deg, var(--pg-post-accent) 0%, var(--pg-post-accent-soft) 45%, transparent 100%);
  pointer-events: none;
}

.post-article-page .post-like-form {
  display: inline-block;
  margin: 0;
}

.post-article-page .post-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #444;
  background: #111;
  color: #aaa;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
}

.post-article-page .post-like-btn:hover {
  border-color: #666;
  background: #1a1a1a;
  color: #ccc;
}

.post-article-page .post-like-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #777;
}

.post-article-page .post-like-btn.is-liked .post-like-icon,
.post-article-page .post-like-btn.is-liked .post-like-count {
  color: #e30017;
}

.post-article-page .post-like-count {
  font-weight: 600;
  min-width: 1ch;
}

.post-article-page .post-like-count-only {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #888;
}

.post-article-page .post-like-count-only .post-like-icon {
  color: #666;
}

.post-article-page .post-like-hint {
  font-size: 13px;
  color: #666;
}

.post-article-page .post-like-hint a {
  color: #6b9fff;
}

.post-article-page .post-like-hint a:hover {
  color: #8bb3ff;
}

.post-article-video-wrap {
  padding: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: none;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
}

.post-article-video-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
}

.post-article-body {
  margin-top: 0;
}

.post-article-body-empty {
  color: #666;
  font-style: italic;
}

.post-article-content .post-article-rich-list,
.post-article-ti-text .post-article-rich-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
  box-sizing: border-box;
}

.post-article-content .post-article-rich-list--ul,
.post-article-ti-text .post-article-rich-list--ul {
  list-style-type: disc;
}

.post-article-content .post-article-rich-list--ol,
.post-article-ti-text .post-article-rich-list--ol {
  list-style-type: decimal;
}

.post-article-content .post-article-rich-list li,
.post-article-ti-text .post-article-rich-list li {
  margin: 0.2rem 0;
  padding-left: 0.2rem;
}

.post-article-content .post-article-rich-quote,
.post-article-ti-text .post-article-rich-quote {
  margin: 0.75rem 0 1rem;
  padding: 0.65rem 1rem 0.65rem 1.1rem;
  border-left: 4px solid var(--pg-comment-accent);
  background: rgba(245, 245, 245, 0.08);
  color: #bbb;
  font-style: normal;
  box-sizing: border-box;
}

.post-article-content .post-article-rich-quote a,
.post-article-ti-text .post-article-rich-quote a {
  color: var(--pg-comment-accent);
}

.post-article-content .post-article-rich-quote a:hover,
.post-article-ti-text .post-article-rich-quote a:hover,
.post-article-content .post-article-rich-quote a:focus-visible,
.post-article-ti-text .post-article-rich-quote a:focus-visible {
  color: var(--pg-comment-accent-hover);
}

.post-article-content .post-article-rich-hr,
.post-article-ti-text .post-article-rich-hr {
  border: 0;
  border-top: 1px solid #3a3a3a;
  height: 0;
  margin: 16px 0;
}

.post-article-content img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  border: none;
  background: transparent;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
}

[dir] .post-article-content img {
  border-style: none;
}

.post-article-content-block--text-image {
  /* контракт: includes/PG_TEXT_IMAGE_CARD.md — между блоками только padding обёртки (32px), не margin */
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: var(--pg-ti-gap, 1rem 1.25rem);
  margin: 0;
  box-sizing: border-box;
}

.post-article-content-block--text-image.post-article-content-block--ti-image_left {
  flex-direction: row;
}

.post-article-content-block--text-image.post-article-content-block--ti-image_right {
  flex-direction: row;
}

/* Без подписи в image_right в DOM только media — прижимаем картинку вправо */
.post-article-content-block--text-image.post-article-content-block--ti-image_right:not(:has(.post-article-ti-text)) {
  justify-content: flex-end;
}

.post-article-content-block--text-image.post-article-content-block--ti-image_right:not(:has(.post-article-ti-text)) .post-article-ti-media {
  margin-left: auto;
}

.post-article-content-block--text-image.post-article-content-block--ti-image_top {
  flex-direction: column;
  align-items: stretch;
}

.post-article-content-block--text-image.post-article-content-block--ti-image_bottom {
  flex-direction: column;
  align-items: stretch;
}

.post-article-content-block--text-image.post-article-content-block--ti-caption_below,
.post-article-content-block--text-image.post-article-content-block--ti-caption_above {
  flex-direction: column;
  align-items: stretch;
  gap: var(--pg-ti-caption-gap, 0.2rem 0.5rem);
}

.post-article-content-block--text-image.post-article-content-block--ti-caption_below .post-article-ti-media,
.post-article-content-block--text-image.post-article-content-block--ti-caption_above .post-article-ti-media {
  flex: 0 0 auto;
  max-width: 100%;
  width: 100%;
}

.post-article-content-block--text-image.post-article-content-block--ti-caption_below .post-article-ti-text,
.post-article-content-block--text-image.post-article-content-block--ti-caption_above .post-article-ti-text {
  flex: 0 1 auto;
  min-width: 0;
  width: 100%;
  white-space: pre-wrap;
  margin: 0;
}

.post-article-content-block--text-image.post-article-content-block--ti-image_top .post-article-ti-text,
.post-article-content-block--text-image.post-article-content-block--ti-image_bottom .post-article-ti-text {
  flex: 0 1 auto;
  min-width: 0;
}

.post-article-content-block--text-image .post-article-ti-media {
  flex: 0 0 auto;
  margin: 0;
  max-width: 42%;
}

.post-article-content-block--text-image .post-article-ti-dual {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.post-article-content-block--text-image .post-article-ti-dual .post-article-ti-media {
  flex: 0 1 auto;
  max-width: calc(50% - 0.5rem);
  min-width: 0;
}

.post-article-content-block--text-image:not(.post-article-content-block--ti-caption_below):not(.post-article-content-block--ti-caption_above) .post-article-ti-text {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--pg-font-condensed-cjk);
  font-size: var(--pg-type-18-size);
  line-height: var(--pg-type-18-lh-body);
  font-weight: 400;
  letter-spacing: normal;
}

.post-article-content-block--text-image.post-article-content-block--ti-caption_below .post-article-ti-text,
.post-article-content-block--text-image.post-article-content-block--ti-caption_above .post-article-ti-text {
  font-family: var(--pg-font-condensed-cjk);
  font-size: var(--pg-type-18-size);
  line-height: var(--pg-type-18-lh-body);
  font-weight: 400;
  letter-spacing: normal;
}

@media (max-width: 1024px) {
  .post-article-excerpt {
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: var(--pg-type-18-size);
    line-height: var(--pg-type-18-lh-body);
    font-weight: 400;
    letter-spacing: normal;
  }

  .post-article-content p {
    font-family: var(--pg-font-base);
    font-size: var(--pg-type-18-size);
    line-height: var(--pg-type-18-lh-body);
    font-weight: 400;
    letter-spacing: normal;
  }

  .post-article-content-block {
    font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
    font-size: var(--pg-type-18-size);
    line-height: var(--pg-type-18-lh-body);
    font-weight: 400;
    letter-spacing: normal;
  }

  .post-article-content-block--text-image .post-article-ti-text {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: normal;
  }
}

.post-article-content-block--text-image .post-article-ti-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.post-article-ti-dual .js-post-card-image {
  cursor: zoom-in;
}

.post-article-ti-dual .js-post-card-image:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.pg-card-lightbox-open {
  overflow: hidden;
}

.pg-card-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-card-lightbox[hidden] {
  display: none !important;
}

.pg-card-lightbox__stage {
  width: min(96vw, 1800px);
  height: min(92vh, 1200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pg-card-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.pg-card-lightbox__close,
.pg-card-lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(20, 20, 20, 0.62);
  color: #fff;
  cursor: pointer;
}

.pg-card-lightbox__close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.pg-card-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 64px;
  border-radius: 12px;
  font-size: 36px;
  line-height: 1;
}

.pg-card-lightbox__nav--prev {
  left: 16px;
}

.pg-card-lightbox__nav--next {
  right: 16px;
}

@media (max-width: 640px) {
  .pg-card-lightbox__stage {
    width: 100vw;
    height: 100vh;
    padding: 12px;
  }

  .pg-card-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .pg-card-lightbox__nav {
    width: 42px;
    height: 56px;
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .post-article-content-block--text-image.post-article-content-block--ti-image_left,
  .post-article-content-block--text-image.post-article-content-block--ti-image_right {
    flex-direction: column;
    align-items: stretch;
  }

  .post-article-content-block--text-image.post-article-content-block--ti-image_left .post-article-ti-media,
  .post-article-content-block--text-image.post-article-content-block--ti-image_right .post-article-ti-media {
    max-width: 100%;
    width: 100%;
    align-self: center;
  }

  .post-article-content-block--text-image .post-article-ti-dual {
    flex-direction: column;
    align-items: stretch;
  }

  .post-article-content-block--text-image .post-article-ti-dual .post-article-ti-media {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
}

/* Сайдбар поста: без внешних рамок (изменения обводок — только по согласованию) */
.post-article-sidebar {
  flex: 1;
  width: 100%;
  max-width: 474px;
  background-color: #181818;
  margin-top: 20px;
  padding: 40px 32px;
  position: relative;
  border: none;
  box-shadow: none;
  outline: none;
  box-sizing: border-box;
}

.post-article-page[dir="ltr"] .post-article-sidebar::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 250px;
  height: 30px;
  background-color: #181818;
  clip-path: polygon(0 0, 224px 0, 250px 100%, 0 100%);
}

.post-article-sidebar-item {
  position: relative;
  border-bottom: 1px solid #333;
  margin-bottom: 48px;
  padding-bottom: 48px;
}

.post-article-sidebar-item:last-child {
  margin-bottom: 0;
}

.post-article-sidebar-item--tags {
  padding-bottom: 32px;
}

.post-article-sidebar-item--end {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Линия под «Популярное» — как у «Актуальное» и даты в ленте */
.post-article-sidebar-item--end > .post-article-sidebar-title {
  padding-bottom: 14px;
  overflow: visible;
}

.post-article-sidebar-item--end > .post-article-sidebar-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 1px;
  pointer-events: none;
  z-index: 1;
  background: #2a2a2a;
}

.post-article-sidebar-title {
  margin: 0 0 24px 0;
  font-size: 20px;
  line-height: 10px;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-top: 5px;
  padding-left: 18px;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  border-radius: 0;
}

/* «Актуальное»: один блок после глобального .post-article-sidebar-title — иначе lh/margin с ним перебивают выравнивание с датой */
.pg-news-head-row .pg-news-head-row__actual-title.post-article-sidebar-title {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 4px 8px 0 18px;
  min-height: 24px;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: normal;
  color: #fff;
  text-transform: uppercase;
  border-radius: 0;
}

.post-article-page[dir="ltr"] .post-article-sidebar-item .post-article-sidebar-title::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 16px;
  background-color: #e30017;
  transform: skewX(-22deg);
}

@media (min-width: 1025px) {
  .pg-news-sidebar .post-article-page[dir="ltr"] .post-article-sidebar-item .post-article-sidebar-title::before,
  .pg-news-head-row .pg-news-head-row__actual-title.post-article-sidebar-title::before,
  .pg-news--feed h3.post-article-sidebar-title.pg-feed-day__title::before,
  .post-article-page[dir="ltr"] .post-article-sidebar-item .post-article-sidebar-title::before {
    width: 4px;
    height: 17px;
  }
}

.post-article-sidebar-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-article-sidebar-author-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.post-article-sidebar-author-link:hover .post-article-sidebar-name,
.post-article-sidebar-author-link:focus-visible .post-article-sidebar-name {
  text-decoration: underline;
}

.post-article-sidebar-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-article-sidebar-avatar-placeholder {
  display: inline-flex;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.post-article-sidebar-avatar-placeholder svg {
  width: 70px;
  height: 70px;
  display: block;
  border-radius: 50%;
}

.post-article-sidebar-name {
  color: #fff;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 20px;
  line-height: 23px;
  font-weight: 400;
  letter-spacing: normal;
  border-radius: 0;
}

.post-article-sidebar-category {
  margin: 0;
}

.post-article-sidebar-category-name,
.post-article-sidebar-category-link {
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.post-article-sidebar-category-link {
  color: #b3b3b3;
  text-decoration: none;
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid #b3b3b3;
  margin-bottom: 16px;
  margin-right: 16px;
}

.post-article-sidebar-category-link:hover {
  color: #fff;
  background-color: #4d4d4d;
}

.post-article-sidebar-category-name {
  color: #b3b3b3;
}

.post-article-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
}

.post-article-sidebar-tag {
  color: #f7f7f7;
  font-size: 16px;
  line-height: 22px;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  padding: 4px 16px;
  background-color: #333;
  border: 1px solid #333;
  margin-bottom: 16px;
  margin-right: 16px;
}

.post-article-sidebar-tag:hover {
  color: #fff;
  background-color: #4d4d4d;
  border: 1px solid #b3b3b3;
}

.post-article-sidebar-tags-empty {
  color: #999;
  font-size: 16px;
}

.post-article-sidebar-popular {
  margin: 0;
}

.post-article-sidebar-popular-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-article-sidebar-popular-item {
  margin-bottom: 18px;
}

.post-article-sidebar-popular-item:last-child {
  margin-bottom: 0;
}

.post-article-sidebar-popular-link {
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-article-sidebar-popular-link:hover {
  color: #fff;
}

.post-article-sidebar-popular-thumb {
  flex-shrink: 0;
  width: 144px;
  height: 88px;
  background: #1a1a1a;
  border-radius: 0;
  overflow: hidden;
  display: block;
  border: none;
  box-shadow: none;
  outline: none;
}

.post-article-sidebar-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
  box-shadow: none;
}

.post-article-sidebar-popular-name {
  flex: 1;
  min-width: 0;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 18.4px;
  letter-spacing: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  word-break: break-word;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.post-article-sidebar-popular-name-text {
  display: inline;
  position: relative;
  color: #fff;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 18.4px;
  font-weight: 400;
  letter-spacing: normal;
  border-radius: 0;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
}

.post-article-sidebar-popular-name-text:hover {
  color: #fff;
  background-size: 100% 1px;
}

.post-article-sidebar-popular-empty {
  color: #999;
  font-size: 16px;
}

/* Комментарии под текстом поста (колонка = ширина статьи) */
.post-article-main .post-article-comments.pg-block {
  border-radius: 0;
  padding: 20px 20px 22px 22px;
  border: 1px solid var(--pg-post-frame);
  border-left: 3px solid var(--pg-post-accent);
  background: linear-gradient(165deg, #161616 0%, #0f0f0f 40%, #111 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.post-article-main .post-article-comments {
  --pg-comment-accent: #6b9fff;
  --pg-comment-accent-hover: #8bb3ff;
  margin-top: 28px;
  color: #999;
  font-family: var(--pg-font-base);
  min-width: 0;
  max-width: 100%;
}

.post-article-main .post-article-comments h2 {
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: normal;
  margin: 0 0 12px 0;
  font-family: "Roboto Condensed", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

.post-article-main .post-article-comments h3 {
  color: #e7e7e7;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: normal;
  margin: 16px 0 10px 0;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
}

.post-article-main .post-article-comments h2 + h3 {
  margin-top: 8px;
}

.post-article-main .post-article-comments__thread {
  margin-top: 24px;
}

.post-article-main .post-article-comments__empty {
  margin: 0;
  color: #888;
  font-size: 15px;
  line-height: 1.45;
}

.post-article-main .post-article-comments a {
  color: var(--pg-comment-accent);
}

.post-article-main .post-article-comments a:hover {
  color: var(--pg-comment-accent-hover);
}

.post-article-main .post-article-comments button,
.post-article-main .post-article-comments input[type="submit"] {
  background: transparent;
  color: #b3b3b3;
  border: 1px solid #b3b3b3;
  padding: 4px 16px;
  border-radius: 0;
  cursor: pointer;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: normal;
}

.post-article-main .post-article-comments button:hover,
.post-article-main .post-article-comments input[type="submit"]:hover {
  color: #fff;
  background: #4d4d4d;
  border-color: #b3b3b3;
}

.post-article-main .post-article-comments textarea {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  font-family: var(--pg-font-base);
  font-size: 16px;
  line-height: 1.45;
  padding: 8px;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.post-article-main .post-article-comments textarea:focus {
  outline: none;
}

.post-article-main .post-article-comments textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #9a9a9a;
}

.post-article-main .post-article-comments button:focus,
.post-article-main .post-article-comments input[type="submit"]:focus {
  outline: none;
}

.post-article-main .post-article-comments button:focus-visible,
.post-article-main .post-article-comments input[type="submit"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #9a9a9a;
}

.post-article-main .post-article-comments ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.post-article-main .post-article-comments ul li {
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

.post-article-main .post-article-comments ul li:last-child {
  border-bottom: 0;
}

/* Дерево комментариев (ответы) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.post-article-main .post-article-comments ul.pg-comments {
  margin: 0 0 16px 0;
  min-width: 0;
  max-width: 100%;
}

.post-article-main .post-article-comments ul.pg-comment__children {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0 0 0 47px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Фиксируем один уровень сдвига: глубже дерево не уходит дальше вправо */
.post-article-main .post-article-comments ul.pg-comment__children ul.pg-comment__children {
  margin-top: 8px;
  padding-left: 0;
}

/* Буфер новых ответов (AJAX) и сворачиваемая ветка */
.post-article-main .post-article-comments .pg-comment__pending-replies {
  margin: 8px 0 0 0;
  padding: 0 0 0 47px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.post-article-main .post-article-comments .pg-comment__pending-replies ul.pg-comment__children ul.pg-comment__children {
  padding-left: 0;
}

.post-article-main .post-article-comments .pg-comment__pending-replies:empty {
  display: none;
}

.post-article-main .post-article-comments .pg-comment__replies-wrap {
  margin-top: 8px;
}

.post-article-main .post-article-comments .pg-comment__replies-wrap[hidden] {
  display: none !important;
}

.post-article-main .post-article-comments .pg-comment__replies-expand,
.post-article-main .post-article-comments .pg-comment__replies-collapse-bottom {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  margin: 0 12px 8px 0;
  padding: 5px 10px;
  border: 1px solid #555;
  border-radius: 0;
  background: #333;
  color: #fff;
  font-family: var(--pg-font-base);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: normal;
  cursor: pointer;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

.post-article-main .post-article-comments .pg-comment__replies-expand:hover,
.post-article-main .post-article-comments .pg-comment__replies-expand:focus-visible,
.post-article-main .post-article-comments .pg-comment__replies-collapse-bottom:hover,
.post-article-main .post-article-comments .pg-comment__replies-collapse-bottom:focus-visible {
  background: #444;
  border-color: #666;
  color: #fff;
  outline: none;
  text-decoration: none;
}

.post-article-main .post-article-comments .pg-comment__replies-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.post-article-main
  .post-article-comments
  .pg-comment__replies-expand
  .pg-comment__replies-chevron {
  transition: transform 0.15s ease;
  transform-origin: center;
}

.post-article-main .post-article-comments .pg-comment__replies-wrap.is-open .pg-comment__replies-expand .pg-comment__replies-chevron {
  transform: rotate(180deg);
}

.post-article-main .post-article-comments .pg-comment__replies-tick {
  display: block;
  flex-shrink: 0;
}

.post-article-main .post-article-comments .pg-comment__replies-tick path {
  stroke-width: 1.5;
}

.post-article-main .post-article-comments .pg-comment__pending-replies > .pg-comment {
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

.post-article-main .post-article-comments .pg-comment__pending-replies > .pg-comment:last-child {
  border-bottom: 0;
}

.post-article-main .post-article-comments .pg-comment__replies-panel {
  margin-top: 8px;
}

.post-article-main .post-article-comments .pg-comment__replies-collapse-bottom {
  margin: 10px 12px 0 0;
}

.post-article-main .post-article-comments li.pg-comment {
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 12px;
  overflow: visible;
}

/* Аватары в треде (как круг в шапке .pg-profile-btn__avatar) */
.post-article-main .post-article-comments .pg-comment__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.post-article-main .post-article-comments .pg-comment__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  background: #525252;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.post-article-main .post-article-comments .pg-comment__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-article-main .post-article-comments .pg-comment__avatar-fallback {
  font-family: var(--pg-font-alt);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #f5f5f5;
}

.post-article-main .post-article-comments .pg-comment__main {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.post-article-main .post-article-comments .pg-comment__content {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-article-main .post-article-comments .pg-comment__reactions {
  position: relative;
  flex-shrink: 0;
  align-self: flex-start;
  min-width: max-content;
  overflow: visible;
}

.post-article-main .post-article-comments .pg-comment__reactions-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
}

.post-article-main .post-article-comments .pg-comment__reactions-heart:hover,
.post-article-main .post-article-comments .pg-comment__reactions-heart:focus-visible {
  color: #e30017;
  outline: none;
}

.post-article-main .post-article-comments .pg-comment__reactions-summary {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 3px;
  margin: 0;
  padding: 2px 0 2px 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #bbb;
  font-family: var(--pg-font-base);
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
}

.post-article-main .post-article-comments .pg-comment__reactions-summary:hover,
.post-article-main .post-article-comments .pg-comment__reactions-summary:focus-visible {
  background: transparent;
  color: #bbb;
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

.post-article-main .post-article-comments .pg-comment__reactions-summary:hover .pg-comment__reactions-total,
.post-article-main .post-article-comments .pg-comment__reactions-summary:focus-visible .pg-comment__reactions-total {
  color: #888;
}

.post-article-main .post-article-comments .pg-comment__reactions-summary--static {
  cursor: default;
  pointer-events: none;
}

.post-article-main .post-article-comments .pg-comment__reactions-stack {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
}

.post-article-main .post-article-comments .pg-comment__reactions-stack-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  position: relative;
}

.post-article-main .post-article-comments .pg-comment__reactions-stack-item:not(:first-child) {
  margin-left: -1px;
}

.post-article-main .post-article-comments .pg-comment__reactions-total {
  color: #888;
  font-size: 15px;
  font-weight: 400;
  margin-left: 0;
  transform: translate(1px, 2px);
}

.post-article-main .post-article-comments .pg-comment__reactions-total--hot {
  color: var(--pg-accent);
}

/* Выпадашка реакций: та же логика позиционирования, что .pg-profile-dropdown (база + 1025px + вложенный 1900px) */
.post-article-main .post-article-comments .pg-comment__reactions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 120;
  box-sizing: border-box;
  grid-template-columns: repeat(7, minmax(30px, 1fr));
  gap: 4px 2px;
  min-width: min(318px, calc(100vw - 32px));
  margin: 0;
  padding: 10px 8px;
  border: none;
  border-radius: 0;
  background: #f5f5f5;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  overflow: visible;
}

@media (min-width: 1025px) {
  /* Стрелка как у .pg-profile-wrap--header.is-profile-open::after, но на триггере (центр = центр кнопки, не дропдауна) */
  .post-article-main .post-article-comments .pg-comment__reactions--dropdown-open .js-comment-reaction-trigger {
    position: relative;
    z-index: 13;
  }

  .post-article-main .post-article-comments .pg-comment__reactions--dropdown-open .js-comment-reaction-trigger::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #f5f5f5;
    z-index: 13;
    pointer-events: none;
  }

  .post-article-main .post-article-comments .pg-comment__reactions-dropdown {
    right: -131px;
    min-width: 318px;
    z-index: 12;
  }

  @media (max-width: 1900px) {
    .post-article-main .post-article-comments .pg-comment__reactions-dropdown {
      right: -17px;
    }

    [dir="rtl"] .post-article-main .post-article-comments .pg-comment__reactions-dropdown {
      right: auto;
      left: -17px;
    }
  }
}

.post-article-main .post-article-comments .pg-comment__reactions-dropdown:not([hidden]) {
  display: grid;
}

.post-article-main .post-article-comments .pg-comment__reactions-dropdown[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .post-article-main .post-article-comments .pg-comment__reactions-dropdown {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: min(300px, calc(100vw - 24px));
    min-width: min(300px, calc(100vw - 24px));
    gap: 2px 1px;
    padding: 6px 6px;
  }

  .post-article-main .post-article-comments .pg-comment__reactions-opt-cell {
    min-height: 28px;
  }

  .post-article-main .post-article-comments .pg-comment__reactions-opt-emoji {
    font-size: 20px;
  }
}

.post-article-main .post-article-comments .pg-comment__reactions-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #202020;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.12s ease;
}

.post-article-main .post-article-comments .pg-comment__reactions-opt:hover,
.post-article-main .post-article-comments .pg-comment__reactions-opt:focus-visible {
  background-color: rgba(0, 0, 0, 0.05);
  outline: none;
}

.post-article-main .post-article-comments .pg-comment__reactions-opt.is-mine {
  background-color: rgba(227, 0, 23, 0.1);
  box-shadow: inset 0 0 0 2px rgba(227, 0, 23, 0.35);
}

.post-article-main .post-article-comments .pg-comment__reactions-opt-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  overflow: visible;
}

.post-article-main .post-article-comments .pg-comment__reactions-opt-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.15s ease;
}

.post-article-main .post-article-comments .pg-comment__reactions-opt:hover .pg-comment__reactions-opt-emoji,
.post-article-main .post-article-comments .pg-comment__reactions-opt:focus-visible .pg-comment__reactions-opt-emoji {
  transform: scale(1.12);
}

.post-article-main .post-article-comments .pg-comment__reactions-opt-badge {
  position: absolute;
  right: -4px;
  bottom: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d8d8d8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  color: #202020;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.post-article-main .post-article-comments .pg-comment__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 6px;
  font-size: 16px;
  min-width: 0;
  max-width: 100%;
}

.post-article-main .post-article-comments .pg-comment__author {
  color: #fff;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: normal;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-article-main .post-article-comments .pg-comment__time {
  color: #666;
  font-size: 13px;
}

.post-article-main .post-article-comments .pg-comment__body {
  color: #bbb;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: normal;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-article-main .post-article-comments .pg-comment__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 8px;
}

.post-article-main .post-article-comments .pg-comment__reply {
  display: inline-flex;
  align-items: center;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none;
}

.post-article-main .post-article-comments .pg-comment__reply:hover,
.post-article-main .post-article-comments .pg-comment__reply:focus-visible {
  text-decoration: none;
}

.post-article-main .post-article-comments .pg-comment__delete-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.post-article-main .post-article-comments .pg-comment__delete {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  color: #888;
  font-family: var(--pg-font-base);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none;
  cursor: pointer;
}

.post-article-main .post-article-comments .pg-comment__delete:hover,
.post-article-main .post-article-comments .pg-comment__delete:focus-visible {
  color: #c44;
  background: transparent;
  box-shadow: none;
  outline: none;
  text-decoration: none;
}

.post-article-main .post-article-comments .pg-comment__reply-box {
  margin-top: 10px;
}

/* Ответ: под ником строка «@ник, …»; @ник — ссылка, при наведении превью родителя */
.post-article-main .post-article-comments .pg-comment__body--is-reply {
  margin-top: 2px;
}

.post-article-main .post-article-comments .pg-comment__body--is-reply .pg-comment__parent-ref {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  vertical-align: baseline;
  z-index: 2;
}

.post-article-main .post-article-comments .pg-comment__body--is-reply .pg-comment__parent-ref:hover,
.post-article-main .post-article-comments .pg-comment__body--is-reply .pg-comment__parent-ref:focus-within {
  z-index: 50;
}

.post-article-main .post-article-comments .pg-comment__reply-lead,
.post-article-main .post-article-comments .pg-comment__reply-rest {
  vertical-align: baseline;
}

.post-article-main .post-article-comments .pg-comment__parent-at {
  position: relative;
  z-index: 13;
  font-family: var(--pg-font-base);
  font-size: 16px;
  font-weight: 500;
  color: var(--pg-comment-accent);
  text-decoration: none;
}

.post-article-main .post-article-comments .pg-comment__parent-at:hover,
.post-article-main .post-article-comments .pg-comment__parent-at:focus-visible {
  color: var(--pg-comment-accent-hover);
  text-decoration: underline;
  outline: none;
}

/* Капля-указатель как у .pg-comment__reactions-dropdown (только ≥1025px) */
@media (min-width: 1025px) {
  .post-article-main .post-article-comments .pg-comment__parent-ref:hover .pg-comment__parent-at,
  .post-article-main .post-article-comments .pg-comment__parent-ref:focus-within .pg-comment__parent-at {
    z-index: 13;
  }

  .post-article-main .post-article-comments .pg-comment__parent-ref:hover .pg-comment__parent-at::after,
  .post-article-main .post-article-comments .pg-comment__parent-ref:focus-within .pg-comment__parent-at::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #f5f5f5;
    z-index: 13;
    pointer-events: none;
  }
}

.post-article-main .post-article-comments .pg-comment__parent-popover {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  box-sizing: border-box;
  /* Ширина от viewport, не от узкого .parent-ref (иначе текст в один знак в строке) */
  width: min(420px, calc(100vw - 24px));
  margin: 0;
  padding: 0;
  z-index: 12;
  overflow: visible;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .post-article-main .post-article-comments .pg-comment__parent-popover {
    width: min(760px, calc(100vw - 48px));
  }
}

.post-article-main .post-article-comments .pg-comment__parent-ref:hover .pg-comment__parent-popover,
.post-article-main .post-article-comments .pg-comment__parent-ref:focus-within .pg-comment__parent-popover {
  display: block;
  pointer-events: auto;
}

/* Панель как у выпадашки эмодзи: #f5f5f5 и та же тень */
.post-article-main .post-article-comments .pg-comment__parent-popover-inner {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: none;
  border-radius: 0;
  background: #f5f5f5;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.2);
  font-family: var(--pg-font-base);
}

.post-article-main .post-article-comments .pg-comment__parent-popover-text {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.45;
  color: #333;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

/* На тач-экранах отключаем hover-поповер у @ссылки, чтобы не залипал и не блокировал скролл */
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .post-article-main .post-article-comments .pg-comment__body--is-reply .pg-comment__parent-ref:hover,
  .post-article-main .post-article-comments .pg-comment__body--is-reply .pg-comment__parent-ref:focus-within {
    z-index: 2;
  }

  .post-article-main .post-article-comments .pg-comment__parent-popover,
  .post-article-main .post-article-comments .pg-comment__parent-ref:hover .pg-comment__parent-popover,
  .post-article-main .post-article-comments .pg-comment__parent-ref:focus-within .pg-comment__parent-popover {
    display: none !important;
    pointer-events: none !important;
  }
}

.post-article-main .post-article-comments .pg-comment__reply-form {
  min-width: 0;
  max-width: 100%;
}

.post-article-main .post-article-comments .pg-comment__reply-form textarea {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.post-article-main .post-article-comments .pg-comment__submit {
  margin-top: 8px;
  font-family: "Roboto Condensed", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: normal;
  color: #b3b3b3;
  text-decoration: none;
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid #b3b3b3;
  background: transparent;
  box-shadow: none;
}

.post-article-main .post-article-comments .pg-comment__submit:hover,
.post-article-main .post-article-comments .pg-comment__submit:focus-visible {
  color: #fff;
  background-color: #4d4d4d;
  border-color: #b3b3b3;
  outline: none;
}

/* Планшет и ниже — одна колонка */
@media (max-width: 1024px) {
  .post-article-wrapper {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .post-article-main {
    margin-right: 0;
    max-width: none;
  }

  .post-article-sidebar {
    max-width: none;
    min-width: 0;
    margin-top: 40px;
  }

  .post-article-page[dir="ltr"] .post-article-sidebar::before {
    display: none;
  }

  /*
   * Комментарии на ширину до краёв чёрного фона страницы: компенсируем --post-article-pad-x.
   */
  .post-article-main .post-article-comments.pg-block {
    width: calc(100% + 2 * var(--post-article-pad-x));
    max-width: none;
    margin-left: calc(-1 * var(--post-article-pad-x));
    margin-right: calc(-1 * var(--post-article-pad-x));
    padding: 20px 16px 22px;
  }

  .post-article-main .post-article-comments .pg-comment__body {
    overflow-wrap: anywhere;
  }

  .post-article-main .post-article-comments h2 {
    font-size: var(--pg-m-title-size);
    line-height: var(--pg-m-title-lh);
    font-weight: var(--pg-m-title-weight);
    letter-spacing: normal;
  }

  .post-article-main .post-article-comments h3 {
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
  }

  .post-article-main .post-article-comments .pg-comment__author {
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
  }

  .post-article-main .post-article-comments .pg-comment__reply,
  .post-article-main .post-article-comments .pg-comment__delete {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: normal;
    text-decoration: none;
  }

  .post-article-main .post-article-comments .pg-comment__submit,
  .post-article-main .post-article-comments button,
  .post-article-main .post-article-comments input[type="submit"] {
    font-size: var(--pg-m-action-size);
    line-height: var(--pg-m-action-lh);
    font-weight: var(--pg-m-action-weight);
    letter-spacing: normal;
  }
}

/* Комментарии на мобильных: «Добавить комментарий» */
@media (max-width: 768px) {
  .post-article-main .post-article-comments h3 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: normal;
  }
}

/* Узкие экраны: заголовок поста / темы хаба */
@media (max-width: 1024px) {
  .post-article-title {
    font-size: 28px;
    line-height: 32px;
    font-weight: 500;
  }

  .pg-tag-hub-topic {
    font-size: 28px;
    line-height: 32px;
    font-weight: 500;
  }

  .post-article-content .post-article-inline-heading--depth-1,
  .post-article-ti-text .post-article-inline-heading--depth-1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .post-article-content .post-article-inline-heading--depth-2,
  .post-article-ti-text .post-article-inline-heading--depth-2 {
    font-size: 21px;
  }

  .post-article-content .post-article-inline-heading--depth-3,
  .post-article-ti-text .post-article-inline-heading--depth-3 {
    font-size: 19px;
  }

  .post-article-content .post-article-inline-heading--depth-4,
  .post-article-ti-text .post-article-inline-heading--depth-4 {
    font-size: 20px;
  }

  .post-article-content .post-article-inline-heading--depth-5,
  .post-article-ti-text .post-article-inline-heading--depth-5 {
    font-size: 19px;
  }

  .post-article-content .post-article-inline-heading--depth-6,
  .post-article-ti-text .post-article-inline-heading--depth-6 {
    font-size: 18px;
  }
}

/* Планшет — уменьшенные отступы и шрифты */
@media (max-width: 768px) {
  .post-article-page {
    --post-article-pad-x: 20px;
    padding: 32px var(--post-article-pad-x) 48px;
  }

  .post-article-title-wrap {
    margin: 12px 0 40px;
  }

  .post-article-content {
    padding-bottom: 40px;
  }

  .post-article-content h2 {
    font-size: 26px;
  }

  .post-article-info,
  .post-article-meta-row {
    font-size: 16px;
    line-height: 24px;
    gap: 0;
  }

  .post-article-meta-row span:not(:last-child)::after {
    height: 20px;
    margin: 0 8px 0 12px;
  }

  .post-article-sidebar {
    display: none;
  }

  .post-article-sidebar-popular-thumb {
    width: 120px;
    height: 74px;
  }

}

/* Мобильные отступы и типографика */
@media (max-width: 480px) {
  .post-article-page {
    --post-article-pad-x: 16px;
    padding: 24px var(--post-article-pad-x) 40px;
  }

  .post-article-title-wrap {
    margin: 12px 0 32px;
  }

  .post-article-info,
  .post-article-meta-row {
    font-size: 16px;
    line-height: 24px;
    gap: 0;
  }

  .post-article-meta-row span:not(:last-child)::after {
    height: 20px;
    margin: 0 8px 0 12px;
  }

  .post-article-meta-row {
    margin-bottom: 10px;
    flex-wrap: nowrap;
  }

  .post-article-meta-row .post-article-date {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .post-article-meta-row .post-article-date-text {
    white-space: nowrap;
  }

  .post-article-meta-row .post-article-category-badge {
    flex: 1 1 auto;
    min-width: 0;
  }

  .post-article-meta-row .post-article-category-badge a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .post-article-meta-row .post-article-category-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .post-article-excerpt {
    font-size: var(--pg-type-18-size);
    line-height: var(--pg-type-18-lh-body);
  }

  .post-article-sidebar {
    display: none;
  }

  .post-article-sidebar-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
  }

  .post-article-sidebar-popular-thumb {
    width: 96px;
    height: 59px;
  }

  .post-article-sidebar-popular-name {
    font-size: 13px;
  }

}

/* Подвал сайта */
.pg-site-footer {
  margin: 0;
  padding: 0;
  background-color: #000;
}

.pg-site-footer__content {
  display: block;
  position: relative;
  background-color: #000;
  padding: 0 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media (max-width: 1650px) {
  .pg-site-footer__content {
    padding: 0 40px;
  }
}

/* Подвал: внутренние ряды (логотип/правовое · карта сайта). На ≤1024px весь блок скрыт — см. конец файла. */

.pg-site-footer__breadcrumb {
  width: 100%;
  min-height: 32px;
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  display: flex;
  align-items: center;
}

.pg-site-footer__footer-line {
  position: relative;
  width: 100%;
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #2a2a2a;
  padding: 0;
  line-height: 0;
}

.pg-site-footer__footer-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 0;
  border-top: 6px solid #4d4d4d;
  border-right: 10px solid transparent;
}

[dir="rtl"] .pg-site-footer__footer-line::before {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 10px solid transparent;
}

.pg-site-footer__footer-line::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 0;
  border-top: 6px solid #4d4d4d;
  border-left: 10px solid transparent;
}

[dir="rtl"] .pg-site-footer__footer-line::after {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 10px solid transparent;
}

.pg-site-footer__private,
.pg-site-footer__sitemap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1001;
}

.pg-site-footer__private {
  padding: 36px 0 18px;
  align-items: center;
}

.pg-site-footer__personal {
  font-size: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.pg-site-footer__language {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0);
  padding: 0;
  border: 0;
  margin: 0;
  font-family: inherit;
  line-height: 1.15;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pg-site-footer__language-icon,
.pg-site-footer__language .pg-site-footer__item-name {
  display: inline-block;
  vertical-align: middle;
  -webkit-transition: 500ms ease-in-out;
  -o-transition: 500ms ease-in-out;
  transition: 500ms ease-in-out;
}

.pg-site-footer__language-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  overflow: hidden;
  fill: #b3b3b3;
  outline: none;
}

.pg-site-footer__language:focus {
  outline: none;
}

.pg-site-footer__language:focus-visible {
  outline: 2px solid var(--pg-accent, #e30017);
  outline-offset: 2px;
}

.pg-site-footer__content .pg-site-footer__item-name {
  font-family: "Roboto Condensed", "Roboto", "Microsoft JhengHei", sans-serif;
}

.pg-site-footer__language .pg-site-footer__item-name {
  font-size: 15px;
  line-height: 1.2;
}

.pg-site-footer__region-button,
.pg-site-footer__footer-item-link {
  position: relative;
}

.pg-site-footer__region-button::before,
.pg-site-footer__footer-item-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #e30017;
  transition: all 0.2s ease-in-out;
}

[dir="rtl"] .pg-site-footer__region-button::before,
[dir="rtl"] .pg-site-footer__footer-item-link::before {
  right: 0;
  left: auto;
}

.pg-site-footer__region-button:hover::before,
.pg-site-footer__region-button:focus-visible::before,
.pg-site-footer__footer-item-link:hover::before,
.pg-site-footer__footer-item-link:focus-visible::before {
  width: 100%;
}

.pg-site-footer__terms {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 24px;
  flex-shrink: 0;
  text-align: right;
}

.pg-site-footer__terms > li {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

.pg-site-footer__terms > li > a {
  cursor: pointer;
  font-size: 14px;
  color: #b3b3b3;
  text-decoration: none;
  text-transform: uppercase;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

.pg-site-footer__terms > li > a:hover {
  color: #e30017;
}

.pg-site-footer__terms > li > a:focus {
  outline: none;
}

.pg-site-footer__terms > li > a:focus-visible {
  outline: 2px solid var(--pg-accent, #e30017);
  outline-offset: 2px;
}

.pg-site-footer__terms > li > a > .pg-site-footer__item-name {
  font-size: inherit;
  line-height: normal;
}

.pg-nav-account-link--logout {
  color: #e30017;
}

.pg-nav-account-link--logout:hover {
  color: #e30017;
}

/* ≤1024px: подвал скрыт целиком (избегаем переполнения вёрстки на планшетах/мобиле) */
@media (max-width: 1024px) {
  .pg-site-footer,
  .pg-site-footer__content,
  .pg-site-footer__breadcrumb,
  .pg-site-footer__footer-line,
  .pg-site-footer__private,
  .pg-site-footer__sitemap {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 767px) {
  .pg-legal-page {
    padding-bottom: 28px;
  }

  .pg-legal-page__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .pg-legal-card {
    padding: 18px 16px;
    margin-bottom: 18px;
  }

  .pg-legal-card__title {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .pg-legal-card__text,
  .pg-legal-rules__item {
    font-size: 16px;
    line-height: 1.65;
  }

  .pg-legal-rules__item {
    padding-left: 38px;
    padding-bottom: 14px;
  }

  .pg-legal-rules__item::before {
    font-size: 12px;
  }

  .pg-about-topics__item {
    font-size: 16px;
    line-height: 1.65;
  }

  .pg-legal-liability-list > li {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Сдвиг логотипа (десктоп): margin на .pg-logo-graphic-inner — без transform на flex-обёртках */
@media (min-width: 1025px) {
  .pg-site-header .pg-logo-graphic-inner {
    margin-left: var(--pg-logo-shift-x, 0px);
  }
}
