/* potvardi-porachka.com — блог в новия дизайн (17.11.2026); зарежда се след site.css */
.bhero{position:relative;isolation:isolate;overflow:hidden;padding:140px 0 44px}
.bhero .hero-bg{-webkit-mask-image:linear-gradient(to bottom,#000 60%,transparent);mask-image:linear-gradient(to bottom,#000 60%,transparent)}
.bhero .wrap{max-width:900px}
.crumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-family:var(--ff-mono);font-size:12px;line-height:16px;color:var(--muted);margin-bottom:22px}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--primary-ink)}
.crumbs span{opacity:.5}
.bhero h1{font-size:clamp(32px,5.4vw,56px);line-height:1.08;letter-spacing:-.03em;max-width:860px}
.bhero .lead{margin-top:18px;font-size:19px;line-height:30px;color:var(--fg-75);max-width:720px}
.bmeta{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.bmeta span{font-family:var(--ff-mono);font-size:12px;line-height:16px;color:var(--muted);padding:6px 12px;border-radius:999px}

.prose{max-width:760px;margin:0 auto;padding:8px 16px 0}
.prose h2{font-size:clamp(24px,3.4vw,32px);line-height:1.18;letter-spacing:-.6px;margin:52px 0 16px}
.prose h2:first-child{margin-top:12px}
.prose h3{font-size:22px;line-height:28px;margin:34px 0 12px}
.prose p{font-size:18px;line-height:30px;color:var(--fg-75);margin:0 0 18px}
.prose ul,.prose ol{margin:0 0 24px;padding-left:24px;font-size:18px;line-height:30px;color:var(--fg-75)}
.prose li{margin:5px 0;padding-left:4px}
.prose li::marker{color:var(--primary);font-weight:600}
.prose strong{color:var(--fg);font-weight:600}
.prose a{color:var(--primary-ink);text-decoration:underline;text-underline-offset:3px}
.prose .tbl{margin:10px 0 28px;border-radius:18px;border:1px solid var(--line);overflow-x:auto;-webkit-overflow-scrolling:touch;background:rgba(255,255,255,.7);box-shadow:var(--glass-sh)}
.prose table{width:100%;min-width:520px;border-collapse:collapse;font-size:15px;line-height:22px}
.prose th{background:var(--soft);text-align:left;font-weight:600;color:var(--fg);padding:13px 16px;white-space:nowrap}
.prose td{padding:13px 16px;border-top:1px solid var(--line);color:var(--fg-75);vertical-align:top}
.prose td:first-child{color:var(--fg);font-weight:500}
.prose .box{margin:28px 0;padding:20px 22px;border-radius:18px;background:var(--primary-10);border:1px solid var(--primary-30);font-size:17px;line-height:28px;color:var(--fg)}
.prose .box.warn{background:var(--cb-10);border-color:rgba(154,91,0,.28)}

.bcta{max-width:760px;margin:56px auto 0;padding:0 16px}
.bcta-in{border-radius:var(--r-card);padding:32px}
.bcta h2{font-size:clamp(26px,3.6vw,34px);line-height:1.12;letter-spacing:-.7px}
.bcta p{margin-top:12px;font-size:17px;line-height:27px;color:var(--fg-75)}
.bcta .acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}

.related{padding-top:110px}
.related .sec-h{margin-bottom:40px}
.bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bcard{display:flex;flex-direction:column;border-radius:22px;padding:24px;transition:transform .2s,box-shadow .2s}
.bcard:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 1px 2px rgba(9,11,12,.06),0 24px 40px -22px rgba(9,11,12,.28)}
.bcard .tg{font-family:var(--ff-mono);font-size:11px;line-height:14px;color:var(--primary-ink);margin-bottom:12px}
.bcard h2,.bcard h3{font-size:20px;line-height:26px;letter-spacing:-.3px}
.bcard p{margin-top:10px;font-size:15px;line-height:23px;color:var(--fg-75);flex:1}
.bcard .more{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:14px;font-weight:500;color:var(--primary-ink)}
.bcard .more svg{width:14px;height:14px}
.bindex{padding-top:8px}
@media (max-width:900px){.bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){
  .bgrid{grid-template-columns:minmax(0,1fr)}
  .bhero{padding-top:118px}
  .bhero .lead{font-size:17px;line-height:27px}
  .prose p,.prose ul,.prose ol{font-size:17px;line-height:28px}
  .bcta-in{padding:24px}
}

/* 17.11.2026: диаграми и снимки в статиите */
.prose figure{margin:32px 0 30px}
.prose figure img{display:block;width:100%;height:auto;border-radius:18px;border:1px solid var(--line);background:#fff}
.prose figcaption{margin-top:12px;font-size:14px;line-height:21px;color:var(--muted)}
.prose em{font-style:italic;color:var(--fg-75)}
