/*
Theme Name: Я—банкрот
Theme URI: https://yabankrot.com/
Author: Проект «Я—банкрот»
Description: Собственная тема информационного проекта о банкротстве физических лиц. Дизайн-система: тёплая бумага, глубокий зелёный, янтарь практики. Шрифты Bitter + Inter.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yabankrot
Tags: blog, one-column, custom-menu, translation-ready, accessibility-ready
*/

/* ==========================================================================
   Я—банкрот — информационный проект о банкротстве физических лиц
   Дизайн-система. Мотив: путь от долгов к освобождению (разомкнутое звено цепи).
   Палитра: тёплая бумага + глубокий «денежный» зелёный + янтарь практики.
   Шрифты: Bitter (слэб-серив, заголовки) + Inter (тело/интерфейс).
   ========================================================================== */

:root{
  --paper:#F6F4EE;
  --surface:#FFFFFF;
  --surface-2:#FBFAF6;
  --ink:#1C242E;
  --ink-soft:#39434F;
  --muted:#616B78;
  --brand:#15563C;
  --brand-2:#0E3B29;
  --brand-tint:#E9F1EC;
  --amber:#A9741B;
  --amber-tint:#FaF3E3;
  --line:#E4DDD0;
  --line-strong:#D3CABA;
  --ok:#1E7A4C;
  --ok-tint:#E9F3EC;
  --danger:#AF3B2C;
  --danger-tint:#F8ECE9;
  --shadow:0 1px 2px rgba(28,36,46,.04), 0 8px 28px rgba(28,36,46,.06);
  --radius:14px;
  --radius-sm:9px;
  --font-head:"Bitter", Georgia, "Times New Roman", serif;
  --font-body:"Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --measure:70ch;
  --wrap:1180px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:18px; line-height:1.7;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{max-width:100%; height:auto; display:block}
a{color:var(--brand); text-underline-offset:3px; text-decoration-thickness:1px}
a:hover{color:var(--brand-2)}
:focus-visible{outline:3px solid var(--amber); outline-offset:2px; border-radius:4px}

.wrap{max-width:var(--wrap); margin-inline:auto; padding-inline:22px}
.skip{position:absolute; left:-9999px; top:0; background:var(--brand); color:#fff; padding:10px 16px; z-index:200; border-radius:0 0 8px 0}
.skip:focus{left:0}

/* ---------- Chain mark (signature) ---------- */
.mark{width:26px; height:26px; flex:0 0 auto; color:var(--brand)}
.mark--footer{color:#B9D8C6}

/* ---------- Header / nav ---------- */
.site-head{position:sticky; top:0; z-index:100; background:rgba(246,244,238,.86);
  backdrop-filter:saturate(1.4) blur(8px); border-bottom:1px solid var(--line)}
.site-head__row{display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:66px}
.brand{display:inline-flex; align-items:center; gap:10px; font-family:var(--font-head);
  font-weight:700; font-size:20px; color:var(--ink); text-decoration:none; letter-spacing:.2px}
.brand span{color:var(--brand)}
.nav{display:flex; align-items:center; gap:4px}
.nav a{font-size:15px; color:var(--ink-soft); text-decoration:none; padding:9px 12px; border-radius:8px; white-space:nowrap}
.nav a:hover{background:var(--brand-tint); color:var(--brand-2)}
.nav a[aria-current="page"]{color:var(--brand-2); background:var(--brand-tint); font-weight:600}
.nav__toggle{display:none; background:var(--surface); border:1px solid var(--line-strong);
  border-radius:9px; padding:8px 12px; font:inherit; font-size:14px; align-items:center; gap:8px; cursor:pointer}
.nav__toggle svg{width:18px;height:18px}

@media (max-width:900px){
  .nav__toggle{display:inline-flex}
  .nav{position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch;
    gap:2px; background:var(--surface); border-bottom:1px solid var(--line); padding:10px 16px 16px;
    box-shadow:var(--shadow); display:none}
  .nav.is-open{display:flex}
  .nav a{padding:12px 12px; font-size:16px}
}

/* ---------- Reading progress ---------- */
.progress{position:sticky; top:66px; z-index:90; height:3px; background:transparent}
.progress__bar{height:100%; width:0; background:linear-gradient(90deg,var(--brand),#2E8A63)}
@media (max-width:900px){.progress{top:66px}}

/* ---------- Hero ---------- */
.hero{padding:52px 0 30px; border-bottom:1px solid var(--line)}
.eyebrow{font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--brand);
  font-weight:600; margin:0 0 16px}
.hero h1{font-family:var(--font-head); font-weight:800; font-size:clamp(32px,5vw,50px);
  line-height:1.12; letter-spacing:-.01em; margin:0 0 18px; max-width:20ch}
.hero__dek{font-size:clamp(18px,2.2vw,21px); color:var(--ink-soft); max-width:62ch; margin:0 0 26px}
.byline{display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; font-size:14.5px; color:var(--muted)}
.byline b{color:var(--ink); font-weight:600}
.byline .dot{width:4px;height:4px;border-radius:50%;background:var(--line-strong)}
.badge{display:inline-flex; align-items:center; gap:7px; background:var(--brand-tint);
  color:var(--brand-2); border:1px solid #CFE3D6; padding:5px 11px; border-radius:100px;
  font-size:13px; font-weight:600}
.badge svg{width:14px;height:14px}

/* ---------- Article layout ---------- */
.layout{display:grid; grid-template-columns:250px minmax(0,1fr); gap:52px;
  align-items:start; padding:40px 0 64px}
@media (max-width:1000px){.layout{grid-template-columns:1fr; gap:0; padding-top:26px}}

/* TOC */
.toc{position:sticky; top:96px; font-size:14.5px}
.toc__title{font-size:12px; letter-spacing:.13em; text-transform:uppercase; color:var(--muted);
  font-weight:700; margin:0 0 12px}
.toc ol{list-style:none; margin:0; padding:0; counter-reset:toc}
.toc li{counter-increment:toc; margin:0}
.toc a{display:block; padding:6px 10px 6px 34px; position:relative; color:var(--ink-soft);
  text-decoration:none; border-radius:7px; line-height:1.4}
.toc a::before{content:counter(toc,decimal-leading-zero); position:absolute; left:8px; top:6px;
  font-size:11px; color:var(--muted); font-variant-numeric:tabular-nums}
.toc a:hover{background:var(--brand-tint); color:var(--brand-2)}
.toc a.is-active{background:var(--brand-tint); color:var(--brand-2); font-weight:600}
.toc a.is-active::before{color:var(--brand)}

.toc--mobile{display:none; margin:22px 0 8px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow)}
.toc--mobile summary{list-style:none; cursor:pointer; padding:16px 18px; font-family:var(--font-head);
  font-weight:700; font-size:17px; display:flex; align-items:center; justify-content:space-between}
.toc--mobile summary::-webkit-details-marker{display:none}
.toc--mobile[open] summary{border-bottom:1px solid var(--line)}
.toc--mobile .toc{position:static; padding:8px 12px 14px}
@media (max-width:1000px){
  .toc--desktop{display:none}
  .toc--mobile{display:block}
}

/* ---------- Article typography ---------- */
.article{max-width:var(--measure)}
.article p{margin:0 0 20px}
.lead{font-size:20px; color:var(--ink-soft)}
.article h2{font-family:var(--font-head); font-weight:800; font-size:clamp(25px,3.4vw,32px);
  line-height:1.2; letter-spacing:-.01em; margin:52px 0 8px; scroll-margin-top:96px; display:block}
.article h2 + p, .article h2 + .fig{margin-top:16px}
.article h3{font-family:var(--font-head); font-weight:700; font-size:clamp(20px,2.4vw,23px);
  line-height:1.28; margin:36px 0 10px; color:var(--ink); scroll-margin-top:96px}
.article ul,.article ol{margin:0 0 22px; padding-left:0; list-style:none}
.article ul li,.article ol li{position:relative; padding-left:30px; margin:0 0 11px}
.article ul li::before{content:""; position:absolute; left:6px; top:12px; width:8px; height:8px;
  border:2px solid var(--brand); border-radius:2px; transform:rotate(45deg)}
.article ol{counter-reset:li}
.article ol li{counter-increment:li}
.article ol li::before{content:counter(li); position:absolute; left:0; top:1px; width:22px; height:22px;
  background:var(--brand-tint); color:var(--brand-2); border-radius:6px; font-size:13px; font-weight:700;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-body)}
.article strong{font-weight:700; color:var(--ink)}
.article a{font-weight:500}

/* ---------- Callouts ---------- */
.callout{margin:28px 0; border-radius:var(--radius); padding:20px 22px 20px 24px; position:relative;
  box-shadow:var(--shadow)}
.callout p:last-child{margin-bottom:0}
.callout__tag{display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase; margin-bottom:10px}
.callout__tag svg{width:16px;height:16px}

.callout--practice{background:var(--amber-tint); border:1px solid #ECD9A8; border-left:4px solid var(--amber)}
.callout--practice .callout__tag{color:var(--amber)}
.callout--practice em{font-style:normal}

.callout--tip{background:var(--brand-tint); border:1px solid #CFE3D6; border-left:4px solid var(--brand)}
.callout--tip .callout__tag{color:var(--brand-2)}

.callout--note{background:var(--surface-2); border:1px solid var(--line); border-left:4px solid var(--line-strong)}

/* ---------- CTA (soft, info-blog) ---------- */
.cta{margin:30px 0; background:var(--brand-2); color:#EAF3ED; border-radius:var(--radius);
  padding:26px 28px}
.cta p{margin:0; color:#D7E7DD}
.cta strong{color:#fff}
.cta a{color:#fff}

/* ---------- Tables ---------- */
.table-wrap{margin:26px 0; overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); background:var(--surface)}
table{border-collapse:collapse; width:100%; min-width:560px; font-size:15.5px}
caption{text-align:left; font-size:14px; color:var(--muted); padding:12px 16px 0}
th,td{text-align:left; padding:13px 16px; border-bottom:1px solid var(--line); vertical-align:top}
thead th{background:var(--brand); color:#fff; font-weight:600; font-size:14.5px; border-bottom:none}
thead th:first-child{border-top-left-radius:0}
tbody tr:last-child td{border-bottom:none}
tbody tr:nth-child(even){background:var(--surface-2)}
tbody td:first-child{font-weight:600; color:var(--ink)}

/* ---------- Comparison split (списывается / не списывается) ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:26px 0}
@media (max-width:640px){.split{grid-template-columns:1fr}}
.split__col{border-radius:var(--radius); padding:20px 22px; box-shadow:var(--shadow)}
.split__col h4{margin:0 0 14px; font-family:var(--font-head); font-size:18px; display:flex; align-items:center; gap:9px}
.split__col h4 svg{width:20px;height:20px}
.split__col ul{margin:0; padding:0; list-style:none}
.split__col li{position:relative; padding-left:26px; margin:0 0 10px; font-size:15.5px}
.split--ok{background:var(--ok-tint); border:1px solid #C9E4D2}
.split--ok h4{color:var(--ok)}
.split--ok li::before{content:"✓"; position:absolute; left:2px; top:0; color:var(--ok); font-weight:700}
.split--no{background:var(--danger-tint); border:1px solid #EAcfc9}
.split--no h4{color:var(--danger)}
.split--no li::before{content:"✕"; position:absolute; left:2px; top:0; color:var(--danger); font-weight:700}

/* ---------- Figure placeholders ---------- */
.fig{margin:30px 0}
.fig-ph{border:1.5px dashed var(--line-strong); border-radius:var(--radius); background:var(--surface-2);
  padding:30px 24px; text-align:center; color:var(--muted)}
.fig-ph svg{width:30px; height:30px; margin:0 auto 12px; color:var(--line-strong)}
.fig-ph b{display:block; color:var(--ink-soft); font-size:13px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:6px}
.fig-ph span{font-size:15px; display:block; max-width:52ch; margin-inline:auto}

/* ---------- Author box (E-E-A-T) ---------- */
.author-box{margin:46px 0 10px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow); padding:26px; display:grid;
  grid-template-columns:auto 1fr; gap:22px; align-items:start}
@media (max-width:560px){.author-box{grid-template-columns:1fr}}
.author-box__ava{width:76px; height:76px; border-radius:50%; background:var(--brand-tint);
  display:flex; align-items:center; justify-content:center; color:var(--brand); font-family:var(--font-head);
  font-weight:800; font-size:26px; border:2px solid #CFE3D6}
.author-box__k{font-size:12px; letter-spacing:.11em; text-transform:uppercase; color:var(--amber); font-weight:700; margin:0 0 4px}
.author-box h3{margin:0 0 8px; font-family:var(--font-head); font-size:21px}
.author-box p{margin:0 0 10px; font-size:15.5px; color:var(--ink-soft)}
.author-box p:last-child{margin-bottom:0}

/* ---------- References ---------- */
.refs{margin:36px 0 0; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--radius); padding:24px 26px}
.refs h2{border:none; padding:0; margin:0 0 16px; display:block; font-size:22px}
.refs ol{counter-reset:ref; list-style:none; margin:0; padding:0}
.refs li{counter-increment:ref; position:relative; padding-left:34px; margin:0 0 14px; font-size:15px; color:var(--ink-soft)}
.refs li::before{content:counter(ref); position:absolute; left:0; top:0; width:24px; height:24px;
  background:var(--brand); color:#fff; border-radius:6px; font-size:12.5px; font-weight:700;
  display:flex; align-items:center; justify-content:center}
.refs a{word-break:break-word}

/* ---------- FAQ ---------- */
.faq{margin:22px 0 0}
.faq details{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm);
  margin:0 0 12px; box-shadow:var(--shadow); overflow:hidden}
.faq summary{list-style:none; cursor:pointer; padding:18px 52px 18px 20px; position:relative;
  font-family:var(--font-head); font-weight:700; font-size:17.5px; color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:""; position:absolute; right:20px; top:22px; width:12px; height:12px;
  border-right:2px solid var(--brand); border-bottom:2px solid var(--brand); transform:rotate(45deg);
  transition:transform .2s ease}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq details[open] summary{color:var(--brand-2)}
.faq__a{padding:0 20px 20px; color:var(--ink-soft); font-size:16px}
.faq__a p{margin:0}

/* ---------- Generic content page ---------- */
.page-head{padding:46px 0 8px; border-bottom:1px solid var(--line)}
.crumbs{font-size:13.5px; color:var(--muted); margin:0 0 14px}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--brand)}
.page-head h1{font-family:var(--font-head); font-weight:800; font-size:clamp(28px,4.4vw,42px);
  line-height:1.14; margin:0 0 14px; max-width:24ch}
.page-head .sub{font-size:19px; color:var(--ink-soft); max-width:62ch; margin:0}
.prose{max-width:var(--measure); padding:34px 0 60px}
.prose h2{font-family:var(--font-head); font-weight:800; font-size:clamp(23px,3vw,29px); margin:44px 0 12px; scroll-margin-top:96px}
.prose h3{font-family:var(--font-head); font-weight:700; font-size:20px; margin:30px 0 10px}
.prose p{margin:0 0 18px}
.prose ul,.prose ol{margin:0 0 20px; padding-left:0; list-style:none}
.prose li{position:relative; padding-left:28px; margin:0 0 10px}
.prose ul li::before{content:""; position:absolute; left:5px; top:11px; width:8px; height:8px; border:2px solid var(--brand); border-radius:2px; transform:rotate(45deg)}
.prose ol{counter-reset:p}
.prose ol li{counter-increment:p}
.prose ol li::before{content:counter(p); position:absolute; left:0; top:1px; width:22px; height:22px; background:var(--brand-tint); color:var(--brand-2); border-radius:6px; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center}

/* ---------- Resource cards ---------- */
.res-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:24px 0 8px}
@media (max-width:720px){.res-grid{grid-template-columns:1fr}}
.res{display:block; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:20px 22px; text-decoration:none; color:inherit; box-shadow:var(--shadow); transition:transform .16s ease, border-color .16s ease}
.res:hover{transform:translateY(-2px); border-color:var(--brand)}
.res__u{font-size:13px; color:var(--brand); font-weight:600; word-break:break-all}
.res h3{font-family:var(--font-head); font-size:18px; margin:8px 0 6px; color:var(--ink)}
.res p{margin:0; font-size:14.5px; color:var(--muted); line-height:1.55}
.res-cat{font-family:var(--font-head); font-weight:800; font-size:22px; margin:40px 0 4px; color:var(--brand-2);
  display:flex; align-items:center; gap:10px}
.res-cat svg{width:22px;height:22px;color:var(--brand)}

/* ---------- Glossary ---------- */
.gloss{max-width:var(--measure); padding:34px 0 60px}
.gloss dl{margin:0}
.gloss dt{font-family:var(--font-head); font-weight:700; font-size:19px; color:var(--brand-2);
  margin:26px 0 6px; scroll-margin-top:96px}
.gloss dd{margin:0; color:var(--ink-soft)}
.gloss dd + dt{border-top:1px solid var(--line); padding-top:26px}
.alpha{position:sticky; top:78px; z-index:20; background:rgba(246,244,238,.9); backdrop-filter:blur(6px);
  display:flex; flex-wrap:wrap; gap:6px; padding:12px 0; margin-top:8px; border-bottom:1px solid var(--line)}
.alpha a{font-size:14px; padding:4px 9px; border-radius:7px; text-decoration:none; color:var(--ink-soft); background:var(--surface); border:1px solid var(--line)}
.alpha a:hover{background:var(--brand); color:#fff; border-color:var(--brand)}

/* ---------- Info card / disclaimer block ---------- */
.notice{background:var(--amber-tint); border:1px solid #ECD9A8; border-left:4px solid var(--amber);
  border-radius:var(--radius); padding:20px 22px; margin:24px 0}
.notice p:last-child{margin-bottom:0}
.notice strong{color:var(--amber)}

/* ---------- Contacts ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:24px 0}
@media (max-width:720px){.contact-grid{grid-template-columns:1fr}}
.contact-card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow)}
.contact-card h3{font-family:var(--font-head); margin:0 0 8px; font-size:18px}
.contact-card p{margin:0; color:var(--ink-soft); font-size:15.5px}
.contact-card a{font-weight:600}

/* ---------- Footer ---------- */
.site-foot{background:var(--brand-2); color:#C7DACF; margin-top:60px; padding:52px 0 28px; font-size:15px}
.site-foot a{color:#EAF3ED; text-decoration:none}
.site-foot a:hover{text-decoration:underline}
.foot-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:34px}
@media (max-width:860px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.foot-grid{grid-template-columns:1fr}}
.foot-brand{display:inline-flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:700;
  font-size:20px; color:#fff; text-decoration:none}
.foot-about{margin:14px 0 0; color:#A9C4B7; max-width:38ch; font-size:14.5px; line-height:1.6}
.foot-col h4{font-family:var(--font-head); color:#fff; font-size:15px; margin:0 0 14px; letter-spacing:.02em}
.foot-col ul{list-style:none; margin:0; padding:0}
.foot-col li{margin:0 0 9px}
.foot-col a{color:#C7DACF; font-size:14.5px}
.foot-bottom{border-top:1px solid rgba(255,255,255,.13); margin-top:38px; padding-top:22px;
  display:flex; flex-wrap:wrap; gap:12px 24px; justify-content:space-between; color:#93B2A3; font-size:13.5px}
.foot-disc{max-width:70ch; color:#93B2A3; font-size:13.5px; line-height:1.6; margin:0}

/* ---------- Motion ---------- */
.reveal{opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1; transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1; transform:none; transition:none}
  .res{transition:none}
}

/* ==========================================================================
   Совместимость с WordPress: классы, которых не было в статическом макете
   ========================================================================== */

.alignleft{float:left;margin:6px 24px 16px 0}
.alignright{float:right;margin:6px 0 16px 24px}
.aligncenter{display:block;margin-inline:auto}
.alignwide{max-width:min(1100px,100%)}
.alignfull{width:100%;max-width:none}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wp-caption{max-width:100%}
.wp-caption-text,figcaption{font-size:14.5px;color:var(--muted);margin-top:8px;text-align:center}
.wp-block-image img{border-radius:var(--radius-sm)}
.wp-block-image figcaption{font-size:14.5px;color:var(--muted)}
.wp-block-separator{border:0;border-top:1px solid var(--line);margin:36px 0}
.wp-block-quote{border-left:3px solid var(--brand);padding-left:20px;margin:28px 0;color:var(--ink-soft)}
.wp-block-table{margin:0}
.wp-block-heading{scroll-margin-top:90px}
.article h2,.article h3,.prose h2,.prose h3{scroll-margin-top:90px}

/* Пагинация */
.pagination{display:flex;gap:8px;flex-wrap:wrap;margin:40px 0}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;
  min-width:40px;height:40px;padding:0 12px;border:1px solid var(--line-strong);
  border-radius:var(--radius-sm);background:var(--surface);color:var(--ink-soft);
  text-decoration:none;font-size:15px}
.pagination .page-numbers:hover{background:var(--brand-tint);color:var(--brand-2)}
.pagination .page-numbers.current{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}

/* Карточки записей в архиве */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px;margin:28px 0}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;box-shadow:var(--shadow)}
.card h2{font-family:var(--font-head);font-size:21px;line-height:1.3;margin:0 0 10px}
.card h2 a{color:var(--ink);text-decoration:none}
.card h2 a:hover{color:var(--brand)}
.card__meta{font-size:14px;color:var(--muted);margin:0 0 10px}
.card p{margin:0;color:var(--ink-soft);font-size:16px}

/* Поиск и 404 */
.searchform{display:flex;gap:10px;margin:26px 0;max-width:520px}
.searchform input[type=search]{flex:1;padding:12px 14px;border:1px solid var(--line-strong);
  border-radius:var(--radius-sm);font:inherit;font-size:16px;background:var(--surface)}
.searchform button{padding:12px 20px;border:0;border-radius:var(--radius-sm);
  background:var(--brand);color:#fff;font:inherit;font-weight:600;cursor:pointer}
.searchform button:hover{background:var(--brand-2)}

/* Комментарии отключены темой, но на всякий случай */
.comments-area{margin-top:40px}
