/* ==========================================================================
   ExportProfi.ru — Editorial Magazine Layer
   Редакционный слой поверх style.css: шапка, футер, главная, анимации.
   Все новые классы имеют префикс ep-, чтобы не ломать внутренние страницы.
   ========================================================================== */

:root {
    --ep-paper: #f7f6f2;
    --ep-surface: #ffffff;
    --ep-cream: #f0ece2;
    --ep-ink: #161a20;
    --ep-ink-soft: #4c5561;
    --ep-muted: #7d8590;
    --ep-line: #e2ddd2;
    --ep-line-soft: #ece8df;
    --ep-navy: #0e2233;
    --ep-navy-2: #14324a;
    --ep-blue: #17466b;
    --ep-accent: #b32b2b;
    --ep-accent-soft: #fbeeee;
    --ep-gold: #b38b4a;
    --ep-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
    --ep-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    --ep-shadow: 0 18px 50px -24px rgba(14, 34, 51, .30);
    --ep-ease: cubic-bezier(.22, .72, .18, 1);

    /* Согласуем базовую систему style.css с новой палитрой */
    --bg-primary: #f7f6f2;
    --bg-surface: #ffffff;
    --bg-surface-raised: #f1efe8;
    --bg-ticker: #0e2233;
    --text-primary: #161a20;
    --text-secondary: #4c5561;
    --text-muted: #7d8590;
    --border-color: #e2ddd2;
    --border-color-light: #ece8df;
    --primary: #17466b;
    --primary-hover: #0f3452;
    --primary-light: #eaf1f7;
    --accent: #b32b2b;
    --accent-hover: #8f2020;
    --accent-light: #fbeeee;
    --font-sans: var(--ep-sans);
    --font-heading: var(--ep-serif);
}

[data-theme="dark"] {
    --ep-paper: #0c1117;
    --ep-surface: #141c25;
    --ep-cream: #1a232d;
    --ep-ink: #eef2f5;
    --ep-ink-soft: #b3bcc6;
    --ep-muted: #8a949f;
    --ep-line: #2a3541;
    --ep-line-soft: #212b35;
    --ep-navy: #080e14;
    --ep-navy-2: #102334;
    --ep-blue: #86b9e2;
    --ep-accent: #ef7169;
    --ep-accent-soft: #352022;
    --ep-gold: #d0ad74;
    --ep-shadow: 0 18px 50px -24px rgba(0, 0, 0, .8);

    --bg-primary: #0c1117;
    --bg-surface: #141c25;
    --bg-surface-raised: #1a232d;
    --bg-ticker: #080e14;
    --text-primary: #eef2f5;
    --text-secondary: #b3bcc6;
    --text-muted: #8a949f;
    --border-color: #2a3541;
    --border-color-light: #212b35;
    --primary: #86b9e2;
    --primary-hover: #a8cdef;
    --primary-light: #17293a;
    --accent: #ef7169;
    --accent-hover: #ff9189;
    --accent-light: #352022;
}

/* ---------- Базовые переопределения ---------- */
html { scroll-behavior: smooth; }
body.ep-body {
    background: var(--ep-paper);
    color: var(--ep-ink);
    font-family: var(--ep-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
/* :where() даёт нулевую специфичность — любые классы компонентов легко перебивают цвет */
:where(body.ep-body) a { color: inherit; }
:where(body.ep-body) a:hover { color: var(--ep-blue); }
/* Контентные страницы остаются со старой системой: ссылки в тексте должны выделяться */
.ep-main .article-body a, .ep-main .single-article-view a {
    color: var(--primary); text-decoration: underline; text-underline-offset: 3px;
}
.ep-main .article-body a:hover, .ep-main .single-article-view a:hover { color: var(--accent); }
body.ep-nav-open { overflow: hidden; }
body.ep-body button, body.ep-body input, body.ep-body select { font-family: inherit; }
body.ep-body ::selection { background: var(--ep-accent); color: #fff; }
.ep-main { display: block; min-height: 40vh; }

.ep-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 34px; }
.ep-skip {
    position: fixed; top: -80px; left: 16px; z-index: 500;
    background: var(--ep-accent); color: #fff; padding: 10px 18px; border-radius: 4px;
    font-size: 14px; font-weight: 600; transition: top .2s;
}
.ep-skip:focus { top: 14px; color: #fff; }

/* ---------- Полоса прогресса чтения ---------- */
.ep-progress {
    position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 300;
    background: transparent; pointer-events: none;
}
.ep-progress span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--ep-accent), var(--ep-gold));
    box-shadow: 0 0 12px rgba(179, 43, 43, .4);
    transition: width .1s linear;
}

/* ---------- Общие редакционные элементы ---------- */
.ep-eyebrow {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--ep-accent); margin-bottom: 12px;
}
.ep-eyebrow--light { color: #d9a9a4; }
.ep-section-title {
    font-family: var(--ep-serif); font-weight: 700; letter-spacing: -.025em;
    font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; margin: 0;
}
.ep-section-lead { color: var(--ep-ink-soft); font-size: 15px; margin: 10px 0 0; max-width: 560px; }
.ep-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
    padding-bottom: 22px; margin-bottom: 34px; border-bottom: 1px solid var(--ep-line);
}
.ep-section-head--light { border-bottom-color: rgba(255,255,255,.14); }
.ep-link-more {
    flex: 0 0 auto; font-size: 13px; font-weight: 700; letter-spacing: .01em;
    color: var(--ep-blue); border-bottom: 1px solid currentColor; padding-bottom: 3px;
    transition: gap .25s var(--ep-ease), color .2s;
}
.ep-link-more span { display: inline-block; transition: transform .28s var(--ep-ease); }
.ep-link-more:hover span { transform: translateX(5px); }
.ep-tag {
    display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ep-blue); background: var(--ep-cream);
    padding: 4px 9px; border-radius: 2px;
}
.ep-tag--accent { color: var(--ep-accent); background: var(--ep-accent-soft); }
.ep-tag--outline { background: transparent; border: 1px solid var(--ep-line); color: var(--ep-ink-soft); }

.ep-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 20px; border: 1px solid transparent; border-radius: 3px;
    font-size: 13px; font-weight: 700; letter-spacing: .01em; cursor: pointer;
    text-decoration: none; position: relative; overflow: hidden;
    transition: transform .28s var(--ep-ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.ep-btn svg { width: 17px; height: 17px; transition: transform .3s var(--ep-ease); }
.ep-btn:hover svg { transform: translateX(4px); }
.ep-btn--solid { background: var(--ep-navy-2); color: #fff; }
.ep-btn--solid:hover { background: var(--ep-accent); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(14,34,51,.55); }
.ep-btn--accent { background: var(--ep-accent); color: #fff; }
.ep-btn--accent:hover { background: var(--ep-navy-2); color: #fff; transform: translateY(-2px); }
.ep-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.ep-btn--ghost:hover { background: #fff; color: var(--ep-navy); border-color: #fff; }
.ep-btn--block { width: 100%; }

/* ---------- Анимации появления ---------- */
.ep-anim [data-reveal] {
    opacity: 0; transform: translateY(24px);
    transition: opacity .75s var(--ep-ease), transform .75s var(--ep-ease);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}
.ep-anim [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes epMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes epPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes epShimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes epFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ==========================================================================
   1. СЛУЖЕБНАЯ СТРОКА
   ========================================================================== */
.ep-utility { background: var(--ep-navy); color: #c4ced8; font-size: 11.5px; letter-spacing: .02em; }
.ep-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 36px; }
.ep-utility__left, .ep-utility__right { display: flex; align-items: center; gap: 16px; }
.ep-utility__right a { color: #c4ced8; text-decoration: none; transition: color .2s; }
.ep-utility__right a:hover { color: #fff; }
.ep-utility__date { text-transform: capitalize; }
.ep-utility__divider { width: 1px; height: 12px; background: rgba(255,255,255,.22); }
.ep-utility__issue { color: #8fa0af; letter-spacing: .08em; }
.ep-live { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.ep-live i { width: 7px; height: 7px; background: #e05b50; border-radius: 50%; animation: epPulse 2.2s ease-in-out infinite; box-shadow: 0 0 0 3px rgba(224,91,80,.18); }
.ep-theme {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 26px; padding: 0; border: 1px solid rgba(255,255,255,.2);
    background: transparent; color: #c4ced8; border-radius: 3px; cursor: pointer;
    transition: background .2s, color .2s, transform .25s;
}
.ep-theme:hover { background: rgba(255,255,255,.12); color: #fff; transform: rotate(-15deg); }
.ep-theme svg { width: 15px; height: 15px; }
.ep-theme__moon, [data-theme="dark"] .ep-theme__sun { display: none; }
[data-theme="dark"] .ep-theme__moon { display: block; }

/* ==========================================================================
   2. МАЧТА ИЗДАНИЯ
   ========================================================================== */
.ep-masthead { background: var(--ep-surface); border-bottom: 1px solid var(--ep-line); }
.ep-masthead__inner {
    display: flex; align-items: center; gap: 28px;
    min-height: 108px; padding-top: 16px; padding-bottom: 16px;
}
.ep-burger { display: none; }
.ep-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex: 0 0 auto; }
.ep-logo:hover { color: inherit; }
.ep-logo__mark { display: block; width: 48px; height: 48px; color: var(--ep-navy-2); transition: transform .5s var(--ep-ease); }
.ep-logo:hover .ep-logo__mark { transform: rotate(-8deg); }
.ep-logo__mark svg { width: 100%; height: 100%; }
.ep-logo__type { display: flex; flex-direction: column; }
.ep-logo__word {
    font-family: var(--ep-serif); font-size: clamp(25px, 2.4vw, 34px); font-weight: 700;
    letter-spacing: -.045em; line-height: 1; color: var(--ep-ink); white-space: nowrap;
}
.ep-logo__word span { color: var(--ep-accent); }
.ep-logo__tag {
    margin-top: 7px; font-size: 9.5px; font-weight: 600; letter-spacing: .17em;
    text-transform: uppercase; color: var(--ep-muted); white-space: nowrap;
}
.ep-masthead__center { display: flex; align-items: center; gap: 20px; margin-left: auto; color: var(--ep-muted); }
.ep-masthead__quote { font-family: var(--ep-serif); font-style: italic; font-size: 15px; line-height: 1.25; color: var(--ep-ink-soft); }
.ep-masthead__rule { width: 1px; height: 36px; background: var(--ep-line); }
.ep-masthead__edition { font-size: 10px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; max-width: 130px; }
.ep-masthead__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.ep-search-trigger {
    display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px;
    background: transparent; border: 1px solid var(--ep-line); border-radius: 3px;
    color: var(--ep-ink-soft); font-size: 12.5px; cursor: pointer;
    transition: border-color .25s, background .25s, color .25s;
}
.ep-search-trigger:hover { border-color: var(--ep-blue); color: var(--ep-blue); background: var(--ep-cream); }
.ep-search-trigger svg { width: 16px; height: 16px; }
.ep-search-trigger kbd {
    font-family: var(--ep-sans); font-size: 10px; padding: 1px 6px;
    border: 1px solid var(--ep-line); border-radius: 3px; color: var(--ep-muted);
}

/* ==========================================================================
   3. РУБРИКАТОР
   ========================================================================== */
.ep-nav {
    position: sticky; top: 0; z-index: 90; background: var(--ep-surface);
    border-bottom: 1px solid var(--ep-line);
    transition: box-shadow .3s, border-color .3s;
}
.ep-nav.is-stuck { box-shadow: 0 10px 30px -18px rgba(14,34,51,.5); border-color: var(--ep-line-soft); }
.ep-nav__inner { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.ep-nav__list {
    display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0;
    flex: 1; overflow-x: auto; scrollbar-width: none;
}
.ep-nav__list::-webkit-scrollbar { display: none; }
.ep-nav__list li { flex: 0 0 auto; }
.ep-nav__link {
    display: block; position: relative; padding: 15px 15px; font-size: 12.5px;
    font-weight: 650; letter-spacing: .005em; color: var(--ep-ink-soft); text-decoration: none;
    white-space: nowrap; transition: color .2s;
}
.ep-nav__link::after {
    content: ''; position: absolute; left: 15px; right: 15px; bottom: 0; height: 2px;
    background: var(--ep-accent); transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ep-ease);
}
.ep-nav__link:hover { color: var(--ep-ink); }
.ep-nav__link:hover::after, .ep-nav__link.is-active::after { transform: scaleX(1); }
.ep-nav__link.is-active { color: var(--ep-accent); }
.ep-nav__highlight .ep-nav__link { color: var(--ep-blue); font-weight: 700; }
.ep-nav__highlight .ep-nav__link::after { background: var(--ep-blue); }
.ep-nav__mini {
    display: none; position: absolute; left: 34px; top: 50%; transform: translateY(-50%);
    font-family: var(--ep-serif); font-size: 19px; font-weight: 700; letter-spacing: -.04em;
    color: var(--ep-ink); text-decoration: none;
}
.ep-nav__mini em { font-style: normal; color: var(--ep-accent); }
.ep-nav.is-stuck .ep-nav__mini { display: block; animation: epFadeIn .35s var(--ep-ease); }
.ep-nav.is-stuck .ep-nav__list { padding-left: 148px; }
@keyframes epFadeIn { from { opacity: 0; transform: translate(-8px,-50%); } to { opacity: 1; transform: translate(0,-50%); } }
.ep-nav__search {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 34px; height: 34px; border: 0; border-left: 1px solid var(--ep-line);
    background: transparent; color: var(--ep-ink-soft); cursor: pointer; transition: color .2s, transform .3s;
}
.ep-nav__search:hover { color: var(--ep-accent); transform: scale(1.12); }
.ep-nav__search svg { width: 18px; height: 18px; }
.ep-nav__mobile-head, .ep-nav__mobile-extra { display: none; }
.ep-nav-overlay {
    display: none; position: fixed; inset: 0; z-index: 80;
    background: rgba(9, 18, 27, .55); backdrop-filter: blur(2px); opacity: 0;
    transition: opacity .3s;
}
.ep-nav-overlay.is-open { display: block; opacity: 1; }

/* ==========================================================================
   4. БЕГУЩАЯ СТРОКА
   ========================================================================== */
.ep-breaking { background: var(--ep-cream); border-bottom: 1px solid var(--ep-line); overflow: hidden; }
.ep-breaking__inner { display: flex; align-items: center; gap: 20px; min-height: 42px; }
.ep-breaking__label {
    display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
    font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: #fff; background: var(--ep-accent); padding: 6px 11px; border-radius: 2px;
}
.ep-breaking__label i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: epPulse 1.8s infinite; }
.ep-breaking__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ep-breaking__track { display: flex; width: max-content; animation: epMarquee 62s linear infinite; }
.ep-breaking__track:hover { animation-play-state: paused; }
.ep-breaking__item {
    display: inline-flex; align-items: center; gap: 12px; padding-right: 44px;
    font-size: 12.5px; color: var(--ep-ink-soft); text-decoration: none; white-space: nowrap;
    transition: color .2s;
}
.ep-breaking__item:hover { color: var(--ep-accent); }
.ep-breaking__dot { width: 4px; height: 4px; flex: 0 0 auto; background: var(--ep-gold); transform: rotate(45deg); }
.ep-breaking__all { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--ep-blue); text-decoration: none; }
.ep-breaking__all span { display: inline-block; transition: transform .25s; }
.ep-breaking__all:hover span { transform: translateX(4px); }

/* ==========================================================================
   5. ПОИСКОВЫЙ ОВЕРЛЕЙ
   ========================================================================== */
.ep-search { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.ep-search.is-open { visibility: visible; pointer-events: auto; }
.ep-search__backdrop { position: absolute; inset: 0; background: rgba(9,18,27,.6); opacity: 0; transition: opacity .35s; }
.ep-search.is-open .ep-search__backdrop { opacity: 1; }
.ep-search__panel {
    position: relative; background: var(--ep-surface); padding: 34px 0 46px;
    transform: translateY(-24px); opacity: 0; transition: transform .45s var(--ep-ease), opacity .35s;
    border-bottom: 1px solid var(--ep-line); box-shadow: var(--ep-shadow);
}
.ep-search.is-open .ep-search__panel { transform: none; opacity: 1; }
.ep-search__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ep-search__head .ep-eyebrow { margin: 0; }
.ep-search__close { width: 34px; height: 34px; border: 1px solid var(--ep-line); background: transparent; color: var(--ep-ink); cursor: pointer; border-radius: 3px; transition: transform .3s, background .2s; }
.ep-search__close:hover { transform: rotate(90deg); background: var(--ep-cream); }
.ep-search__close svg { width: 18px; height: 18px; }
.ep-search__form { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--ep-ink); padding: 10px 0 16px; }
.ep-search__form > svg { width: 28px; height: 28px; color: var(--ep-muted); flex: 0 0 auto; }
.ep-search__form input {
    flex: 1; border: 0; outline: none; background: transparent; color: var(--ep-ink);
    font-family: var(--ep-serif); font-size: clamp(20px, 3vw, 34px); min-width: 0;
}
.ep-search__form input::placeholder { color: var(--ep-muted); opacity: .75; }
.ep-search__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: 12px; color: var(--ep-muted); }
.ep-search__hints a { padding: 5px 11px; border: 1px solid var(--ep-line); border-radius: 20px; color: var(--ep-ink-soft); text-decoration: none; transition: all .25s; }
.ep-search__hints a:hover { border-color: var(--ep-accent); color: var(--ep-accent); transform: translateY(-2px); }

/* ---------- Хлебные крошки ---------- */
.ep-crumbs { background: var(--ep-surface); border-bottom: 1px solid var(--ep-line-soft); font-size: 12px; }
.ep-crumbs ul { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 12px 0; color: var(--ep-muted); }
.ep-crumbs li:not(:last-child)::after { content: '/'; margin-left: 9px; color: var(--ep-line); }
.ep-crumbs a { color: var(--ep-ink-soft); text-decoration: none; }
.ep-crumbs a:hover { color: var(--ep-accent); }

/* ==========================================================================
   6. ПЕРВАЯ ПОЛОСА
   ========================================================================== */
.ep-front { padding-top: 52px; padding-bottom: 76px; }
.ep-front__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.ep-front__head-left { display: flex; align-items: center; gap: 16px; }
.ep-front__rule { width: 38px; height: 2px; background: var(--ep-accent); }
.ep-front__label {
    font-family: var(--ep-serif); font-size: 25px; font-weight: 700; margin: 0; letter-spacing: -.02em;
}
.ep-front__issue { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-muted); border-left: 1px solid var(--ep-line); padding-left: 16px; }
.ep-front__archive { font-size: 12.5px; font-weight: 700; color: var(--ep-blue); text-decoration: none; }
.ep-front__archive span { display: inline-block; transition: transform .25s; }
.ep-front__archive:hover span { transform: translateX(4px); }
.ep-front__grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(300px, .88fr); gap: 0; border-top: 2px solid var(--ep-ink); border-bottom: 1px solid var(--ep-line); }

.ep-lead { display: flex; flex-direction: column; padding: 0 40px 0 0; border-right: 1px solid var(--ep-line); }
.ep-lead__art {
    position: relative; display: block; height: 266px; margin: 26px 0 26px; overflow: hidden;
    background: linear-gradient(128deg, var(--ep-navy) 0%, var(--ep-navy-2) 55%, #1e4c6b 100%);
    color: rgba(255,255,255,.75); border-radius: 2px; text-decoration: none;
}
.ep-lead__art::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 78% 22%, rgba(179,43,43,.42), transparent 48%),
                linear-gradient(160deg, transparent 55%, rgba(0,0,0,.35));
    transition: transform .8s var(--ep-ease);
}
.ep-lead__art:hover::after { transform: scale(1.08); }
.ep-lead__art-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px);
    background-size: 42px 42px;
}
.ep-lead__art-route { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255,255,255,.42); transition: transform .45s var(--ep-ease); }
.ep-lead__art-index {
    position: absolute; right: 22px; bottom: -32px; font-family: var(--ep-serif);
    font-size: 190px; font-weight: 700; line-height: 1; color: rgba(255,255,255,.09); z-index: 1;
    transition: transform .8s var(--ep-ease);
}
.ep-lead__art:hover .ep-lead__art-index { transform: translateY(-14px); }
.ep-lead__art-stamp {
    position: absolute; left: 26px; top: 24px; z-index: 2; font-family: var(--ep-serif);
    font-size: 19px; font-weight: 700; letter-spacing: .12em; color: #fff; line-height: 1.2;
}
.ep-lead__art-stamp small { display: block; font-family: var(--ep-sans); font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 7px; }
.ep-lead__art-corner { position: absolute; right: 22px; top: 24px; z-index: 2; font-size: 9px; letter-spacing: .22em; color: rgba(255,255,255,.55); writing-mode: vertical-rl; }
.ep-lead__body { padding-bottom: 34px; display: flex; flex-direction: column; flex: 1; }
.ep-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 11px; }
.ep-kicker__label { font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--ep-accent); }
.ep-kicker__sep { color: var(--ep-line); }
.ep-kicker__meta { color: var(--ep-muted); }
.ep-lead__title {
    font-family: var(--ep-serif); font-size: clamp(30px, 3.15vw, 46px); font-weight: 700;
    line-height: 1.13; letter-spacing: -.03em; margin: 0 0 16px;
}
.ep-lead__title a { text-decoration: none; background-image: linear-gradient(var(--ep-accent), var(--ep-accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ep-ease), color .2s; }
.ep-lead__title a:hover { color: var(--ep-accent); background-size: 100% 2px; }
.ep-lead__excerpt { font-size: 16px; line-height: 1.72; color: var(--ep-ink-soft); margin: 0 0 22px; max-width: 68ch; }
.ep-byline { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ep-line-soft); }
.ep-byline__avatar {
    display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 50%; background: var(--ep-navy-2); color: #fff; font-family: var(--ep-serif); font-size: 16px;
}
.ep-byline__text { display: flex; flex-direction: column; line-height: 1.35; }
.ep-byline__text strong { font-size: 12.5px; }
.ep-byline__text small { font-size: 11px; color: var(--ep-muted); }
.ep-byline__date { margin-left: auto; font-size: 11.5px; color: var(--ep-muted); font-variant-numeric: tabular-nums; }
.ep-readmore { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ep-ink); text-decoration: none; }
.ep-readmore__line { width: 26px; height: 1px; background: var(--ep-accent); transition: width .35s var(--ep-ease); }
.ep-readmore:hover { color: var(--ep-accent); }
.ep-readmore:hover .ep-readmore__line { width: 46px; }
.ep-readmore svg { width: 17px; height: 17px; transition: transform .3s var(--ep-ease); }
.ep-readmore:hover svg { transform: translateX(5px); }

.ep-front__side { display: flex; flex-direction: column; padding-left: 34px; }
.ep-front__side-head {
    display: flex; align-items: center; justify-content: space-between; padding: 18px 0;
    border-bottom: 1px solid var(--ep-line); font-size: 10.5px; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; color: var(--ep-ink);
}
.ep-front__side-num { color: var(--ep-muted); }
.ep-sublead { display: block; padding: 22px 0 24px; border-bottom: 1px solid var(--ep-line); }
.ep-sublead__top { display: flex; align-items: center; gap: 10px; font-size: 10.5px; color: var(--ep-muted); }
.ep-sublead__num { font-family: var(--ep-serif); font-size: 14px; color: var(--ep-accent); font-weight: 700; }
.ep-sublead__cat { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-blue); }
.ep-sublead__top time { margin-left: auto; font-variant-numeric: tabular-nums; }
.ep-sublead__title { font-family: var(--ep-serif); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.28; letter-spacing: -.015em; margin: 12px 0 9px; }
.ep-sublead__title a { text-decoration: none; transition: color .2s; }
.ep-sublead__title a:hover { color: var(--ep-accent); }
.ep-sublead__excerpt { font-size: 13.5px; line-height: 1.65; color: var(--ep-ink-soft); margin: 0; }
.ep-topics { margin-top: auto; padding: 22px 0 26px; }
.ep-topics__label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ep-muted); margin-bottom: 12px; }
.ep-topics__list { display: flex; flex-wrap: wrap; gap: 7px; }
.ep-topics__list a {
    font-size: 11.5px; padding: 6px 11px; border: 1px solid var(--ep-line);
    border-radius: 2px; text-decoration: none; color: var(--ep-ink-soft);
    transition: all .28s var(--ep-ease);
}
.ep-topics__list a:hover { background: var(--ep-navy-2); color: #fff; border-color: var(--ep-navy-2); transform: translateY(-2px); }

/* ==========================================================================
   7. ЛЕНТА + ПРАВАЯ КОЛОНКА
   ========================================================================== */
.ep-stream { padding-bottom: 84px; }
.ep-stream__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 54px; }
.ep-feed__item {
    display: grid; grid-template-columns: 46px minmax(0,1fr) 34px; gap: 18px; align-items: start;
    padding: 26px 0; border-bottom: 1px solid var(--ep-line);
    transition: background .3s, padding .3s var(--ep-ease);
}
.ep-feed__item:first-child { padding-top: 4px; }
.ep-feed__item:hover { background: linear-gradient(90deg, var(--ep-cream), transparent 78%); padding-left: 12px; padding-right: 8px; }
.ep-feed__num { font-family: var(--ep-serif); font-size: 22px; font-weight: 700; color: var(--ep-line); font-variant-numeric: tabular-nums; transition: color .3s; }
.ep-feed__item:hover .ep-feed__num { color: var(--ep-accent); }
.ep-feed__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.ep-feed__meta time { font-size: 11.5px; color: var(--ep-muted); font-variant-numeric: tabular-nums; }
.ep-feed__content h3 { font-family: var(--ep-serif); font-size: clamp(19px, 1.75vw, 24px); font-weight: 700; line-height: 1.28; letter-spacing: -.015em; margin: 0 0 8px; }
.ep-feed__content h3 a { text-decoration: none; transition: color .2s; }
.ep-feed__content h3 a:hover { color: var(--ep-accent); }
.ep-feed__content p { font-size: 14px; line-height: 1.68; color: var(--ep-ink-soft); margin: 0; max-width: 72ch; }
.ep-feed__arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--ep-line); border-radius: 50%; color: var(--ep-muted); transition: all .3s var(--ep-ease); }
.ep-feed__arrow svg { width: 16px; height: 16px; }
.ep-feed__item:hover .ep-feed__arrow { background: var(--ep-accent); border-color: var(--ep-accent); color: #fff; transform: translateX(4px); }
.ep-empty { color: var(--ep-muted); padding: 30px 0; }

.ep-rail { display: flex; flex-direction: column; gap: 20px; }
.ep-rail__card { background: var(--ep-surface); border: 1px solid var(--ep-line); padding: 24px; border-radius: 2px; }
.ep-rail__card .ep-eyebrow { margin-bottom: 14px; }
.ep-rail__title { font-family: var(--ep-serif); font-size: 21px; font-weight: 700; line-height: 1.25; margin: 0 0 14px; }
.ep-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; }
.ep-numbers > div { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--ep-line); padding-left: 12px; }
.ep-numbers strong { font-family: var(--ep-serif); font-size: 34px; line-height: 1; color: var(--ep-ink); font-variant-numeric: tabular-nums; }
.ep-numbers span { font-size: 11px; line-height: 1.4; color: var(--ep-muted); }
.ep-rail__list { list-style: none; margin: 0; padding: 0; }
.ep-rail__list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ep-line-soft); }
.ep-rail__list li:first-child { border-top: 0; padding-top: 0; }
.ep-rail__list span { font-family: var(--ep-serif); font-size: 14px; color: var(--ep-accent); flex: 0 0 auto; }
.ep-rail__list a { font-size: 13.5px; line-height: 1.45; text-decoration: none; transition: color .2s; }
.ep-rail__list a:hover { color: var(--ep-accent); }
.ep-rail__card--dark { background: var(--ep-navy-2); border-color: var(--ep-navy-2); color: #fff; }
.ep-rail__card--dark .ep-rail__title em { font-style: italic; color: #e4b9a6; }
.ep-rail__card--dark p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0 0 20px; }
.ep-rail__link { display: inline-flex; gap: 8px; font-size: 12.5px; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 3px; }
.ep-rail__link:hover { color: #fff; border-color: #fff; }
.ep-rail__link span { transition: transform .25s; }
.ep-rail__link:hover span { transform: translateX(4px); }

/* ==========================================================================
   8. РУБРИКИ
   ========================================================================== */
.ep-rubrics { background: var(--ep-surface); border-top: 1px solid var(--ep-line); border-bottom: 1px solid var(--ep-line); padding: 74px 0 82px; }
.ep-rubrics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ep-line); border: 1px solid var(--ep-line); }
.ep-rubric {
    position: relative; display: flex; flex-direction: column; min-height: 190px;
    background: var(--ep-surface); padding: 26px 28px 24px; text-decoration: none; overflow: hidden;
    transition: background .35s, transform .35s var(--ep-ease);
}
.ep-rubric::before { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--ep-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ep-ease); }
.ep-rubric:hover { background: var(--ep-cream); }
.ep-rubric:hover::before { transform: scaleX(1); }
.ep-rubric__num { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--ep-accent); }
.ep-rubric__icon { position: absolute; right: 22px; top: 16px; font-family: var(--ep-serif); font-size: 40px; color: var(--ep-line); transition: transform .5s var(--ep-ease), color .3s; }
.ep-rubric:hover .ep-rubric__icon { transform: rotate(-12deg) scale(1.12); color: var(--ep-gold); }
.ep-rubric h3 { font-family: var(--ep-serif); font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 22px 0 7px; }
.ep-rubric p { font-size: 13px; line-height: 1.6; color: var(--ep-ink-soft); margin: 0; max-width: 32ch; }
.ep-rubric__arrow { position: absolute; right: 26px; bottom: 22px; font-size: 18px; color: var(--ep-muted); transition: transform .3s var(--ep-ease), color .3s; }
.ep-rubric:hover .ep-rubric__arrow { transform: translateX(6px); color: var(--ep-accent); }

/* ==========================================================================
   9. ТЕМА НОМЕРА
   ========================================================================== */
.ep-feature { position: relative; overflow: hidden; background: var(--ep-navy); color: #fff; padding: 84px 0; }
.ep-feature::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 82% 30%, rgba(179,43,43,.22), transparent 42%), radial-gradient(circle at 10% 90%, rgba(30,90,130,.3), transparent 45%);
}
.ep-feature__deco {
    position: absolute; right: -90px; top: -90px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.018);
    animation: epFloat 12s ease-in-out infinite; pointer-events: none;
}
.ep-feature__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.ep-feature__intro h2 { font-family: var(--ep-serif); font-size: clamp(31px, 3.4vw, 46px); line-height: 1.13; letter-spacing: -.03em; font-weight: 700; margin: 0 0 18px; }
.ep-feature__intro h2 em { font-style: italic; color: #e6b7a8; }
.ep-feature__intro p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.72); margin: 0 0 28px; max-width: 48ch; }
.ep-feature__list { display: flex; flex-direction: column; }
.ep-feature__item {
    display: grid; grid-template-columns: 42px minmax(0,1fr) 24px; gap: 16px; align-items: center;
    padding: 22px 4px; border-top: 1px solid rgba(255,255,255,.15); text-decoration: none; color: #fff;
    transition: padding .35s var(--ep-ease), background .35s;
}
.ep-feature__item:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.ep-feature__item:hover { padding-left: 14px; background: rgba(255,255,255,.045); color: #fff; }
.ep-feature__item-num { font-family: var(--ep-serif); font-size: 20px; color: #e6b7a8; }
.ep-feature__item-cat { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 7px; }
.ep-feature__item-body strong { font-family: var(--ep-serif); font-size: 19px; font-weight: 600; line-height: 1.32; }
.ep-feature__item-arrow { font-size: 18px; color: rgba(255,255,255,.5); transition: transform .3s, color .3s; }
.ep-feature__item:hover .ep-feature__item-arrow { transform: translate(3px,-3px); color: #fff; }

/* ==========================================================================
   10. ИНСТРУМЕНТЫ
   ========================================================================== */
.ep-tools { padding: 84px 34px 90px; }
.ep-tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ep-tool {
    position: relative; display: flex; flex-direction: column; min-height: 220px; overflow: hidden;
    background: var(--ep-surface); border: 1px solid var(--ep-line); padding: 26px 26px 24px;
    text-decoration: none; border-radius: 2px;
    transition: transform .4s var(--ep-ease), box-shadow .4s, border-color .3s;
}
.ep-tool::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--ep-blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ep-ease); }
.ep-tool:hover { transform: translateY(-6px); box-shadow: var(--ep-shadow); border-color: transparent; }
.ep-tool:hover::after { transform: scaleX(1); }
.ep-tool__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 3px; background: var(--ep-cream); font-family: var(--ep-serif); font-size: 23px; color: var(--ep-blue); transition: transform .45s var(--ep-ease); }
.ep-tool:hover .ep-tool__icon { transform: scale(1.08) rotate(-6deg); }
.ep-tool__num { position: absolute; right: 22px; top: 24px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--ep-muted); }
.ep-tool h3 { font-family: var(--ep-serif); font-size: 20px; font-weight: 700; line-height: 1.26; margin: 20px 0 8px; }
.ep-tool p { font-size: 13.2px; line-height: 1.62; color: var(--ep-ink-soft); margin: 0 0 18px; }
.ep-tool__go { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--ep-blue); }
.ep-tool__go span { display: inline-block; transition: transform .3s var(--ep-ease); }
.ep-tool:hover .ep-tool__go span { transform: translateX(5px); }
.ep-tool.t-red::after { background: var(--ep-accent); } .ep-tool.t-red .ep-tool__icon { color: var(--ep-accent); }
.ep-tool.t-green::after { background: #2f7d63; } .ep-tool.t-green .ep-tool__icon { color: #2f7d63; }
.ep-tool.t-amber::after { background: var(--ep-gold); } .ep-tool.t-amber .ep-tool__icon { color: var(--ep-gold); }
.ep-tool.t-violet::after { background: #6d5aa8; } .ep-tool.t-violet .ep-tool__icon { color: #6d5aa8; }
.ep-tool.t-slate::after { background: #4c6b85; } .ep-tool.t-slate .ep-tool__icon { color: #4c6b85; }

/* ==========================================================================
   11. ГЕОГРАФИЯ
   ========================================================================== */
.ep-geo { background: var(--ep-surface); border-top: 1px solid var(--ep-line); border-bottom: 1px solid var(--ep-line); padding: 76px 0 84px; }
.ep-countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ep-country {
    position: relative; display: flex; flex-direction: column; gap: 5px; padding: 22px 24px;
    border: 1px solid var(--ep-line); background: var(--ep-paper); text-decoration: none;
    transition: transform .35s var(--ep-ease), background .35s, box-shadow .35s;
}
.ep-country:hover { transform: translateY(-4px); background: var(--ep-surface); box-shadow: var(--ep-shadow); }
.ep-country__flag { font-size: 30px; line-height: 1.2; margin-bottom: 6px; transition: transform .4s var(--ep-ease); }
.ep-country:hover .ep-country__flag { transform: scale(1.15); }
.ep-country__name { font-family: var(--ep-serif); font-size: 20px; font-weight: 700; }
.ep-country__meta { font-size: 12px; color: var(--ep-ink-soft); }
.ep-country__meta strong { color: var(--ep-blue); }
.ep-country__exports { font-size: 11.5px; line-height: 1.5; color: var(--ep-muted); min-height: 36px; }
.ep-country__arrow { position: absolute; right: 20px; top: 20px; color: var(--ep-muted); transition: transform .3s, color .3s; }
.ep-country:hover .ep-country__arrow { transform: translate(3px,-3px); color: var(--ep-accent); }
.ep-routes { margin-top: 46px; display: grid; grid-template-columns: 250px 1fr; gap: 40px; border-top: 1px solid var(--ep-line); padding-top: 34px; }
.ep-routes__head h3 { font-family: var(--ep-serif); font-size: 22px; line-height: 1.25; margin: 0; }
.ep-routes__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; }
.ep-routes__list a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--ep-line-soft); text-decoration: none; transition: padding .3s var(--ep-ease), background .3s; }
.ep-routes__list a:hover { padding-left: 12px; background: var(--ep-cream); }
.ep-routes__flag { font-size: 20px; flex: 0 0 auto; }
.ep-routes__text { display: flex; flex-direction: column; min-width: 0; }
.ep-routes__text strong { font-size: 13.5px; }
.ep-routes__text small { font-size: 11px; color: var(--ep-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-routes__arrow { margin-left: auto; color: var(--ep-muted); transition: transform .3s, color .3s; }
.ep-routes__list a:hover .ep-routes__arrow { transform: translateX(4px); color: var(--ep-accent); }

/* ==========================================================================
   12. МНЕНИЯ, КЕЙСЫ, ОПРОСЫ
   ========================================================================== */
.ep-voices { padding: 84px 34px 90px; }
.ep-voices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.ep-voices__col-title { display: flex; align-items: center; gap: 12px; font-family: var(--ep-serif); font-size: 21px; font-weight: 700; margin: 0 0 8px; padding-bottom: 14px; border-bottom: 2px solid var(--ep-ink); }
.ep-voices__col-title span { font-family: var(--ep-sans); font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--ep-accent); }
.ep-quote { position: relative; padding: 26px 0 26px 34px; border-bottom: 1px solid var(--ep-line); }
.ep-quote__mark { position: absolute; left: -4px; top: 18px; font-family: var(--ep-serif); font-size: 46px; line-height: 1; color: var(--ep-line); }
.ep-quote h4, .ep-case h4 { font-family: var(--ep-serif); font-size: 20px; line-height: 1.3; font-weight: 700; margin: 12px 0 9px; }
.ep-quote h4 a, .ep-case h4 a { text-decoration: none; transition: color .2s; }
.ep-quote h4 a:hover, .ep-case h4 a:hover { color: var(--ep-accent); }
.ep-quote p, .ep-case p { font-size: 13.6px; line-height: 1.68; color: var(--ep-ink-soft); margin: 0 0 12px; }
.ep-quote__author, .ep-case__meta { font-size: 11.5px; color: var(--ep-muted); }
.ep-case { padding: 26px 0; border-bottom: 1px solid var(--ep-line); }

.ep-polls { margin-top: 62px; background: var(--ep-surface); border: 1px solid var(--ep-line); padding: 32px 34px 34px; }
.ep-polls__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ep-polls__head .ep-eyebrow { margin-bottom: 6px; }
.ep-polls__head h3 { font-family: var(--ep-serif); font-size: 26px; margin: 0; }
.ep-polls__hint { font-size: 11.5px; color: var(--ep-muted); }
.ep-polls .polls-tabs-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; border: 0; }
.ep-polls .poll-tab-btn {
    border: 1px solid var(--ep-line); background: transparent; color: var(--ep-ink-soft);
    padding: 8px 14px; border-radius: 2px; font-size: 11.5px; font-weight: 700; cursor: pointer;
    transition: all .25s var(--ep-ease);
}
.ep-polls .poll-tab-btn:hover { border-color: var(--ep-blue); color: var(--ep-blue); }
.ep-polls .poll-tab-btn.active { background: var(--ep-navy-2); border-color: var(--ep-navy-2); color: #fff; }
.ep-polls .polls-container { position: relative; }
.ep-polls .poll-card-item { display: none; background: transparent; border: 0; padding: 0; box-shadow: none; }
.ep-polls .poll-card-item.active { display: block; animation: epFadeInPoll .4s var(--ep-ease); }
@keyframes epFadeInPoll { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ep-polls .poll-question-title { font-family: var(--ep-serif); font-size: 21px; line-height: 1.3; margin: 0 0 6px; }
.ep-polls .poll-desc { font-size: 13px; color: var(--ep-ink-soft); margin: 0 0 18px; }
.ep-polls .poll-option-row { position: relative; border: 1px solid var(--ep-line); padding: 11px 14px; margin-bottom: 8px; border-radius: 2px; overflow: hidden; transition: border-color .25s, background .25s; }
.ep-polls .poll-option-row:hover { border-color: var(--ep-blue); }
.ep-polls .poll-option-label { display: flex; align-items: center; gap: 10px; cursor: pointer; position: relative; z-index: 2; font-size: 13.2px; }
.ep-polls .poll-radio-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ep-polls .poll-radio-custom { width: 15px; height: 15px; flex: 0 0 auto; border: 1.5px solid var(--ep-muted); border-radius: 50%; transition: all .2s; }
.ep-polls .poll-radio-input:checked + .poll-radio-custom { border-color: var(--ep-accent); box-shadow: inset 0 0 0 3.5px var(--ep-surface); background: var(--ep-accent); }
.ep-polls .poll-result-bar-wrap { display: flex; align-items: center; justify-content: flex-end; gap: 7px; position: absolute; inset: 0; z-index: 1; pointer-events: none; padding-right: 14px; }
.ep-polls .poll-result-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ep-cream); transition: width .8s var(--ep-ease); }
.ep-polls .poll-result-percent, .ep-polls .poll-result-count { font-size: 11px; color: var(--ep-muted); opacity: 0; transition: opacity .3s; }
.ep-polls .poll-option-row.show-results .poll-result-percent, .ep-polls .poll-option-row.show-results .poll-result-count { opacity: 1; }
.ep-polls .poll-option-row.user-voted-option { border-color: var(--ep-accent); background: var(--ep-accent-soft); }
.ep-polls .poll-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.ep-polls .poll-stats-meta { font-size: 12px; color: var(--ep-muted); }
.ep-polls .btn-poll-vote { background: var(--ep-accent); color: #fff; border: 0; border-radius: 2px; padding: 11px 20px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .25s, transform .25s; }
.ep-polls .btn-poll-vote:hover { background: var(--ep-navy-2); transform: translateY(-2px); }
.ep-polls .btn-poll-vote.btn-voted { background: var(--ep-muted); }

/* ==========================================================================
   13. ЗАКОНОДАТЕЛЬСТВО
   ========================================================================== */
.ep-laws { background: var(--ep-surface); border-top: 1px solid var(--ep-line); padding: 76px 0 84px; }
.ep-laws__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ep-line); }
.ep-law { padding: 26px 24px 8px 0; border-right: 1px solid var(--ep-line); }
.ep-law:not(:first-child) { padding-left: 24px; }
.ep-law:last-child { border-right: 0; }
.ep-law__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.ep-law__top time { font-size: 11px; color: var(--ep-muted); font-variant-numeric: tabular-nums; }
.ep-law h3 { font-family: var(--ep-serif); font-size: 19px; line-height: 1.3; font-weight: 700; margin: 0 0 10px; }
.ep-law h3 a { text-decoration: none; transition: color .2s; }
.ep-law h3 a:hover { color: var(--ep-accent); }
.ep-law p { font-size: 13px; line-height: 1.65; color: var(--ep-ink-soft); margin: 0 0 14px; }
.ep-law__note { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ep-muted); }

/* ==========================================================================
   14. ЭКСПЕРТНАЯ ЛИНИЯ (CTA)
   ========================================================================== */
.ep-cta { background: var(--ep-cream); border-top: 1px solid var(--ep-line); padding: 86px 0 92px; }
.ep-cta__grid { display: grid; grid-template-columns: 1fr 430px; gap: 76px; align-items: center; }
.ep-cta__title { font-family: var(--ep-serif); font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; margin: 0 0 20px; }
.ep-cta__title em { font-style: italic; color: var(--ep-accent); }
.ep-cta__lead { font-size: 15.5px; line-height: 1.75; color: var(--ep-ink-soft); max-width: 58ch; margin: 0 0 28px; }
.ep-cta__list { list-style: none; margin: 0 0 30px; padding: 0; max-width: 520px; }
.ep-cta__list li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--ep-line); font-size: 14px; }
.ep-cta__list span { font-family: var(--ep-serif); font-size: 13px; color: var(--ep-accent); font-weight: 700; }
.ep-cta__rss { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; font-weight: 700; }
.ep-cta__rss a { color: var(--ep-blue); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.ep-cta__rss a:hover { color: var(--ep-accent); }
.ep-cta__card { background: var(--ep-surface); border: 1px solid var(--ep-line); box-shadow: var(--ep-shadow); padding: 32px 34px 34px; border-radius: 2px; }
.ep-cta__card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ep-cta__card-tag { font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--ep-accent); }
.ep-cta__card-num { font-size: 10px; letter-spacing: .1em; color: var(--ep-muted); }
.ep-cta__card-title { font-family: var(--ep-serif); font-size: 27px; font-weight: 700; margin: 0 0 8px; }
.ep-cta__card-desc { font-size: 13.5px; color: var(--ep-ink-soft); margin: 0 0 22px; }
.ep-form { display: flex; flex-direction: column; gap: 14px; }
.ep-field { display: flex; flex-direction: column; gap: 6px; }
.ep-field > span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-muted); }
.ep-field input, .ep-field select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--ep-line); border-radius: 2px;
    background: var(--ep-paper); color: var(--ep-ink); font-size: 14px; outline: none;
    transition: border-color .25s, box-shadow .25s;
}
.ep-field input:focus, .ep-field select:focus { border-color: var(--ep-blue); box-shadow: 0 0 0 3px rgba(23,70,107,.1); }
.ep-form .ep-btn { margin-top: 6px; }
.ep-form__privacy { font-size: 10.5px; line-height: 1.5; color: var(--ep-muted); text-align: center; }
.ep-form .form-status { font-size: 12.5px; text-align: center; color: var(--ep-blue); min-height: 0; }
.ep-form .form-status:empty { display: none; }

/* ==========================================================================
   15. ФУТЕР
   ========================================================================== */
.ep-footer { background: var(--ep-navy); color: #c3ced8; padding: 76px 0 0; overflow: hidden; }
.ep-footer__top { display: grid; grid-template-columns: 320px 1fr; gap: 70px; }
.ep-footer__logo { display: inline-block; font-family: var(--ep-serif); font-size: 34px; font-weight: 700; letter-spacing: -.05em; color: #fff; text-decoration: none; line-height: 1; }
.ep-footer__logo:hover { color: #fff; }
.ep-footer__logo em { font-style: normal; color: #df6a60; }
.ep-footer__logo-dot { color: #df6a60; }
.ep-footer__brand p { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.62); margin: 20px 0; }
.ep-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ep-footer__badges span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.2); padding: 5px 10px; border-radius: 2px; }
.ep-footer__rss { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.ep-footer__rss:hover { color: #df6a60; border-color: #df6a60; }
.ep-footer__rss svg { width: 14px; height: 14px; }
.ep-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ep-footer__col h3 { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 6px 0 18px; }
.ep-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ep-footer__col li { margin-bottom: 10px; }
.ep-footer__col a { font-size: 12.8px; line-height: 1.45; color: rgba(255,255,255,.62); text-decoration: none; transition: color .2s, padding-left .25s var(--ep-ease); display: inline-block; }
.ep-footer__col a:hover { color: #fff; padding-left: 5px; }
.ep-footer__wordmark {
    font-family: var(--ep-serif); font-weight: 700; font-size: clamp(70px, 14vw, 210px);
    letter-spacing: -.06em; line-height: .9; text-align: center; white-space: nowrap;
    color: rgba(255,255,255,.035); margin: 54px 0 6px; user-select: none;
}
.ep-footer__bottom {
    display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; align-items: center;
    border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 30px; font-size: 11.5px; color: rgba(255,255,255,.52);
}
.ep-footer__copy { max-width: 62ch; }
.ep-footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.ep-footer__links a { color: rgba(255,255,255,.7); text-decoration: none; }
.ep-footer__links a:hover { color: #fff; }
.ep-footer__disclaimer { grid-column: 1 / -1; margin: 0; font-size: 11px; color: rgba(255,255,255,.4); max-width: 100ch; }

.ep-totop {
    position: fixed; right: 24px; bottom: 24px; z-index: 95; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center; border: 1px solid var(--ep-line);
    background: var(--ep-surface); color: var(--ep-ink); border-radius: 50%; cursor: pointer;
    box-shadow: var(--ep-shadow); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
    transition: opacity .3s, transform .35s var(--ep-ease), background .25s, color .25s;
}
.ep-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.ep-totop:hover { background: var(--ep-accent); color: #fff; border-color: var(--ep-accent); transform: translateY(-4px); }
.ep-totop svg { width: 18px; height: 18px; }

/* ==========================================================================
   16. АДАПТИВ
   ========================================================================== */
@media (max-width: 1180px) {
    .ep-wrap { padding-left: 26px; padding-right: 26px; }
    .ep-masthead__center { display: none; }
    .ep-masthead__actions { margin-left: auto; }
    .ep-stream__grid { grid-template-columns: minmax(0,1fr) 290px; gap: 34px; }
    .ep-front__grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr); }
    .ep-cta__grid { grid-template-columns: 1fr 390px; gap: 44px; }
    .ep-footer__top { grid-template-columns: 250px 1fr; gap: 42px; }
    .ep-nav__link { padding-left: 11px; padding-right: 11px; }
    .ep-nav__link::after { left: 11px; right: 11px; }
}

@media (max-width: 980px) {
    .ep-utility__issue, .ep-utility__divider, .ep-utility__right a:nth-child(3) { display: none; }
    .ep-masthead__inner { min-height: 82px; gap: 16px; }
    .ep-burger {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 40px; height: 40px; flex: 0 0 auto; padding: 9px; border: 1px solid var(--ep-line);
        background: transparent; border-radius: 3px; cursor: pointer;
    }
    .ep-burger span { display: block; height: 1.5px; width: 100%; background: var(--ep-ink); transition: transform .3s, opacity .3s; }
    .ep-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .ep-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .ep-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    .ep-logo__mark { width: 40px; height: 40px; }
    .ep-masthead__actions { margin-left: auto; }
    .ep-search-trigger span, .ep-search-trigger kbd { display: none; }
    .ep-search-trigger { width: 40px; height: 40px; justify-content: center; padding: 0; }

    .ep-nav {
        position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); height: 100dvh;
        transform: translateX(-102%); transition: transform .45s var(--ep-ease); z-index: 120;
        overflow-y: auto; background: var(--ep-surface); border-bottom: 0; border-right: 1px solid var(--ep-line);
        box-shadow: var(--ep-shadow); padding: 0 0 40px;
    }
    .ep-nav.is-open { transform: translateX(0); }
    .ep-nav__mobile-head {
        display: flex; align-items: center; justify-content: space-between; padding: 22px 24px;
        border-bottom: 1px solid var(--ep-line); font-family: var(--ep-serif); font-size: 21px; font-weight: 700;
    }
    .ep-nav__close { width: 34px; height: 34px; border: 1px solid var(--ep-line); background: transparent; color: var(--ep-ink); cursor: pointer; }
    .ep-nav__close svg { width: 17px; height: 17px; }
    .ep-nav__mini { display: none !important; }
    .ep-nav__inner { padding: 0 24px; min-height: 0; }
    .ep-nav.is-stuck .ep-nav__list { padding-left: 0; }
    .ep-nav__list { display: flex; flex-direction: column; align-items: stretch; overflow: visible; padding: 12px 0; }
    .ep-nav__list li { width: 100%; }
    .ep-nav__link { padding: 13px 0; font-size: 16px; font-family: var(--ep-serif); border-bottom: 1px solid var(--ep-line-soft); }
    .ep-nav__link::after { display: none; }
    .ep-nav__search { display: none; }
    .ep-nav__mobile-extra { display: flex; flex-direction: column; padding: 20px 24px 0; gap: 3px; border-top: 1px solid var(--ep-line); }
    .ep-nav__mobile-extra a { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-size: 13.5px; color: var(--ep-ink-soft); text-decoration: none; }
    .ep-nav__mobile-extra a:hover { color: var(--ep-accent); }
    .ep-nav__mobile-extra span { font-size: 15px; }

    .ep-front__grid { grid-template-columns: 1fr; }
    .ep-lead { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--ep-line); }
    .ep-front__side { padding-left: 0; }
    .ep-stream__grid { grid-template-columns: 1fr; gap: 46px; }
    .ep-rail { display: grid; grid-template-columns: repeat(2, 1fr); }
    .ep-rail__card--dark { grid-column: 1 / -1; }
    .ep-rubrics__grid, .ep-tools__grid, .ep-countries { grid-template-columns: repeat(2, 1fr); }
    .ep-feature__inner { grid-template-columns: 1fr; gap: 40px; }
    .ep-routes { grid-template-columns: 1fr; gap: 24px; }
    .ep-laws__grid { grid-template-columns: repeat(2, 1fr); }
    .ep-law:nth-child(2) { border-right: 0; }
    .ep-law:nth-child(3) { padding-left: 0; }
    .ep-cta__grid { grid-template-columns: 1fr; gap: 40px; }
    .ep-cta__card { max-width: 520px; }
    .ep-footer__top { grid-template-columns: 1fr; gap: 44px; }
    .ep-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 680px) {
    .ep-wrap { padding-left: 20px; padding-right: 20px; }
    .ep-utility__inner { min-height: 32px; }
    .ep-utility__date { display: none; }
    .ep-utility__right { gap: 11px; }
    .ep-utility__right a:nth-child(2) { display: none; }
    .ep-masthead__inner { min-height: 72px; }
    .ep-logo__word { font-size: 24px; }
    .ep-logo__tag { font-size: 8px; letter-spacing: .11em; }
    .ep-logo__mark { width: 34px; height: 34px; }
    .ep-masthead__actions .ep-btn--solid { display: none; }
    .ep-breaking__all { display: none; }
    .ep-breaking__inner { min-height: 38px; gap: 12px; }
    .ep-front { padding-top: 34px; padding-bottom: 52px; }
    .ep-front__head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .ep-front__label { font-size: 22px; }
    .ep-front__issue { border: 0; padding-left: 0; }
    .ep-lead__art { height: 200px; margin: 20px 0 22px; }
    .ep-lead__art-index { font-size: 130px; bottom: -20px; }
    .ep-lead__title { font-size: clamp(27px, 7vw, 36px); }
    .ep-lead__excerpt { font-size: 15px; }
    .ep-section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
    .ep-section-title { font-size: 30px; }
    .ep-stream, .ep-voices, .ep-tools { padding-bottom: 60px; }
    .ep-tools, .ep-voices { padding-top: 60px; padding-left: 20px; padding-right: 20px; }
    .ep-feed__item { grid-template-columns: 32px minmax(0,1fr); gap: 12px; }
    .ep-feed__arrow { display: none; }
    .ep-feed__num { font-size: 18px; }
    .ep-rail { grid-template-columns: 1fr; }
    .ep-rail__card--dark { grid-column: auto; }
    .ep-rubrics, .ep-geo, .ep-laws, .ep-cta { padding-top: 58px; padding-bottom: 62px; }
    .ep-rubrics__grid, .ep-tools__grid, .ep-countries, .ep-voices__grid, .ep-laws__grid, .ep-routes__list { grid-template-columns: 1fr; }
    .ep-rubric { min-height: 160px; }
    .ep-law { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--ep-line); padding-bottom: 18px; }
    .ep-law:last-child { border-bottom: 0; }
    .ep-feature { padding: 60px 0; }
    .ep-polls { padding: 24px 20px; margin-top: 44px; }
    .ep-polls__head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .ep-cta__card { padding: 26px 22px; }
    .ep-footer { padding-top: 58px; }
    .ep-footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
    .ep-footer__bottom { grid-template-columns: 1fr; }
    .ep-footer__wordmark { font-size: 17vw; margin-top: 40px; }
    .ep-totop { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

@media (max-width: 420px) {
    .ep-logo__tag { display: none; }
    .ep-footer__cols { grid-template-columns: 1fr; }
    .ep-search__form { flex-wrap: wrap; }
    .ep-search__form .ep-btn { width: 100%; }
    .ep-tools__grid { gap: 12px; }
}

/* ---------- Уважение к настройкам доступности ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .ep-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
    .ep-breaking__track { animation: none; }
}
