/*
 * EnSAT — единый слой оформления (2026).
 * Подключается после /style.css и заменяет ensat-modern.css + ensat-v25.css.
 * Шрифт Golos Text — локально из /fonts/, без внешних запросов.
 * Порядок: токены → база → шапка → каркас страниц → главная → списки →
 *          статья → виджеты боковой колонки → формы → подвал → адаптив.
 */

@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;
  src:url(/fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;
  src:url(/fonts/golos-text-latin-wght-normal.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root{
  --bg:#f3f4f1;
  --surface:#ffffff;
  --surface-2:#f7f8f6;
  --ink:#121a16;
  --ink-2:#34403a;
  --muted:#6a7570;
  --line:#e3e7e3;
  --line-2:#d3d9d4;
  --brand:#0a7a55;
  --brand-ink:#075e41;
  --brand-soft:#e6f2ec;
  --brand-bright:#35c98b;
  --accent:#f0a020;
  --accent-soft:#fdf1dc;
  --danger:#c2412d;
  --dark:#0d1a15;
  --dark-2:#16271f;
  --radius:14px;
  --radius-s:10px;
  --shadow:0 1px 2px rgba(13,26,21,.05),0 4px 16px rgba(13,26,21,.05);
  --shadow-hover:0 2px 4px rgba(13,26,21,.06),0 12px 28px rgba(13,26,21,.10);
  --max:1240px;
  --gutter:max(16px, calc((100% - var(--max)) / 2));
  --font:"Golos Text",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* ---------- База ---------- */
html{box-sizing:border-box;-webkit-text-size-adjust:100%;}
*,*::before,*::after{box-sizing:inherit;}
body.ensat-body{margin:0!important;padding:0!important;background:var(--bg);color:var(--ink);
  font-family:var(--font);font-size:16px!important;line-height:1.55;font-weight:400;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;}
body.ensat-body h1,body.ensat-body h2,body.ensat-body h3,body.ensat-body h4,body.ensat-body h5,body.ensat-body h6{
  font-family:var(--font);color:var(--ink);font-weight:700;letter-spacing:-.01em;line-height:1.25;text-transform:none;}
body.ensat-body button,body.ensat-body input,body.ensat-body select,body.ensat-body textarea{font-family:inherit;}
body.ensat-body img{max-width:100%;height:auto;}
body.ensat-body a:link,body.ensat-body a:visited{color:inherit;text-decoration:none;}
body.ensat-body a:hover{color:var(--brand);text-decoration:none;}
body.ensat-body :focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px;}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}

/* Старый глобальный сброс style.css ставит всем div/span/h* margin:0 auto —
   внутри grid/flex это сжимает блоки и тянет их к центру. Внутри нового
   каркаса обнуляем, дальше отступы задаются явно. */
.site-header div,.site-header span,.site-footer div,.site-footer span,.site-shell div,.site-shell span,.site-shell h1,.site-shell h2,.site-shell h3,.site-shell h4,.site-shell h5,.site-shell h6{margin:0;}
.site-shell .clean{clear:both;height:0;line-height:0;}
.site-shell .h5,.site-shell .h10,.site-shell .h15,.site-shell .h20{height:0;font-size:0;}
.site-shell .lil_line{display:none;}

/* ---------- Шапка ---------- */
.site-header{width:100%;margin:0;padding:0;background:var(--dark);color:#fff;position:relative;z-index:20;}
.site-header__top{display:flex;align-items:center;gap:20px;padding:14px var(--gutter);min-height:68px;}
.brand{display:inline-flex;align-items:baseline;font-size:30px;font-weight:800;letter-spacing:-.04em;line-height:1;text-decoration:none!important;}
body.ensat-body .brand__en{color:#fff;}
body.ensat-body .brand__sat{color:var(--brand-bright);}
.brand__tagline{flex:1;margin:0;padding-left:18px;border-left:1px solid rgba(255,255,255,.18);
  font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.62);line-height:1.3;}
body.ensat-body a.account{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;
  background:var(--brand);color:#fff;font-size:14px;font-weight:600;line-height:1;transition:background .15s;}
body.ensat-body a.account:hover{background:var(--brand-bright);color:var(--dark);}

.site-header__navrow{display:flex;align-items:center;gap:16px;padding:0 var(--gutter);background:var(--surface);
  border-bottom:1px solid var(--line);color:var(--ink);}
.site-nav{display:flex;align-items:stretch;flex:1;min-width:0;gap:4px;overflow-x:auto;scrollbar-width:none;}
.site-nav::-webkit-scrollbar{display:none;}
body.ensat-body .site-nav a{position:relative;display:flex;align-items:center;padding:16px 12px;font-size:15px;font-weight:600;
  color:var(--ink-2);white-space:nowrap;}
body.ensat-body .site-nav a::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:transparent;transition:background .15s;}
body.ensat-body .site-nav a:hover{color:var(--ink);}
body.ensat-body .site-nav a:hover::after{background:var(--line-2);}
body.ensat-body .site-nav a.is-active{color:var(--brand-ink);}
body.ensat-body .site-nav a.is-active::after{background:var(--brand);}
.site-nav__about{margin-left:auto;}
.site-search{display:flex;align-items:center;flex:0 0 260px;height:40px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface-2);overflow:hidden;transition:border-color .15s,background .15s;}
.site-search:focus-within{border-color:var(--brand);background:#fff;}
.site-search input{flex:1;min-width:0;height:100%;border:0!important;background:transparent;padding:0 0 0 16px;font-size:14px;color:var(--ink);outline:none;}
.site-search button{flex:0 0 40px;height:100%;border:0;background:transparent;color:var(--muted);font-size:20px;cursor:pointer;}
.site-search button:hover{color:var(--brand);}
.mobile-toggle{display:none;}

.site-context{display:flex;align-items:center;gap:18px;padding:0 var(--gutter);background:var(--surface);border-bottom:1px solid var(--line);min-height:46px;}
.site-context__title{flex:0 0 auto;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-ink);}
.site-context__links{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:8px 0;}
.site-context__links::-webkit-scrollbar{display:none;}
body.ensat-body .site-context__links a{flex:0 0 auto;padding:5px 12px;border-radius:999px;font-size:14px;color:var(--ink-2);white-space:nowrap;background:transparent;transition:background .15s,color .15s;}
body.ensat-body .site-context__links a:hover{background:var(--surface-2);color:var(--ink);}
body.ensat-body .site-context__links a.is-active{background:var(--brand-soft);color:var(--brand-ink);font-weight:600;}

/* ---------- Каркас ---------- */
.site-shell{width:auto;max-width:none;margin:0;padding:28px var(--gutter) 56px;background:transparent;}
.site-shell > .content,.site-shell .content{max-width:none;background:transparent;overflow:visible;}

.ensat-page-v25{width:100%;margin:0;color:var(--ink);}
.ensat-layout-v25{display:grid;gap:28px;align-items:start;width:100%;}
.ensat-layout-v25--sidebar{grid-template-columns:minmax(0,1fr) 320px;}
.ensat-layout-v25--three{grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:auto 1fr;}
.ensat-layout-v25--three > .ensat-main-v25{grid-column:1;grid-row:1;}
.ensat-layout-v25--three > aside:first-of-type{grid-column:2;grid-row:1 / span 2;}
.ensat-layout-v25--three > aside:last-of-type:not(:first-of-type){grid-column:1;grid-row:2;}
.ensat-main-v25,.ensat-rail-v25{min-width:0;}
.ensat-rail-v25{display:flex;flex-direction:column;gap:20px;}

.ensat-primary-card-v25,.ensat-module-v25,.ensat-widget-v25,.ensat-reading-v25,
.ensat-news-featured,.ensat-news-list,.stat-featured,.stat-list-section{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);}
.ensat-primary-card-v25{padding:28px;}
.ensat-reading-v25{max-width:860px;margin:0 auto;padding:36px 40px;}
.ensat-main-v25 > .ensat-module-v25{background:transparent;border:0;box-shadow:none;display:flex;flex-direction:column;gap:24px;}
.ensat-rail-v25 > .ensat-module-v25,.ensat-widget-v25{padding:20px;}
.ensat-page-v25 h1{font-size:32px;line-height:1.15;letter-spacing:-.02em;font-weight:800;margin:0 0 14px;}
.ensat-page-v25 h2{font-size:21px;margin:0 0 10px;}
.ensat-page-v25 h3{font-size:17px;margin:0 0 6px;}

/* Заголовок секции / виджета */
.section-title,.ensat-listing-heading,.stat-section-heading,.ensat-section-head-v25,.ensat-widget-head-v25{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 18px;text-align:left;}
.section-title h2,.ensat-listing-heading h1,.ensat-listing-heading h2,.stat-section-heading h1,.stat-section-heading h2,.ensat-section-head-v25 h2,.ensat-widget-head-v25 h2{margin:0!important;font-size:22px;font-weight:800;letter-spacing:-.015em;}
.ensat-listing-heading--list h1{font-size:30px;}
.section-kicker,.ensat-eyebrow,.eyebrow,.stat-eyebrow,.ensat-section-kicker-v25{display:block;margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--brand);}
body.ensat-body .section-title > a,body.ensat-body .ensat-listing-heading > a,body.ensat-body .stat-heading-link,body.ensat-body .ensat-rss-link,body.ensat-body .section-title--compact a{
  flex:0 0 auto;font-size:14px;font-weight:600;color:var(--brand);white-space:nowrap;padding-bottom:3px;}
body.ensat-body .section-title > a:hover{color:var(--brand-ink);}
.ensat-listing-lead{margin:6px 0 0;color:var(--muted);font-size:15px;}
.meta,.ensat-meta,.stat-meta,.stat-list-meta{font-size:13px;color:var(--muted);line-height:1.4;}

/* ---------- Главная ---------- */
.home-v3{display:flex;flex-direction:column;gap:28px;}
.home-v3 .section-block,.home-v3 .feature-panel,.home-v3 .popular-block,.home-v3 .latest-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;}

.hero-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr);gap:28px;align-items:stretch;}
.hero-card{position:relative;display:flex;flex-direction:column;border-radius:var(--radius);overflow:hidden;background:var(--dark);min-height:480px;box-shadow:var(--shadow);}
.hero-card__image{position:absolute;inset:0;display:block;}
.hero-card__img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block;}
.hero-card__image::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,26,21,0) 30%,rgba(13,26,21,.55) 60%,rgba(13,26,21,.92) 100%);}
.hero-card__body{position:relative;margin-top:auto!important;padding:32px 36px 32px;color:#fff;pointer-events:none;}
.hero-card__body a{pointer-events:auto;}
.hero-card .eyebrow{display:inline-block;margin:0 0 14px;padding:5px 10px;border-radius:6px;background:var(--accent);color:var(--dark);font-size:12px;letter-spacing:.06em;}
body.ensat-body .hero-card h1{margin:0 0 12px;font-size:38px;line-height:1.12;letter-spacing:-.025em;font-weight:800;color:#fff;text-wrap:balance;}
body.ensat-body .hero-card h1 a{color:#fff;}
body.ensat-body .hero-card h1 a:hover{color:#fff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;}
.hero-card p{max-width:680px;margin:0 0 16px;font-size:17px;line-height:1.5;color:rgba(255,255,255,.82);}
.hero-card .meta{display:inline-block;color:rgba(255,255,255,.7);margin-right:18px;}
body.ensat-body a.hero-card__read{display:inline-flex;font-size:14px;font-weight:700;color:var(--brand-bright);}

.latest-card{display:flex;flex-direction:column;}
.latest-card .section-title{align-items:center;margin-bottom:8px;}
.latest-card .section-title h2{font-size:19px!important;}
.latest-list{display:flex;flex-direction:column;}
body.ensat-body a.latest-item{display:flex;flex-direction:column;gap:2px;padding:12px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.4;color:var(--ink);}
.latest-item:first-child{border-top:0;}
.latest-item time{font-size:12.5px;font-weight:600;color:var(--brand);font-variant-numeric:tabular-nums;}
body.ensat-body a.latest-item:hover span{color:var(--brand);}

.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.content-card,.article-card{display:flex;flex-direction:column;min-width:0;border-radius:var(--radius-s);overflow:hidden;background:var(--surface);}
.content-card__image,.article-card__image{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:var(--radius-s);background:var(--surface-2);}
.content-card__img,.article-card__img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block;transition:transform .35s ease;}
.content-card:hover .content-card__img,.article-card:hover .article-card__img{transform:scale(1.04);}
.content-card__body,.article-card__body{display:flex;flex-direction:column;gap:6px;padding:14px 2px 0;}
body.ensat-body .content-card h3,body.ensat-body .article-card h3{margin:0;font-size:18px;line-height:1.3;font-weight:700;}
.content-card p,.article-card p{margin:0;font-size:14.5px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.article-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;}
body.ensat-body .article-card h3{font-size:16px;}
.article-card .eyebrow{margin:0;}
.article-card .meta{margin-top:auto;padding-top:4px;}

.feature-grid{display:grid;gap:28px;align-items:stretch;}
.feature-grid--operations{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);}
.feature-grid--commerce{grid-template-columns:minmax(0,1fr);}
.feature-stack{display:flex;flex-direction:column;gap:28px;min-width:0;}
.feature-stack > .feature-panel{flex:1 1 auto;}
.feature-grid--commerce .offer-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
.feature-panel{min-width:0;}
.company-list,.simple-list{display:flex;flex-direction:column;}
body.ensat-body a.company-row{display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--line);}
.company-row:first-child,.simple-list a:first-child{border-top:0!important;}
.company-row__logo{width:56px!important;height:40px!important;object-fit:contain;border-radius:6px;background:#fff;border:1px solid var(--line);padding:3px;}
.company-row span{display:flex;flex-direction:column;gap:2px;min-width:0;}
.company-row strong{font-size:15px;font-weight:600;color:var(--ink);}
.company-row small,.simple-list small{font-size:13px;color:var(--muted);line-height:1.35;}
body.ensat-body a.company-row:hover strong,body.ensat-body .simple-list a:hover strong{color:var(--brand);}
body.ensat-body .simple-list a{display:flex;flex-direction:column;gap:3px;padding:12px 0;border-top:1px solid var(--line);}
.simple-list strong{font-size:15px;font-weight:600;line-height:1.35;color:var(--ink);}
.offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
body.ensat-body a.offer-card{display:flex;flex-direction:column;gap:6px;min-width:0;}
.offer-card__img{width:100%!important;aspect-ratio:4/3;height:auto!important;object-fit:cover;border-radius:var(--radius-s);background:var(--surface-2);display:block;}
.offer-card strong{font-size:14px;font-weight:600;line-height:1.3;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.offer-card span{font-size:14px;font-weight:700;color:var(--brand-ink);}

.digest-block{border-radius:var(--radius);padding:32px;background:var(--dark);color:#fff;
  background-image:radial-gradient(circle at 100% 0,rgba(53,201,139,.22),transparent 45%),radial-gradient(circle at 0 100%,rgba(240,160,32,.12),transparent 40%);}
.digest-block .section-kicker{color:var(--brand-bright);}
body.ensat-body .digest-block h2{color:#fff;}
body.ensat-body .digest-block .section-title > a{color:var(--brand-bright);}
.digest-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
body.ensat-body .digest-list a{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:16px;row-gap:4px;padding:18px;border-radius:var(--radius-s);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#fff;transition:background .15s;}
body.ensat-body .digest-list a:hover{background:rgba(255,255,255,.11);color:#fff;}
.digest-list__date{grid-row:1 / span 2;font-size:13px;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums;padding-top:2px;}
.digest-list strong{font-size:16px;line-height:1.3;}
.digest-list a > span:last-child{font-size:14px;line-height:1.45;color:rgba(255,255,255,.66);}

.popular-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 28px;counter-reset:pop;}
body.ensat-body .popular-grid a{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;padding:14px 0;border-top:1px solid var(--line);}
.popular-grid span{font-size:28px;font-weight:800;line-height:1;color:var(--brand);font-variant-numeric:tabular-nums;}
.popular-grid strong{font-size:15px;font-weight:600;line-height:1.35;color:var(--ink);}
body.ensat-body .popular-grid a:hover strong{color:var(--brand);}

/* ---------- Лента новостей / статей ---------- */
.ensat-news-featured,.ensat-news-list,.stat-featured,.stat-list-section{padding:26px;}
.ensat-feature-grid,.stat-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.ensat-feature-card,.stat-feature-card{display:flex;flex-direction:column;min-width:0;}
.ensat-feature-media,.stat-feature-image{display:block;aspect-ratio:16/10;border-radius:var(--radius-s);overflow:hidden;background:var(--surface-2);}
.ensat-feature-media img,.stat-feature-image img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block;}
.ensat-feature-body,.stat-card-body{display:flex;flex-direction:column;gap:6px;padding-top:12px;}
.ensat-feature-body h2,.ensat-feature-body h3,.stat-card-body h2,.stat-card-body h3{font-size:17px!important;line-height:1.3!important;margin:0!important;}
.ensat-feature-body p,.stat-card-body p{margin:0;font-size:14px;color:var(--muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}

.ensat-article-list,.stat-article-list{display:flex;flex-direction:column;}
.ensat-date-divider,.stat-date-label{display:flex;align-items:center;gap:12px;margin:18px 0 4px!important;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--brand-ink);}
.ensat-date-divider::after,.stat-date-label::after{content:"";flex:1;height:1px;background:var(--line);}
.ensat-date-divider:first-child{margin-top:0!important;}
.ensat-date-divider span{background:none;padding:0;border:0;}
.ensat-news-row,.stat-list-card{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;padding:18px 0;border-bottom:1px solid var(--line);align-items:start;}
.ensat-news-row:last-child,.stat-list-card:last-child{border-bottom:0;}
.ensat-news-row-media,.stat-list-thumb{display:block;aspect-ratio:16/10;border-radius:var(--radius-s);overflow:hidden;background:var(--surface-2);}
.ensat-news-row-media img,.stat-list-thumb img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block;}
.ensat-news-row-body,.stat-list-copy{display:flex;flex-direction:column;gap:6px;min-width:0;text-align:left;}
.ensat-news-row-body h2,.ensat-news-row-body h3,.stat-list-copy h2,.stat-list-copy h3{font-size:19px!important;line-height:1.3!important;margin:0!important;font-weight:700!important;}
.ensat-news-row-body p,.stat-list-copy p{margin:0;font-size:15px;color:var(--muted);line-height:1.5;}
.ensat-news-row-body .category_news,.ensat-news-row-body .business,.ensat-news-row-body .digest,.ensat-news-row-body .analytics{align-self:flex-start;}
.stat-thumb-placeholder,.stat-feature-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--brand);font-weight:800;font-size:22px;background:var(--brand-soft);}

/* Пагинация */
.ensat-pagination,.stat-pagination,.paginatorlr{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:24px 0 0;}
.ensat-pagination a,.ensat-pagination span,.stat-pagination a,.stat-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border-radius:10px;font-size:15px;font-weight:600;color:var(--ink-2);background:var(--surface-2);border:1px solid var(--line);}
body.ensat-body .ensat-pagination a:hover,body.ensat-body .stat-pagination a:hover{border-color:var(--brand);color:var(--brand);}
.ensat-pagination .is-current,.stat-pagination .is-current,.ensat-pagination .currentPage{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important;}
.site-shell ul.pagination{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:20px 0 0;padding:0;overflow:visible;letter-spacing:0;}
.site-shell .pagination li{float:none;padding:0;}
.site-shell .pagination a,.site-shell .pagination span{width:auto;min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border-radius:10px;font-size:15px;background:var(--surface-2);border:1px solid var(--line);}

/* ---------- Рубрика-метка ---------- */
.category_news,.site-shell .business,.site-shell .digest,.site-shell .analytics{
  display:inline-block;padding:3px 9px;border-radius:6px;background:var(--brand-soft)!important;color:var(--brand-ink)!important;font-size:12px!important;font-weight:700;letter-spacing:.04em;text-transform:uppercase;line-height:1.4;}
.category_news a,.site-shell .business a,.site-shell .digest a,.site-shell .analytics a{color:inherit!important;}

/* ---------- Статья ---------- */
.site-shell .main_zagfont{font-size:19px!important;line-height:1.3!important;font-weight:700;}
/* Материал (новость/статья): белая подложка, как у остальных карточек */
.ensat-main-v25 > .ensat-module-v25:has(> [itemscope]){background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:32px 40px 36px;display:block;}
body.ensat-body [itemscope] > h1[itemprop=name],body.ensat-body [itemscope] > h1[itemprop=headline]{font-size:38px;line-height:1.14;font-weight:800;letter-spacing:-.025em;margin:6px 0 18px;text-wrap:balance;}
[itemscope] > .date{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;font-size:14px;color:var(--muted);}
[itemscope] > .date > a{display:inline-flex;align-items:center;gap:8px;font-weight:600;}
[itemscope] > .date img[src*=listing],[itemscope] > .date img[src*=time]{display:none;}
[itemscope] > .date .disp1{display:inline!important;}
[itemscope] > .date span[typeof]{margin:0 4px 0 0;}
[itemscope] > .date span[typeof]:not(:last-child)::after{content:" /";color:var(--line-2);margin-left:4px;}
.site-shell .border_news{display:none;}
.site-shell ul.tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;margin:18px 0 22px;padding:10px 0;list-style:none;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;color:var(--muted);}
.site-shell ul.tools li{float:none;margin:0;padding:0;list-style:none;display:flex;align-items:center;}
.site-shell ul.tools .textsize,.site-shell ul.tools .textsize_label{font-size:13px!important;text-transform:none;color:var(--muted);float:none;margin:0 4px 0 0!important;display:inline-flex;align-items:center;gap:6px;}
.site-shell ul.tools b{color:var(--ink);}
.site-shell ul.tools .label{cursor:pointer;color:var(--brand);}
.site-shell .social_button{float:none;margin:14px 0 0;}
/* Главная иллюстрация на всю ширину, «Читайте также» под ней */
.site-shell [itemscope] .img_box2{float:none;max-width:none!important;margin:0 0 26px;}
.site-shell [itemscope] .img_box2 .bigimg{width:100%;max-height:560px;object-fit:cover;display:block;border-radius:var(--radius-s);}
.site-shell [itemscope] .img_box2 > .img_title:empty,.site-shell [itemscope] .img_box2 > .img_source:empty{display:none;}
.site-shell [itemscope] .img_box2 .autors-row{display:inline-grid;grid-template-columns:88px 1fr;gap:12px;align-items:center;width:calc(50% - 8px);margin:14px 0 0;padding:10px;border:1px solid var(--line);border-radius:var(--radius-s);vertical-align:top;}
.site-shell [itemscope] .img_box2 .autors-row + .autors-row{margin-left:12px;}
.site-shell [itemscope] .img_box2 .autors-row img{width:88px!important;height:60px!important;object-fit:cover;border-radius:8px;display:block;margin:0;}
.site-shell [itemscope] .img_box2 .autors-row h3{font-size:14px!important;line-height:1.35!important;font-weight:600;margin:0!important;}
.site-shell [itemscope] > .actionButton,.site-shell [itemscope] .actionButton{margin:0 6px 8px 0;}
.site-shell .main_font{font-size:18px!important;line-height:1.7!important;color:var(--ink-2)!important;margin:0 0 12px;}
.site-shell .main_font p{margin:0 0 1.1em;}
.site-shell .main_font h2,.site-shell .main_font h3{font-size:23px;margin:1.6em 0 .6em;color:var(--ink);line-height:1.3;}
.site-shell .main_font h3{font-size:20px;}
body.ensat-body .main_font a:link,body.ensat-body .main_font a:visited{color:var(--brand);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
.site-shell .main_font img{max-width:100%;height:auto;border-radius:var(--radius-s);}
.site-shell .main_font p img{display:inline-block!important;}
.site-shell .main_font blockquote{display:block!important;max-width:none!important;margin:1.4em 0;padding:4px 0 4px 22px;border-left:4px solid var(--brand);font-size:19px;color:var(--ink);font-style:normal;float:none;}
.site-shell .main_font_bold,.site-shell .brief{font-size:19px!important;line-height:1.6!important;color:var(--ink)!important;padding:0!important;margin:0 0 20px;font-weight:500;}
.site-shell .brief_submaine{font-size:14px;line-height:1.5;color:var(--muted);}
.site-shell .date{font-size:13px;color:var(--muted);text-transform:none;letter-spacing:0;line-height:1.5;}
.site-shell .date strong{color:var(--accent);}
body.ensat-body .site-shell .date a{color:var(--brand);}
.site-shell .img_box2{max-width:380px!important;float:left;margin:4px 28px 16px 0;}
.site-shell .img_box2 img{border-radius:var(--radius-s);max-width:100%!important;}
.site-shell .img_title,.site-shell .img_source{font-size:13px;color:var(--muted);line-height:1.4;margin-top:6px;}
.site-shell .autor{width:32px;height:32px;border-radius:50%;object-fit:cover;vertical-align:middle;}
.site-shell .tools,.site-shell .border52{border-color:var(--line)!important;}

/* ---------- Виджеты боковой колонки ---------- */
.site-shell .sub_head,.ensat-widget-head-v25{display:block;margin:0 0 14px!important;padding:0 0 10px!important;background:none!important;border:0;border-bottom:2px solid var(--ink);font-size:13px!important;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink)!important;text-align:left;line-height:1.3;}
.site-shell .sub_head h1,.site-shell .sub_head h2,.site-shell .sub_head a{font-size:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;letter-spacing:inherit;text-transform:inherit;font-weight:inherit;}

/* Популярное (номерной список) */
.site-shell .pop_news{margin:0;}
.site-shell .pn-list{display:flex;flex-direction:column;}
.site-shell .pn-item{display:grid!important;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:12px 0;border-top:1px solid var(--line);}
.site-shell .pn-item--top{display:block!important;padding:0 0 12px;border-top:0;}
.site-shell .pn-item--top .top_img{position:relative;float:none;width:100%;border-radius:var(--radius-s);overflow:hidden;aspect-ratio:16/10;background:var(--dark);}
.site-shell .pn-item--top .top_img img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block;}
.site-shell .pn-item--top .top_img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(13,26,21,.9));}
.site-shell .pn-item--top .pops{position:absolute;left:14px;right:14px;bottom:12px;z-index:1;display:flex;align-items:flex-end;gap:10px;}
body.ensat-body .pn-item--top .pops a.main_zagfont{color:#fff!important;font-size:16px!important;line-height:1.3!important;font-weight:700;}
.site-shell .number,.site-shell .number_one{display:inline-flex;align-items:center;justify-content:center;width:30px!important;height:30px;padding:0!important;margin:0!important;border-radius:8px;background:var(--brand-soft)!important;color:var(--brand-ink)!important;font-size:15px!important;font-weight:800;line-height:1;}
.site-shell .number_one{background:var(--accent)!important;color:var(--dark)!important;}
.site-shell .number a,.site-shell .number_one a{color:inherit!important;}
.site-shell .pop_news h2,.site-shell .pop_news h3{font-size:15px!important;line-height:1.35!important;font-weight:600;margin:0!important;}
.site-shell .pn-item > h2,.site-shell .pn-item > h3{padding-top:4px;}

/* Карточки-анонсы в колонке */
.site-shell .top_side_news,.site-shell .top_side_news_adv,.site-shell .top_side_article{float:none;width:auto;display:block;margin:0;padding:12px 0;border-bottom:1px solid var(--line);overflow:hidden;}
.site-shell .top_side_news:last-child,.site-shell .top_side_article:last-child{border-bottom:0;}
.site-shell .top_side_news h2,.site-shell .top_side_article h2,.site-shell .top_side_article h3,.site-shell .top_side_news_adv h2{font-size:15px!important;line-height:1.35;margin:0 0 4px!important;font-weight:600;}
.site-shell .top_side_news img,.site-shell .top_side_article img{border-radius:8px;margin:2px 12px 4px 0;}
.site-shell .top_side_news p,.site-shell .top_side_article p{font-size:14px;color:var(--muted);}

/* Котировки */
.site-shell .akcii-table{border:1px solid var(--line);border-radius:var(--radius-s);overflow:hidden;}
.site-shell .akcii-row{display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid var(--line);font-size:14px;}
.site-shell .akcii-row:first-child{border-top:0;}
.site-shell .akcii_font{font-size:14px;font-weight:400;}
.site-shell .akcii-price,.site-shell .akcii-change{font-variant-numeric:tabular-nums;}
.site-shell .table1{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;}
.site-shell .table1 td,.site-shell .table1 th{padding:7px 6px;border-bottom:1px solid var(--line);}

/* Комментарии */
.site-shell .comments-list{display:flex;flex-direction:column;gap:12px;}
.site-shell .comments-row{display:flex;gap:10px;margin:0;padding:12px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.45;}
.site-shell .comments-row:first-child{border-top:0;padding-top:0;}

/* Опрос */
.site-shell .poll-box{width:auto;padding:0;}
.site-shell .poll-title{font-size:17px!important;line-height:1.35!important;text-align:left;margin:0 0 12px!important;}
.site-shell .poll-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:14.5px;}
.site-shell .poll-row-text{flex:1;}
.site-shell .poll-row-radio{flex:0 0 auto;}
.site-shell .poll-actions{text-align:left;padding-top:12px;}
.site-shell .poll-box input[type=radio]{accent-color:var(--brand);width:18px;height:18px;}

/* Соцсети */
.site-shell .social-tabs{display:flex;gap:6px;margin:0 0 10px;padding:0;list-style:none;}
.site-shell .social-content{border-radius:var(--radius-s);overflow:hidden;}

/* Реклама */
.site-shell .rightline_dot{border:1px dashed var(--line-2);border-radius:var(--radius-s);padding:14px;color:var(--muted);font-size:14px;}

/* ---------- Кнопки и формы ---------- */
.site-shell button,.site-shell input[type=submit],.site-shell input[type=button],.site-shell .loginbutton,.site-shell .searchbutton{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;border:0;border-radius:10px;background:var(--brand);color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s;width:auto;height:auto;}
.site-shell button:hover,.site-shell input[type=submit]:hover,.site-shell .loginbutton:hover{background:var(--brand-ink);}
.site-shell input[type=text],.site-shell input[type=email],.site-shell input[type=password],.site-shell input[type=search],.site-shell input[type=tel],.site-shell input:not([type]),.site-shell select,.site-shell textarea,.site-shell .logininput,.site-shell .searchinput{
  min-height:42px;height:auto;padding:9px 14px;border:1px solid var(--line-2);border-radius:10px;background:#fff;font-size:15px;color:var(--ink);float:none;margin:0;transition:border-color .15s,box-shadow .15s;}
.site-shell textarea{min-height:120px;}
.site-shell input:focus,.site-shell select:focus,.site-shell textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);outline:none;}
.site-shell .actionButton{float:none;display:inline-flex;margin:0;padding:6px 12px;border-radius:8px;background:var(--brand-soft);font-size:13px;}
body.ensat-body .site-shell .actionButton a{color:var(--brand-ink)!important;text-transform:none;font-weight:600;}
.site-shell .more{float:none;display:inline-block;height:auto;background:none;line-height:1.4;font-size:14px;text-transform:none;}
body.ensat-body .site-shell .more a{color:var(--brand)!important;font-weight:600;}
.site-shell .left_more,.site-shell .right_more{display:none;}
.site-shell .error-message{padding:12px 16px;border-radius:10px;background:#fdecea;color:var(--danger);}

/* ---------- Подвал ---------- */
.site-footer{margin:0;padding:48px var(--gutter) 28px;background:var(--dark);color:rgba(255,255,255,.72);font-size:14px;}
.site-footer__inner{max-width:none;margin:0;}
.site-footer__top{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));gap:40px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.1);}
.site-footer__intro p{margin:12px 0 18px;max-width:340px;line-height:1.55;}
.site-footer__brand strong{font-size:28px;font-weight:800;letter-spacing:-.04em;color:#fff;}
.site-footer__brand strong span{color:var(--brand-bright);}
.site-footer__actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
body.ensat-body .site-footer__rss{display:inline-flex;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.2);color:#fff;font-weight:600;}
body.ensat-body .site-footer__rss:hover{border-color:var(--brand-bright);color:var(--brand-bright);}
.site-footer__metrika img{display:block;border-radius:4px;opacity:.8;}
.site-footer__col{display:flex;flex-direction:column;gap:10px;}
body.ensat-body .site-footer__col h2{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.45);}
body.ensat-body .site-footer__col a{color:rgba(255,255,255,.82);}
body.ensat-body .site-footer__col a:hover{color:var(--brand-bright);}
.site-footer__bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:22px;font-size:13px;color:rgba(255,255,255,.45);}

/* ---------- Адаптив ---------- */
@media (max-width:1200px){
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .site-search{flex-basis:200px;}
}
@media (max-width:1024px){
  .site-nav__about{display:none!important;}
  .hero-grid,.feature-grid--operations,.feature-grid--commerce{grid-template-columns:1fr;}
  .ensat-layout-v25--sidebar{grid-template-columns:minmax(0,1fr);}
  .ensat-layout-v25--sidebar > .ensat-rail-v25{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;}
  .ensat-layout-v25--three{grid-template-columns:minmax(0,1fr);grid-template-rows:none;}
  .ensat-layout-v25--three > *,.ensat-layout-v25--three > aside:first-of-type,.ensat-layout-v25--three > aside:last-of-type:not(:first-of-type){grid-column:1;grid-row:auto;}
  .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .feature-grid--commerce .offer-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .site-footer__top{grid-template-columns:repeat(3,minmax(0,1fr));}
  .site-footer__intro{grid-column:1 / -1;}
}
@media (max-width:860px){
  .brand__tagline{display:none;}
  .site-header__top{min-height:58px;padding-top:10px;padding-bottom:10px;justify-content:space-between;}
  .site-header__navrow{flex-wrap:wrap;gap:0;padding-top:10px;padding-bottom:10px;}
  .mobile-toggle{display:inline-flex;align-items:center;gap:8px;order:2;height:40px;margin-left:10px;padding:0 14px;border:1px solid var(--line-2);border-radius:10px;background:#fff;color:var(--ink);font-size:15px;font-weight:600;cursor:pointer;}
  .mobile-toggle__icon{font-size:18px;line-height:1;}
  .site-search{order:1;flex:1 1 auto;}
  .site-nav{order:3;flex:1 1 100%;display:none;flex-direction:column;gap:0;padding-top:8px;overflow:visible;}
  .site-nav.is-open{display:flex;}
  body.ensat-body .site-nav a{padding:12px 4px;border-top:1px solid var(--line);}
  body.ensat-body .site-nav a::after{left:0;right:auto;top:10px;bottom:10px;width:3px;height:auto;border-radius:0 3px 3px 0;}
  .site-nav__about{display:flex!important;margin-left:0;}
  .site-context{gap:10px;}
  .site-context__title{display:none;}
  .site-shell{padding-top:20px;padding-bottom:40px;}
  .card-grid,.ensat-feature-grid,.stat-featured-grid{grid-template-columns:1fr 1fr;}
  .card-grid > :nth-child(3),.ensat-feature-grid > :nth-child(3),.stat-featured-grid > :nth-child(3){display:none;}
  .hero-card{min-height:420px;}
  body.ensat-body .hero-card h1{font-size:30px;}
  .ensat-reading-v25{padding:28px 24px;}
  .site-shell .main_zagfont,.site-shell h1.main_zagfont{font-size:30px!important;}
}
@media (max-width:640px){
  :root{--radius:12px;}
  .site-shell{padding-left:12px;padding-right:12px;}
  .brand{font-size:26px;}
  body.ensat-body a.account{padding:8px 13px;font-size:13px;}
  .home-v3{gap:18px;}
  .home-v3 .section-block,.home-v3 .feature-panel,.home-v3 .popular-block,.home-v3 .latest-card,
  .ensat-news-featured,.ensat-news-list,.stat-featured,.stat-list-section,.ensat-primary-card-v25,.digest-block{padding:18px;}
  .ensat-reading-v25{padding:22px 18px;}
  .hero-card{min-height:380px;}
  .hero-card__body{padding:22px 20px;}
  body.ensat-body .hero-card h1{font-size:25px;}
  .hero-card p{font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
  .card-grid,.ensat-feature-grid,.stat-featured-grid,.article-grid,.digest-list,.popular-grid{grid-template-columns:1fr;}
  .card-grid > :nth-child(3),.ensat-feature-grid > :nth-child(3),.stat-featured-grid > :nth-child(3){display:grid;}
  .card-grid,.article-grid,.ensat-feature-grid,.stat-featured-grid{gap:0;}
  .content-card,.article-card,.ensat-feature-card,.stat-feature-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:14px 0;border-top:1px solid var(--line);border-radius:0;align-items:start;}
  .content-card:first-child,.article-card:first-child,.ensat-feature-card:first-child,.stat-feature-card:first-child{border-top:0;padding-top:0;}
  .content-card__body,.article-card__body,.ensat-feature-body,.stat-card-body{padding:0;gap:4px;}
  body.ensat-body .content-card h3,body.ensat-body .article-card h3{font-size:16px;}
  .ensat-feature-body h2,.ensat-feature-body h3,.stat-card-body h2,.stat-card-body h3{font-size:16px!important;}
  .content-card p,.article-card p,.ensat-feature-body p,.stat-card-body p{display:none;}
  .feature-grid--commerce .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .section-title h2,.ensat-listing-heading h1,.ensat-listing-heading h2,.stat-section-heading h1,.stat-section-heading h2{font-size:20px;}
  .ensat-listing-heading--list h1{font-size:24px;}
  .ensat-news-row,.stat-list-card{grid-template-columns:112px minmax(0,1fr);gap:14px;padding:14px 0;}
  .ensat-news-row-body h2,.ensat-news-row-body h3,.stat-list-copy h2,.stat-list-copy h3{font-size:16px!important;}
  .ensat-news-row-body p,.stat-list-copy p{display:none;}
  .ensat-layout-v25--sidebar > .ensat-rail-v25{grid-template-columns:1fr;}
  .ensat-page-v25 h1{font-size:26px;}
  .site-shell .main_zagfont,.site-shell h1.main_zagfont{font-size:26px!important;}
  .site-shell .main_font{font-size:17px!important;}
  .site-shell .img_box2{float:none;max-width:100%!important;margin:0 0 16px;}
  .site-footer__top{grid-template-columns:1fr 1fr;gap:28px;}
  .site-footer__bottom{flex-direction:column;}
}

/* ---------- Доводка виджетов колонки ---------- */
.site-shell .pn-item--top .pops .number_one{flex:0 0 30px;}
body.ensat-body .pn-item--top .pops a.main_zagfont{flex:1;min-width:0;}
.ensat-rail-v25 > .ensat-module-v25{overflow:hidden;}
.ensat-rail-v25 table{width:100%!important;max-width:100%;}
.ensat-rail-v25 .ensat-module-v25 > *{max-width:100%;}

/* ---------- Каталог, объявления, бизнес ---------- */
.site-shell .bg_light_green{background:var(--surface-2)!important;}
.ensat-primary-card-v25 > .sub_head:not(:first-of-type){margin-top:28px!important;}
.ensat-rail-v25 > .ensat-primary-card-v25{padding:22px;}
/* Плитки рубрик каталога */
.site-shell .cat-row{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:14px;margin:0 0 10px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface);transition:border-color .15s,box-shadow .15s;}
.site-shell .cat-row:hover{border-color:var(--brand);box-shadow:var(--shadow);}
.site-shell .cat-row .cat_pic{width:52px!important;height:52px!important;object-fit:contain;margin:0;}
.site-shell .cat-menu-box,.site-shell .cat-menu-box.bg_light_green{display:flex;align-items:center;gap:12px;background:none!important;padding:0;min-width:0;}
.site-shell .cat-menu-box .top_side_cat{margin:0;flex:1 1 auto;min-width:0;}
.site-shell .cat-menu-box .top_side_cat:last-child{flex:0 0 auto;}
.site-shell .top_side_cat h2{padding:0!important;margin:0!important;font-size:16px!important;line-height:1.3;font-weight:700;}
.site-shell .cat-menu-box .top_side_cat:last-child h2{min-width:34px;padding:4px 10px!important;border-radius:999px;background:var(--brand-soft);color:var(--brand-ink);font-size:13px!important;text-align:center;}
/* Карточки предприятий */
.site-shell .firm-card{margin:0!important;padding:16px 0;border-top:1px solid var(--line);width:100%;}
.site-shell .firm-card-name .main_zagfont{font-size:18px!important;}
.site-shell .firm-card-body{display:grid;grid-template-columns:80px 1fr;gap:6px 16px;align-items:center;margin-top:8px;font-size:14px;color:var(--ink-2);}
.site-shell .firm-card-logo{grid-row:1 / span 2;text-align:left;}
.site-shell .firm-card-logo img{max-width:80px;max-height:56px;object-fit:contain;}
.site-shell .firm-card-address,.site-shell .firm-card-phone{display:flex;align-items:center;gap:8px;}
.site-shell .firm-card-address img,.site-shell .firm-card-phone img{width:18px;height:18px;opacity:.55;}
/* Объявления */
.site-shell .barter-item,.site-shell .barter-item.bg_light_green{margin:0 0 14px!important;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface)!important;}
.site-shell .barter-item h2{font-size:18px!important;line-height:1.3;margin:0 0 8px!important;}
.site-shell .barter-item .board,.site-shell .barter-item .board a,.site-shell .barter-item-main a{text-transform:none!important;font-size:14px!important;text-decoration:none!important;letter-spacing:0;line-height:1.5;}
.site-shell .barter-item-main{color:var(--ink-2);font-size:14px;}
body.ensat-body .barter-item .board a{color:var(--brand)!important;}
.site-shell .barter-item-side{text-align:right;}
.site-shell .barter_img{width:120px!important;height:90px!important;object-fit:cover;border-radius:8px;}
.site-shell .barter-item .tim,.site-shell .barter-item .date{font-size:12.5px;color:var(--muted);}
.site-shell form:has(> .searchinput){display:flex;align-items:center;gap:8px;}
.site-shell form:has(> .searchinput) .searchinput{flex:1 1 0;width:auto;min-width:0;}
.site-shell form:has(> .searchinput){flex-wrap:wrap;}
.site-shell form:has(> .searchinput) > br{display:none;}
.ensat-main-v25,.ensat-rail-v25{overflow-wrap:anywhere;}
.site-shell input.searchbutton,.site-shell input[type=image].searchbutton{flex:0 0 42px;width:42px!important;height:42px!important;padding:0;min-height:0;border-radius:10px;}

/* ---------- Рубрики-списки (вакансии, справка) ---------- */
.ensat-main-v25--jobs .catedit-grid.margin_but_2,.site-shell .catedit-grid.cat_menu_pic{background:none!important;margin:0!important;border-bottom:1px solid var(--line);}
.ensat-main-v25--help .catedit-grid:has(> .catedit-row > div > .cat_menu_pic){margin:0!important;}
.ensat-main-v25--jobs .catedit-grid.margin_but_2 > .catedit-row,.site-shell .catedit-grid.cat_menu_pic > .catedit-row{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px;}
.ensat-main-v25--jobs .catedit-row .main_font{margin:0!important;font-size:16px!important;line-height:1.4!important;font-weight:600;}
body.ensat-body .ensat-main-v25--jobs .catedit-row .main_font a{color:var(--ink);text-decoration:none!important;}
body.ensat-body .ensat-main-v25--jobs .catedit-row:hover .main_font a,body.ensat-body .catedit-grid.cat_menu_pic:hover a{color:var(--brand);}
.ensat-main-v25--jobs .catedit-row .menu_list_arrow{flex:0 0 auto;}
.ensat-main-v25--jobs .small_green_font,.site-shell .catedit-grid.cat_menu_pic .catedit-row > div:last-child .top_side_cat{margin:0!important;min-width:32px;padding:3px 10px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:13px;font-weight:700;text-align:center;}
.site-shell .catedit-grid.cat_menu_pic .catedit-row > div:first-child{flex:1;}
.site-shell .catedit-grid.cat_menu_pic .top_side_cat h2{font-size:16px!important;}
.site-shell .catedit-grid.cat_menu_pic .catedit-row > div:last-child .top_side_cat h2{font-size:13px!important;}

/* ---------- Бизнес-предложения ---------- */
.ensat-main-v25--trade .ensat-primary-card-v25 > .catedit-grid{margin:0 0 14px!important;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface)!important;}
.ensat-main-v25--trade .catedit-row{display:flex;gap:16px;padding:0;}
.ensat-main-v25--trade .catedit-grid h2{margin:0 0 6px!important;font-size:19px!important;}
.ensat-main-v25--trade [align=center]{text-align:left;}
.ensat-main-v25--trade .catedit-row > div[align=center]:last-child{text-align:right;}
.ensat-main-v25--trade .catedit-grid p{margin:0 0 8px;font-size:14.5px;color:var(--muted);}
.ensat-main-v25--trade .main_font{display:inline;font-size:13px!important;color:var(--muted)!important;margin:0!important;}
.ensat-main-v25--trade .main_font_bold{display:inline;font-size:16px!important;font-weight:700;color:var(--ink)!important;margin:0 0 0 6px!important;}
.ensat-main-v25--trade .margin_left_10,.ensat-main-v25--trade .margin_right_10{margin:0!important;}
.ensat-main-v25--trade .pre_info{font-size:12.5px;color:var(--muted);margin-top:6px;}
.ensat-main-v25--trade a.board{font-size:13px;color:var(--brand)!important;margin-right:10px;text-transform:none;}
.ensat-main-v25--trade .catedit-row{flex-wrap:nowrap;}
.ensat-main-v25--trade .catedit-row > div[style*="80%"]{flex:1 1 auto!important;min-width:0;}
.ensat-main-v25--trade .catedit-row > div[style*="20%"]{flex:0 0 140px!important;}
.ensat-main-v25--trade .catedit-row > div[style*="50%"]{flex:0 1 auto!important;margin-right:28px;}
.ensat-main-v25--trade .catedit-row .catedit-grid{background:none!important;}
.ensat-main-v25--jobs .menu_list_arrow{width:auto!important;}
/* Карточка внутри карточки — без второй рамки */
.ensat-primary-card-v25 .ensat-widget-v25,.ensat-primary-card-v25 .ensat-primary-card-v25,.ensat-module-v25 .ensat-widget-v25{border:0;box-shadow:none;padding:0;border-radius:0;background:transparent;margin:0 0 24px;}
/* Узкая колонка: компактные плитки каталога */
.ensat-rail-v25 .cat-row{grid-template-columns:36px 1fr;gap:10px;padding:10px 12px;}
.ensat-rail-v25 .cat-row .cat_pic{width:36px!important;height:36px!important;}
.ensat-rail-v25 .top_side_cat h2{font-size:14px!important;overflow-wrap:anywhere;hyphens:auto;}

/* ---------- Вход / регистрация ---------- */
.ensat-page-v25--account{display:flex;justify-content:center;}
.ensat-page-v25--account > *{width:100%;max-width:640px;margin:0 auto!important;}
.ensat-page-v25--account .ensat-primary-card-v25 .ensat-primary-card-v25,.ensat-page-v25--account .ensat-reading-v25 .ensat-primary-card-v25,.ensat-page-v25--account .ensat-primary-card-v25 .ensat-reading-v25{border:0;box-shadow:none;padding:0;background:transparent;}
.ensat-page-v25--account label,.ensat-page-v25--account .login-row label{color:var(--ink-2);font-weight:600;font-size:14px;}
.ensat-page-v25--account .login-page-info{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);font-size:14.5px;color:var(--muted);line-height:1.6;}
.ensat-reading-v25 .ensat-reading-v25{border:0;box-shadow:none;padding:0;background:transparent;max-width:none;}
.ensat-page-v25--account .login-row{flex-wrap:wrap;}
.ensat-page-v25--account .login-form,.ensat-page-v25--account .loose-pass-form,.ensat-page-v25--account .reg-form{width:auto;max-width:420px;}
.ensat-page-v25--account .logininput{margin:0;width:100%;max-width:280px;}

/* ---------- Материал на планшете/телефоне ---------- */
@media (max-width:860px){
  .ensat-main-v25 > .ensat-module-v25:has(> [itemscope]){padding:24px 24px 28px;}
  body.ensat-body [itemscope] > h1[itemprop=name],body.ensat-body [itemscope] > h1[itemprop=headline]{font-size:30px;}
}
@media (max-width:640px){
  .ensat-main-v25 > .ensat-module-v25:has(> [itemscope]){padding:18px 16px 22px;}
  body.ensat-body [itemscope] > h1[itemprop=name],body.ensat-body [itemscope] > h1[itemprop=headline]{font-size:25px;line-height:1.2;}
  .site-shell .main_font_bold,.site-shell .brief{font-size:17px!important;}
  .site-shell [itemscope] .img_box2 .autors-row{display:grid;width:100%;}
  .site-shell [itemscope] .img_box2 .autors-row + .autors-row{margin-left:0;margin-top:8px;}
  .site-shell ul.tools{gap:6px 14px;}
  .site-shell .main_font h2{font-size:20px;}
}
.ensat-meta,.stat-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;}
.ensat-meta > span:first-child{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand);}
@media (max-width:640px){
  .site-shell .barter-item-body{flex-wrap:nowrap;}
  .site-shell .barter_img{width:84px!important;height:64px!important;}
  .site-shell .barter-item-side{flex:0 0 84px;}
  .site-shell .barter-item{padding:14px;}
}

.ensat-rail-v25 .ensat-primary-card-v25{overflow:hidden;}

/* ---------- Личный кабинет /private/ ---------- */
.site-shell > .content:has(.cab-nav){display:block;}
.cab-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 22px;padding:10px 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);}
.cab-nav__title{margin-right:10px;padding-left:6px;font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--brand-ink);}
body.ensat-body .cab-nav a{padding:7px 13px;border-radius:999px;font-size:14.5px;font-weight:600;color:var(--ink-2);}
body.ensat-body .cab-nav a:hover{background:var(--surface-2);color:var(--ink);}
body.ensat-body .cab-nav a.is-active{background:var(--brand);color:#fff;}
.site-shell .private-shell,.site-shell .private-shell--center{display:block;padding:28px 32px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);text-align:left;color:var(--ink-2);font-size:15.5px;line-height:1.6;}
.site-shell .private-shell a:not(.cab-btn):not(.cab-tile):not(.cab-link){color:var(--brand);}
.site-shell .private-shell > .sub_head:first-child,.site-shell .private-shell .sub_head{font-size:13px!important;}
.site-shell .private-shell .midfont{font-size:15px;}
.site-shell .private-shell [align=center]{text-align:left;}
.site-shell .private-shell .actionButton{margin:0 6px 6px 0;}
.site-shell .private-shell img.barter_img,.site-shell .private-shell .main_list img{border-radius:8px;}
.site-shell .private-shell hr{border:0;border-top:1px solid var(--line);margin:18px 0;}
.site-shell .private-shell font[color=red]{color:var(--danger);font-weight:700;}
.cab-muted{color:var(--muted);font-size:14px;}

/* Рабочий стол */
.cab-hello{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:0 0 22px;margin:0 0 24px;border-bottom:1px solid var(--line);}
.cab-hello__avatar img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:1px solid var(--line);display:block;background:var(--surface-2);}
.cab-hello__text{flex:1;min-width:220px;}
body.ensat-body .cab-hello h1{margin:0 0 4px;font-size:26px;font-weight:800;letter-spacing:-.02em;}
.cab-hello__text p{margin:0;color:var(--muted);font-size:14.5px;}
.cab-hello__actions{display:flex;gap:10px;align-items:center;}
.cab-hello__actions form{margin:0;}
.site-shell .cab-btn,.site-shell button.cab-btn{display:inline-flex;align-items:center;min-height:40px;height:40px;padding:0 16px;border-radius:10px;border:1px solid var(--line-2);background:#fff;color:var(--ink-2)!important;font-size:14.5px;font-weight:600;cursor:pointer;}
.site-shell .cab-btn:hover,.site-shell button.cab-btn:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-ink)!important;}
body.ensat-body h2.cab-h2{margin:0 0 14px;font-size:18px;font-weight:800;}
.cab-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin:0 0 28px;}
body.ensat-body a.cab-tile{display:flex;flex-direction:column;gap:3px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);transition:border-color .15s,box-shadow .15s;}
body.ensat-body a.cab-tile:hover{border-color:var(--brand);box-shadow:var(--shadow-hover);}
.cab-tile__count{font-size:30px;font-weight:800;line-height:1.1;color:var(--ink);font-variant-numeric:tabular-nums;}
.cab-tile__title{font-size:16px;font-weight:700;color:var(--ink);}
.cab-tile__desc{font-size:13.5px;line-height:1.4;color:var(--muted);}
.cab-tile__go{margin-top:8px;font-size:13.5px;font-weight:700;color:var(--brand);}
.cab-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 24px;}
body.ensat-body a.cab-link{display:flex;flex-direction:column;gap:2px;padding:12px 0;border-top:1px solid var(--line);}
.cab-link strong{font-size:15.5px;color:var(--ink);}
.cab-link span{font-size:13.5px;color:var(--muted);line-height:1.45;}
body.ensat-body a.cab-link:hover strong{color:var(--brand);}
.cab-note{padding:14px 18px;border-radius:12px;background:var(--brand-soft);color:var(--ink-2);font-size:14.5px;line-height:1.55;margin:0 0 18px;}
.cab-legal{margin:0;font-size:13.5px;color:var(--muted);}
@media (max-width:640px){
  .site-shell .private-shell,.site-shell .private-shell--center{padding:18px 16px;}
  .cab-cols{grid-template-columns:1fr;}
  .cab-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;}
  .cab-nav__title{display:none;}
  body.ensat-body .cab-nav a{white-space:nowrap;}
  body.ensat-body .cab-hello h1{font-size:22px;}
}
.site-shell .cab-nav{margin:0 0 22px;}
.site-shell .cab-hello{margin:0 0 24px;}
.site-shell .cab-tiles{margin:0 0 30px;}
.site-shell .cab-cols{margin:0 0 26px;}
.site-shell .cab-note{margin:0 0 18px;}
