/*
 * ПРОМОБОГРЕВ — ЭТАЛОННЫЙ СТИЛЬ ПОДРОБНЫХ СТАТЕЙ
 * -------------------------------------------------
 * Стиль адаптирован под визуальный язык promobogrev.com:
 * светлый интерфейс, тонкие серые границы, оранжевый акцент,
 * спокойные скругления, компактные карточки и кнопки.
 *
 * Подключение:
 * <link rel="stylesheet" href="/blog/css/promobogrev-stati-etalon.css">
 *
 * Корневой контейнер статьи:
 * <div class="promobogrev-statya">...</div>
 *
 * Кодировка: UTF-8
 */


/* =========================================================
   1. ОСНОВА
   ========================================================= */

.promobogrev-statya {
  --po-orange: #f39629;
  --po-orange-hover: #e68312;
  --po-orange-soft: #fff6eb;
  --po-orange-border: #f7d7b0;

  --po-text: #20242a;
  --po-text-soft: #555b63;
  --po-muted: #8a9098;

  --po-border: #e4e7eb;
  --po-border-dark: #d6dae0;

  --po-bg: #ffffff;
  --po-bg-soft: #f7f8fa;
  --po-bg-soft-2: #f2f4f6;

  --po-radius: 12px;
  --po-radius-small: 8px;

  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  color: var(--po-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

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

.promobogrev-statya section[id] {
  scroll-margin-top: 100px;
}

.promobogrev-statya p {
  margin: 0 0 18px;
}

.promobogrev-statya ul,
.promobogrev-statya ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.promobogrev-statya li {
  margin: 0 0 8px;
}

.promobogrev-statya strong {
  font-weight: 700;
}

.promobogrev-statya img {
  max-width: 100%;
  height: auto;
}

.promobogrev-statya a {
  color: var(--po-orange-hover);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 150, 41, 0.35);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.promobogrev-statya a:hover {
  color: var(--po-orange);
  border-bottom-color: var(--po-orange);
}


/* =========================================================
   2. ЗАГОЛОВКИ
   ========================================================= */

.promobogrev-statya h2,
.promobogrev-statya h3 {
  color: #1d2127;
  font-family: inherit;
  font-weight: 700;
}

.promobogrev-statya h2 {
  position: relative;
  margin: 46px 0 20px;
  padding: 0 0 0 17px;
  font-size: 30px;
  line-height: 1.28;
}

.promobogrev-statya h2::before {
  content: "";
  position: absolute;
  top: 0.18em;
  bottom: 0.15em;
  left: 0;
  width: 4px;
  border-radius: 3px;
  background: var(--po-orange);
}

.promobogrev-statya h3 {
  margin: 28px 0 13px;
  font-size: 21px;
  line-height: 1.35;
}


/* =========================================================
   3. ШАПКА СТАТЬИ
   ========================================================= */

.promobogrev-statya__shapka {
  margin: 0 0 30px;
  padding: 26px 30px 25px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  background: var(--po-bg);
}

.promobogrev-statya__metki {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.promobogrev-statya__metka {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #fde3c5;
  border-radius: 999px;
  background: var(--po-orange-soft);
  color: #e77800;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.promobogrev-statya__vvod {
  max-width: 820px;
  margin: 0;
  color: #2d3238;
  font-size: 18px;
  line-height: 1.68;
}


/* =========================================================
   4. АВТОР
   ========================================================= */

.promobogrev-statya__avtor {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 22px 0 0;
  padding-top: 19px;
  border-top: 1px solid var(--po-border);
}

.promobogrev-statya__avtor-foto {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--po-border);
  border-radius: 50%;
  background: var(--po-bg-soft);
}

.promobogrev-statya__avtor-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promobogrev-statya__avtor-tekst {
  min-width: 0;
}

.promobogrev-statya__avtor-nadpis {
  margin: 0 0 2px;
  color: var(--po-muted);
  font-size: 12px;
  line-height: 1.4;
}

.promobogrev-statya__avtor-imya {
  margin: 0;
  color: #20242a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.promobogrev-statya__avtor-dolzhnost {
  margin: 3px 0 0;
  color: #737981;
  font-size: 13px;
  line-height: 1.45;
}


/* =========================================================
   5. СОДЕРЖАНИЕ
   ========================================================= */

.promobogrev-statya__soderzhanie {
  margin: 28px 0 32px;
  padding: 22px 24px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  background: var(--po-bg-soft);
}

.promobogrev-statya__soderzhanie-zagolovok {
  margin: 0 0 13px;
  color: #252a30;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.promobogrev-statya__soderzhanie-spisok {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promobogrev-statya__soderzhanie-spisok li {
  position: relative;
  margin: 0;
  padding-left: 14px;
}

.promobogrev-statya__soderzhanie-spisok li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--po-orange);
}

.promobogrev-statya__soderzhanie-spisok a {
  color: #4c5259;
  font-size: 14px;
  line-height: 1.5;
  border-bottom-color: transparent;
}

.promobogrev-statya__soderzhanie-spisok a:hover {
  color: var(--po-orange-hover);
  border-bottom-color: rgba(243, 150, 41, 0.5);
}


/* =========================================================
   6. ФОТО
   ========================================================= */

.promobogrev-statya__foto {
  margin: 30px 0 34px;
}

.promobogrev-statya__foto > img {
  display: block;
  width: 100%;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
}

.promobogrev-statya__foto-zaglushka {
  display: flex;
  min-height: 300px;
  padding: 34px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cdd2d8;
  border-radius: var(--po-radius);
  background: var(--po-bg-soft);
  text-align: center;
}

.promobogrev-statya__foto-zaglushka strong {
  display: block;
  margin: 0 0 12px;
  color: var(--po-orange-hover);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.promobogrev-statya__foto-zaglushka p {
  max-width: 720px;
  margin: 0;
  color: #6a7077;
  font-size: 14px;
  line-height: 1.65;
}

.promobogrev-statya__podpis {
  margin: 9px 0 0;
  color: #838990;
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   7. ВРЕЗКА
   ========================================================= */

.promobogrev-statya__vrezka {
  position: relative;
  margin: 28px 0;
  padding: 19px 21px 19px 22px;
  border: 1px solid var(--po-orange-border);
  border-radius: var(--po-radius-small);
  background: var(--po-orange-soft);
}

.promobogrev-statya__vrezka::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: -1px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--po-orange);
}

.promobogrev-statya__vrezka p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   8. КАРТОЧКИ / ПЛИТКА
   ========================================================= */

.promobogrev-statya__plitka {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 30px;
}

.promobogrev-statya__blok {
  min-width: 0;
  padding: 19px 20px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  background: var(--po-bg);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.promobogrev-statya__blok:hover {
  border-color: var(--po-border-dark);
  box-shadow: 0 5px 18px rgba(24, 31, 40, 0.04);
}

.promobogrev-statya__blok--myagkiy {
  background: var(--po-bg-soft);
}

.promobogrev-statya__blok-zagolovok {
  margin: 0 0 8px;
  color: #252a30;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.promobogrev-statya__blok-tekst {
  margin: 0;
  color: #555b63;
  font-size: 15px;
  line-height: 1.62;
}


/* =========================================================
   9. ФОРМУЛА / СХЕМА ЛОГИКИ
   ========================================================= */

.promobogrev-statya__formula {
  margin: 24px 0 28px;
  padding: 21px 23px;
  border: 1px solid #f4d4ad;
  border-radius: var(--po-radius);
  background: #fffaf4;
}

.promobogrev-statya__formula-zagolovok {
  margin: 0 0 8px;
  color: #a8661a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promobogrev-statya__formula-vyrazhenie {
  color: #252a30;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}


/* =========================================================
   10. ЭТАПЫ
   ========================================================= */

.promobogrev-statya__etapy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0 30px;
}

.promobogrev-statya__etap {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  background: #ffffff;
}

.promobogrev-statya__etap-nomer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #f5d4ad;
  border-radius: 9px;
  background: var(--po-orange-soft);
  color: var(--po-orange-hover);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.promobogrev-statya__etap-soderzhimoe {
  min-width: 0;
}

.promobogrev-statya__etap-zagolovok {
  margin: 0 0 5px;
  color: #252a30;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.promobogrev-statya__etap-tekst {
  margin: 0;
  color: #555b63;
  font-size: 15px;
  line-height: 1.62;
}


/* =========================================================
   11. ТАБЛИЦЫ
   ========================================================= */

.promobogrev-statya__tablica-obertka {
  overflow-x: auto;
  margin: 24px 0 30px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.promobogrev-statya__tablica {
  width: 100%;
  min-width: 640px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: #ffffff;
}

.promobogrev-statya__tablica th,
.promobogrev-statya__tablica td {
  padding: 14px 15px;
  border: 0;
  border-bottom: 1px solid var(--po-border);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.promobogrev-statya__tablica th {
  background: var(--po-bg-soft);
  color: #2b3036;
  font-weight: 700;
}

.promobogrev-statya__tablica tbody tr:last-child td {
  border-bottom: 0;
}

.promobogrev-statya__tablica tbody tr:hover td {
  background: #fffdf9;
}


/* =========================================================
   12. FAQ
   ========================================================= */

.promobogrev-statya__voprosy {
  margin: 24px 0 30px;
}

.promobogrev-statya__vopros {
  overflow: hidden;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius-small);
  background: #ffffff;
}

.promobogrev-statya__vopros + .promobogrev-statya__vopros {
  margin-top: 9px;
}

.promobogrev-statya__vopros summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #262b31;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.promobogrev-statya__vopros summary::marker {
  color: var(--po-orange);
}

.promobogrev-statya__vopros[open] summary {
  background: var(--po-bg-soft);
}

.promobogrev-statya__vopros-otvet {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--po-border);
  color: #555b63;
  font-size: 15px;
  line-height: 1.65;
}

.promobogrev-statya__vopros-otvet p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   13. ПОЛЕЗНЫЕ ССЫЛКИ
   ========================================================= */

.promobogrev-statya__ssylki {
  margin: 38px 0 30px;
  padding: 23px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  background: var(--po-bg-soft);
}

.promobogrev-statya__ssylki-zagolovok {
  margin: 0 0 14px;
  color: #252a30;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.promobogrev-statya__ssylki-spisok {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promobogrev-statya__ssylki-spisok li {
  margin: 0;
}

.promobogrev-statya__ssylka {
  position: relative;
  display: block;
  height: 100%;
  padding: 12px 36px 12px 14px;
  border: 1px solid var(--po-border) !important;
  border-radius: var(--po-radius-small);
  background: #ffffff;
  color: #343a40 !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none !important;
}

.promobogrev-statya__ssylka::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--po-orange);
  font-size: 18px;
  font-weight: 400;
  transform: translateY(-50%);
}

.promobogrev-statya__ssylka:hover {
  border-color: #f0bf84 !important;
  color: var(--po-orange-hover) !important;
}


/* =========================================================
   14. ФИНАЛЬНЫЙ CTA
   ========================================================= */

.promobogrev-statya__zakaz {
  margin: 38px 0 0;
  padding: 27px 28px;
  border: 1px solid var(--po-border);
  border-top: 3px solid var(--po-orange);
  border-radius: var(--po-radius);
  background: var(--po-bg-soft);
  color: var(--po-text);
}

.promobogrev-statya__zakaz-zagolovok {
  max-width: 820px;
  margin: 0 0 11px;
  color: #20242a;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
}

.promobogrev-statya__zakaz-tekst {
  max-width: 800px;
  margin: 0 0 20px;
  color: #5a6067;
  font-size: 15px;
  line-height: 1.65;
}

.promobogrev-statya__knopki {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promobogrev-statya__knopka {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--po-orange) !important;
  border-radius: 8px;
  background: var(--po-orange);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.promobogrev-statya__knopka:hover {
  border-color: var(--po-orange-hover) !important;
  background: var(--po-orange-hover);
  color: #ffffff !important;
}

.promobogrev-statya__knopka--svetlaya {
  border-color: #dadddf !important;
  background: #ffffff;
  color: #343a40 !important;
}

.promobogrev-statya__knopka--svetlaya:hover {
  border-color: #f0bd80 !important;
  background: #fffaf4;
  color: var(--po-orange-hover) !important;
}


/* =========================================================
   15. ДОПОЛНИТЕЛЬНЫЕ УНИВЕРСАЛЬНЫЕ БЛОКИ
   ========================================================= */

.promobogrev-statya__fakt {
  margin: 24px 0 28px;
  padding: 19px 21px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  background: #ffffff;
}

.promobogrev-statya__fakt-zagolovok {
  margin: 0 0 6px;
  color: var(--po-orange-hover);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.promobogrev-statya__fakt-tekst {
  margin: 0;
  color: #272c32;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.promobogrev-statya__primechanie {
  margin: 20px 0 24px;
  padding: 15px 17px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius-small);
  background: var(--po-bg-soft);
  color: #60666d;
  font-size: 14px;
  line-height: 1.6;
}

.promobogrev-statya__primechanie p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   16. АДАПТИВ
   ========================================================= */

@media (max-width: 767px) {
  .promobogrev-statya {
    font-size: 15px;
    line-height: 1.66;
  }

  .promobogrev-statya__shapka {
    padding: 20px;
  }

  .promobogrev-statya__vvod {
    font-size: 17px;
  }

  .promobogrev-statya h2 {
    margin-top: 36px;
    padding-left: 14px;
    font-size: 25px;
  }

  .promobogrev-statya h3 {
    font-size: 19px;
  }

  .promobogrev-statya__soderzhanie-spisok,
  .promobogrev-statya__plitka,
  .promobogrev-statya__ssylki-spisok {
    grid-template-columns: 1fr;
  }

  .promobogrev-statya__foto-zaglushka {
    min-height: 230px;
    padding: 24px 20px;
  }

  .promobogrev-statya__formula {
    padding: 19px 20px;
  }

  .promobogrev-statya__formula-vyrazhenie {
    font-size: 17px;
  }

  .promobogrev-statya__etap {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .promobogrev-statya__etap-nomer {
    width: 34px;
    height: 34px;
  }

  .promobogrev-statya__ssylki,
  .promobogrev-statya__zakaz {
    padding: 21px;
  }

  .promobogrev-statya__zakaz-zagolovok {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .promobogrev-statya__shapka,
  .promobogrev-statya__soderzhanie,
  .promobogrev-statya__ssylki,
  .promobogrev-statya__zakaz {
    padding-left: 17px;
    padding-right: 17px;
  }

  .promobogrev-statya h2 {
    font-size: 23px;
  }

  .promobogrev-statya__etap {
    grid-template-columns: 1fr;
  }

  .promobogrev-statya__knopki {
    display: grid;
    grid-template-columns: 1fr;
  }

  .promobogrev-statya__knopka {
    width: 100%;
  }
}


/* =========================================================
   17. УМЕНЬШЕНИЕ АНИМАЦИИ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .promobogrev-statya *,
  .promobogrev-statya *::before,
  .promobogrev-statya *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   ПЕРЕДЕЛАННЫЙ БЛОК "ПОЛЕЗНЫЕ РАЗДЕЛЫ ПО ТЕМЕ"
   Вставить В КОНЕЦ файла, чтобы переопределить старые стили
   ========================================================= */

.promobogrev-statya__ssylki {
  margin: 38px 0 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

.promobogrev-statya__ssylki-zagolovok {
  margin: 0 0 16px;
  color: #252a30;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.promobogrev-statya__ssylki-spisok {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.promobogrev-statya__ssylki-spisok li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.promobogrev-statya__ssylki-spisok li::before,
.promobogrev-statya__ssylki-spisok li::after,
.promobogrev-statya__ssylki-spisok li::marker {
  content: none !important;
  display: none !important;
}

.promobogrev-statya__ssylka {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid #e4e7eb !important;
  border-radius: 10px;
  background: #ffffff;
  color: #2f353c !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none !important;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.promobogrev-statya__ssylka::before {
  content: none !important;
  display: none !important;
}

.promobogrev-statya__ssylka::after {
  content: "›";
  flex: 0 0 auto;
  margin-left: 16px;
  color: #f39629;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.promobogrev-statya__ssylka:hover {
  border-color: #f3c48c !important;
  background: #fffaf4;
  color: #e68312 !important;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .promobogrev-statya__ssylki-zagolovok {
    font-size: 21px;
  }

  .promobogrev-statya__ssylki-spisok {
    grid-template-columns: 1fr;
  }

  .promobogrev-statya__ssylka {
    min-height: 64px;
    padding: 14px 16px;
  }
}
