/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; background: #fff; color: #111614; }

:root {
    --g:    #6bb476;
    --gd:   #4d9659;
    --gl:   #edf6ef;
    --dark: #0d1f1a;
    --d2:   #132b22;
    --gray: #6b7280;
    --bdr:  #e5e7eb;
    --bg:   #f5f6f5;
    --text: #1a2820;
    --max:  1480px;
    --art:  720px;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* ── Анимации ── */
.fx { opacity: 0; transform: translateY(22px);
      transition: opacity .6s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.fx.d1 { transition-delay: .1s; }
.fx.d2 { transition-delay: .2s; }
.fx.d3 { transition-delay: .3s; }
.fx._on { opacity: 1; transform: none; }

@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.25} }
@keyframes progress { from{width:0} }

/* ═══════════════════════════════════════
   ПРОГРЕСС-БАР
═══════════════════════════════════════ */
.read-progress {
    position: fixed; top: 0; left: 0; z-index: 1000;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--gd), var(--g));
    transition: width .1s linear;
    pointer-events: none;
}
.breadcrumb {
    background: transparent !important;
}
.content.no-margin-p img {
    max-width: 100%;
    object-fit: contain;
    height: auto;
    margin: 10px 0;
}
/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.art-hero {
    background: #0d1f1a;
    padding: 56px 0 72px;
    position: relative; overflow: hidden;
}
.art-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.art-hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(107,180,118,.042) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107,180,118,.042) 1px, transparent 1px);
    background-size: 72px 72px;
}
.art-hero__glow {
    position: absolute; top: -200px; right: -80px;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(107,180,118,.13) 0%, transparent 65%);
}
.art-hero__glow--2 {
    top: auto; right: auto; bottom: -260px; left: -160px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(107,180,118,.06) 0%, transparent 65%);
}
.art-hero .container { position: relative; z-index: 1; }
.art-hero__inner { max-width: 800px; }

/* хлебные крошки */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 28px; flex-wrap: wrap;
}
.breadcrumb__item {
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,.35);
    text-decoration: none; transition: color .2s;
}
.breadcrumb__item:hover { color: var(--g); }
.breadcrumb__item--cur { color: rgba(255,255,255,.2); pointer-events: none; }
.breadcrumb__sep { font-size: 12px; color: rgba(255,255,255,.15); }

/* мета */
.art-hero__meta {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.art-hero__tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 10px; font-weight: 800; color: var(--g);
    letter-spacing: .12em; text-transform: uppercase;
    background: rgba(107,180,118,.12); border: 1px solid rgba(107,180,118,.25);
    padding: 5px 12px; border-radius: 6px;
}
.art-hero__tag-dot {
    width: 5px; height: 5px; border-radius: 50%; background: var(--g);
    animation: pulse 2s ease-in-out infinite;
}
.art-hero__date, .art-hero__read {
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,.35);
    letter-spacing: .03em;
}
.art-hero__date::before, .art-hero__read::before {
    content: '·'; margin-right: 16px; color: rgba(255,255,255,.15);
}
.art-hero__tag + .art-hero__date::before { display: none; }

/* заголовок */
.art-hero__title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900; line-height: 1.1; letter-spacing: -.03em;
    color: #fff; margin-bottom: 20px;
}
.art-hero__title em {
    font-style: normal; color: var(--g);
}

/* лид */
.art-hero__lead {
    font-size: 18px; color: rgba(255,255,255,.45);
    line-height: 1.75; max-width: 600px;
}

/* разделитель */
.art-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107,180,118,.3) 30%, rgba(107,180,118,.3) 70%, transparent);
}

/* ═══════════════════════════════════════
   LAYOUT: SIDEBAR + ARTICLE
═══════════════════════════════════════ */
.art-layout { padding: 64px 0 80px; }

.art-layout__inner {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
}

/* ── SIDEBAR ── */
.art-sidebar {}
.art-sidebar__sticky {
    position: sticky;
    top: 32px;
}

.art-sidebar__label {
    font-size: 9px; font-weight: 900; color: var(--gray);
    letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: 14px;
}

/* оглавление */
.art-toc { display: flex; flex-direction: column; gap: 2px; }
.art-toc__item {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--gray); line-height: 1.5;
    padding: 6px 12px; border-radius: 8px;
    text-decoration: none; border-left: 2px solid transparent;
    transition: color .2s, background .2s, border-color .2s;
}
.art-toc__item:hover { color: var(--gd); background: var(--gl); }
.art-toc__item--active {
    color: var(--gd); background: var(--gl);
    border-left-color: var(--g);
}

.art-sidebar__divider {
    height: 1px; background: var(--bdr);
    margin: 24px 0;
}

/* поделиться */
.art-share {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.art-share__btn {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1.5px solid var(--bdr);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray); text-decoration: none;
    transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.art-share__btn svg { width: 15px; height: 15px; }
.art-share__btn:hover {
    border-color: rgba(107,180,118,.45);
    background: var(--gl); color: var(--gd);
    transform: translateY(-2px);
}

/* ── ARTICLE BODY ── */
.art-body { min-width: 0; max-width: var(--art); }

.art-section {
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--bdr);
}
.art-section:last-of-type { border-bottom: none; }

/* типографика */
.art-h2 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900; line-height: 1.2;
    letter-spacing: -.02em; color: var(--dark);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid var(--g);
}
.art-h3 {
    font-size: 17px; font-weight: 800;
    color: var(--dark); margin: 28px 0 12px;
    letter-spacing: -.01em;
}

.art-body p {
    font-size: 16px; color: #2d3a34;
    line-height: 1.85; margin-bottom: 16px;
}
.art-body p:last-child { margin-bottom: 0; }

/* список */
.art-list {
    list-style: none; margin: 16px 0 20px;
    display: flex; flex-direction: column; gap: 8px;
}
.art-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 15px; color: #2d3a34; line-height: 1.7;
}
.art-list li::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--g); flex-shrink: 0;
    margin-top: 9px;
}

/* цитата / callout */
.art-callout {
    display: flex; gap: 0;
    margin: 28px 0; background: var(--bg);
    border-radius: 16px; overflow: hidden;
}
.art-callout--accent { background: var(--gl); }
.art-callout__line {
    width: 4px; background: var(--bdr); flex-shrink: 0;
    border-radius: 4px 0 0 4px;
}
.art-callout--accent .art-callout__line { background: var(--g); }
.art-callout__body { padding: 20px 24px; }
.art-callout__text {
    font-size: 16px; font-weight: 600; color: var(--dark);
    line-height: 1.7; font-style: italic;
}

/* карточки-факты */
.art-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin: 24px 0;
}
.art-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 20px; border-radius: 14px;
    border: 1.5px solid var(--bdr); background: #fff;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.art-card:hover {
    border-color: rgba(107,180,118,.4);
    box-shadow: 0 8px 24px rgba(107,180,118,.08);
    transform: translateY(-3px);
}
.art-card__ico {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--gl); color: var(--gd);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.art-card__ico svg { width: 18px; height: 18px; }
.art-card__text {
    font-size: 13px; font-weight: 700; color: var(--dark);
    line-height: 1.45; padding-top: 4px;
}

/* хайлайт-блок */
.art-highlight {
    background: var(--dark); border-radius: 16px;
    padding: 24px 28px; margin: 24px 0;
    border: 1px solid rgba(107,180,118,.18);
}
.art-highlight__inner {
    display: flex; gap: 18px; align-items: flex-start;
}
.art-highlight__icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: rgba(107,180,118,.15); color: var(--g);
    display: flex; align-items: center; justify-content: center;
}
.art-highlight__icon svg { width: 20px; height: 20px; }
.art-highlight__title {
    font-size: 15px; font-weight: 800; color: #fff;
    margin-bottom: 8px; line-height: 1.3;
}
.art-highlight__text {
    font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.75;
}

/* навигация назад */
.art-nav {
    display: flex; align-items: center;
    padding-top: 40px; margin-top: 16px;
}
.art-nav__back {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--gray);
    text-decoration: none;
    border: 1.5px solid var(--bdr); border-radius: 10px;
    padding: 9px 18px;
    transition: border-color .2s, color .2s, background .2s;
}
.art-nav__back svg { width: 16px; height: 16px; transition: transform .2s; }
.art-nav__back:hover {
    border-color: rgba(107,180,118,.4);
    color: var(--gd); background: var(--gl);
}
.art-nav__back:hover svg { transform: translateX(-3px); }

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
.cta {
    padding: 90px 0;
    background: var(--gl);
    text-align: center;
    border-top: 1px solid rgba(107,180,118,.2);
}
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta__title {
    font-size: clamp(24px, 3vw, 42px); font-weight: 900; color: #111614;
    letter-spacing: -.025em; margin-bottom: 16px; line-height: 1.15;
}
.cta__text { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
.cta__btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--gd); color: #fff;
    font-size: 14px; font-weight: 800; letter-spacing: .04em;
    padding: 14px 32px; border-radius: 12px;
    text-decoration: none; margin-bottom: 32px;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.cta__btn:hover { background: #3d7a48; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(77,150,89,.25); }
.cta__perks { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cta__perk { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--gray); }
.cta__perk svg { width: 13px; height: 13px; fill: var(--g); }

/* ═══════════════════════════════════════
   АДАПТИВ
═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .art-layout__inner { grid-template-columns: 180px 1fr; gap: 40px; }
}
@media (max-width: 860px) {
    .art-layout__inner { grid-template-columns: 1fr; }
    .art-sidebar { display: none; }
    .art-cards { grid-template-columns: 1fr; }
    .art-hero__lead { font-size: 16px; }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .art-hero { padding: 40px 0 52px; }
    .art-layout { padding: 40px 0 56px; }
    .art-section { margin-bottom: 40px; padding-bottom: 40px; }
    .art-h2 { font-size: 20px; }
    .cta { padding: 56px 0; }
}






/* h1 внутри контента — секционные заголовки */
.content h1 {
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 900; line-height: 1.2;
    letter-spacing: -.02em; color: var(--dark);
    margin: 48px 0 18px;
    padding-left: 16px;
    border-left: 3px solid var(--g);
        padding-left: 16px;
}
.content h1:first-child { margin-top: 0; }
.content h2 {
      font-size: clamp(19px, 2vw, 24px);
    border-left: 3px solid var(--g);
        padding-left: 16px;
    color: var(--dark); margin: 32px 0 10px;
    letter-spacing: -.01em;
}

.content h3 {
        font-size: clamp(17px, 2vw, 19px);
    border-left: 3px solid var(--g);
    color: var(--dark); margin: 32px 0 10px;
    letter-spacing: -.01em;
        padding-left: 16px;
}


/* списки */
.content ul {
    list-style: none;
    margin: 10px 0 16px;
    display: flex; flex-direction: column; gap: 6px;
}
.content ul li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 15px; color: #2d3a34; line-height: 1.7;
}
.content ul li::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--g); flex-shrink: 0; margin-top: 9px;
        top: 2px;
}
/* убираем вложенные p внутри li */
.content ul li p { margin: 0; display: inline; }