/* ============================================================
   prem-house article.css — стили статьи Tilda Поток (v9)
   Подключается в HEAD ленты публикаций через <link>.
   Размещается на Vercel: https://prem-house-rayt.vercel.app/article/article.css

   ВКЛЮЧАЕТ:
   - сетка Дзен-style: контейнер 760px, заголовок 760px, текст 720px
   - шапка ph-header (адаптированная под статьи)
   - breadcrumbs
   - meta-блок + теги-чипы
   - картинки 16:9 (760×427)
   - sticky TOC «Содержание статьи» + прогресс-бар
   - read-also карусель
   ============================================================ */

/* ===== RESET ===== */
html body.art-post-page { padding-top: 175px !important; overflow-x: hidden !important; }
@media (max-width: 1100px) { html body.art-post-page { padding-top: 76px !important; } }
@media (max-width: 600px) { html body.art-post-page { padding-top: 64px !important; } }

html body .t-feed__post-popup__navlinks-wrapper,
html body .t-feed__post-popup__nav,
html body .t-feed__post-popup__back-wrapper { display: none !important; }

html body .t-feed__post-popup__content-wrapper { display: block !important; width: 100% !important; }

/* ===== GRID: до 1279px — Дзен-style 760px по центру.
   С 1280px левый край остаётся на месте (50% − 380px), правый растягивается
   до правого края основной сетки сайта (1240/1340/1440). ===== */
html body .t-feed__post-popup__container,
html body .t-popup__container {
  max-width: 760px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}
@media (max-width: 600px) {
  /* Tilda на мобиле ставит контейнер косо (слева 20, справа 35) — выравниваем сами */
  html body .t-feed__post-popup__container,
  html body .t-popup__container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (min-width: 1280px) {
  html body .t-feed__post-popup__container,
  html body .t-popup__container {
    max-width: var(--art-wide, 1000px) !important;
    margin-left: calc(50% - 380px) !important;
    margin-right: 0 !important;
  }
  html body .t-feed__post-popup__text > p,
  html body .t-feed__post-popup__text > h2,
  html body .t-feed__post-popup__text > h3,
  html body .t-feed__post-popup__text > h4,
  html body .t-feed__post-popup__text > ul,
  html body .t-feed__post-popup__text > ol,
  html body .t-feed__post-popup__text > blockquote {
    max-width: 100% !important;
  }
}
:root { --art-grid: 1240px; --art-toc-w: 240px; --art-gap: 56px; }
@media (min-width: 1500px) { :root { --art-wide: 1050px; --art-grid: 1340px; --art-toc-w: 260px; } }
@media (min-width: 1800px) { :root { --art-wide: 1100px; --art-grid: 1440px; --art-toc-w: 280px; --art-gap: 64px; } }
@media (min-width: 2200px) { :root { --art-grid: 1640px; --art-toc-w: 300px; } }

html body .t-feed__post-popup__content,
html body .t-feed__post-popup__content.t-col_8,
html body .t-feed__post-popup__content[class*="t-col_"] {
  max-width: 100% !important;
  flex: 0 1 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===== ТЕКСТ ===== */
html body .t-feed__post-popup__text > p,
html body .t-feed__post-popup__text > h2,
html body .t-feed__post-popup__text > h3,
html body .t-feed__post-popup__text > h4,
html body .t-feed__post-popup__text > ul,
html body .t-feed__post-popup__text > ol,
html body .t-feed__post-popup__text > blockquote {
  max-width: 720px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html body .t-feed__post-popup__title,
html body .t-feed__post-popup__date {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

/* ===== HEADINGS (Arial — по требованию: везде Arial кроме шапки) ===== */
html body .t-feed__post-popup__title,
html body .t-feed__post-popup__text h1,
html body .t-feed__post-popup__text h2,
html body .t-feed__post-popup__text h3,
html body .t-feed__post-popup__text h4,
html body .t-feed__post-popup__text h5,
html body .t-feed__post-popup__text h6,
html body .t-feed__post-popup .t-title,
html body .t-feed__post-popup .t-heading {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
}
html body .t-feed__post-popup__title {
  font-size: clamp(28px, 3.4vw, 40px) !important;
  line-height: 1.1 !important;
  margin: 0 0 18px !important;
}
/* Серая чёрточка под заголовком статьи и под заголовками разделов:
   1px толщиной, треть ширины колонки, по левому краю */
html body .t-feed__post-popup__title::after,
html body .t-feed__post-popup__text h2::after,
html body .t-feed__post-popup__text h3::after {
  content: '';
  display: block;
  width: 33.33%;
  height: 1px;
  background: rgba(26, 26, 26, 0.28);
  margin: 12px 0 0;
}
html body .t-feed__post-popup__title::after { margin-top: 14px; }
html body .t-feed__post-popup__text h2 { font-size: clamp(24px, 2.4vw, 30px) !important; margin: 36px 0 12px !important; scroll-margin-top: 190px; }
html body .t-feed__post-popup__text h3 { font-size: clamp(20px, 2vw, 24px) !important; margin: 28px 0 10px !important; scroll-margin-top: 190px; }
html body .t-feed__post-popup__text h4 { font-size: 19px !important; margin: 22px 0 10px !important; scroll-margin-top: 190px; }

/* ===== ARIAL BODY ===== */
html body .t-feed__post-popup__text,
html body .t-feed__post-popup__descr,
html body .t-feed__post-popup__text p,
html body .t-feed__post-popup__text li,
html body .t-feed__post-popup__text blockquote,
html body .t-feed__post-popup .t-text,
html body .t-feed__post-popup .t-descr {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #1a1a1a !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
html body .t-feed__post-popup__text p { margin: 0 0 16px !important; }
html body .t-feed__post-popup__text ul,
html body .t-feed__post-popup__text ol { margin: 0 0 18px !important; padding-left: 24px !important; }
html body .t-feed__post-popup__text li { margin: 0 0 8px !important; }
html body .t-feed__post-popup__text ul li::marker { color: #F58F32; }
html body .t-feed__post-popup__text ol li::marker { color: #F58F32; font-weight: 700; }

html body .t-feed__post-popup__text blockquote {
  border-left: 3px solid #F58F32 !important;
  padding: 4px 0 4px 20px !important;
  margin: 24px 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: italic !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
}

html body .t-feed__post-popup__text a:not(.t-btn):not(.t-submit) {
  color: #F04F2F !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
  transition: color .2s ease !important;
}
html body .t-feed__post-popup__text a:not(.t-btn):not(.t-submit):hover { color: #F58F32 !important; }

html body .t-feed__post-popup__text strong,
html body .t-feed__post-popup__text b { font-weight: 700 !important; color: #1a1a1a !important; }
html body .t-feed__post-popup__text em,
html body .t-feed__post-popup__text i { font-style: italic !important; }

/* ===== META + TAG CHIPS ===== */
.art-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 4px 0 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px; color: rgba(26,26,26,0.6);
}
.art-meta__sep { color: rgba(26,26,26,0.25); }

.art-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 24px;
}
.art-tags__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px; font-weight: 500;
  border-radius: 100px;
  text-decoration: none !important; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .15s ease;
  white-space: nowrap;
}
.art-tags__chip--style {
  background: rgba(240, 79, 47, 0.08);
  color: #F04F2F !important;
  border: 1.5px solid rgba(240, 79, 47, 0.25);
}
.art-tags__chip--style:hover {
  background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%);
  color: #FFF !important; border-color: transparent;
  transform: translateY(-1px);
}
.art-tags__chip--topic {
  background: rgba(26, 26, 26, 0.04);
  color: #1a1a1a !important;
  border: 1.5px solid rgba(26, 26, 26, 0.12);
}
.art-tags__chip--topic:hover {
  border-color: rgba(26, 26, 26, 0.45);
  transform: translateY(-1px);
}
.art-tags__label {
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(26,26,26,0.45);
  margin-right: 2px; align-self: center;
}
@media (max-width: 600px) {
  .art-meta { font-size: 12.5px; gap: 8px; }
  .art-tags__chip { font-size: 12.5px; padding: 5px 12px; }
}

/* ===== ALTERNATING SECTIONS =====
   JS оборачивает группы блоков между H2/H3 в .art-section (чередование --light / --dark).
   --dark = фирменная светло-серая плашка #EFEFF1 (как «Популярные проекты» на главной)
   на ширину текста статьи, со скруглением. --light = прозрачный фон. */
html body .t-feed__post-popup__text .art-section {
  margin: 28px 0 !important;
  padding: 0 !important;
  position: relative !important;
}

html body .t-feed__post-popup__text .art-section--light {
  background: transparent;
}

html body .t-feed__post-popup__text .art-section--dark {
  background: #EFEFF1;
  border-radius: 24px;
  padding: 32px 36px !important;
}
@media (max-width: 700px) {
  html body .t-feed__post-popup__text .art-section--dark { padding: 22px 18px !important; border-radius: 16px; }
}

html body .t-feed__post-popup__text .art-section__inner {
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Первому заголовку в плашке — без лишнего воздуха сверху */
html body .t-feed__post-popup__text .art-section--dark .art-section__inner > h2:first-child,
html body .t-feed__post-popup__text .art-section--dark .art-section__inner > h3:first-child {
  margin-top: 0 !important;
}
/* Белые карточки-вставки на сером фоне плашки */
html body .t-feed__post-popup__text .art-section--dark blockquote {
  background: #FFFFFF;
  border-radius: 0 8px 8px 0;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  padding-right: 18px !important;
}

/* Параграфы и заголовки внутри секции — на полную ширину inner */
html body .t-feed__post-popup__text .art-section p,
html body .t-feed__post-popup__text .art-section h2,
html body .t-feed__post-popup__text .art-section h3,
html body .t-feed__post-popup__text .art-section h4,
html body .t-feed__post-popup__text .art-section ul,
html body .t-feed__post-popup__text .art-section ol,
html body .t-feed__post-popup__text .art-section blockquote {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Сглаживание перехода light → dark и dark → light тонкой ховер-тенью внутри */
html body .t-feed__post-popup__text .art-section--light + .art-section--dark {
  margin-top: 16px !important;
}
html body .t-feed__post-popup__text .art-section--dark + .art-section--light {
  margin-top: 16px !important;
}

/* ===== IMAGES 16:9 ===== */
html body .t-feed__post-popup__cover {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin: 0 auto 24px !important;
}
html body .t-feed__post-popup__cover img,
html body img.t-feed__post-popup__img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center !important;
  display: block !important;
}

html body .t-feed__post-popup__text figure,
html body .t-feed__post-popup__text .t-feed__post-popup__image-wrap {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #EEEFF2 !important;
  margin: 24px auto !important;
}
html body .t-feed__post-popup__text figure img,
html body .t-feed__post-popup__text .t-feed__post-popup__image-wrap img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center !important;
  display: block !important; border-radius: 10px !important;
}
html body .t-feed__post-popup__text > img,
html body .t-feed__post-popup__text p > img:only-child {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important; object-position: center !important;
  border-radius: 10px !important;
  margin: 24px auto !important;
  background: #EEEFF2 !important;
}

html body .t-feed__post-popup__text figcaption,
html body .t-feed__post-popup__text .t-img-caption {
  text-align: center !important;
  font-size: 13.5px !important;
  color: rgba(26,26,26,0.55) !important;
  margin-top: 8px !important;
  font-style: italic !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

html body .t-feed__post-popup__date,
html body .t-feed__post-popup__label,
html body .t-feed__post-popup__tag {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13.5px !important;
  color: rgba(26,26,26,0.6) !important;
}

/* ===== HEADER ph-header ===== */
.ph-header, .ph-header *, .ph-header *::before, .ph-header *::after {
  box-sizing: border-box !important;
  font-family: Arial, Helvetica, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
.ph-header {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 9000 !important;
  background-color: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #fff !important;
  transition: background-color .4s cubic-bezier(.4,0,.2,1) !important;
}
.ph-header.is-scrolled { background-color: rgba(0, 0, 0, 0.92) !important; }
.ph-header__top {
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  max-height: 200px !important; overflow: hidden !important;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s ease, opacity .35s ease, border-bottom-width .4s ease !important;
}
.ph-header.is-scrolled .ph-header__top {
  max-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
  opacity: 0 !important; border-bottom-width: 0 !important; pointer-events: none !important;
}
.ph-header__top-inner, .ph-header__bottom-inner {
  max-width: 1240px !important; margin: 0 auto !important; padding: 0 20px !important;
  display: flex !important; align-items: center !important; gap: 24px !important;
}
@media (min-width: 1500px) { .ph-header__top-inner, .ph-header__bottom-inner { max-width: 1340px !important; } }
@media (min-width: 1800px) { .ph-header__top-inner, .ph-header__bottom-inner { max-width: 1440px !important; } }
.ph-header__top-inner { justify-content: space-between !important; }
.ph-header__bottom-inner { justify-content: stretch !important; }

.ph-header__logo { display: flex !important; align-items: center !important; flex-shrink: 0 !important; text-decoration: none !important; }
.ph-header__logo img { display: block !important; width: auto !important; height: 54px !important; }

.ph-header__contacts-group { display: flex !important; align-items: center !important; gap: 28px !important; flex: 1 !important; justify-content: center !important; }
.ph-header__contact-item { display: inline-flex !important; align-items: center !important; gap: 8px !important; color: rgba(255,255,255,.9) !important; font-size: 14px !important; }
.ph-header__contact-item a { color: rgba(255,255,255,.9) !important; text-decoration: none !important; transition: color .2s ease !important; }
.ph-header__contact-item a:hover { color: #F58F32 !important; }

.ph-header__socials { display: inline-flex !important; align-items: center !important; gap: 10px !important; }
.ph-header__socials a { display: inline-flex !important; width: 28px !important; height: 28px !important; align-items: center !important; justify-content: center !important; opacity: .85 !important; transition: opacity .2s ease, transform .2s ease !important; }
.ph-header__socials a:hover { opacity: 1 !important; transform: translateY(-2px) !important; }
.ph-header__socials img { width: 18px !important; height: 18px !important; display: block !important; }

.ph-header__cta-group { display: flex !important; align-items: center !important; gap: 18px !important; flex-shrink: 0 !important; }
.ph-header__phone { color: #fff !important; font-size: 17px !important; font-weight: 600 !important; text-decoration: none !important; white-space: nowrap !important; transition: color .2s ease !important; }
.ph-header__phone:hover { color: #F58F32 !important; }

.ph-btn--callback {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  padding: 11px 22px !important;
  background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%) !important;
  color: #fff !important; font-size: 14px !important; font-weight: 600 !important;
  border: 0 !important; border-radius: 8px !important; cursor: pointer !important;
  text-decoration: none !important; box-shadow: 0 6px 16px rgba(240,79,47,.32) !important;
  transition: transform .15s ease, box-shadow .2s ease !important;
  white-space: nowrap !important;
}
.ph-btn--callback:hover { transform: translateY(-1px) !important; box-shadow: 0 10px 22px rgba(240,79,47,.42) !important; }

.ph-burger { display: none !important; background: none !important; border: 0 !important; cursor: pointer !important; width: 36px !important; height: 36px !important; padding: 0 !important; position: relative !important; }
.ph-burger span { display: block !important; position: absolute !important; left: 6px !important; right: 6px !important; height: 2px !important; background: #fff !important; border-radius: 2px !important; transition: all .25s ease !important; }
.ph-burger span:nth-child(1) { top: 12px !important; }
.ph-burger span:nth-child(2) { top: 18px !important; }
.ph-burger span:nth-child(3) { top: 24px !important; }
.ph-burger.is-open span:nth-child(1) { top: 18px !important; transform: rotate(45deg) !important; }
.ph-burger.is-open span:nth-child(2) { opacity: 0 !important; }
.ph-burger.is-open span:nth-child(3) { top: 18px !important; transform: rotate(-45deg) !important; }

.ph-header__bottom { padding: 12px 0 !important; }
.ph-header__nav {
  display: flex !important; width: 100% !important;
  justify-content: space-between !important; align-items: center !important;
  gap: 16px !important; list-style: none !important; padding: 0 !important; margin: 0 !important;
}
.ph-header__nav > li { position: relative !important; }
.ph-header__nav > li > a,
.ph-header__nav > li > button {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  color: #fff !important; font-size: 15px !important; font-weight: 500 !important;
  text-decoration: none !important; padding: 6px 0 !important;
  transition: color .2s ease !important; white-space: nowrap !important;
  background: none !important; border: 0 !important; cursor: pointer !important;
  font-family: inherit !important;
}
.ph-header__nav > li > a:hover,
.ph-header__nav > li > button:hover,
.ph-header__nav > li.is-open > a,
.ph-header__nav > li.is-open > button { color: #F58F32 !important; }
.ph-header__caret { font-size: 10px !important; margin-left: 2px !important; transition: transform .2s ease !important; }
.ph-header__nav > li.is-open .ph-header__caret { transform: rotate(180deg) !important; }

.ph-header__dropdown {
  position: absolute !important;
  top: calc(100% + 14px) !important; left: 0 !important;
  transform: translateY(-6px) !important;
  min-width: 280px !important;
  background: #FFFFFF !important;
  border-radius: 10px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.18) !important;
  padding: 12px 0 !important; list-style: none !important; margin: 0 !important;
  opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important;
  z-index: 10 !important;
}
.ph-header__nav > li:nth-last-child(-n+2) .ph-header__dropdown { left: auto !important; right: 0 !important; }
.ph-header__nav > li.is-open .ph-header__dropdown,
.ph-header__nav > li:hover .ph-header__dropdown {
  opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateY(0) !important;
}
.ph-header__dropdown li { list-style: none !important; margin: 0 !important; }
.ph-header__dropdown a {
  display: block !important; padding: 9px 22px !important;
  color: #242D33 !important; font-size: 14px !important; font-weight: 500 !important;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease !important;
  white-space: nowrap !important;
}
.ph-header__dropdown a:hover { background: #FFF6EF !important; color: #F58F32 !important; }
.ph-header__dropdown-group { padding: 10px 22px 4px !important; font-size: 11px !important; font-weight: 700 !important; color: #A5ABB0 !important; text-transform: uppercase !important; letter-spacing: 0.06em !important; }
.ph-header__dropdown-group:not(:first-child) { margin-top: 6px !important; border-top: 1px solid #EFEFF1 !important; padding-top: 14px !important; }

.ph-header__nav-mobile { display: none !important; }

@media (max-width: 1100px) {
  .ph-header__contacts-group { gap: 18px !important; }
  .ph-header__contact-item { font-size: 13px !important; }
  .ph-header__nav { gap: 12px !important; }
  .ph-header__nav > li > a, .ph-header__nav > li > button { font-size: 14px !important; }
}
@media (max-width: 991px) {
  .ph-header__top { padding: 10px 0 !important; }
  .ph-header__contacts-group { display: none !important; }
  .ph-header__cta-group { gap: 12px !important; }
  .ph-header__phone { font-size: 15px !important; }
  .ph-burger { display: block !important; }
  .ph-header__bottom { display: none !important; }
  .ph-header__nav-mobile.is-open {
    display: flex !important;
    position: fixed !important;
    top: 76px !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    z-index: 9500 !important;
    background: #0B0B0C !important;
    padding: 24px 20px 40px !important;
    overflow-y: auto !important;
    flex-direction: column !important; gap: 0 !important;
    list-style: none !important; margin: 0 !important;
  }
  .ph-header__nav-mobile > li { border-bottom: 1px solid rgba(255,255,255,.1) !important; padding: 0 !important; }
  .ph-header__nav-mobile > li > a,
  .ph-header__nav-mobile > li > button {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    width: 100% !important; padding: 16px 4px !important;
    color: #fff !important; font-size: 16px !important; font-weight: 500 !important;
    text-decoration: none !important; background: none !important; border: 0 !important;
    cursor: pointer !important; font-family: inherit !important; text-align: left !important;
  }
  .ph-header__nav-mobile .ph-header__caret { color: rgba(255,255,255,.6) !important; font-size: 14px !important; }
  .ph-header__nav-mobile > li.is-open .ph-header__caret { transform: rotate(180deg) !important; }
  .ph-header__dropdown-mobile { display: none !important; padding: 0 0 16px 12px !important; list-style: none !important; margin: 0 !important; }
  .ph-header__nav-mobile > li.is-open .ph-header__dropdown-mobile { display: block !important; }
  .ph-header__dropdown-mobile a { display: block !important; padding: 9px 4px !important; color: rgba(255,255,255,.78) !important; font-size: 14px !important; text-decoration: none !important; }
  .ph-header__dropdown-mobile a:hover { color: #F58F32 !important; }
  .ph-header__dropdown-mobile .ph-header__dropdown-group { padding: 8px 4px 2px !important; color: rgba(255,255,255,.45) !important; border-top: 1px solid rgba(255,255,255,.08) !important; margin-top: 6px !important; }
  .ph-header__dropdown-mobile .ph-header__dropdown-group:first-child { border-top: 0 !important; margin-top: 0 !important; }
}
@media (max-width: 600px) {
  .ph-header__logo img { height: 40px !important; width: auto !important; }
  .ph-btn--callback { padding: 9px 16px !important; font-size: 13px !important; }
  .ph-header__phone { font-size: 14px !important; }
}

/* ===== BREADCRUMBS ===== */
.art-bc {
  width: 100%; max-width: 760px;
  margin: 0 auto 8px;
  padding: 0 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px; color: rgba(26,26,26,0.6);
  line-height: 1.4; box-sizing: border-box;
}
.art-bc__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.art-bc__item { display: inline-flex; align-items: center; gap: 8px; }
.art-bc__item a { color: rgba(26,26,26,0.6); text-decoration: none; transition: color .2s ease; }
.art-bc__item a:hover { color: #F04F2F; }
.art-bc__sep { color: rgba(26,26,26,0.3); font-size: 11px; }
.art-bc__current { color: #1a1a1a; font-weight: 500; }

@media (max-width: 600px) {
  .art-bc { font-size: 12px; padding: 14px 16px 0; }
  .art-bc__current { display: inline-block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
}

/* ===== TOC sticky слева ===== */
/* Расчёт left: центр экрана (50vw) − полуширина контейнера статьи (380px = 760/2)
   − GAP до TOC (80px) − ширина TOC = надёжный отступ от статьи.
   Левый край закреплён этой формулой; плашка расширяется ВПРАВО к тексту
   на +40px (зазор до текста 80→40), сама позиция слева не меняется. */
.art-toc {
  position: fixed;
  top: 186px;
  left: max(16px, calc(50vw - 380px - 80px - var(--art-toc-w)));
  width: calc(var(--art-toc-w) + 40px);
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(36,45,51,.08), 0 1px 3px rgba(36,45,51,.04);
  padding: 18px 20px;
  font-family: Arial, Helvetica, sans-serif;
  z-index: 50;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
  max-height: calc(100vh - 210px);
  display: flex; flex-direction: column;
  box-sizing: border-box;
}
.art-toc.is-ready { opacity: 1; transform: translateY(0); }

.art-toc__progress {
  position: relative;
  height: 3px;
  background: rgba(26,26,26,0.08);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 0 14px;
}
.art-toc__progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%);
  border-radius: 100px;
  transition: width .15s linear;
  will-change: width;
}

.art-toc__title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1a1a1a;
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.art-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
}
.art-toc__list::-webkit-scrollbar { width: 4px; }
.art-toc__list::-webkit-scrollbar-thumb { background: rgba(26,26,26,0.15); border-radius: 100px; }

.art-toc__item { margin: 0; }
.art-toc__item--h3 { padding-left: 14px; }

.art-toc__link {
  display: block;
  padding: 7px 0 7px 10px;
  font-size: 13.5px;
  line-height: 1.35;
  color: rgba(26,26,26,0.55);
  text-decoration: none !important;
  border-left: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
  cursor: pointer;
}
.art-toc__link:hover { color: #F04F2F; }
.art-toc__item.is-active > .art-toc__link {
  color: #1a1a1a;
  font-weight: 600;
  border-left-color: #F04F2F;
}

/* TOC адаптив: над контентом на planшете, аккордеон на мобиле */
@media (max-width: 1279px) {
  .art-toc {
    position: static;
    width: 100%; max-width: 720px;
    margin: 0 auto 28px !important;
    left: auto; top: auto;
    max-height: none;
    transform: none;
    opacity: 1;
    box-sizing: border-box;
  }
}
@media (max-width: 600px) {
  .art-toc {
    padding: 14px 16px;
    margin-bottom: 22px;
  }
  /* Прогресс-бар на мобиле не нужен */
  .art-toc__progress { display: none !important; }
  .art-toc__title { font-size: 15px; cursor: pointer; user-select: none; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; }
  .art-toc:not(.is-collapsed) .art-toc__title { margin-bottom: 14px; }
  .art-toc__title::after { content: '▾'; font-size: 12px; color: rgba(26,26,26,0.5); transition: transform .25s ease; }
  .art-toc.is-collapsed .art-toc__title::after { transform: rotate(-90deg); }
  .art-toc.is-collapsed .art-toc__list { display: none; }
  .art-toc.is-collapsed .art-toc__cta { display: none; }
}

/* ===== Разделитель + «Задать вопрос» + звонок под TOC ===== */
.art-toc__divider {
  height: 2px;
  background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%);
  border-radius: 100px;
  margin: 14px 0 0;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .art-toc.is-collapsed .art-toc__divider,
  .art-toc.is-collapsed .art-toc__actions { display: none; }
}
.art-toc__actions {
  display: flex; gap: 8px; margin-top: 14px; flex-shrink: 0;
}
.art-toc__cta {
  display: flex; align-items: center; justify-content: center;
  flex: 1; min-width: 0;
  box-sizing: border-box;
  padding: 11px 14px;
  background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%);
  color: #FFFFFF !important;
  border: 0; border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(240, 79, 47, .25);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}
.art-toc__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(240, 79, 47, .34); filter: brightness(1.05); }
.art-toc__call {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex-shrink: 0;
  box-sizing: border-box;
  border: 1.5px solid #F04F2F;
  border-radius: 10px;
  background: #FFFFFF;
  text-decoration: none !important;
  transition: background .2s ease, transform .15s ease;
}
.art-toc__call svg { width: 18px; height: 18px; stroke: #F04F2F; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
.art-toc__call:hover { background: linear-gradient(135deg, #F04F2F 0%, #F58F32 100%); transform: translateY(-1px); }
.art-toc__call:hover svg { stroke: #FFFFFF; }

/* ===== Попап «Бесплатная консультация» ===== */
.art-cb {
  position: fixed; inset: 0; z-index: 99990;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.art-cb.is-open { display: flex; }
.art-cb__bd {
  position: absolute; inset: 0;
  background: rgba(20, 22, 28, 0.55);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
  animation: art-cb-fade .25s ease;
}
@keyframes art-cb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes art-cb-slide { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.art-cb__win {
  position: relative;
  width: 100%; max-width: 440px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px 32px 26px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  animation: art-cb-slide .3s ease;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
.art-cb__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(26,26,26,0.06); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.art-cb__close:hover { background: rgba(240, 79, 47, 0.1); }
.art-cb__close svg { width: 15px; height: 15px; stroke: #1a1a1a; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.art-cb__title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700; font-size: 26px; line-height: 1.15;
  color: #1a1a1a; margin: 0 0 8px;
}
.art-cb__sub { font-size: 14px; color: rgba(26,26,26,0.6); margin: 0 0 20px; line-height: 1.45; }
.art-cb__form { display: flex; flex-direction: column; gap: 10px; }
.art-cb__input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid rgba(26,26,26,0.14);
  border-radius: 11px; background: #FFFFFF;
  font-size: 14.5px; color: #1a1a1a; font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}
.art-cb__input:focus { outline: none; border-color: #F58F32; box-shadow: 0 0 0 3px rgba(245, 143, 50, 0.15); }
.art-cb__input.is-error { border-color: #F04F2F; box-shadow: 0 0 0 3px rgba(240, 79, 47, 0.14); background: rgba(240,79,47,0.03); }
.art-cb__submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; box-sizing: border-box; padding: 14px 20px; margin-top: 4px;
  background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%);
  color: #FFFFFF; border: 0; border-radius: 12px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(240, 79, 47, .3);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, opacity .2s ease;
}
.art-cb__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(240, 79, 47, .38); filter: brightness(1.05); }
.art-cb__submit.is-loading { pointer-events: none; opacity: 0.75; transform: none; }
.art-cb__submit svg { width: 17px; height: 17px; stroke: #FFFFFF; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.art-cb__submit.is-loading svg { animation: art-cb-spin 1.1s linear infinite; }
@keyframes art-cb-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.art-cb__submit.is-shake { animation: art-cb-shake .45s ease; }
@keyframes art-cb-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); } 40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); } 80% { transform: translateX(4px); }
}
.art-cb__error { display: none; font-size: 13px; color: #F04F2F; margin: 2px 0 0; text-align: center; }
.art-cb__error.is-visible { display: block; }
.art-cb__policy { font-size: 11.5px; color: rgba(26,26,26,0.45); margin: 10px 0 0; text-align: center; line-height: 1.4; }
.art-cb__policy a { color: rgba(26,26,26,0.6); text-decoration: underline; }
.art-cb__success { display: none; text-align: center; padding: 14px 0 8px; }
.art-cb.is-success .art-cb__form, .art-cb.is-success .art-cb__sub, .art-cb.is-success .art-cb__policy { display: none; }
.art-cb.is-success .art-cb__success { display: block; }
.art-cb__success-ico {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: linear-gradient(135deg, #F04F2F 0%, #F58F32 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(240, 79, 47, 0.3);
}
.art-cb__success-ico svg { width: 28px; height: 28px; stroke: #FFFFFF; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art-cb__success-title { font-family: 'Times New Roman', Times, serif; font-size: 24px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px; }
.art-cb__success-text { font-size: 14px; color: rgba(26,26,26,0.65); margin: 0; line-height: 1.5; }
body.art-cb-lock { overflow: hidden !important; }
@media (max-width: 600px) {
  .art-cb { padding: 14px; align-items: flex-end; }
  .art-cb__win { padding: 26px 22px 20px; border-radius: 18px 18px 14px 14px; max-width: 100%; }
  .art-cb__title { font-size: 22px; }
}

/* ===== READ-ALSO КАРУСЕЛЬ — оставляем шире статьи (1240px) ===== */
.art-ra {
  position: relative; width: 100%;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  padding: 40px 0 60px;
  box-sizing: border-box;
}
.art-ra__inner {
  position: relative; width: 100%;
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  box-sizing: border-box;
}
@media (min-width: 1500px) { .art-ra__inner { max-width: 1340px; } }
@media (min-width: 1800px) { .art-ra__inner { max-width: 1440px; } }

.art-ra__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 24px;
}
.art-ra__title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15;
  color: #1a1a1a; margin: 0; letter-spacing: -0.01em;
}
.art-ra__controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.art-ra__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: #FFFFFF;
  border: 1.5px solid rgba(26,26,26,0.14);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, opacity .2s ease, transform .15s ease;
  padding: 0;
}
.art-ra__arrow svg { width: 16px; height: 16px; stroke: #1a1a1a; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
.art-ra__arrow:hover { border-color: #F04F2F; background: #FFF6EF; }
.art-ra__arrow:hover svg { stroke: #F04F2F; }
.art-ra__arrow:active { transform: scale(0.96); }
.art-ra__arrow[disabled] { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.art-ra__all {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #1a1a1a !important;
  text-decoration: none !important;
  padding: 10px 18px; border: 1.5px solid rgba(26,26,26,0.14); border-radius: 10px;
  transition: border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.art-ra__all:hover { border-color: #F04F2F; color: #F04F2F !important; }
.art-ra__all svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.art-ra__viewport { overflow: hidden; }
.art-ra__track {
  display: flex; gap: 24px;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.art-ra__card {
  flex: 0 0 calc((100% - 48px) / 3);
  display: block; background: #FFFFFF;
  border-radius: 14px; overflow: hidden;
  text-decoration: none !important; color: inherit !important;
  box-shadow: 0 6px 20px rgba(36, 45, 51, .06), 0 1px 3px rgba(36, 45, 51, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.art-ra__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(36, 45, 51, .12), 0 2px 6px rgba(36, 45, 51, .06);
}
.art-ra__card-img-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  background: #EEEFF2; overflow: hidden;
}
.art-ra__card-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
  transition: transform .4s ease;
}
.art-ra__card:hover .art-ra__card-img { transform: scale(1.04); }
.art-ra__card-body { padding: 16px 18px 18px; }
.art-ra__card-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700; font-size: 16px; line-height: 1.3;
  color: #1a1a1a; margin: 0; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991px) {
  .art-ra__card { flex: 0 0 calc((100% - 18px) / 2); }
  .art-ra__track { gap: 18px; }
  .art-ra__arrow { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
  .art-ra { padding: 28px 0 40px; }
  .art-ra__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
  .art-ra__controls { align-self: stretch; justify-content: space-between; }
  .art-ra__card { flex: 0 0 calc(100% - 24px); }
  .art-ra__track { gap: 12px; }
  .art-ra__title { font-size: 22px; }
  .art-ra__card { border-radius: 12px; }
  .art-ra__card-title { font-size: 16px; }
  .art-ra__card-body { padding: 14px 16px 16px; }
}

/* ===== MOBILE статья ===== */
@media (max-width: 700px) {
  html body .t-feed__post-popup__text,
  html body .t-feed__post-popup__text p,
  html body .t-feed__post-popup__text li {
    font-size: 16.5px !important; line-height: 1.65 !important;
  }
  html body .t-feed__post-popup__title { font-size: 26px !important; }
  html body .t-feed__post-popup__text h2 { font-size: 22px !important; margin: 28px 0 10px !important; }
  html body .t-feed__post-popup__text h3 { font-size: 19px !important; margin: 22px 0 8px !important; }
  html body .t-feed__post-popup__text blockquote { font-size: 18px !important; padding-left: 16px !important; }
  html body .t-feed__post-popup__text figure,
  html body .t-feed__post-popup__text .t-feed__post-popup__image-wrap,
  html body .t-feed__post-popup__text > img,
  html body .t-feed__post-popup__text p > img:only-child {
    border-radius: 8px !important;
    margin: 18px auto !important;
  }
}

/* ===== Поиск по статьям с подсказками ===== */
.art-search {
  position: relative;
  margin: 0 0 22px;
  max-width: 720px;
  font-family: Arial, Helvetica, sans-serif;
}
.art-search__box { position: relative; }
.art-search__ico {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px;
  stroke: rgba(26,26,26,0.4); fill: none; stroke-width: 2; stroke-linecap: round;
  pointer-events: none;
}
.art-search__input {
  width: 100%; box-sizing: border-box;
  padding: 13px 16px 13px 44px;
  border: 1.5px solid rgba(26,26,26,0.14);
  border-radius: 12px;
  background: #FFFFFF;
  font-size: 14.5px; color: #1a1a1a; font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.art-search__input::placeholder { color: rgba(26,26,26,0.4); }
.art-search__input:focus { outline: none; border-color: #F58F32; box-shadow: 0 0 0 3px rgba(245, 143, 50, 0.15); }
.art-search__dd {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(36,45,51,0.16), 0 2px 6px rgba(36,45,51,0.06);
  max-height: 320px; overflow-y: auto;
  z-index: 80;
  padding: 6px;
}
.art-search__dd.is-open { display: block; }
.art-search__item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px; line-height: 1.35; color: #1a1a1a !important;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
}
.art-search__item:hover { background: #F6F6F8; color: #F04F2F !important; }
.art-search__empty {
  padding: 12px; font-size: 14px; color: rgba(26,26,26,0.5); text-align: center;
}
.art-search__all {
  display: block;
  padding: 10px 12px; margin-top: 2px;
  border-top: 1px solid rgba(26,26,26,0.07);
  font-size: 13px; font-weight: 700; color: #F04F2F !important;
  text-decoration: none !important;
}
.art-search__all:hover { color: #F58F32 !important; }
@media (max-width: 600px) {
  .art-search { margin-bottom: 18px; }
  .art-search__input { padding: 12px 14px 12px 40px; font-size: 14px; }
}

/* ===== Шапка раздела на странице статьи (заголовок + описание + назад + поиск) ===== */
.art-search { max-width: 100%; }
.art-search__row { display: flex; gap: 10px; align-items: stretch; }
.art-search__back {
  display: flex; align-items: center; justify-content: center;
  width: 47px; flex-shrink: 0;
  box-sizing: border-box;
  border: 1.5px solid rgba(26,26,26,0.14);
  border-radius: 12px;
  background: #FFFFFF;
  text-decoration: none !important;
  transition: border-color .2s ease, background .2s ease;
}
.art-search__back svg { width: 18px; height: 18px; stroke: #1a1a1a; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
.art-search__back:hover { border-color: #F04F2F; }
.art-search__back:hover svg { stroke: #F04F2F; }
.art-search__box { flex: 1; min-width: 0; position: relative; }

/* ===== Правки визуала статей (2026-06-15) ===== */
/* крошки: убрать визуально, но сохранить микроразметку schema.org для SEO */
.art-bc {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
/* поджать большой отступ от шапки сайта до строки поиска/фильтров */
.art-post-page .t-feed__post-popup__container { padding-top: 28px !important; }
/* TOC на десктопе выравнивается к заголовку из JS (alignToc) — без CSS-override top */
/* TOC: на мобиле (телефон) убрать совсем */
@media (max-width: 600px) {
  .art-toc { display: none !important; }
}

/* Кнопка «наверх» (добавляется из article.js) */
.ph-scrolltop {
  position: fixed !important;
  right: 24px !important; bottom: 24px !important;
  z-index: 8900 !important;
  width: 48px !important; height: 48px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  padding: 0 !important; border: 0 !important; border-radius: 50% !important; cursor: pointer !important;
  background: linear-gradient(135deg, #F04F2F 0%, #F58F32 100%) !important;
  box-shadow: 0 8px 22px rgba(240,79,47,.38) !important;
  opacity: 0 !important; visibility: hidden !important; transform: translateY(16px) !important;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .2s ease !important;
}
.ph-scrolltop.is-visible { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
.ph-scrolltop:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 26px rgba(240,79,47,.5) !important; }
.ph-scrolltop svg { width: 20px !important; height: 20px !important; stroke: #fff !important; fill: none !important; stroke-width: 2.4 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
@media (max-width: 600px) {
  .ph-scrolltop { right: 16px !important; bottom: 16px !important; width: 44px !important; height: 44px !important; }
}

/* ===== v9: мобильная шапка — кнопка скрывается, бургер в экране ===== */
@media (max-width: 600px) {
  .ph-header__top-inner { padding: 0 14px !important; gap: 10px !important; }
  .ph-btn--callback { display: none !important; }
  .ph-header__cta-group { gap: 10px !important; }
  .ph-header__logo img { height: 38px !important; }
  .ph-header__phone { font-size: 14px !important; }
}
@media (max-width: 360px) {
  .ph-header__phone { display: none !important; }
}

/* ===== v9: футер статей ===== */
.art-footer {
  background: #EEEFF2;
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  margin-top: 56px;
}
.art-footer__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 44px 20px 30px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  box-sizing: border-box;
}
.art-footer__title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px; font-weight: 700; margin: 0 0 14px;
}
.art-footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.art-footer__col > a {
  color: rgba(26,26,26,.75); text-decoration: none;
  font-size: 14px; line-height: 1.4; padding: 5px 0;
  transition: color .2s ease;
}
.art-footer__col > a:hover { color: #F04F2F; }
.art-footer__item { font-size: 14px; line-height: 1.45; color: rgba(26,26,26,.85); margin: 0 0 12px; }
.art-footer__item a { color: inherit; text-decoration: none; }
.art-footer__item a:hover { color: #F04F2F; }
.art-footer__label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(26,26,26,.45); margin-bottom: 3px;
}
.art-footer__socials { display: flex; gap: 10px; }
.art-footer__socials a {
  display: inline-flex; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%);
  align-items: center; justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.art-footer__socials a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(240,79,47,.35); }
.art-footer__socials img { width: 18px; height: 18px; display: block; filter: brightness(0) invert(1); }
.art-footer__bottom {
  max-width: 1240px; margin: 0 auto;
  padding: 16px 20px 26px;
  border-top: 1px solid rgba(26,26,26,.12);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(26,26,26,.6);
  box-sizing: border-box;
}
.art-footer__bottom a { color: inherit; text-decoration: none; }
.art-footer__bottom a:hover { color: #F04F2F; }
@media (max-width: 900px) {
  .art-footer__inner { grid-template-columns: 1fr 1fr; gap: 26px; padding: 36px 20px 24px; }
}
@media (max-width: 520px) {
  .art-footer__inner { grid-template-columns: 1fr; gap: 22px; }
  .art-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
