/* ============================================================
   Оформление статей блога igreenshop — привязано к токенам темы
   (var(--green), var(--orange), var(--mint), Onest и т.д. из main.css).
   Всё заскоплено на .oa, на остальной сайт не влияет.
   ============================================================ */

.oa{
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.005em;
}

/* ─── Заголовки ─── */
.oa__h1,
.oa h1{
  font-size: 34px; line-height: 1.2; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 18px;
}
.oa h2{
  font-size: 26px; line-height: 1.25; font-weight: 700;
  letter-spacing: -0.015em; color: var(--ink);
  margin: 44px 0 16px; padding-top: 18px; border-top: 1px solid var(--border);
}
.oa h3{
  font-size: 20px; line-height: 1.3; font-weight: 600;
  color: var(--ink-2); margin: 28px 0 12px;
}

/* ─── Текст, списки, ссылки ─── */
.oa p{ margin: 0 0 18px; }
.oa ul, .oa ol{ margin: 0 0 18px; padding-left: 0; list-style: none; }
.oa li{ position: relative; padding-left: 28px; margin-bottom: 10px; }
.oa ul li::before{
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--green);
}
.oa ol{ counter-reset: oa-c; }
.oa ol li{ counter-increment: oa-c; }
.oa ol li::before{
  content: counter(oa-c); position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 5px;
  background: var(--mint); color: var(--green-d);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ссылки в тексте — видимые, не сливаются */
/* ссылки в тексте — явное подчёркивание, чтобы читались как ссылки */
.oa a{
  color: var(--green); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--green);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
  border-bottom: 0;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.oa a:hover{ color: var(--green-d); text-decoration-color: var(--green-d); }
.oa__internal-link, .oa__cta a{ text-decoration: none; }

/* ─── Дек (подзаголовок под H1) ─── */
.oa__subtitle{
  font-size: 19px; line-height: 1.55; color: var(--muted); font-weight: 400;
  margin: 0 0 28px; padding: 14px 0 14px 18px; border-left: 3px solid var(--orange);
}

/* ─── Тег/лейбл над заголовком ─── */
.oa__tag{
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  margin-bottom: 14px; background: var(--mint); color: var(--green-d);
  border-radius: 4px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
}

/* ─── Вводный блок / выноска / «важно» ─── */
.oa__intro, .oa__highlight{
  background: var(--mint-s); border: 1px solid var(--border);
  border-left: 3px solid var(--green); border-radius: var(--r-card);
  padding: 18px 20px; margin: 0 0 24px;
}
.oa__intro p:last-child, .oa__highlight p:last-child{ margin-bottom: 0; }

/* ─── Цитата ─── */
.oa__quote{
  font-size: 20px; line-height: 1.5; color: var(--ink-2); font-weight: 500;
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--green);
}

/* ─── Таблицы (сравнение, состав) ─── */
.oa__table-wrap{ overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 24px; }
.oa__table-wrap > table{ margin: 0; }
.oa table{
  width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px;
  border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
}
.oa thead th, .oa thead td, .oa table tr:first-child th{
  background: var(--green); color: #fff; font-weight: 600; text-align: left;
}
.oa th, .oa td{ padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.oa tbody tr:nth-child(even) td{ background: var(--mint-s); }
.oa tr:last-child td{ border-bottom: 0; }
@media (max-width: 600px){
  /* колонки не сплющиваем — обёртка прокручивается по горизонтали */
  .oa__table-wrap > table{ min-width: 460px; font-size: 14px; }
  .oa__table-wrap th, .oa__table-wrap td{ padding: 9px 12px; }
}

/* ─── FAQ — аккордеон (<details>/<summary>) ─── */
.oa__faq-label{
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  background: var(--mint); color: var(--green-d);
  border-radius: 4px; font-size: 12px; font-weight: 700; margin-bottom: 8px;
}
.oa__faq-item{
  border: 1px solid var(--border); border-radius: var(--r-card);
  margin: 0 0 10px; overflow: hidden; background: #fff;
}
.oa__faq-item[open]{ border-color: var(--green); }
.oa__faq-q{
  display: block; list-style: none; cursor: pointer;
  padding: 16px 46px 16px 18px; position: relative;
  font-weight: 600; color: var(--ink); line-height: 1.4;
  transition: background .15s ease;
}
.oa__faq-q::-webkit-details-marker{ display: none; }
.oa__faq-q:hover{ background: var(--mint-s); }
.oa__faq-q::after{
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg); transition: transform .2s ease;
}
.oa__faq-item[open] .oa__faq-q::after{ transform: rotate(-135deg); margin-top: -2px; }
.oa__faq-a{ padding: 0 18px 18px; color: var(--muted); line-height: 1.6; }

/* ─── Внутренние ссылки — видимыми плашками ─── */
.oa__internal-link{
  display: flex; align-items: center; gap: 12px;
  background: var(--mint-s); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 14px 16px; margin: 0 0 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.oa__internal-link:hover{ border-color: var(--green); transform: translateX(2px); }
.oa__internal-link-icon{
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px;
  background: var(--mint); color: var(--green-d);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.oa__internal-link-label{
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--muted-2);
}
.oa__internal-link-text{ font-weight: 600; color: var(--green-d); }

/* ─── CTA — кнопка на карточку товара ─── */
.oa__cta{ margin: 28px 0; text-align: center; }
.oa__cta a{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px;
  background: var(--green); color: #fff !important;
  border-radius: var(--r-btn); font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em; border-bottom: 0;
  transition: background .15s ease, transform .15s ease;
}
.oa__cta a:hover{ background: var(--green-2); transform: translateY(-1px); color: #fff !important; }

/* ─── Дисклеймер — мягкая плашка ─── */
.oa__disclaimer{
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--orange-l); border: 1px solid #F0D9C8;
  border-left: 3px solid var(--orange); border-radius: var(--r-card);
  padding: 14px 16px; margin: 28px 0 0;
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.oa__disclaimer::before{
  content: "⚠"; flex-shrink: 0; color: var(--orange); font-size: 16px; line-height: 1.4;
}

/* ─── Теги/пилюли внизу ─── */
.oa__tags{ display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.oa__pill{
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  background: var(--mint); color: var(--green-d);
  border-radius: var(--r-pill); font-size: 13px; font-weight: 600;
}

/* ─── Подвал статьи ─── */
.oa__footer{ margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
.oa__footer-text{ color: var(--muted); font-size: 15px; }
.oa__divider{ border: 0; border-top: 1px solid var(--border); margin: 28px 0; }

/* ─── Мобильные ─── */
@media (max-width: 600px){
  .oa{ font-size: 16px; }
  .oa__h1, .oa h1{ font-size: 27px; }
  .oa h2{ font-size: 22px; }
  .oa h3{ font-size: 18px; }
  .oa__subtitle{ font-size: 17px; }
  .oa__cta a{ width: 100%; }
}

/* ============================================================
   Блоки шаблона статьи (вне .oa): герой, карточка товара, похожие.
   Подключаются MU-плагином zm-article-template.php на одиночных записях.
   ============================================================ */

/* ─── Картинка-герой ─── */
.oa-hero{
  max-width: 760px; margin: 0 auto 28px; padding: 0;
}
.oa-hero__img{
  display: block; width: 100%; height: auto;
  border-radius: var(--r-card); aspect-ratio: 16/9; object-fit: cover;
}

/* ─── Карточка товара (горизонтальная) ─── */
.oa-prod{
  max-width: 760px; margin: 32px auto;
  display: flex; gap: 18px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 18px;
}
.oa-prod__photo{
  flex-shrink: 0; width: 150px; height: 150px;
  background: #FAFBFA; border-radius: var(--r-card);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.oa-prod__photo img{ width: 100%; height: 100%; object-fit: contain; }
.oa-prod__body{ display: flex; flex-direction: column; flex: 1; min-width: 0; }
.oa-prod__label{
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--green); margin-bottom: 8px;
}
.oa-prod__name{
  font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink);
  border-bottom: 0 !important; margin-bottom: 8px;
}
.oa-prod__name:hover{ color: var(--green); }
.oa-prod__rating{ font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.oa-prod__rating span{ color: var(--muted-2); }
.oa-prod__price{
  display: flex; align-items: baseline; gap: 8px; margin: auto 0 14px;
  font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em;
}
.oa-prod__price del{ font-size: 14px; color: var(--muted-2); font-weight: 400; }
.oa-prod__price ins{ text-decoration: none; color: var(--sale); }
.oa-prod__cta{ display: flex; gap: 10px; align-items: center; }
.oa-prod__btn{
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 26px; background: var(--green); color: #fff !important;
  border-radius: var(--r-btn); font-weight: 700; font-size: 15px; border-bottom: 0;
  transition: background .15s ease;
}
.oa-prod__btn:hover{ background: var(--green-2); }
.oa-prod__more{
  font-weight: 600; font-size: 14px; color: var(--green-d) !important; border-bottom: 0;
}
.oa-prod__more:hover{ color: var(--green) !important; }

/* ─── Похожие статьи ─── */
.oa-related{ max-width: 760px; margin: 40px auto 0; }
.oa-related__title{
  font-size: 22px; font-weight: 700; color: var(--ink);
  margin: 0 0 18px; letter-spacing: -0.015em;
}
.oa-related__grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.oa-rel{
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-card); overflow: hidden; border-bottom: 1px solid var(--border) !important;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.oa-rel:hover{ border-color: var(--border-d); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(15,26,20,0.06); }
.oa-rel__photo{ aspect-ratio: 16/10; background: #FAFBFA; overflow: hidden; }
.oa-rel__img{ width: 100%; height: 100%; object-fit: cover; }
.oa-rel__name{
  padding: 12px 14px 16px; font-size: 14px; font-weight: 600;
  line-height: 1.35; color: var(--ink);
}

@media (max-width: 600px){
  .oa-hero__img{ aspect-ratio: 4/3; }
  .oa-prod{ flex-direction: column; gap: 14px; }
  .oa-prod__photo{ width: 100%; height: 200px; }
  .oa-related__grid{ grid-template-columns: 1fr; }
  .oa-rel{ flex-direction: row; }
  .oa-rel__photo{ width: 120px; flex-shrink: 0; aspect-ratio: 1/1; }
  .oa-rel__name{ flex: 1; align-self: center; padding: 12px 14px; }
}


/* ============================================================
   Макет статьи: статья слева | сайдбар справа (товары + читать).
   Оглавление — вверху статьи. Классы вне .oa, на токенах темы.
   ============================================================ */

.oa-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px; align-items: start;
  max-width: 1160px; margin: 0 auto;
}
.oa-main{ min-width: 0; }
.oa-main .oa,
.oa-main .oa-hero,
.oa-main .oa-prod{ max-width: none; margin-left: 0; margin-right: 0; }

/* ─── Оглавление (вверху статьи, после дека) ─── */
.oa-toc{
  background: var(--mint-s); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 18px 20px; margin: 0 0 28px;
}
.oa-toc__title{
  display: block; list-style: none; cursor: pointer;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--green-d); margin-bottom: 14px;
}
.oa-toc__title::-webkit-details-marker{ display: none; }
.oa-toc__list{
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px;
  counter-reset: toc;
}
.oa-toc__list a{
  counter-increment: toc;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 6px;
  font-size: 14px; line-height: 1.35; font-weight: 500; color: var(--ink);
  border-bottom: 0;
  transition: background .15s ease, color .15s ease;
}
.oa-toc__list a::before{
  content: counter(toc); flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--mint); color: var(--green-d);
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.oa-toc__list a:hover{ background: #fff; color: var(--green-d); }
.oa-toc__list a:hover::before{ background: var(--green); color: #fff; }

/* ─── Сайдбар (справа, липкий) ─── */
.oa-side{ position: sticky; top: 90px; align-self: start; }
.oa-side__sec{ margin-bottom: 28px; }
.oa-side__title{
  font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--green-d); margin-bottom: 12px;
}
.oa-side__products{ display: flex; flex-direction: column; gap: 12px; }

/* товар-карточка в сайдбаре — вертикальная, горизонтальное фото, компактная */
.oa-side__card{
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.oa-side__card:hover{ border-color: var(--border-d); box-shadow: 0 4px 14px rgba(15,26,20,0.05); }
.oa-side__photo{ display: block; height: 110px; background: #FAFBFA; }
.oa-side__photo img{ width: 100%; height: 100%; object-fit: contain; }
.oa-side__body{ padding: 8px 12px 11px; }
.oa-side__name{
  font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--ink); border-bottom: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.oa-side__price{ font-size: 14px; font-weight: 700; color: var(--orange); margin-top: 4px; }
.oa-side__price del{ font-size: 11px; color: var(--muted-2); font-weight: 400; }
.oa-side__price ins{ text-decoration: none; color: var(--orange); }
.oa-side__btn{
  margin-top: 8px; height: 30px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff !important; border-radius: var(--r-btn);
  font-weight: 600; font-size: 12px; border-bottom: 0; transition: background .15s ease;
}
.oa-side__btn:hover{ background: var(--green-2); }

/* ссылка «Все статьи» */
.oa-side__all{
  display: inline-flex; margin-top: 10px; font-size: 13px; font-weight: 600;
  color: var(--green-d); border-bottom: 0;
}
.oa-side__all:hover{ color: var(--green); }

/* «что почитать» — компактные строки */
.oa-side__rel{
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0;
}
.oa-side__rel:first-child{ padding-top: 0; }
.oa-side__rel:last-child{ border-bottom: 0; }
.oa-side__rel-photo{ width: 64px; height: 64px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #FAFBFA; }
.oa-side__rel-photo img{ width: 100%; height: 100%; object-fit: cover; }
.oa-side__rel-ph{ display: block; width: 100%; height: 100%; background: var(--mint); }
.oa-side__rel-name{
  font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.oa-side__rel:hover .oa-side__rel-name{ color: var(--green-d); }

/* ─── Липкая кнопка покупки (мобильная) ─── */
.oa-buybar{ display: none; }
@media (max-width: 768px){
  .oa-buybar{
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15,26,20,0.08);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .oa-buybar__img{ width: 44px; height: 44px; flex-shrink: 0; background: #FAFBFA; border-radius: 6px; overflow: hidden; }
  .oa-buybar__img img{ width: 100%; height: 100%; object-fit: contain; }
  .oa-buybar__info{ flex: 1; min-width: 0; }
  .oa-buybar__name{ font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .oa-buybar__price{ font-size: 15px; font-weight: 700; color: var(--ink); }
  .oa-buybar__price del{ font-size: 12px; color: var(--muted-2); font-weight: 400; }
  .oa-buybar__btn{
    flex-shrink: 0; height: 44px; padding: 0 22px;
    display: inline-flex; align-items: center; background: var(--green);
    color: #fff !important; border-radius: var(--r-btn); font-weight: 700; font-size: 15px;
  }
  body.single-post{ padding-bottom: 72px; }
  body.single-post .zm-fab-tg{ bottom: 84px; }
}

/* ─── Адаптив макета ─── */
@media (max-width: 980px){
  .oa-layout{ display: block; max-width: 760px; }
  .oa-side{ position: static; margin-top: 44px; }
  .oa-side__products{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 600px){
  .oa-toc__list{ grid-template-columns: 1fr; }
  .oa-side__products{ grid-template-columns: 1fr; }
  /* на телефоне карточки — компактными горизонтальными строками */
  .oa-side__card{ flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
  .oa-side__photo{ width: 76px; height: 76px; flex-shrink: 0; aspect-ratio: auto; border-radius: 6px; }
  .oa-side__body{ flex: 1; min-width: 0; }
  .oa-side__name{ -webkit-line-clamp: 2; }
  .oa-side__btn{ width: auto; padding: 0 18px; margin-top: 6px; }
}

/* ─── Рубрика-кикер (под заголовком) ─── */
.oa-kicker{
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px; margin: 0 0 18px;
  background: var(--mint); color: var(--green-d); border-radius: 6px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 0;
}
.oa-kicker:hover{ color: var(--green); }

/* ─── Нижний блок похожих статей (карточки) ─── */
.oa-bottom{ max-width: 1160px; margin: 48px auto 0; padding-top: 32px; border-top: 1px solid var(--border); }
.oa-bottom__title{ font-size: 24px; font-weight: 700; color: var(--ink); margin: 0 0 20px; letter-spacing: -0.015em; }
.oa-bottom__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.oa-bottom__card{
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.oa-bottom__card:hover{ border-color: var(--border-d); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(15,26,20,0.06); }
.oa-bottom__photo{ display: block; aspect-ratio: 16/10; background: #FAFBFA; overflow: hidden; }
.oa-bottom__img{ width: 100%; height: 100%; object-fit: cover; }
.oa-bottom__ph{ display: block; width: 100%; height: 100%; background: var(--mint); }
.oa-bottom__body{ padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.oa-bottom__name{ font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); border-bottom: 0; }
.oa-bottom__name:hover{ color: var(--green-d); }
.oa-bottom__excerpt{ font-size: 13px; color: var(--muted); line-height: 1.5; margin: 8px 0 14px; flex: 1; }
.oa-bottom__btn{ align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--green-d); border-bottom: 0; }
.oa-bottom__btn:hover{ color: var(--green); }
@media (max-width: 768px){
  .oa-bottom__grid{ grid-template-columns: 1fr; }
}

/* ═══════════ ИНДЕКС БЛОГА И АРХИВЫ (.oa-blog) ═══════════ */
.oa-blog{
  max-width: 1160px; margin: 0 auto; padding: 44px 20px 72px;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
}
.oa-blog__head{ margin: 0 0 36px; }
.oa-blog__title{ font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; }
.oa-blog__intro{ font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 720px; margin: 0 0 26px; }

/* фильтр-пилюли */
.oa-blog__filters{ display: flex; flex-wrap: wrap; gap: 8px; }
.oa-blog__chip{
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--mint-s); border: 1px solid var(--border); color: var(--ink);
  font-size: 13px; font-weight: 500; text-decoration: none; transition: all .15s ease;
}
.oa-blog__chip:hover{ border-color: var(--green); color: var(--green-d); }
.oa-blog__chip.is-active{ background: var(--green); border-color: var(--green); color: #fff; }

/* рубрика-кикер на карточках */
.oa-blog__kicker{
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px;
  background: var(--mint); color: var(--green-d); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
}
.oa-blog__kicker:hover{ color: var(--green); }

/* featured-пост */
.oa-blog__feature{
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center;
  margin: 0 0 44px; padding: 0 0 44px; border-bottom: 1px solid var(--border);
}
.oa-blog__feature-photo{ display: block; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: #FAFBFA; }
.oa-blog__feature-img{ width: 100%; height: 100%; object-fit: cover; }
.oa-blog__feature-title{ font-size: 28px; font-weight: 700; line-height: 1.22; letter-spacing: -0.015em; margin: 14px 0 12px; }
.oa-blog__feature-title a{ color: var(--ink); text-decoration: none; }
.oa-blog__feature-title a:hover{ color: var(--green-d); }
.oa-blog__feature-excerpt{ font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.oa-blog__feature-btn{
  display: inline-flex; align-items: center; height: 44px; padding: 0 24px; border-radius: var(--r-btn);
  background: var(--green); color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none;
  transition: background .15s ease;
}
.oa-blog__feature-btn:hover{ background: var(--green-2); }

/* сетка карточек */
.oa-blog__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.oa-blog__card{
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.oa-blog__card:hover{ border-color: var(--border-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,26,20,0.07); }
.oa-blog__photo{ display: block; aspect-ratio: 16/10; background: #FAFBFA; overflow: hidden; }
.oa-blog__img{ width: 100%; height: 100%; object-fit: cover; }
.oa-blog__ph, .oa-blog__feature-photo .oa-blog__ph{ display: block; width: 100%; height: 100%; background: var(--mint); }
.oa-blog__body{ padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.oa-blog__body .oa-blog__kicker{ align-self: flex-start; margin-bottom: 10px; }
.oa-blog__name{ font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0; }
.oa-blog__name a{ color: var(--ink); text-decoration: none; }
.oa-blog__name a:hover{ color: var(--green-d); }
.oa-blog__excerpt{ font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 8px 0 16px; flex: 1; }
.oa-blog__read{ align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--green-d); text-decoration: none; }
.oa-blog__read:hover{ color: var(--green); }
.oa-blog__empty{ font-size: 15px; color: var(--muted); padding: 40px 0; }

/* пагинация */
.oa-blog__pager{ margin-top: 52px; display: flex; justify-content: center; }
.oa-blog__pager .page-numbers{
  list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0;
}
.oa-blog__pager .page-numbers li{ list-style: none; }
.oa-blog__pager .page-numbers a,
.oa-blog__pager .page-numbers span{
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border: 1px solid var(--border); border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: 14px; text-decoration: none; transition: all .15s ease;
}
.oa-blog__pager .page-numbers .current{ background: var(--green); border-color: var(--green); color: #fff; }
.oa-blog__pager a.page-numbers:hover{ border-color: var(--green); color: var(--green-d); }
.oa-blog__pager .page-numbers .dots{ border: 0; }

/* адаптив */
@media (max-width: 980px){
  .oa-blog__title{ font-size: 32px; }
  .oa-blog__feature{ grid-template-columns: 1fr; gap: 20px; }
  .oa-blog__grid{ grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}
@media (max-width: 600px){
  .oa-blog{ padding: 28px 16px 52px; }
  .oa-blog__title{ font-size: 27px; }
  .oa-blog__grid{ grid-template-columns: 1fr; }
  .oa-blog__feature-title{ font-size: 22px; }
}

/* ─── Заголовок статьи (H1 рендерит тема в .zm-fallback, инлайн-стиль перебиваем) ─── */
/* Спокойный редакционный тон: SEO-трафик про здоровье — не давим, располагаем. */
.zm-fallback > article{ max-width: 1160px; margin-left: auto; margin-right: auto; }
.zm-fallback > article > h1{
  font-size: 32px !important;
  line-height: 1.3;
  letter-spacing: -0.008em;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 0 16px !important;
  max-width: 820px;
}
@media (max-width: 980px){
  .zm-fallback > article > h1{ font-size: 29px !important; }
}
@media (max-width: 600px){
  .zm-fallback > article > h1{ font-size: 25px !important; line-height: 1.28; margin-bottom: 14px !important; }
}