.blog-page .site-nav__link.is-active {
  color: var(--white);
}

/* Стандартный футер (.footer): catalog.css вешает mask на .icon-tg/.icon-vk — сбрасываем */
.blog-page .footer .icon.icon-tg,
.blog-page .footer .icon.icon-vk,
.legal-page .footer .icon.icon-tg,
.legal-page .footer .icon.icon-vk {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.blog-page .footer .icon.icon-tg,
.legal-page .footer .icon.icon-tg {
  background-image: url("/img/tg-icon.svg");
}

.blog-page .footer .icon.icon-vk,
.legal-page .footer .icon.icon-vk {
  background-image: url("/img/vk-icon.svg");
}

/* Отступ крошек от верха — как у .page-head в каталоге (catalog.css).
   Статьи (.blog-post-head) — отдельно, см. ниже. */
.blog-page .page-head:not(.blog-post-head) {
  padding-top: clamp(40px, calc(31.7px + 2.21vw), 60px);
}

/* Крошки как в каталоге: легче/мельче (style.css иначе даёт 18px/500) */
.blog-page .breadcrumbs {
  width: auto;
  padding: 0;
  margin: 0;
  gap: 7px;
  font-family: inherit;
  font-size: var(--fs-nav);
  line-height: var(--lh-nav);
  font-weight: 400;
  color: var(--gray-300);
}

.blog-page .breadcrumbs a {
  color: var(--gray-300);
  text-decoration: none;
  font-weight: 400;
}

.blog-page .breadcrumbs a:hover {
  color: var(--gray-100);
}

.blog-page .breadcrumbs span[aria-current] {
  color: var(--gray-100);
  font-weight: 400;
}

/* Крошки + H1 в одной колонке, общий левый край; gap как margin-top .page-title в каталоге */
.blog-page .blog-page-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, calc(9.4px + 1.77vw), 32px);
  width: 100%;
}

.blog-page .blog-page-heading .breadcrumbs,
.blog-page .blog-page-heading .page-title {
  margin: 0;
  padding: 0;
  width: auto;
  max-width: 100%;
}

/*
 * Статья: крошки, H1 и автор в одной колонке (.blog-article-col) —
 * общий левый край, как у .page-heading на /lorient (без своих padding-left).
 */
.blog-post-page .blog-article {
  padding-top: 0;
}

.blog-post-page .blog-article-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.blog-post-page .blog-post-head,
.blog-post-page .blog-post-head .breadcrumbs,
.blog-post-page .blog-meta,
.blog-post-page .blog-author,
.blog-post-page .blog-hero {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* статья: отступ от меню = 20px (не clamp 40–60 у .page-head) */
.blog-post-page.blog-page .page-head.blog-post-head {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 16px;
}

.blog-post-page .blog-post-head::after {
  display: none;
}

.blog-post-page .blog-author {
  box-sizing: border-box;
  /* внутренние отступы карточки автора оставляем, внешний левый край = колонка */
  padding-left: clamp(18px, calc(14px + 1vw), 28px);
  padding-right: clamp(18px, calc(14px + 1vw), 28px);
}

.blog-lead {
  margin-top: 12px;
  max-width: 72rem;
  margin-inline: auto;
  color: var(--gray-200);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-align: center;
}

.blog-article-col {
  width: 100%;
  max-width: 72rem;
  min-width: 0;
  margin-inline: auto;
  /* overflow-x: clip ломает position:sticky у содержания */
  overflow: visible;
}

body.blog-post-page.catalog-site-page {
  /* clip на body тоже мешает sticky; горизонтальный скролл держат .blog-table-wrap / .blog-content */
  overflow-x: visible;
}

.blog-listing,
.blog-article {
  padding-top: 16px; /* было clamp(28px … 48px) */
  padding-bottom: clamp(48px, calc(32px + 2vw), 80px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, calc(12px + 1.5vw), 36px);
}

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--card-pad-y) var(--card-pad);
  border-radius: var(--radius-card);
  background: #4a4a4a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: #4a4a4a;
}

.blog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s var(--ease);
}

@media (hover: hover) {
  .blog-card:hover .blog-card__media img {
    transform: scale(1.03);
  }
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 4px 4px 8px;
}

.blog-card__date {
  color: #cccccc;
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}

.blog-card__title {
  margin: 0;
  font-size: clamp(18px, calc(16px + 0.4vw), 22px);
  line-height: 1.3;
  font-weight: 600;
}

.blog-card__title a {
  color: #fff;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: #e2e2e2;
}

.blog-card__excerpt {
  margin: 0;
  color: #cccccc;
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  flex: 1;
}

.blog-card__more {
  align-self: flex-start;
  margin-top: 4px;
  text-decoration: none;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(32px, calc(24px + 1.5vw), 56px);
}

.blog-pagination__pages {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-pagination__page,
.blog-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-control);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e2e2;
  text-decoration: none;
  font-size: var(--fs-nav);
}

.blog-pagination__page.is-current {
  background: #4a4a4a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.blog-pagination__page:hover,
.blog-pagination__link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.blog-empty {
  color: var(--gray-200);
}

.blog-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  align-self: flex-start;
}

.blog-meta__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-sizing: border-box;
}

.blog-meta__icon {
  flex: none;
  width: 16px;
  height: 16px;
  background-color: var(--gray-200, #cccccc);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.blog-meta__icon--date {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.blog-meta__icon--read {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.blog-meta__icon--views {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

.blog-meta__value {
  flex: none;
  color: var(--gray-200, #cccccc);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  white-space: nowrap;
}

/* Первый экран статьи: слева текст, справа фото */
.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, calc(14px + 1.5vw), 40px);
  margin: 0 0 clamp(28px, calc(20px + 1.5vw), 48px);
  align-items: stretch;
  border: 0;
}

.blog-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.blog-hero__title {
  margin: 0 0 12px;
  width: 100%;
  max-width: none;
  color: #fff;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 700;
  text-align: left;
}

.blog-hero__announce {
  margin: 0;
  max-width: 760px;
  color: var(--gray-200, #cccccc);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  text-align: left;
}

.blog-hero__media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #4a4a4a;
  min-height: 260px;
  border: 0;
}

.blog-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

@media (max-width: 900px) {
  .blog-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-hero__copy {
    order: 1;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: 0;
  }

  .blog-hero__title {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-bottom: 10px;
  }

  .blog-meta {
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .blog-hero__announce {
    max-width: none;
  }

  .blog-hero__media {
    order: 2;
    min-height: 200px;
  }

  .blog-hero__media img {
    min-height: 200px;
  }
}

/* Сетка: липкое содержание слева + колонка статьи справа */
.blog-layout {
  display: block;
  width: 100%;
  min-width: 0;
}

.blog-layout--with-toc {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: clamp(24px, calc(16px + 1.5vw), 48px);
  /* stretch: колонка TOC высокой как статья — иначе sticky некуда «липнуть» */
  align-items: stretch;
}

.blog-layout__toc {
  min-width: 0;
  align-self: stretch;
}

.blog-layout__main {
  min-width: 0;
}

.blog-toc {
  margin: 0;
  padding: 0;
  max-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.blog-layout--with-toc .blog-toc {
  position: sticky;
  top: calc(var(--header-h, 100px) + 16px);
  max-height: calc(100vh - var(--header-h, 100px) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 2;
}

.blog-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

.blog-toc__summary::-webkit-details-marker {
  display: none;
}

.blog-toc__summary::marker {
  content: "";
  display: none;
}

.blog-toc__title {
  margin: 0;
  color: #fff;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
}

.blog-toc__chev {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid #cccccc;
  border-bottom: 2px solid #cccccc;
  transform: rotate(45deg);
  transition: transform 0.18s var(--ease, ease);
}

.blog-toc[open] .blog-toc__chev {
  transform: rotate(225deg);
  margin-top: 4px;
}

.blog-toc__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #e2e2e2;
}

.blog-toc__item {
  margin: 0;
}

.blog-toc__item + .blog-toc__item {
  margin-top: 10px;
}

.blog-toc__item a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #e2e2e2;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
}

.blog-toc__item--h3 a,
.blog-toc__item--h4 a,
.blog-toc__item--h5 a,
.blog-toc__item--h6 a {
  display: block;
  padding-left: 36px;
  font-size: 13px;
  line-height: 18px;
  color: #cccccc;
}

.blog-toc__num {
  color: #cccccc;
  font-size: 12px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}

.blog-toc__text {
  min-width: 0;
}

.blog-toc__item a:hover,
.blog-toc__item a:hover .blog-toc__num {
  color: #fff;
}

.blog-toc__item--h3 { padding-left: 0; }
.blog-toc__item--h4 { padding-left: 0.5rem; }
.blog-toc__item--h5 { padding-left: 1rem; }
.blog-toc__item--h6 { padding-left: 1.5rem; }

/* Desktop: содержание всегда раскрыто, без вида аккордеона */
@media (min-width: 961px) {
  .blog-toc__summary {
    pointer-events: none;
    margin-bottom: 0;
  }

  .blog-toc__chev {
    display: none;
  }

  .blog-toc > .blog-toc__list {
    display: block !important;
  }
}

@media (max-width: 960px) {
  .blog-layout--with-toc {
    grid-template-columns: 1fr;
  }

  .blog-layout--with-toc .blog-toc {
    position: static;
    max-height: none;
    margin-bottom: 8px;
    padding: 14px 16px;
    border-radius: var(--radius-card);
    background: #4a4a4a;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .blog-toc__summary {
    min-height: 28px;
  }

  .blog-toc:not([open]) > .blog-toc__list {
    display: none;
  }
}

.blog-content {
  max-width: none;
  min-width: 0;
  color: #e2e2e2;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  text-align: left;
  overflow-x: clip;
}

/* Текстовая колонка 760px слева; фото и таблицы — на всю ширину контейнера */
.blog-content > p,
.blog-content > ul,
.blog-content > ol,
.blog-content > blockquote,
.blog-content > h2,
.blog-content > h3,
.blog-content > h4,
.blog-content > h5,
.blog-content > h6 {
  max-width: 760px;
}

.blog-content > *:first-child {
  margin-top: 0;
}

.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
  color: #fff;
  margin: 2em 0 0.75em;
  font-weight: 700;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.blog-content h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
}

.blog-content h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

.blog-content h4,
.blog-content h5,
.blog-content h6 {
  font-size: var(--fs-subtitle);
  line-height: var(--lh-subtitle);
  font-weight: 600;
}

.blog-content p,
.blog-content ul,
.blog-content ol {
  margin: 0 0 1.25em;
}

.blog-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.25rem;
  color: #e2e2e2;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

.blog-content li + li {
  margin-top: 0.45em;
}

.blog-content blockquote {
  margin: 1.75em 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left-width: 3px;
  border-radius: var(--radius-control);
  background: #4a4a4a;
  color: #e2e2e2;
  box-sizing: border-box;
}

.blog-content blockquote p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: #e2e2e2;
}

.blog-content blockquote p + p {
  margin-top: 0.75em;
}

.blog-content blockquote cite {
  display: block;
  margin-top: 10px;
  color: #cccccc;
  font-size: 14px;
  line-height: 20px;
  font-style: normal;
}

.blog-content > figure,
.blog-content > img,
.blog-content > picture,
.blog-content > .blog-table-wrap {
  max-width: 100%;
  width: 100%;
}

.blog-content > figure,
.blog-content .blog-figure {
  margin: 0 0 1.5em;
}

.blog-content > figure img,
.blog-content > picture img,
.blog-content .blog-figure img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--radius-media);
  background: #4a4a4a;
}

.blog-content figcaption,
.blog-content .blog-figure figcaption {
  margin-top: 8px;
  color: var(--gray-200, #cccccc);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  text-align: left;
}

.blog-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.5em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.blog-content table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
}

.blog-content th,
.blog-content td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  vertical-align: top;
  color: #e2e2e2;
}

.blog-content thead th {
  background: #4a4a4a;
  color: #fff;
  font-weight: 600;
}

.blog-content tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

.blog-section-title {
  margin: 0 0 18px;
  color: var(--white);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 700;
}

.blog-share {
  margin-top: clamp(36px, calc(24px + 1.5vw), 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 760px;
}

.blog-share__title {
  margin: 0 0 14px;
  color: var(--white);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
}

.blog-share__list {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: max-content;
  max-width: 100%;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

.blog-share__list > li {
  min-width: 0;
  display: flex;
}

.blog-share__link {
  text-decoration: none;
  cursor: pointer;
}

/* Ширина = самой длинной (ВКонтакте), контент слева */
.blog-share__link.button {
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .blog-share__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
  }

  .blog-share__list > li,
  .blog-share__link.button {
    width: 100%;
  }

  .blog-share__link.button {
    padding: 14px 16px;
    gap: 10px;
  }

  .blog-share__link .connection-form-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .blog-share__link .button-text-relative {
    font-size: 16px;
    line-height: 20px;
  }
}

/* catalog.css задаёт mask для .icon-vk/.icon-tg — сбрасываем, чтобы работали SVG как на главной */
.blog-share__link .connection-form-icon-wrapper {
  flex: none;
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.blog-share__link .icon-vk {
  background-image: url("/img/vk-icon.svg");
}

.blog-share__link .icon-tg {
  background-image: url("/img/tg-icon.svg");
}

.blog-share__link .icon-whatsapp {
  background-image: url("/img/whats-icon.svg");
}

.blog-share__link .icon-max {
  background-image: url("/img/max-icon.png");
}

.blog-share__link:hover .icon-vk {
  background-image: url("/img/vk-gray-icon.svg");
}

.blog-share__link:hover .icon-tg {
  background-image: url("/img/tg-gray-icon.svg");
}

.blog-share__link:hover .icon-whatsapp {
  background-image: url("/img/whats-gray-icon.svg");
}

.blog-share__link:hover .icon-max {
  background-image: url("/img/max-gray-icon.png");
}

.blog-author {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px 24px;
  align-items: start;
  margin-top: clamp(40px, calc(28px + 2vw), 72px);
  padding: clamp(18px, calc(14px + 1vw), 28px);
  border-radius: var(--radius-card);
  background: #4a4a4a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 760px;
}

@media (max-width: 600px) {
  .blog-author {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.blog-author__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #4a4a4a;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-author__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-author__body {
  min-width: 0;
}

.blog-author__top {
  margin-bottom: 10px;
}

.blog-author__heading {
  min-width: 0;
}

.blog-author__label {
  margin: 0 0 4px;
  color: #cccccc;
  font-size: 13px;
  line-height: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
}

.blog-author__name {
  margin: 0;
  color: #fff;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
}

.blog-author__bio {
  margin: 0;
  color: #e2e2e2;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
}

.blog-faq {
  margin-top: clamp(40px, calc(28px + 2vw), 72px);
  max-width: 760px;
}

.blog-faq__item + .blog-faq__item {
  margin-top: 8px;
}

.blog-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-control);
  background: #4a4a4a;
  color: #fff;
  text-align: left;
  font-size: var(--fs-subtitle);
  line-height: var(--lh-subtitle);
  cursor: pointer;
}

.blog-faq__question[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.blog-faq__chev {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gray-200);
  border-bottom: 2px solid var(--gray-200);
  transform: rotate(45deg);
  transition: transform 0.18s var(--ease);
}

.blog-faq__question[aria-expanded="true"] .blog-faq__chev {
  transform: rotate(225deg);
  margin-top: 6px;
}

.blog-faq__answer {
  padding: 0 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 0;
  border-radius: 0 0 var(--radius-control) var(--radius-control);
  background: #4a4a4a;
  color: #e2e2e2;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
}

.blog-faq__answer p {
  margin: 0;
  padding-top: 4px;
}

.blog-feedback {
  width: 100%;
  margin-top: clamp(40px, calc(28px + 2vw), 64px);
}

.blog-feedback__inner {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.blog-feedback .text-wrapper-white-color.h2-relative {
  margin: 0 0 10px; /* как .blog-author__name → bio */
}

.blog-feedback__text {
  margin: 0 0 14px;
  color: var(--gray-200);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.blog-feedback .forms-button {
  padding-top: 6px;
  gap: 18px;
  align-items: stretch;
}

.blog-feedback .confirm-form-submit-wrapper {
  align-self: stretch;
  width: 100%;
}

.blog-feedback .forms {
  gap: 18px;
}

.blog-feedback .connection-form-wrapper {
  margin: 0;
  width: 100%;
  max-width: none;
}

.blog-feedback .connection-form {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, calc(18px + 1.2vw), 36px) clamp(20px, calc(14px + 1.5vw), 32px);
  box-sizing: border-box;
  align-items: stretch;
  gap: 0;
}

.blog-feedback .tabs-forms-button {
  gap: 0;
  width: 100%;
}

.blog-feedback .tabs-forms-button-container {
  width: 100%;
  max-width: none;
}

.blog-feedback .forms-button,
.blog-feedback .forms,
.blog-feedback .form,
.blog-feedback .input-caption {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.blog-feedback .b2b-form-input,
.blog-feedback .form-input-relative {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 14px;
  line-height: 40px;
  box-sizing: border-box;
}

.blog-feedback .confirm-form-submit-wrapper .button {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

.blog-feedback__consent {
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
  color: var(--gray-200);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-feedback__consent a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
}

.blog-related {
  margin-top: clamp(48px, calc(32px + 2vw), 80px);
}

.blog-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, calc(8px + 0.8vw), 20px);
}

@media (max-width: 1024px) {
  .blog-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .blog-grid--related {
    grid-template-columns: 1fr;
  }
}

/* Компактные карточки в блоке «Похожие статьи» */
.blog-related .blog-card {
  gap: 10px;
  padding: 10px;
}

.blog-related .blog-card__media {
  aspect-ratio: 16 / 10;
}

.blog-related .blog-card__body {
  gap: 6px;
  padding: 2px 2px 4px;
}

.blog-related .blog-card__title {
  font-size: clamp(14px, calc(13px + 0.25vw), 16px);
  line-height: 1.25;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog-related .blog-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.blog-related .blog-card__more {
  margin-top: 2px;
  min-height: 32px;
  padding: 6px 12px;
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}
