/* === ARCHIVE OVERRIDE — скрываем дефолтный Salient на этой записи === */
body.leimu-article-page #header-outer,
body.leimu-article-page #page-header-bg,
body.leimu-article-page .page-header-no-bg,
body.leimu-article-page .container-wrap > .container,
body.leimu-article-page .container-wrap > .row,
body.leimu-article-page .container-wrap > .post-area,
body.leimu-article-page #footer-outer,
body.leimu-article-page #footer-widgets,
body.leimu-article-page #call-to-action,
body.leimu-article-page #wpadminbar { display: none !important; }
body.leimu-article-page { margin: 0 !important; padding: 0 !important; }
body.leimu-article-page #ajax-content-wrap,
body.leimu-article-page .container-wrap { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
body.leimu-article-page #leimu-article-root { position: relative; z-index: 1; isolation: isolate; overflow: visible !important; }
body.leimu-article-page .leimu-nav,
body.leimu-article-page .leimu-mobile-menu,
body.leimu-article-page .leimu-mobile-menu-overlay,
body.leimu-article-page .leimu-search,
body.leimu-article-page .leimu-to-top { z-index: 100 !important; }
body.leimu-article-page .leimu-mobile-menu { z-index: 10000 !important; }
body.leimu-article-page .leimu-mobile-menu-overlay { z-index: 9998 !important; }
body.leimu-article-page .leimu-search { z-index: 10001 !important; }

#leimu-article-root {
  --bg:#FFFFFF; --ink:#141210; --ink-soft:#4A4138; --muted:#9A9088;
  --line:#ECE8E0; --line-2:#F5F1EA; --orange:#F08236; --yellow:#FDBE01; --brown:#93563B;
  --sans:'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:cubic-bezier(0.22,1,0.36,1); --ease-out:cubic-bezier(0.16,1,0.3,1);
  --t1:clamp(32px,4vw,56px); --t2:clamp(20px,1.7vw,26px); --t3:clamp(15px,1.05vw,17px); --t4:clamp(12px,0.85vw,13px);
}
#leimu-article-root * { box-sizing: border-box; margin: 0; padding: 0; }
#leimu-article-root { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
#leimu-article-root { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: var(--t3); line-height: 1.7; overflow-x: clip; }
#leimu-article-root a { color: inherit; text-decoration: none; }
#leimu-article-root img { display: block; max-width: 100%; }
#leimu-article-root ::selection { background: var(--orange); color: #fff; }
#leimu-article-root .wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(24px,4vw,64px); }
#leimu-article-root .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d,0s); }
#leimu-article-root .reveal.is-in { opacity: 1; transform: translateY(0); }
#leimu-article-root h1, #leimu-article-root h2, #leimu-article-root h3, #leimu-article-root h4 {
  font-family: 'Exo 2', 'Open Sans', sans-serif !important; font-weight: 600 !important; letter-spacing: -0.025em;
}
#leimu-article-root h2 b, #leimu-article-root h3 b { color: var(--orange); font-weight: 600; }

/* HERO */
#leimu-article-root .a-hero { background: var(--orange); color: #fff; padding: clamp(140px,18vh,200px) 0 clamp(70px,10vh,120px); }
#leimu-article-root .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--t4); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 24px; }
#leimu-article-root .breadcrumb a { color: rgba(255,255,255,0.75); transition: color .25s var(--ease); }
#leimu-article-root .breadcrumb a:hover { color: #fff; }
#leimu-article-root .breadcrumb .sep { opacity: 0.5; }
#leimu-article-root .a-hero h1 { color: #fff; font-size: var(--t1); line-height: 1.06; max-width: 20ch; }
#leimu-article-root .a-hero .lead { margin-top: 22px; font-size: var(--t3); line-height: 1.6; color: rgba(255,255,255,0.95); max-width: 60ch; font-weight: 500; }
#leimu-article-root .a-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; font-size: var(--t4); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
#leimu-article-root .a-meta span { display: inline-flex; align-items: center; gap: 8px; }
#leimu-article-root .a-meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* BODY */
#leimu-article-root .a-body-wrap { margin-top: -5vh; border-radius: clamp(24px,4vw,56px) clamp(24px,4vw,56px) 0 0; position: relative; z-index: 6; background: var(--bg); box-shadow: 0 -32px 60px -28px rgba(20,18,16,0.18); padding: clamp(56px,7vw,104px) 0 clamp(40px,5vw,64px); }
#leimu-article-root .a-body { max-width: 820px; margin: 0 auto; }
#leimu-article-root .a-body > p { font-size: var(--t3); line-height: 1.8; color: var(--ink-soft); margin-bottom: 22px; }
#leimu-article-root .a-body > p.lead-p { font-size: var(--t3); color: var(--ink); font-weight: 600; line-height: 1.7; }
#leimu-article-root .a-body h2 { font-size: var(--t2); line-height: 1.2; color: var(--ink); margin: clamp(40px,4vw,56px) 0 16px; }
#leimu-article-root .a-body h3 { font-size: var(--t3); line-height: 1.3; color: var(--ink); margin: 28px 0 12px; }
#leimu-article-root .a-body ul, #leimu-article-root .a-body ol { margin: 0 0 22px; padding-left: 0 !important; list-style: none !important; display: flex; flex-direction: column; gap: 12px; }
#leimu-article-root .a-body li { list-style: none !important; list-style-type: none !important; list-style-image: none !important; }
#leimu-article-root .a-body li::marker { content: '' !important; display: none !important; font-size: 0 !important; }
#leimu-article-root .a-body ul li { position: relative; padding-left: 26px; font-size: var(--t3); line-height: 1.65; color: var(--ink-soft); }
#leimu-article-root .a-body ul li::before { content: ''; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
#leimu-article-root .a-body ol { counter-reset: li; }
#leimu-article-root .a-body ol li { position: relative; padding-left: 40px; font-size: var(--t3); line-height: 1.65; color: var(--ink-soft); counter-increment: li; }
#leimu-article-root .a-body ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--line-2); color: var(--brown); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
#leimu-article-root .a-body li b, #leimu-article-root .a-body p b { color: var(--ink); font-weight: 700; }
#leimu-article-root .a-body a.inline { color: var(--brown); font-weight: 700; border-bottom: 1px solid rgba(147,86,59,0.35); transition: color .2s var(--ease), border-color .2s var(--ease); }
#leimu-article-root .a-body a.inline:hover { color: var(--orange); border-color: var(--orange); }

/* CALLOUT */
#leimu-article-root .callout { background: var(--line-2); border-left: 3px solid var(--orange); border-radius: 0 14px 14px 0; padding: clamp(22px,2.5vw,30px) clamp(24px,3vw,34px); margin: 32px 0; }
#leimu-article-root .callout .k { display: block; font-size: var(--t4); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
#leimu-article-root .callout p { font-size: var(--t3); line-height: 1.65; color: var(--ink); margin: 0; }

/* TABLE */
#leimu-article-root .a-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0 28px; }
#leimu-article-root .a-table { width: 100%; min-width: 560px; border-collapse: collapse; margin: 0; font-size: var(--t3); }
#leimu-article-root .a-table th, #leimu-article-root .a-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
#leimu-article-root .a-table th { font-family: 'Exo 2','Open Sans',sans-serif; font-weight: 700; color: var(--ink); background: var(--line-2); }
#leimu-article-root .a-table td { color: var(--ink-soft); }
#leimu-article-root .a-table tr:last-child td { border-bottom: none; }

/* CTA BOX */
#leimu-article-root .cta-box { margin: clamp(40px,5vw,64px) 0; background: var(--orange); color: #fff; border-radius: clamp(20px,3vw,28px); padding: clamp(32px,4vw,48px); display: grid; grid-template-columns: 1fr auto; gap: clamp(20px,3vw,40px); align-items: center; }
#leimu-article-root .cta-box h3 { color: #fff; font-size: var(--t2); line-height: 1.15; margin-bottom: 8px; }
#leimu-article-root .cta-box p { color: rgba(255,255,255,0.95); font-size: var(--t3); line-height: 1.5; max-width: 52ch; }
#leimu-article-root .cta-box .cta-btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; background: #fff; color: var(--orange); font-weight: 700; font-size: var(--t4); letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; white-space: nowrap; transition: background .25s var(--ease); }
#leimu-article-root .cta-box .cta-btn:hover { background: #FFE3D1; }
#leimu-article-root .cta-box .cta-btn .arr { width: 16px; height: 1px; background: var(--orange); position: relative; transition: width .3s var(--ease); }
#leimu-article-root .cta-box .cta-btn .arr::before, #leimu-article-root .cta-box .cta-btn .arr::after { content: ''; position: absolute; right: 0; top: 0; width: 7px; height: 1px; background: var(--orange); }
#leimu-article-root .cta-box .cta-btn .arr::before { transform: rotate(38deg); transform-origin: right; }
#leimu-article-root .cta-box .cta-btn .arr::after { transform: rotate(-38deg); transform-origin: right; }
#leimu-article-root .cta-box .cta-btn:hover .arr { width: 26px; }

/* FAQ */
#leimu-article-root .a-faq { max-width: 820px; margin: clamp(48px,6vw,80px) auto 0; padding-top: clamp(40px,5vw,64px); border-top: 1px solid var(--line); }
#leimu-article-root .a-faq h2 { font-size: var(--t2); color: var(--ink); margin-bottom: 20px; }
#leimu-article-root .faq-list { border-top: 1px solid var(--line); }
#leimu-article-root .faq-item { border-bottom: 1px solid var(--line); }
#leimu-article-root .faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: 'Exo 2','Open Sans',sans-serif; font-weight: 600; font-size: var(--t2); color: var(--ink); letter-spacing: -0.02em; transition: color .25s var(--ease); }
#leimu-article-root .faq-item summary::-webkit-details-marker { display: none; }
#leimu-article-root .faq-item summary:hover { color: var(--orange); }
#leimu-article-root .faq-item .faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
#leimu-article-root .faq-item .faq-icon::before, #leimu-article-root .faq-item .faq-icon::after { content: ''; position: absolute; background: var(--orange); border-radius: 2px; transition: transform .3s var(--ease); }
#leimu-article-root .faq-item .faq-icon::before { top: 10px; left: 1px; right: 1px; height: 2px; }
#leimu-article-root .faq-item .faq-icon::after { left: 10px; top: 1px; bottom: 1px; width: 2px; }
#leimu-article-root .faq-item[open] .faq-icon::after { transform: scaleY(0); }
#leimu-article-root .faq-item .faq-body { padding: 0 0 22px; font-size: var(--t3); line-height: 1.7; color: var(--ink-soft); }

/* RELATED — копия компонента «Похожие категории» со страницы смесей */
#leimu-article-root .a-related { margin: clamp(80px,10vw,120px) auto 0; padding-top: clamp(60px,8vw,100px); border-top: 1px solid var(--line); }
#leimu-article-root .a-related-head { margin-bottom: clamp(32px,4vw,48px); }
#leimu-article-root .a-related-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: var(--t4); letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
#leimu-article-root .a-related-head .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
#leimu-article-root .a-related-head h2 { font-size: var(--t1); font-weight: 600; color: var(--ink); }
#leimu-article-root .a-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2vw,24px); }
#leimu-article-root .a-rel-card { background: var(--line-2); border-radius: 10px; padding: clamp(20px,2vw,28px); display: flex; flex-direction: column; min-height: 160px; color: inherit; text-decoration: none; transition: all .3s var(--ease); }
#leimu-article-root .a-rel-card:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(20,18,16,0.15); }
#leimu-article-root .a-rel-card .num { font-size: var(--t4); font-weight: 700; letter-spacing: 0.06em; color: var(--brown); margin-bottom: auto; }
#leimu-article-root .a-rel-card h3 { font-size: var(--t3); font-weight: 700; line-height: 1.25; color: var(--ink); margin-top: 24px; transition: color .25s var(--ease); }
#leimu-article-root .a-rel-card:hover h3 { color: var(--orange); }

/* CONTACTS — блок «Связаться с Leimu», идентичен другим страницам */
#leimu-article-root .contacts { padding: clamp(56px,7vw,96px) 0 clamp(40px,5vw,64px); border-top: 1px solid var(--line); background: var(--bg); }
#leimu-article-root .contacts .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: var(--t4); letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
#leimu-article-root .contacts .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
#leimu-article-root .contacts h2 { font-size: var(--t1); line-height: 1.05; max-width: 18ch; margin-top: 18px; color: var(--ink); }
#leimu-article-root .contacts h2 b { color: var(--orange); font-weight: 600; }
#leimu-article-root .contacts .layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,80px); margin-top: 48px; }
#leimu-article-root .contacts .items { display: flex; flex-direction: column; }
#leimu-article-root .contacts .item { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
#leimu-article-root .contacts .item .k { font-size: var(--t4); font-weight: 700; color: var(--brown); letter-spacing: 0.16em; text-transform: uppercase; }
#leimu-article-root .contacts .item .v { font-size: var(--t3); font-weight: 700; color: var(--ink); letter-spacing: -0.012em; }
#leimu-article-root .contacts .item .v a:hover { color: var(--orange); }
#leimu-article-root .contacts .social-h { font-size: var(--t4); font-weight: 700; color: var(--brown); letter-spacing: 0.16em; text-transform: uppercase; padding-bottom: 6px; display: block; }
#leimu-article-root .contacts .social a { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: var(--t4); font-weight: 700; transition: color .25s var(--ease), padding-left .25s var(--ease); }
#leimu-article-root .contacts .social a:hover { color: var(--orange); padding-left: 8px; }
#leimu-article-root .contacts .social .handle { font-size: var(--t4); font-weight: 500; color: var(--muted); }
#leimu-article-root .contacts .social a[href*="dzen"] { display: flex !important; visibility: visible !important; opacity: 1 !important; }

@media (max-width: 720px) {
  #leimu-article-root .a-hero h1 { max-width: none; }
  #leimu-article-root .a-body-wrap { margin-top: 0; border-radius: 0; box-shadow: none; }
  #leimu-article-root .cta-box { grid-template-columns: 1fr; }
  #leimu-article-root .cta-box .cta-btn { justify-self: start; }
  #leimu-article-root .faq-item summary { font-size: var(--t3); gap: 16px; }
  #leimu-article-root .a-related-grid { grid-template-columns: 1fr 1fr; }
  #leimu-article-root .a-rel-card { min-height: 130px; padding: 18px; }
  #leimu-article-root .contacts .layout { grid-template-columns: 1fr; }
  #leimu-article-root .contacts .item { grid-template-columns: 1fr; gap: 8px; }
}
/* ФОТО НОВОСТИ — над текстом, во всю ширину колонки текста. */
#leimu-article-root .a-cover { max-width: 820px; margin: 0 auto clamp(28px,4vw,44px); border-radius: 14px; overflow: hidden; background: var(--line-2); }
#leimu-article-root .a-cover img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }

/* ДРУГИЕ НОВОСТИ КОМПАНИИ — две карточки, с фото, если оно есть. */
#leimu-article-root .a-related-grid.два { grid-template-columns: repeat(2,1fr); max-width: 820px; margin: 0 auto; }
#leimu-article-root .a-rel-card.с-фото { padding: 0; overflow: hidden; }
#leimu-article-root .a-rel-card.с-фото img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
#leimu-article-root .a-rel-card.с-фото .num { margin: 18px 20px 0; }
#leimu-article-root .a-rel-card.с-фото h3 { margin: 10px 20px 20px; }
#leimu-article-root .a-rel-card .num { text-transform: none; letter-spacing: 0; }
@media (max-width: 640px) {
  #leimu-article-root .a-related-grid.два { grid-template-columns: 1fr; }
}
