/* Блог директора — использует переменные из style.css */
.blog-main { padding: 40px 0 38px; }
.blog-avatar {
  flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden;
  border-radius: 50%; background: var(--accent); color: var(--black); font-size: 17px; font-weight: 800;
}
.blog-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }

/* ---------- Шапка: заголовок и поиск в одном блоке ---------- */
.blog-hero {
  display: grid; gap: 24px; padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius); color: #fff;
  background: linear-gradient(90deg, rgba(18,29,32,.95), rgba(18,29,32,.78)), url("img/degstena.webp") center / cover no-repeat, #172124;
  box-shadow: 0 12px 30px rgba(12,18,20,.15);
}
.blog-hero-kicker { display: block; margin-bottom: 9px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-hero-top { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: center; }
.blog-hero h1 { max-width: 860px; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.blog-hero p { max-width: 62ch; margin-top: 14px; color: rgba(255,255,255,.8); font-size: 17px; }
.blog-author {
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08);
}
.blog-author .blog-avatar { width: 56px; height: 56px; }
.blog-author strong { display: block; font-size: 15px; }
.blog-author span { display: block; margin-top: 2px; color: rgba(255,255,255,.72); font-size: 13px; }
.blog-author .blog-avatar span { margin: 0; color: var(--black); font-size: 17px; }

.blog-search { max-width: 760px; margin-top: 22px; }
.blog-search-label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.blog-search-field {
  display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 8px 0 18px;
  border: 2px solid transparent; border-radius: 999px; background: #fff; color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.blog-search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245,200,0,.28); }
.blog-search-field svg { flex-shrink: 0; color: var(--muted); }
.blog-search-field input {
  flex: 1; min-width: 0; height: 54px; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 17px; color: var(--text);
}
.blog-search-field input::-webkit-search-cancel-button { display: none; }
.blog-search-clear {
  flex-shrink: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(16,24,27,.07); color: var(--dark); font-size: 24px; line-height: 1; transition: background .2s ease;
}
.blog-search-clear:hover { background: var(--accent); }
.blog-search-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.72); }
.blog-search-examples button {
  padding: 6px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: transparent;
  font: inherit; font-size: 13px; color: #fff; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-search-examples button:hover, .blog-search-examples button:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--black); outline: 0; }
.blog-search-status { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.82); }
.blog-search-status:empty { display: none; }

/* ---------- Выбор формата: вопросы, статьи или видео ---------- */
.blog-view-switcher {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0;
}
.blog-view-tab {
  display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 14px 16px;
  border: 1px solid rgba(16,24,27,.18); border-radius: 14px; background: #fff; color: var(--text);
  font: inherit; text-align: left; cursor: pointer; box-shadow: 0 7px 18px rgba(12,18,20,.06);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.blog-view-tab:hover { transform: translateY(-2px); border-color: rgba(16,24,27,.42); }
.blog-view-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.blog-view-tab > span:last-child { display: grid; gap: 3px; min-width: 0; }
.blog-view-tab strong { font-size: 16px; line-height: 1.2; }
.blog-view-tab small { color: var(--muted); font-size: 13px; line-height: 1.25; }
.blog-view-icon {
  flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(16,24,27,.18); border-radius: 50%; color: var(--dark); font-size: 19px; font-weight: 800;
}
.blog-view-play { position: relative; font-size: 0; }
.blog-view-play::before {
  content: ""; position: absolute; left: calc(50% - 9px); top: calc(50% - 6px);
  width: 12px; height: 10px; border: 2px solid currentColor; border-radius: 3px;
}
.blog-view-play::after {
  content: ""; position: absolute; left: calc(50% + 4px); top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid currentColor;
}
.blog-view-tab.is-active { border-color: var(--accent); background: var(--dark); color: #fff; box-shadow: inset 0 4px 0 var(--accent), 0 10px 24px rgba(12,18,20,.16); }
.blog-view-tab.is-active small { color: rgba(255,255,255,.7); }
.blog-view-tab.is-active .blog-view-icon { border-color: var(--accent); background: var(--accent); color: var(--black); }

.blog-content-panel { margin-top: 20px; padding: 24px; border: 1px solid rgba(16,24,27,.13); border-radius: var(--radius); background: rgba(255,255,255,.82); box-shadow: 0 12px 28px rgba(12,18,20,.07); }
.blog-content-panel[hidden] { display: none; }
.blog-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.blog-panel-heading > div { flex: 1 1 auto; }
.blog-panel-heading h2 { margin: 4px 0 0; color: var(--text); text-shadow: none; font-size: 28px; line-height: 1.15; }
.blog-panel-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: right; }
.blog-panel-kicker { color: #7d6600; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.blog-content-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 28px; align-items: start;
}
.blog-main-col { min-width: 0; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.blog-chip {
  padding: 8px 11px; border: 1px solid rgba(16,24,27,.2); border-radius: 999px; background: #fff;
  color: var(--text); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-chip:hover, .blog-chip.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }
.blog-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.blog-list { display: grid; gap: 10px; }
.blog-item {
  overflow: hidden; border: 1px solid rgba(16,24,27,.14); border-radius: 14px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; scroll-margin-top: 100px;
}
.blog-item[hidden] { display: none; }
.blog-item:hover { border-color: rgba(16,24,27,.3); background: #fff; box-shadow: 0 8px 20px rgba(12,18,20,.06); }
.blog-item[open] { border-color: var(--accent); background: #fff; box-shadow: 0 10px 24px rgba(12,18,20,.08); }
.blog-item summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
}
.blog-item summary::-webkit-details-marker { display: none; }
.blog-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 14px; }
.blog-summary-text { display: grid; gap: 6px; min-width: 0; }
.blog-tag { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.blog-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tag, #8a979b); }
.blog-tag[data-cat="water"] { --tag: #2f86a8; }
.blog-tag[data-cat="strength"] { --tag: #6a7f86; }
.blog-tag[data-cat="frost"] { --tag: #5a86d6; }
.blog-tag[data-cat="corrosion"] { --tag: #b5612f; }
.blog-tag[data-cat="repair"] { --tag: #c9a000; }
.blog-q { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.blog-preview {
  display: -webkit-box; -webkit-box-orient: vertical;  overflow: hidden;
  color: var(--muted); font-size: 15px; line-height: 1.5;
}
.blog-item[open] .blog-preview { display: none; }
.blog-icon {
  position: relative; width: 34px; height: 34px; border: 1px solid rgba(16,24,27,.2); border-radius: 50%;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.blog-icon::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-50%, -70%) rotate(45deg);
}
.blog-item[open] .blog-icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); }

.blog-answer { padding: 0 20px 22px; }
.blog-answer p { max-width: 72ch; margin-bottom: 12px; color: #11181b; font-size: 16px; line-height: 1.65; }
.blog-more { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--dark); border-bottom: 2px solid var(--accent); }
.blog-more:hover { background: var(--accent); }
.blog-empty { padding: 18px; text-align: center; color: #29383d; }
.blog-empty a { font-weight: 700; border-bottom: 2px solid var(--accent); }

.blog-news-rail {
  position: static; overflow: hidden; padding: 18px; border: 1px solid rgba(16,24,27,.12);
  border-radius: 16px; background: rgba(246,248,247,.9); box-shadow: 0 8px 22px rgba(12,18,20,.05);
}
.blog-news-rail-head { display: grid; gap: 7px; padding: 0 0 16px; border-bottom: 1px solid rgba(16,24,27,.12); }
.blog-news-rail-head strong { font-size: 20px; line-height: 1.2; }
.blog-news-rail-head p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.blog-news-story { display: grid; gap: 7px; padding: 16px 0; border-bottom: 1px solid rgba(16,24,27,.12); color: var(--text); }
.blog-news-story span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.blog-news-story strong { font-size: 16px; line-height: 1.3; }
.blog-news-story small { color: #806900; font-size: 12px; font-weight: 800; }
.blog-news-story:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.blog-news-video { display: grid; gap: 8px; padding: 17px 0; }
.blog-news-video-label { color: #7d6600; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-news-video-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--dark); }
.blog-news-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-news-video-frame video:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.blog-news-video > strong { font-size: 15px; line-height: 1.3; }
.blog-news-video > p { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.blog-news-editor { display: grid; gap: 14px; margin: 0 0 4px; padding: 17px; border-radius: 14px; background: var(--dark); color: #fff; }
.blog-news-editor-person { display: flex; align-items: center; gap: 10px; }
.blog-news-editor-person .blog-avatar { width: 44px; height: 44px; }
.blog-news-editor-person strong, .blog-news-editor-person small { display: block; }
.blog-news-editor-person small { margin-top: 2px; color: rgba(255,255,255,.64); font-size: 12px; }
.blog-news-editor p { color: rgba(255,255,255,.74); font-size: 13.5px; line-height: 1.5; }
.blog-news-editor > a { width: fit-content; padding-bottom: 3px; border-bottom: 2px solid var(--accent); font-size: 14px; font-weight: 800; }

/* ---------- Карточки подробных статей ---------- */
.blog-guides {
  display: grid; gap: 18px;
}
.blog-guides h2 { text-shadow: none; color: var(--text); font-size: 28px; line-height: 1.15; }
.blog-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.blog-guide {
  display: grid; grid-template-rows: 170px minmax(0, 1fr); min-width: 0; overflow: hidden;
  border: 1px solid rgba(16,24,27,.16); border-radius: 14px; background: #fff; color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-guide:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 24px rgba(12,18,20,.12); }
.blog-guide:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.blog-guide > img { display: block; width: 100%; height: 100%; object-fit: cover; background: #e3e7e8; }
.blog-guide:last-child > img { object-fit: contain; padding: 8px; }
.blog-guide-copy { display: grid; align-content: start; gap: 8px; padding: 16px; min-width: 0; }
.blog-guide-topic { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.blog-guide-copy strong { font-size: 18px; line-height: 1.3; }
.blog-card-action { display: block; margin-top: 4px; color: #116c88; font-size: 13px; font-weight: 800; }
.blog-cms-guide {
  display: grid; align-content: start; gap: 12px; min-width: 0; padding: 18px;
  border: 1px solid rgba(16,24,27,.16); border-radius: 14px; background: #fff; color: var(--text);
}
.blog-cms-guide h3 { margin: 0; color: var(--text); font-size: 19px; line-height: 1.25; }
.blog-cms-guide p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.blog-cms-guide .blog-guide-topic { color: #755900; }
.blog-cms-status { grid-column: 1 / -1; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.blog-aside-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; padding: 18px 20px; border-radius: 14px; background: var(--dark); color: #fff; }
.blog-aside-cta strong { font-size: 17px; }
.blog-aside-cta p { grid-column: 1; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.5; }
.blog-aside-cta a { grid-column: 2; grid-row: 1 / span 2; }
.blog-aside-cta a, .blog-fab {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border-radius: 10px; background: var(--accent); color: var(--black); font-weight: 800; font-size: 15px;
}
.blog-aside-cta a:hover, .blog-fab:hover { filter: brightness(.94); }
.blog-fab { display: none; }

.blog-main .contact-form-section { margin-top: 56px; }

@media (max-width: 960px) {
  .blog-main { padding-bottom: 98px; }
  .blog-content-layout { grid-template-columns: 1fr; }
  .blog-news-rail { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; margin-top: 6px; }
  .blog-news-rail-head, .blog-news-video, .blog-news-editor { grid-column: 1 / -1; }
  .blog-news-video {
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1fr);
    grid-template-areas: "video-frame video-label" "video-frame video-title" "video-frame video-copy";
    column-gap: 18px; align-items: start;
  }
  .blog-news-video-label { grid-area: video-label; align-self: end; }
  .blog-news-video-frame { grid-area: video-frame; }
  .blog-news-video > strong { grid-area: video-title; }
  .blog-news-video > p { grid-area: video-copy; }
  .blog-news-editor { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .blog-news-editor p { margin: 0; }
  .blog-fab {
    position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 15;
    display: inline-flex; box-shadow: 0 10px 24px rgba(12,18,20,.3);
  }
}
@media (max-width: 760px) {
  .blog-main { padding-top: 24px; }
  .blog-hero { gap: 22px; padding: 24px 18px; border-radius: 20px; }
  .blog-hero-top { grid-template-columns: 1fr; gap: 18px; }
  .blog-hero p { font-size: 16px; }
  .blog-hero .director-video { width: min(100%, 180px); }
  .blog-search-field input { font-size: 16px; }
  .blog-view-switcher { grid-template-columns: 1fr; gap: 8px; }
  .blog-view-tab { min-height: 64px; padding: 12px 14px; }
  .blog-view-icon { width: 32px; height: 32px; }
  .blog-content-panel { padding: 16px; border-radius: 18px; }
  .blog-panel-heading { display: grid; gap: 8px; }
  .blog-panel-heading h2, .blog-guides h2 { font-size: 24px; }
  .blog-panel-heading > p { max-width: none; text-align: left; }
  .blog-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 4px 20px 4px 4px; scrollbar-width: none; mask-image: linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent); }
  .blog-chip { flex: 0 0 auto; }
  .blog-item summary { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; gap: 12px; }
  .blog-q { font-size: 17px; }
  .blog-answer { padding: 0 16px 20px; }
  .blog-news-rail { grid-template-columns: 1fr; }
  .blog-news-rail-head, .blog-news-editor { grid-column: auto; }
  .blog-news-video {
    grid-column: auto; grid-template-columns: 1fr;
    grid-template-areas: "video-label" "video-frame" "video-title" "video-copy";
  }
  .blog-news-editor { grid-template-columns: 1fr; }
  .blog-guide-grid { grid-template-columns: 1fr; }
  .blog-guide { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: minmax(126px, auto); }
  .blog-guide-copy { padding: 14px; }
  .blog-guide-copy strong { font-size: 16px; }
  .blog-aside-cta { grid-template-columns: 1fr; }
  .blog-aside-cta p, .blog-aside-cta a { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-item, .blog-icon, .blog-chip, .blog-guide, .blog-search-field, .blog-view-tab { transition: none; }
}

/* Статьи */
.blog-article-main { max-width: 1040px; padding: 42px 0 64px; }
.blog-article-back { display: inline-block; margin-bottom: 20px; color: var(--muted); font-size: 14px; font-weight: 700; }
.blog-article-back:hover { color: var(--text); }
.blog-article-head { max-width: 820px; margin-bottom: 26px; }
.blog-article-head h1 { margin-top: 10px; font-size: 52px; line-height: 1.06; }
.blog-article-head p { max-width: 720px; margin-top: 16px; color: var(--muted); font-size: 19px; }
.blog-article-byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.blog-article-byline .blog-avatar { width: 44px; height: 44px; font-size: 15px; }
.blog-article-byline strong, .blog-article-byline small { display: block; }
.blog-article-byline small { margin-top: 2px; color: var(--muted); }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 34px; align-items: start; }
.blog-article-content { min-width: 0; }
.blog-article-content > figure { margin: 0 0 26px; }
.blog-article-content figure img { display: block; width: 100%; max-height: 480px; border-radius: var(--radius); object-fit: cover; background: #e3e7e8; }
.blog-article-content figure img.blog-article-diagram { width: auto; max-width: 100%; max-height: none; margin-inline: auto; object-fit: contain; }
.blog-article-content figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.blog-article-content h2 { margin: 32px 0 12px; font-size: 27px; line-height: 1.18; }
.blog-article-content p, .blog-article-content li { font-size: 17px; line-height: 1.68; }
.blog-article-content p + p { margin-top: 12px; }
.blog-article-content ul, .blog-article-content ol { display: grid; gap: 12px; padding-left: 24px; }
.blog-article-content li::marker { color: #755900; font-weight: 800; }
.blog-article-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.blog-article-gallery figure { min-width: 0; }
.blog-article-gallery img { aspect-ratio: 4 / 3; }
.blog-article-aside { position: sticky; top: 110px; display: grid; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.blog-article-aside h2 { font-size: 18px; }
.blog-article-aside p { color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.55; }
.blog-article-aside a { width: fit-content; padding-bottom: 3px; border-bottom: 2px solid var(--accent); font-weight: 700; }
.blog-article-note { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--accent); background: rgba(255,255,255,.72); }
.blog-article-note p { font-size: 15px; }
.blog-article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; padding: 22px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.blog-article-cta p { color: rgba(255,255,255,.76); font-size: 15px; }
.blog-article-cta a { flex: 0 0 auto; padding: 12px 16px; border-radius: 8px; background: var(--accent); color: var(--black); font-weight: 800; }
.blog-article-cta a:hover { filter: brightness(.94); }

.blog-article-content { padding: 28px; border: 1px solid rgba(16,24,27,.14); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 26px rgba(12,18,20,.08); }
.blog-article-content p, .blog-article-content li { color: #11181b; }
.blog-article-content figcaption, .blog-article-back, .blog-article-head p, .blog-article-byline small { color: #29383d; }
.blog-article-note { background: #f7f9f9; }
@media (max-width: 760px) {
  .blog-article-main { padding-top: 28px; }
  .blog-article-head h1 { font-size: 36px; }
  .blog-article-head p { font-size: 17px; }
  .blog-article-layout { grid-template-columns: 1fr; gap: 24px; }
  .blog-article-aside { position: static; }
  .blog-article-content { padding: 18px; }
  .blog-article-content h2 { font-size: 23px; }
  .blog-article-content p, .blog-article-content li { font-size: 16px; }
  .blog-article-gallery { grid-template-columns: 1fr; }
  .blog-article-gallery img { aspect-ratio: 16 / 10; }
  .blog-article-cta { align-items: flex-start; flex-direction: column; }
}

/* Блок-анонс блога на главной */
.blog-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: clamp(26px, 4vw, 48px); }
.blog-teaser h2 { margin-top: 4px; font-size: clamp(30px, 3.6vw, 48px); text-shadow: none; }
.blog-teaser p { margin-top: 16px; max-width: 520px; }
.blog-teaser-author { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.blog-teaser-author .blog-avatar { width: 48px; height: 48px; font-size: 16px; }
.blog-teaser-author strong { display: block; font-size: 15px; }
.blog-teaser-author small { display: block; margin-top: 2px; color: rgba(255,255,255,.65); font-size: 13px; }
.blog-hero .director-video { width: min(100%, 200px); margin: 0 auto; }
.director-video video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #080808; object-fit: contain; }
.director-video figcaption { display: grid; gap: 2px; margin-top: 8px; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.35; text-align: center; }
.director-video figcaption strong { color: #fff; font-size: 13px; }
.blog-teaser-list { list-style: none; display: grid; gap: 10px; }
.blog-teaser-list a {
  display: block; padding: 16px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  background: rgba(255,255,255,.07); color: #fff; font-weight: 700; line-height: 1.3;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.blog-teaser-list a span { display: block; margin-bottom: 5px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-teaser-list a:hover { background: var(--accent); color: var(--black); border-color: var(--accent); transform: translateY(-2px); }
.blog-teaser-list a:hover span { color: var(--black); }
@media (max-width: 860px) { .blog-teaser { grid-template-columns: 1fr; gap: 24px; } }


/* Видео */
.blog-videos { max-width: none; }
.blog-videos-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.blog-videos-heading h2 { font-size: 28px; }
.blog-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.blog-video-card { min-width: 0; overflow: hidden; border: 1px solid rgba(16,24,27,.18); border-radius: 14px; background: #fff; box-shadow: 0 7px 18px rgba(12,18,20,.06); }
.blog-video-frame { aspect-ratio: 16 / 9; background: #11181b; }
.blog-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-video-card[data-cms-video] .blog-video-frame video { object-fit: contain; background: #11181b; }
.blog-video-frame video:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.blog-video-copy { padding: 15px 16px 17px; }
.blog-video-copy h3 { margin: 5px 0 8px; color: #10181b; font-size: 18px; line-height: 1.25; }
.blog-video-copy p { color: #29383d; font-size: 14px; line-height: 1.5; }
.blog-video-copy .blog-card-action { margin-top: 12px; }

@media (max-width: 760px) {
  .blog-video-grid { grid-template-columns: 1fr; }
  .blog-videos-heading h2 { font-size: 24px; }
  .blog-fab { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: 52px; min-height: 52px; padding: 0; border-radius: 50%; font-size: 0; }
  .blog-fab::before { content: "WA"; font-size: 13px; font-weight: 800; }
}

.blog-video-copy .blog-guide-topic { display: block; }
