/* WOW CSSFIX 3 — cache-busted blog design, conflict-proof against old style.css */
:root {
  --bg: #061210;
  --bg-soft: #0b1c18;
  --panel: rgba(14, 30, 25, 0.78);
  --panel-strong: rgba(11, 24, 20, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f8f4ea;
  --text-soft: rgba(248, 244, 234, 0.78);
  --text-muted: rgba(248, 244, 234, 0.58);
  --gold: #e0c175;
  --gold-soft: #f1ddb0;
  --green: #8bca98;
  --green-soft: #d2f0ce;
  --emerald: #56a880;
  --article-bg: #fbfaf6;
  --article-border: rgba(16, 30, 25, 0.09);
  --article-text: #27342d;
  --article-title: #101b17;
  --article-muted: #5a6b61;
  --article-card: #f3efe4;
  --shadow-xl: 0 28px 90px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 20px 55px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.18);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.page-engine {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(90, 168, 128, 0.18), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(224, 193, 117, 0.14), transparent 22%),
    radial-gradient(circle at 50% 40%, rgba(78, 130, 97, 0.08), transparent 38%),
    linear-gradient(180deg, #04100e 0%, #0a1b17 35%, #0b1916 60%, #05100f 100%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-soft); }
img { max-width: 100%; height: auto; }

.container,
.article-shell,
.category-page,
.blog-index-page,
.nav__container {
  width: min(1200px, calc(100% - 40px));
}
.container { margin: 0 auto; }

.gradient-text {
  background: linear-gradient(135deg, #fff1be 0%, #e0c175 36%, #90d29c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass,
.glass-light {
  background: linear-gradient(180deg, rgba(18, 37, 30, 0.88), rgba(10, 21, 18, 0.82));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.btn,
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.88rem 1.28rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #08110d !important;
  background: linear-gradient(135deg, #f2dfae 0%, #dcbc6c 44%, #91d29d 100%);
  box-shadow: 0 16px 32px rgba(224, 193, 117, 0.2), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn::after,
.cta-btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  pointer-events: none;
}
.btn:hover,
.cta-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 22px 42px rgba(224, 193, 117, 0.26), inset 0 1px 0 rgba(255,255,255,0.42);
  color: #08110d !important;
}
.btn:active,
.cta-btn:active { transform: translateY(0); }
.btn--gradient,
.btn--primary {
  background: linear-gradient(135deg, #f2dfae 0%, #dcbc6c 38%, #8fd09c 100%);
}
.btn--sm { min-height: 40px; padding: 0.75rem 1rem; font-size: 0.92rem; }
.btn--lg { min-height: 52px; padding: 1rem 1.4rem; }

.nav--inner {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.78rem 0;
  background: linear-gradient(180deg, rgba(4, 12, 10, 0.92), rgba(7, 18, 15, 0.82));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}
.nav__container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}
.nav__logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #0a120e;
  background: linear-gradient(135deg, rgba(242,223,174,0.92), rgba(143,208,156,0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 10px 22px rgba(0,0,0,0.24);
}
.nav__name { font-weight: 900; font-size: 1.06rem; white-space: nowrap; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.76rem 0.92rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.94rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav__link:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  transform: translateY(-1px);
}
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 280px;
  padding: 0.55rem;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 18, 15, 0.97);
  box-shadow: var(--shadow-xl);
}
.nav__dropdown:hover .nav__dropdown-menu { display: grid; gap: 0.25rem; }
.nav__dropdown-item {
  padding: 0.78rem 0.86rem;
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}
.nav__dropdown-item:hover { background: rgba(255,255,255,0.07); color: var(--gold-soft); }
.header-cta { display: flex; align-items: center; gap: 0.7rem; }
.header-cta-sub { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
.nav__cta { min-width: 122px; }

.article-shell,
.category-page,
.blog-index-page {
  margin: 0 auto;
  padding: 4.8rem 0 5rem;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.article-main { min-width: 0; }
.article-sidebar { min-width: 0; }
.article-sidebar__sticky { position: sticky; top: 96px; display: grid; gap: 16px; }

.article-breadcrumbs,
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.article-breadcrumbs a,
.breadcrumbs a {
  color: var(--text-soft);
  font-weight: 700;
}
.article-breadcrumbs a:hover,
.breadcrumbs a:hover { color: var(--gold-soft); }

.article-hero,
.category-hero,
.blog-index-hero {
  position: relative;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.4rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(224,193,117,0.12), transparent 26%),
    radial-gradient(circle at 0% 100%, rgba(139,202,152,0.12), transparent 32%),
    linear-gradient(180deg, rgba(23,44,36,0.96), rgba(12,26,22,0.92));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xl);
}
.article-hero::before,
.category-hero::before,
.blog-index-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), transparent 42%);
  pointer-events: none;
}
.article-hero__eyebrow,
.category-hero__eyebrow,
.blog-index-hero__eyebrow,
.sidebar-card__eyebrow,
.author-box__eyebrow,
.inline-cta__eyebrow,
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(224,193,117,0.1);
  border: 1px solid rgba(224,193,117,0.2);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 0.92rem;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-soft), var(--green));
  box-shadow: 0 0 0 6px rgba(224,193,117,0.08);
}
.article-hero__title,
.category-hero__title,
.blog-index-hero__title,
.category-hero h1 {
  position: relative;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0 0 0.9rem;
  color: var(--text);
}
.article-hero__lead,
.category-hero__lead,
.blog-index-hero__lead {
  position: relative;
  max-width: 840px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.article-hero__meta,
.blog-index-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.article-hero__meta span,
.blog-index-hero__meta span,
.blog-index-hero__meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.46rem 0.74rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-soft);
  font-size: 0.9rem;
}
.blog-index-hero__meta a:hover { color: var(--gold-soft); }

.article-body,
.body-html,
.category-intro {
  border-radius: var(--radius-xl);
}
.article-body,
.body-html {
  padding: 2.15rem;
  background: var(--article-bg);
  color: var(--article-text);
  border: 1px solid var(--article-border);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}
.category-intro {
  margin-top: 1rem;
  padding: 1.3rem 1.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.category-intro p,
.category-intro li,
.category-intro strong,
.category-intro h2,
.category-intro h3 {
  color: var(--text);
}
.category-intro p { line-height: 1.75; color: var(--text-soft); }

.article-body > *:first-child,
.body-html > *:first-child { margin-top: 0; }
.article-body > *:last-child,
.body-html > *:last-child { margin-bottom: 0; }
.article-body h2,
.body-html h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 2rem 0 0.9rem;
  color: var(--article-title);
}
.article-body h3,
.body-html h3 {
  font-size: 1.28rem;
  margin: 1.5rem 0 0.7rem;
  color: #132018;
}
.article-body p,
.body-html p,
.article-body li,
.body-html li {
  font-size: 1.04rem;
  line-height: 1.84;
  color: var(--article-text);
}
.article-body ul,
.article-body ol,
.body-html ul,
.body-html ol {
  padding-left: 1.3rem;
  line-height: 1.8;
}
.article-body li + li,
.body-html li + li { margin-top: 0.34rem; }
.article-body strong,
.body-html strong { color: var(--article-title); }
.article-body a,
.body-html a {
  color: #225f3d;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 700;
}
.article-body blockquote,
.body-html blockquote {
  margin: 1.45rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: #f3ead7;
  border-radius: 0 16px 16px 0;
}
.article-body img,
.body-html img {
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.article-body hr,
.body-html hr {
  border: 0;
  border-top: 1px solid rgba(16,30,25,0.1);
  margin: 1.6rem 0;
}

.article-body .inline-cta,
.body-html .inline-cta {
  margin: 1.5rem 0;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(224,193,117,0.18), transparent 30%),
    linear-gradient(135deg, #f7f1df 0%, #edf4e8 100%);
  border: 1px solid rgba(34, 70, 52, 0.12);
  box-shadow: 0 12px 30px rgba(25, 35, 28, 0.08);
}
.article-body .inline-cta__eyebrow,
.body-html .inline-cta__eyebrow {
  background: rgba(224,193,117,0.18);
  border-color: rgba(224,193,117,0.26);
  color: #8a6722;
}
.article-body .inline-cta__title,
.body-html .inline-cta__title {
  margin: 0 0 0.45rem;
  font-size: 1.38rem;
  line-height: 1.18;
  color: var(--article-title);
}
.article-body .inline-cta__text,
.body-html .inline-cta__text {
  margin: 0;
  color: var(--article-muted);
  line-height: 1.72;
}
.article-body .inline-cta__actions,
.body-html .inline-cta__actions {
  margin-top: 1rem;
}

.sidebar-card,
.author-box,
.blog-offer,
.cta-box {
  padding: 1.2rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(224,193,117,0.08), transparent 24%),
    linear-gradient(180deg, rgba(19, 38, 31, 0.92), rgba(11, 23, 19, 0.88));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.sidebar-card__title {
  margin: 0.08rem 0 0.56rem;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--text);
}
.sidebar-card__text {
  color: var(--text-soft);
  line-height: 1.68;
  font-size: 0.95rem;
}
.sidebar-card .btn { margin-top: 0.3rem; }
.sidebar-meta__row {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sidebar-meta__row:last-child { border-bottom: 0; }
.sidebar-meta__label { color: var(--text-muted); }
.sidebar-meta__value {
  text-align: right;
  color: var(--text);
  font-weight: 800;
  line-height: 1.45;
}
.sidebar-links {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.sidebar-links li {
  padding: 0.75rem 0.82rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.sidebar-links a {
  display: block;
  color: var(--text);
  font-weight: 780;
  line-height: 1.38;
}
.sidebar-links a:hover { color: var(--gold-soft); }
.sidebar-links span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.22rem;
}

.blog-offer {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.74fr);
  gap: 1rem;
  padding: 1.2rem;
}
.blog-offer__title {
  margin: 0.15rem 0 0.6rem;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  line-height: 1.16;
  color: var(--text);
}
.blog-offer__text,
.blog-offer__micro,
.blog-offer__action-note {
  color: var(--text-soft);
  line-height: 1.7;
}
.blog-offer__intro,
.blog-offer__panel { min-width: 0; }
.blog-offer__scenario-row {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
.blog-offer__scenario-chip {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.88rem 0.95rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}
.blog-offer__scenario-chip strong {
  color: var(--gold-soft);
  font-size: 1rem;
  min-width: 1.2rem;
}
.blog-offer__panel {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}
.blog-offer__field,
.blog-offer__action-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(7, 15, 13, 0.38);
  border: 1px solid rgba(255,255,255,0.08);
}
.blog-offer__label {
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.blog-offer__actions { display: grid; }
.blog-offer__action-card .btn { width: 100%; }
.blog-offer__action-note { margin-top: 0.7rem; font-size: 0.9rem; }

.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}
.author-box__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-soft), var(--green));
  color: #08110d;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.author-box__name {
  margin: 0.06rem 0 0.25rem;
  font-size: 1.22rem;
  color: var(--text);
}
.author-box__role {
  margin: 0.08rem 0;
  color: var(--gold-soft);
  font-weight: 800;
}
.author-box__note {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.related-block {
  margin-top: 1.35rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
}
.related-block h2 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.16;
  color: var(--text);
}
.related-block p,
.section-header p {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
  line-height: 1.68;
}
.section-header { margin-bottom: 1rem; }
.section-header--compact { margin-bottom: 1rem; }
.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.related-list__item a {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 40, 33, 0.9), rgba(12, 24, 20, 0.88));
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 800;
  line-height: 1.42;
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, color .18s ease;
}
.related-list__item a:hover {
  transform: translateY(-2px);
  color: var(--gold-soft);
  border-color: rgba(224,193,117,0.22);
}

.category-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.category-page .related-block { margin-top: 0; }
.category-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.list-card,
.category-links li {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,40,33,0.9), rgba(12,24,20,0.88));
  border: 1px solid rgba(255,255,255,0.08);
}
.category-links a {
  display: block;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}
.category-links a:hover { color: var(--gold-soft); }
.list-card__meta,
.category-links small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.category-page h2 { font-size: 1.52rem; margin: 0 0 0.85rem; }

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.blog-index-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 250px;
  padding: 1.22rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19,38,31,0.92), rgba(11,23,19,0.88));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.blog-index-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224,193,117,0.22);
  box-shadow: 0 22px 58px rgba(0,0,0,0.24);
}
.blog-index-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}
.blog-index-card__title {
  font-size: 1.18rem;
  line-height: 1.26;
  margin: 0;
  font-weight: 800;
}
.blog-index-card__title:hover { color: var(--gold-soft); }
.blog-index-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(224,193,117,0.12);
  border: 1px solid rgba(224,193,117,0.22);
  color: var(--gold-soft);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}
.blog-index-card__excerpt {
  color: var(--text-soft);
  line-height: 1.68;
  margin: 0;
}
.blog-index-card__children {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.blog-index-card__children li {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
}
.blog-index-card__children a {
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}
.blog-index-card__children a:hover { color: var(--gold-soft); }
.blog-index-card__children span {
  color: var(--text-muted);
  white-space: nowrap;
}
.blog-index-empty,
.not-found-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
}
.not-found-card {
  width: min(780px, calc(100% - 36px));
  margin: 5rem auto;
}

.site-footer--enhanced {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.8rem 0;
  background: linear-gradient(180deg, rgba(4,12,10,0.1), rgba(4,12,10,0.45));
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
}
.footer-brand {
  color: var(--text);
  font-weight: 900;
  margin-bottom: 0.22rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.footer-links a {
  color: var(--text-soft);
  font-weight: 700;
}
.footer-links a:hover { color: var(--gold-soft); }

@media (max-width: 1080px) {
  .article-shell { grid-template-columns: 1fr 320px; }
}

@media (max-width: 980px) {
  .article-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article-sidebar__sticky { position: static; }
  .blog-offer,
  .category-columns,
  .blog-index-grid { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .nav__menu { display: none; }
  .header-cta-sub { display: none; }
}

@media (max-width: 640px) {
  .article-shell,
  .category-page,
  .blog-index-page,
  .nav__container,
  .container {
    width: min(100% - 24px, 1200px);
  }

  .article-shell,
  .category-page,
  .blog-index-page { padding: 2.5rem 0 3.2rem; }

  .article-hero,
  .category-hero,
  .blog-index-hero,
  .article-body,
  .body-html,
  .related-block,
  .sidebar-card,
  .author-box,
  .blog-offer,
  .not-found-card { padding: 1.15rem; border-radius: 22px; }

  .article-hero__title,
  .category-hero__title,
  .blog-index-hero__title,
  .category-hero h1 { font-size: 2rem; }

  .article-body p,
  .body-html p,
  .article-body li,
  .body-html li { font-size: 1rem; }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav__name { font-size: 0.97rem; }
  .nav__logo { width: 40px; height: 40px; }
  .header-cta .btn { padding: 0.72rem 0.9rem; min-width: 112px; }
  .author-box { flex-direction: column; }
}


/* =========================================================
   WOW CSSFIX 3: защита от старого assets/css/style.css
   Старый файл давал:
   .hero-box,.content-page,.cta-box,.related-block { background:#fff; ... }
   .inline-cta p,.cta-box p { color:var(--muted); ... }
   Эти правила ломали блог: белое по белому / жёлтое по жёлтому.
   ========================================================= */

body.page-engine .content-page.article-main,
body.page-engine .content-page.category-page {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

body.page-engine .related-block {
  margin-top: 1.35rem !important;
  padding: 1.2rem !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,0.035) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--text) !important;
}

body.page-engine .cta-box,
body.page-engine .blog-offer,
body.page-engine .author-box,
body.page-engine .sidebar-card {
  color: var(--text) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(224,193,117,0.08), transparent 24%),
    linear-gradient(180deg, rgba(19, 38, 31, 0.92), rgba(11, 23, 19, 0.88)) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: var(--shadow-lg) !important;
}

body.page-engine .article-body .inline-cta,
body.page-engine .body-html .inline-cta {
  color: var(--article-text) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(224,193,117,0.18), transparent 30%),
    linear-gradient(135deg, #f7f1df 0%, #edf4e8 100%) !important;
  border: 1px solid rgba(34, 70, 52, 0.12) !important;
  box-shadow: 0 12px 30px rgba(25, 35, 28, 0.08) !important;
}

body.page-engine .article-body .inline-cta p,
body.page-engine .article-body .inline-cta__text,
body.page-engine .body-html .inline-cta p,
body.page-engine .body-html .inline-cta__text {
  color: var(--article-muted) !important;
}

body.page-engine .article-body .inline-cta h3,
body.page-engine .article-body .inline-cta__title,
body.page-engine .body-html .inline-cta h3,
body.page-engine .body-html .inline-cta__title {
  color: var(--article-title) !important;
}

body.page-engine .cta-box p,
body.page-engine .blog-offer__text,
body.page-engine .blog-offer__micro,
body.page-engine .blog-offer__action-note,
body.page-engine .author-box__note,
body.page-engine .sidebar-card__text,
body.page-engine .related-block p,
body.page-engine .section-header p {
  color: var(--text-soft) !important;
}

body.page-engine .cta-box h2,
body.page-engine .cta-box h3,
body.page-engine .blog-offer__title,
body.page-engine .author-box__name,
body.page-engine .sidebar-card__title,
body.page-engine .related-block h2 {
  color: var(--text) !important;
}

body.page-engine .hero-box {
  color: var(--text) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(224,193,117,0.12), transparent 26%),
    linear-gradient(180deg, rgba(23,44,36,0.96), rgba(12,26,22,0.92)) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: var(--shadow-xl) !important;
}

/* Проверочный маркер: grep -n "WOW CSSFIX 3 ACTIVE" assets/css/site.css */
body.page-engine::before { content: none; }

/* ======================================================================
   Blog visual CTA release — 2026-05-11
   Встроенные текстовые CTA, баннеры и визуальные карточки для статей.
   ====================================================================== */
body.page-engine .article-body .inline-cta--text,
body.page-engine .body-html .inline-cta--text {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.45rem 1.3rem 1.55rem;
}
body.page-engine .article-body .inline-cta--text::after,
body.page-engine .body-html .inline-cta--text::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(224,193,117,0.32), rgba(224,193,117,0));
  pointer-events: none;
}
body.page-engine .inline-cta--green { border-left: 5px solid #2f6847 !important; }
body.page-engine .inline-cta--gold { border-left: 5px solid #d49b37 !important; }
body.page-engine .inline-cta--blue { border-left: 5px solid #4f7894 !important; }

body.page-engine .blog-visual-banner {
  margin: 1.65rem 0;
  border-radius: 28px;
  overflow: hidden;
  background: #f5efe2;
  border: 1px solid rgba(34, 70, 52, 0.12);
  box-shadow: 0 18px 46px rgba(17, 30, 24, 0.13);
}
body.page-engine .category-page > .blog-visual-banner {
  margin: 1.2rem 0 1.3rem;
}
body.page-engine .blog-visual-banner__image-link {
  display: block;
  text-decoration: none;
}
body.page-engine .blog-visual-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}
body.page-engine .blog-visual-banner__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.92rem 1.05rem;
  background: linear-gradient(135deg, #fbf7eb 0%, #eef4e9 100%);
  color: #20362a;
}
body.page-engine .blog-visual-banner__note span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 900;
  color: #8a6722;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body.page-engine .blog-visual-banner__note strong {
  flex: 1 1 auto;
  color: #102319;
  font-weight: 900;
  line-height: 1.25;
}
body.page-engine .blog-visual-banner__note a {
  white-space: nowrap;
  color: #235c3d;
  font-weight: 900;
  text-decoration: none;
}
body.page-engine .blog-visual-banner__note a:hover { color: #d49b37; }

body.page-engine .blog-visual-grid {
  margin: 1.65rem 0;
  padding: 1.15rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(224,193,117,0.2), transparent 28%),
    linear-gradient(135deg, #f8f2e4 0%, #edf5ec 100%);
  border: 1px solid rgba(34, 70, 52, 0.13);
  box-shadow: 0 18px 42px rgba(17, 30, 24, 0.1);
}
body.page-engine .blog-visual-grid__head {
  margin-bottom: 1rem;
}
body.page-engine .blog-visual-grid__head span {
  display: inline-flex;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  background: rgba(224,193,117,0.22);
  color: #8a6722;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body.page-engine .blog-visual-grid__head h3 {
  margin: 0.72rem 0 0.35rem;
  color: #102319 !important;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.17;
}
body.page-engine .blog-visual-grid__head p {
  margin: 0;
  color: #5a6b61 !important;
  line-height: 1.68;
}
body.page-engine .blog-visual-grid__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.86rem;
}
body.page-engine .blog-visual-card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(34, 70, 52, 0.1);
  box-shadow: 0 10px 24px rgba(17, 30, 24, 0.08);
}
body.page-engine .blog-visual-card img {
  width: 100%;
  height: 156px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
body.page-engine .blog-visual-card figcaption {
  padding: 0.78rem 0.82rem 0.88rem;
  color: #34483d;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 650;
}
body.page-engine .blog-visual-grid__actions {
  margin-top: 1rem;
}

body.page-engine .sidebar-card--visual-promo {
  padding: 0 !important;
  overflow: hidden;
  background: transparent !important;
}
body.page-engine .sidebar-visual-promo {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
}
body.page-engine .sidebar-visual-promo img {
  display: block;
  width: 100%;
  height: auto;
}
body.page-engine .sidebar-mini-link,
body.page-engine .blog-offer__secondary-link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--gold-soft);
  font-weight: 900;
  text-decoration: none;
}
body.page-engine .sidebar-mini-link:hover,
body.page-engine .blog-offer__secondary-link:hover { color: #fff1b7; }

body.page-engine .blog-offer--visual {
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
}
body.page-engine .blog-offer__media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}
body.page-engine .blog-offer__media-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
body.page-engine .blog-offer__media-item img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 0;
}
body.page-engine .blog-offer__media-item figcaption {
  padding: 0.65rem 0.72rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.42;
}

@media (max-width: 860px) {
  body.page-engine .blog-visual-grid__items,
  body.page-engine .blog-offer__media-grid {
    grid-template-columns: 1fr;
  }
  body.page-engine .blog-visual-card img,
  body.page-engine .blog-offer__media-item img {
    height: auto;
    max-height: none;
  }
  body.page-engine .blog-visual-banner__note {
    display: grid;
    align-items: start;
  }
  body.page-engine .blog-visual-banner__note a {
    white-space: normal;
  }
}
