:root{
    --paper:#fbf9f5; --card:#ffffff; --ink:#1c1d22; --ink-soft:#54565f; --ink-faint:#6c6e77;
    --line:#e9e4da; --line-soft:#f0ece4;
    --accent:#e8590c; --accent-ink:#d16537; --accent-text:#b8470a; --accent-wash:#fdf0e7;
    --brown:#231c17;
    --good:#1f7a4d; --good-wash:#e8f4ed;
    --font-display:'Onest',system-ui,sans-serif; --font-body:'Inter',system-ui,sans-serif;
    --maxw:1180px; --measure:70ch; --r:14px; --r-sm:9px; --r-lg:22px;
  }
  *{box-sizing:border-box}
  html,body{overflow-x:hidden}
  html{scroll-behavior:smooth}
  body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-body);
    font-size:18px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
  h1,h2,h3,h4{font-family:var(--font-display);line-height:1.12;letter-spacing:-.018em;margin:0;color:var(--ink)}
  a{color:var(--accent-text);text-decoration:none}
  a:hover{text-decoration:underline}
  img{max-width:100%;display:block}
  :focus-visible{outline:2.5px solid var(--accent);outline-offset:3px;border-radius:4px}
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
  .progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:60;transition:width .1s linear}

  /* button (reused by the sidebar CTA + any in-content action) */
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
    background:linear-gradient(180deg,#ff9c68 0%,#d16537 100%);color:#fff;
    font-family:var(--font-body);font-weight:600;font-size:15px;padding:12px 20px;border-radius:var(--r-sm);
    border:0;cursor:pointer;box-shadow:0 6px 16px rgba(209,101,55,.30);transition:transform .12s,box-shadow .12s}
  .btn:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(209,101,55,.40);text-decoration:none;color:#fff}
  .btn:active{transform:translateY(0)}
  .btn.lg{padding:15px 26px;font-size:16px}
  .btn.ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line);box-shadow:none}
  .btn.ghost:hover{border-color:#d16537;color:#d16537}

  .crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13.5px;color:var(--ink-faint);padding:10px 0 0}
  .crumbs a{color:var(--ink-soft)}
  .crumbs span.sep{opacity:1;color:var(--ink-soft)}

  .post-head{padding:10px 0 18px;max-width:none}
  .chip{display:inline-flex;align-items:center;gap:7px;background:var(--accent-wash);color:var(--accent-text);
    font-weight:600;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;padding:6px 13px;border-radius:999px}
  h1{font-size:clamp(31px,5vw,50px);font-weight:800;margin:18px 0 0;overflow-wrap:anywhere;min-width:0}
  .dek{font-size:clamp(18px,2.4vw,21px);color:var(--ink-soft);margin:16px 0 0;line-height:1.5;max-width:46ch}
  .post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:22px;font-size:14.5px;color:var(--ink-faint)}
  .post-meta .who{display:flex;align-items:center;gap:10px;color:var(--ink-soft);font-weight:500}
  .ava{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#3a2f27,#6b5746);
    display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700;font-family:var(--font-display)}
  .post-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--ink-faint)}

  /* intro lead-in that introduces the calculator (organic embed) */
  .intro{max-width:none;margin:6px 0 0}
  .intro .lead{font-size:21px;line-height:1.55;color:var(--ink);margin:0 0 14px}
  .intro .toolline{display:flex;align-items:center;gap:10px;font-size:14.5px;color:var(--ink-soft);
    font-weight:500;margin:0 0 14px}
  .intro .toolline::before{content:"";width:26px;height:2px;border-radius:2px;background:var(--accent);flex:none}

  /* ===== CALCULATOR — woven into the flow, content-aligned ===== */
  .calc{max-width:none;background:var(--accent-wash);color:var(--ink);border:1px solid #f0dcc9;border-radius:var(--r-lg);
    padding:24px 26px;margin:0 0 8px;box-shadow:0 1px 2px rgba(35,28,23,.05);position:relative;overflow:hidden}
  .calc::before{display:none}
  .calc-head{position:relative;margin-bottom:18px}
  .calc-head .tag{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-text);font-weight:600}
  .calc h2{color:var(--ink);font-size:clamp(21px,3vw,26px);margin:5px 0 0;font-weight:800}
  .calc .sub{color:var(--ink-soft);font-size:14px;margin:6px 0 18px}
  /* cities get the room, «Вес, кг» stays compact (owner: weight column too wide) */
  .calc-grid{display:grid;grid-template-columns:1fr 1fr 0.6fr;gap:12px;position:relative}
  .fld{display:flex;flex-direction:column;gap:6px;min-width:0}
  .fld label{font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-faint)}
  .fld input{background:#fff;border:1.5px solid #e7d8c8;border-radius:var(--r-sm);
    padding:12px 13px;color:var(--ink);font-family:var(--font-body);font-size:16px;width:100%}
  .fld input::placeholder{color:#b8a895}
  .fld input:focus{outline:none;border-color:var(--accent);background:#fff}
  .calc-cta{display:flex;flex-direction:column;gap:10px;margin-top:18px;position:relative}
  .calc-cta .btn{width:100%}
  .calc-cta .note{font-size:12px;color:var(--ink-faint);text-align:center;margin:0}

  /* layout */
  .layout{display:grid;grid-template-columns:minmax(0,720px) minmax(0,228px);gap:48px;justify-content:center;align-items:start;padding:22px 0 50px}
  .main-col{min-width:0}
  .article{min-width:0;max-width:none;font-size:18px}
  .article>p{margin:0 0 22px}
  .article h2{font-size:clamp(26px,3.4vw,33px);font-weight:700;margin:56px 0 18px;scroll-margin-top:96px}
  .article h2:first-child{margin-top:8px}
  .article h3{font-size:21px;font-weight:600;margin:32px 0 12px;scroll-margin-top:90px}
  .article ul{margin:0 0 22px;padding-left:0;list-style:none}
  .article ul li{position:relative;padding-left:30px;margin-bottom:11px}
  .article ul li::before{content:"";position:absolute;left:6px;top:11px;width:7px;height:7px;border-radius:2px;background:#a89684;transform:rotate(45deg)}
  .article strong{font-weight:600;color:var(--ink)}

  /* inline re-entry to calculator (organic, mid-article) */
  .recalc{display:inline-flex;align-items:center;gap:9px;background:var(--accent-wash);border:1px solid #f3d9c6;
    border-radius:999px;padding:9px 16px 9px 14px;font-weight:600;font-size:14.5px;color:var(--accent-text);margin:2px 0 6px}
  .recalc:hover{text-decoration:none;border-color:var(--accent)}
  .recalc::before{content:"↑";font-weight:800}

  /* kill number-input spinner arrows */
  input[type=number]{-moz-appearance:textfield;appearance:textfield}
  input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

  /* hero lead image (under the title) */
  .lead-img{max-width:none;margin:16px 0 4px;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);aspect-ratio:16/9;background:linear-gradient(135deg,#efe7db,#e3d8c8)}
  .lead-img img{width:100%;height:100%;object-fit:cover;display:block}

  /* in-body figure */
  figure.fig{margin:28px 0}
  figure.fig img{width:100%;border-radius:var(--r);border:1px solid var(--line);display:block}
  figure.fig figcaption{font-size:13.5px;color:var(--ink-faint);margin-top:9px;text-align:center}

  /* key-stats strip (hero block) */
  .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:28px 0}
  .stats .stat{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px 16px}
  .stats .stat b{display:block;font-family:var(--font-display);font-weight:800;font-size:27px;color:var(--accent-text);letter-spacing:-.02em;line-height:1.05}
  .stats .stat span{font-size:13px;color:var(--ink-soft);line-height:1.35;margin-top:5px;display:block}

  /* FAQ accordion */
  .faq{margin:30px 0}
  .faq h2{margin-bottom:14px}
  .faq details{border:1px solid var(--line);border-radius:var(--r);margin-bottom:10px;background:var(--card)}
  .faq summary{cursor:pointer;list-style:none;padding:16px 18px;font-family:var(--font-display);font-weight:600;font-size:17px;display:flex;justify-content:space-between;gap:12px;align-items:center}
  .faq summary::-webkit-details-marker{display:none}
  .faq summary::after{content:"+";font-size:22px;color:var(--accent-text);font-weight:400;line-height:1}
  .faq details[open] summary::after{content:"\2013"}
  .faq .fa{padding:0 18px 16px;color:var(--ink-soft);font-size:16px;line-height:1.6}

  /* feature strip — codex icons */
  .features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:30px 0 6px}
  .feat{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 15px;display:flex;flex-direction:column;gap:8px}
  .feat img{width:42px;height:42px;object-fit:contain}
  .feat b{font-family:var(--font-display);font-weight:600;font-size:15.5px}
  .feat span{font-size:13px;color:var(--ink-soft);line-height:1.4}

  /* crabbox-style "On this page" rail */
  .toc-rail{position:sticky;top:96px;align-self:start;max-height:calc(100vh - 124px);overflow:auto;
    background:#fbf8f4;border:1px solid var(--line);border-radius:var(--r);padding:18px 18px 20px}
  .toc-rail .toc-h{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
    color:var(--ink-faint);margin:0 0 10px}
  details.toc-m>summary{display:none}
  .toc-rail nav{display:flex;flex-direction:column}
  .toc-rail nav a{display:block;color:var(--ink-faint);font-size:14px;line-height:1.35;
    padding:5px 0 5px 12px;margin-left:0;border-left:2px solid transparent;
    transition:color .12s,border-color .12s}
  .toc-rail nav a:hover{color:var(--ink);text-decoration:none}
  .toc-rail nav a.active{color:var(--accent-text);border-left-color:var(--accent);font-weight:600}
  .toc-cta{margin-top:20px;padding:16px;background:var(--accent-wash);border:1px solid #f3d9c6;border-radius:var(--r)}
  .toc-cta p{margin:0 0 11px;font-size:13.5px;color:var(--ink-soft);line-height:1.45}
  .toc-cta .btn{width:100%;white-space:nowrap}

  .takeaways{background:var(--good-wash);border:1px solid #cfe6da;border-radius:var(--r);padding:22px 24px;margin:30px 0}
  .takeaways h4{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--good);margin-bottom:12px}
  .takeaways ul{margin:0}.takeaways ul li::before{background:var(--good)}
  blockquote{margin:34px 0;padding:6px 0 6px 26px;border-left:4px solid var(--accent);
    font-family:var(--font-display);font-weight:500;font-size:23px;line-height:1.4;color:var(--ink);letter-spacing:-.01em}

  .tablewrap{margin:28px 0;border:1px solid var(--line);border-radius:var(--r);overflow-x:auto}
  table{width:100%;border-collapse:collapse;font-size:15.5px}
  th,td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--line-soft)}
  thead th{background:#f4ede3;color:var(--ink);font-family:var(--font-display);font-weight:700;font-size:13.5px;border-bottom:1.5px solid #e7d8c8}
  tbody tr:last-child td{border-bottom:0}
  tbody tr:nth-child(even){background:#fcfbf9}
  td.num{font-variant-numeric:tabular-nums;font-weight:600;color:var(--accent-text);white-space:nowrap}

  .related{border-top:1px solid var(--line);padding:46px 0 10px}
  .related h2{font-family:var(--font-display);font-size:26px;font-weight:700;margin:0 0 24px}
  .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
  .pcard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:transform .14s,box-shadow .14s}
  .pcard:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(35,28,23,.1);text-decoration:none}
  .pcard .ph{height:92px;background:linear-gradient(135deg,#f1ebe1,#e8ded0);display:grid;place-items:center}
  .pcard .ph img{width:38px;height:38px;object-fit:contain;opacity:.85}
  .pcard .body{padding:18px;display:flex;flex-direction:column;gap:9px;flex:1}
  .pcard .pchip{align-self:flex-start;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--accent-text);background:var(--accent-wash);padding:4px 9px;border-radius:999px}
  .pcard h3{font-size:17px;font-weight:700;line-height:1.28;color:var(--ink)}
  .pcard .rm{margin-top:auto;font-size:13px;color:var(--ink-faint)}

  /* punch-list: neutral cream plashka (matches article .cta-band) — calculator
     BUTTON left, owner truck-fleet bleeding off the RIGHT edge. No heading, no
     badge icon. cta-shadow inlined (not in this file's :root). */
  .band{display:flex;align-items:center;gap:32px;
    background:var(--accent-wash);border:1px solid #f3d9c6;border-radius:var(--r-lg);
    padding:28px 40px;margin:54px 0;overflow:hidden;box-shadow:0 18px 44px -22px rgba(140,70,30,.30)}
  .band .band-copy{flex:none;min-width:0}
  /* owner: same brand orange as every main button — inherits standard .btn
     gradient #ff9c68→#d16537 (matches header «Задать вопрос»), no dark override.
     ponytail: white-on-#ff9c68 ≈ 2.0:1 fails AA as normal text; brand consistency
     per owner, revisit only with owner OK to darken the GLOBAL .btn. */
  .band .btn{flex:none;color:#fff;
    box-shadow:0 8px 20px rgba(140,70,30,.22)}
  /* fleet RIGHT-anchored so the trailing газель runs past the band's right edge
     (the short button leaves a wide right zone — flex-end + a small negative
     right margin make it bleed instead of floating mid-band). overflow:hidden +
     22px radius clip the газель at the corner; ground drop-shadow so it sits. */
  .band .band-fleet{flex:1 1 0;min-width:0;margin:0;line-height:0;pointer-events:none;
    display:flex;align-items:center;justify-content:flex-end}
  .band .band-fleet img{flex:none;height:178px;width:auto;max-width:none;display:block;margin-right:-72px;
    filter:drop-shadow(0 8px 10px rgba(74,46,20,.16))}

  /* (real rosperevozki.ru footer styles are injected with the footer markup below) */

  /* rosmobil-style mobile bottom nav */
  .mobilebar{display:none}

  @media(max-width:900px){
    .layout{grid-template-columns:1fr;gap:0;padding-top:18px}
    .toc-rail{position:static;max-height:none;overflow:visible;border-left:0;padding-left:0;
      margin:6px 0 26px;background:var(--card);border:1px solid var(--line);border-radius:var(--r)}
    details.toc-m{padding:14px 16px}
    details.toc-m>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;
      font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-faint)}
    details.toc-m>summary::-webkit-details-marker{display:none}
    details.toc-m>summary::after{content:"⌄";font-size:18px}
    details.toc-m[open]{padding-bottom:8px}
    details.toc-m nav{margin-top:10px}
    .toc-rail .toc-h{display:none}.toc-cta{display:none}
    .intro,.calc,.post-head{max-width:none}
    .features{grid-template-columns:1fr 1fr;gap:12px}
    .related .cards{grid-template-columns:1fr 1fr;gap:14px}
    .pcard .ph{aspect-ratio:16/7}.pcard .ph img{width:46px;height:46px}.pcard .body{padding:14px}.pcard h3{font-size:15.5px}
    .fgrid{grid-template-columns:1fr 1fr;gap:28px}.band{padding:26px 30px}.band .band-fleet img{height:150px;margin-right:-52px}
  }
  /* ≤767 = donor mobile-header range (chrome.css desktop starts at min-width:768). */
  @media(max-width:767px){
    body{padding-bottom:84px}
    .wrap{padding:0 16px}
    /* listing CTA band → column, fleet ON TOP, full-width button below (centered),
       matching the article plashka mobile feel. */
    .band{flex-direction:column;align-items:center;text-align:center;padding:22px 18px;gap:0}
    .band .band-fleet{order:-1;flex:none;width:100%;margin:0 0 14px;justify-content:center}
    .band .band-fleet img{height:auto;width:100%;max-width:none;margin:0}
    .band .band-copy{width:100%}
    .band .btn{width:100%}
    .mobilebar{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;
      position:fixed;left:0;right:0;bottom:0;z-index:55;background:#fff;
      border-top:1px solid var(--line);border-radius:18px 18px 0 0;
      box-shadow:0 -8px 28px rgba(35,28,23,.14);padding:9px 6px max(9px,env(safe-area-inset-bottom));
      transition:transform .22s ease}
    .mobilebar.hide{transform:translateY(125%);pointer-events:none}
    .mobilebar a{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--ink-faint);
      font-size:10.5px;font-weight:500;text-decoration:none;padding-top:4px}
    .mobilebar a svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
    .mobilebar a.on{color:var(--accent-text)}
    .mobilebar a.fab{margin-top:-30px;color:var(--accent-text);font-weight:600}
    .mobilebar a.fab .ring{width:58px;height:58px;border-radius:50%;
      background:linear-gradient(180deg,#ff9c68 0%,#d16537 100%);
      display:grid;place-items:center;box-shadow:0 8px 20px rgba(209,101,55,.42);border:4px solid var(--paper)}
    .mobilebar a.fab .ring svg{width:25px;height:25px;stroke:#fff}
  }
  @media(max-width:620px){
    .stats{grid-template-columns:1fr 1fr}
    table{min-width:460px}
    .calc{padding:20px 16px;border-radius:18px}
    .calc-grid{grid-template-columns:1fr}
    .intro .lead{font-size:19px}
  }
  @media(max-width:560px){
    .fgrid{grid-template-columns:1fr}
    .features{grid-template-columns:1fr 1fr}
    .related .cards .pcard:nth-child(3){display:none}
  }
  @media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

  /* ===================== BLOG LISTING (index) ===================== */
  .bhead{padding:20px 0 6px}

  /* HERO band — home blog index only (.bhead.bhero; archive.php keeps the plain
     .bhead). Warm cream→white wash + orange accent bar above the H1. Tokens only. */
  .bhero{position:relative;margin:14px 0 2px;padding:36px 38px 30px;
    border-radius:var(--r-lg);border:1px solid #f3d9c6;overflow:hidden;
    background:radial-gradient(135% 150% at 0% 0%,#FFF1E6 0%,#FBF6EE 50%,#FFFFFF 100%)}
  .bhero .crumbs{margin-bottom:2px}
  .bhero .btitle{margin:6px 0 0}
  .bhero .btitle::before{content:"";display:block;width:46px;height:4px;border-radius:3px;
    background:var(--accent);margin:0 0 18px}
  .bhero .bsub{margin:12px 0 0;color:var(--ink-soft)}
  .bhero .bchips{margin-top:22px}
  /* calc card directly under the hero — contained, not stretched to the full 1180. */
  .bhead + .calc{max-width:840px;margin:18px 0 6px}
  @media(max-width:600px){.bhero{padding:24px 18px 22px;border-radius:18px}
    .bhero .btitle::before{margin-bottom:13px}}
  .bchip-tag{display:inline-flex;align-items:center;gap:7px;margin-top:14px;
    font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
    color:var(--ink-faint);white-space:nowrap}
  .bchip-tag::before{content:"";width:22px;height:2px;border-radius:2px;background:var(--accent);display:inline-block}
  .btitle{font-family:var(--font-display);font-weight:800;letter-spacing:-.012em;
    font-size:clamp(34px,5.4vw,54px);margin:8px 0 0;line-height:1.05}
  .bsub{font-size:clamp(17px,2.2vw,20px);color:var(--ink-soft);margin:13px 0 0;max-width:54ch;line-height:1.5}

  /* chip-row rubric nav */
  .bchips{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 4px}
  .bchip{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
    background:var(--card);border:1px solid var(--line);border-radius:999px;
    padding:8px 14px;font-size:14px;font-weight:600;color:var(--ink-soft);
    transition:border-color .12s,color .12s,background .12s}
  .bchip b{font-weight:600;font-size:12px;color:var(--ink-soft);font-variant-numeric:tabular-nums}
  .bchip:hover{border-color:#d9cfc0;color:var(--ink);text-decoration:none}
  .bchip.is-active{background:var(--accent-text);border-color:var(--accent-text);color:#fff}
  .bchip.is-active b{color:#fff}

  /* full-width listing — sidebar removed (listing-tz §1); grid spans container */
  .blayout{padding:18px 0 60px}
  .bgrid-col{min-width:0}

  /* slim search row above the grid (relocated from old sidebar) */
  .bsearchrow{margin:24px 0 0;max-width:520px}

  /* post grid — 3 / 2 / 1 cols at 1024 / 768 / 360 (listing-tz §2) */
  .bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  /* inline CTA band lives in the grid flow, spanning the full row */
  .bgrid .band{grid-column:1 / -1;margin:0}
  .bcard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
    overflow:hidden;display:flex;flex-direction:column;min-width:0;
    transition:transform .14s,box-shadow .14s,border-color .14s}
  .bcard:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(35,28,23,.10);
    border-color:#e2d8c8;text-decoration:none}
  .bcard--feat{grid-column:span 2;flex-direction:row}
  .bcard__band{position:relative;display:block;height:118px;flex:none;overflow:hidden}
  .bcard--feat .bcard__band{width:300px;height:auto;min-height:230px}
  /* S1: native cover <img> fills the band; band height owns the box → no CLS */
  .bcard__band--img{background:#efeae0}
  .bcard__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
  /* L3: thumbnail-less band → brand logo fallback, centered (replaced the old
     line-art truck glyph). */
  .bcard__band--tint{display:grid;place-items:center;padding:14px}
  .bcard__logo{width:160px;max-width:64%;opacity:.9;line-height:0}
  .bcard__logo img{width:100%;height:auto;display:block}
  .bcard__body{padding:17px 18px 18px;display:flex;flex-direction:column;gap:9px;flex:1;min-width:0}
  .bcard--feat .bcard__body{padding:26px 28px}
  /* L6: dot-pill rubric chip — leading orange dot on cream, aligned to longread .chip */
  .bcard__chip{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
    font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent-text);
    background:var(--accent-wash);border:1px solid #f3d9c6;padding:4px 11px;border-radius:999px}
  .bcard__chip::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none}
  .bcard__title{font-family:var(--font-display);font-weight:700;color:var(--ink);
    font-size:17px;line-height:1.28;letter-spacing:-.01em;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .bcard--feat .bcard__title{font-size:clamp(22px,2.6vw,28px);-webkit-line-clamp:3}
  .bcard__exc{font-size:14px;line-height:1.55;color:var(--ink-soft);
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .bcard--feat .bcard__exc{font-size:15.5px;-webkit-line-clamp:4}
  .bcard__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;
    gap:12px;padding-top:6px}
  .bdate{font-size:12.5px;color:var(--ink-soft);font-variant-numeric:tabular-nums;white-space:nowrap}
  .bcard__rm{margin-left:auto;font-family:var(--font-display);font-weight:700;font-size:13.5px;
    color:var(--accent-text);white-space:nowrap}
  .bcard:hover .bcard__rm{text-decoration:underline}

  /* pagination */
  .bpag{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:34px 0 0}
  .bpag__a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;
    padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);
    font-family:var(--font-display);font-weight:600;font-size:15px;color:var(--ink-soft);
    white-space:nowrap;transition:border-color .12s,color .12s}
  .bpag__a:hover{border-color:#d9cfc0;color:var(--ink);text-decoration:none}
  .bpag__a.is-active{background:var(--accent-text);border-color:var(--accent-text);color:#fff}
  .bpag__a.is-disabled{opacity:.4;pointer-events:none}
  .bpag__gap{color:var(--ink-faint);padding:0 4px;font-weight:600}

  /* search row form (reused by .bsearchrow above the grid) */
  .bsearch{display:flex;gap:8px}
  .bsearch input{flex:1;min-width:0;background:#fff;border:1.5px solid var(--line);border-radius:var(--r-sm);
    padding:11px 13px;font-family:var(--font-body);font-size:15px;color:var(--ink)}
  .bsearch input::placeholder{color:#b8a895}
  .bsearch input:focus{outline:none;border-color:var(--accent)}
  .bsearch button{flex:none;width:44px;border:0;border-radius:var(--r-sm);cursor:pointer;
    background:#f0ece4;color:var(--ink-soft);display:grid;place-items:center;transition:background .12s,color .12s}
  .bsearch button:hover{background:var(--accent-wash);color:var(--accent-text)}

  /* 2-col tablet: featured drops to band-top vertical, spans both columns */
  @media(max-width:1023px){
    .bgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
    .bcard--feat{grid-column:1 / -1;flex-direction:column}
    .bcard--feat .bcard__band{width:auto;min-height:0;height:140px}
    .bcard--feat .bcard__body{padding:18px}
    .bcard--feat .bcard__title{font-size:21px}
  }
  /* 1-col mobile */
  @media(max-width:767px){
    .bgrid{grid-template-columns:1fr;gap:18px}
    .bsearchrow{max-width:none}
    .bchips{gap:7px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}
    .bchips::-webkit-scrollbar{display:none}
    .bchip{padding:7px 12px;font-size:13px}
  }

/* ===== punch-list: card reading-time + per-rubric band variety ===== */
.bcard__foot .bcard__meta{display:flex;align-items:center;gap:7px;min-width:0;
  font-size:12.5px;color:var(--ink-soft);font-variant-numeric:tabular-nums}
.bcard__rt{color:var(--ink-soft);white-space:nowrap}
.bcard__band--tint{background:#f5f1ea}
.bcard.cat-gazel .bcard__band--tint{background:#fdf0e7}
.bcard.cat-gruzoperevozki .bcard__band--tint{background:#f3efe7}
.bcard.cat-negabarit .bcard__band--tint{background:#efeae0}
.bcard.cat-refrizherator .bcard__band--tint{background:#eaf1ee}
.bcard.cat-novosti .bcard__band--tint{background:#f0ece4}
.bcard.cat-documents .bcard__band--tint{background:#f3eee6}
.bcard.cat-dokumenty .bcard__band--tint{background:#f3eee6}
.bcard.cat-pereezd .bcard__band--tint{background:#f7f1ea}
.bcard.cat-poputny-gruz .bcard__band--tint{background:#f5efe6}
.bcard.cat-kamaz .bcard__band--tint{background:#eef0ef}
.bcard.cat-fura .bcard__band--tint{background:#f1ece2}

/* Content body font: restore Inter over donor chrome.css p/a/li resets. */
.wrap p{font-family:var(--font-body);font-weight:400}

/* ===== «Наши услуги» — 8-card service section (template-parts/blog-services.php)
   HOME listing only, woven into .bgrid under the sand banner. Desktop-first to match
   the file's convention: base = 4×2 grid (≥1024); <=1023 = horizontal swipe slider.
   Card body is an INERT <article>; only the price-pill is a <button> trigger.
   Markup uses div/span inside the article → every emitted class needs a rule. ===== */
.rp-svc{background:radial-gradient(120% 130% at 50% 0%,#FFFFFF 0%,#FAF6EF 72%);
  border-radius:24px;padding:30px 24px 26px;overflow:hidden}
.bgrid .rp-svc{grid-column:1 / -1;margin:0}
.rp-svc__head{padding:0 0 22px}
.rp-svc__title{margin:0;font-family:var(--font-display);font-weight:700;
  font-size:25px;line-height:1.18;letter-spacing:-.012em;color:#23262B}
/* muted caption under «Тарифы» — explains the per-km card prices (AA #6E727A) */
.rp-svc__cap{margin:5px 0 0;font-family:var(--font-body);font-weight:500;
  font-size:13.5px;line-height:1.3;color:#6E727A}
.rp-svc__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
/* WHOLE card = the lead-popup trigger (role=button); clickable, hover-lift + focus ring */
.rp-svc__card{display:flex;flex-direction:column;text-align:left;margin:0;cursor:pointer;
  background:#fff;border:1px solid #ECEDEF;border-radius:18px;overflow:hidden;
  box-shadow:0 12px 28px -16px rgba(20,24,31,.22);
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.rp-svc__card:hover{transform:translateY(-2px);border-color:var(--accent,#e8590c);
  box-shadow:0 18px 34px -16px rgba(20,24,31,.30)}
.rp-svc__card:focus-visible{outline:2.5px solid var(--accent,#e8590c);outline-offset:3px;
  border-color:var(--accent,#e8590c)}
/* card hover also lifts the (now non-interactive) pill so it reads as part of one control */
.rp-svc__card:hover .rp-svc__pill{transform:translateY(-1px);border-color:#D7DADF;
  box-shadow:0 6px 14px -4px rgba(20,24,31,.16)}
.rp-svc__photo{display:flex;align-items:center;justify-content:center;
  height:150px;padding:14px 16px 2px;
  background:linear-gradient(180deg,#FBFBFC 0%,#FFFFFF 100%)}
/* width/height:auto overrides the 640 attrs → no intrinsic blowout (scar: class==rule) */
.rp-svc__img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.rp-svc__body{display:block;padding:9px 16px 16px}
.rp-svc__name{display:block;font-family:var(--font-display);font-weight:700;
  font-size:16.5px;line-height:1.2;letter-spacing:-.01em;color:#23262B}
.rp-svc__row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:11px}
/* design spec font 9.5px (longer dimension strings must fit one line beside the pill;
   11px forced flex-wrap → pill dropped/overlapped). gray darkened #8A8F98→#6E727A AA 4.5:1 */
.rp-svc__spec{flex:1 1 auto;min-width:0;white-space:nowrap;
  font-weight:600;font-size:9.5px;line-height:1.2;letter-spacing:-.01em;color:#6E727A}
/* pill = NON-interactive <span> price affordance (the whole card is the trigger now) */
.rp-svc__pill{flex-shrink:0;margin-left:auto;display:inline-flex;align-items:center;gap:5px;
  padding:4px 4px 4px 11px;border-radius:999px;background:#fff;border:1px solid #E6E8EB;
  color:#23262B;font-family:inherit;font-weight:600;font-size:11px;line-height:1;white-space:nowrap;
  cursor:pointer;-webkit-appearance:none;appearance:none;
  box-shadow:0 2px 6px -2px rgba(20,24,31,.08);
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.rp-svc__pill:hover{transform:translateY(-1px);border-color:#D7DADF;
  box-shadow:0 6px 14px -4px rgba(20,24,31,.16)}
.rp-svc__pill:focus-visible{outline:2px solid var(--accent,#e8590c);outline-offset:2px}
.rp-svc__arrow{flex-shrink:0;width:23px;height:23px;border-radius:50%;
  background:linear-gradient(180deg,#F5995E 0%,#EA7A38 100%);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 5px 12px -4px rgba(226,104,52,.7)}
.rp-svc__arrow svg{display:block}
@media(max-width:1023px){
  .rp-svc{border-radius:22px;padding:22px 0 20px}
  .rp-svc__head{padding:0 20px 16px}
  .rp-svc__title{font-size:20px}
  /* block+white-space:nowrap is the bulletproof scroll container (flex+overflow-x:auto
     unreliable when flex-item sizing is ambiguous). ponytail: gap replaced by margin-right */
  .rp-svc__grid{display:block;overflow-x:auto;white-space:nowrap;
    -webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;
    padding:2px 20px 8px;scroll-padding-left:20px;
    scrollbar-width:none;-ms-overflow-style:none}
  .rp-svc__grid::-webkit-scrollbar{display:none;height:0;width:0}
  .rp-svc__card{display:inline-flex;flex-direction:column;white-space:normal;
    width:254px;vertical-align:top;
    scroll-snap-align:start;margin-right:14px;
    border-radius:16px;box-shadow:0 10px 22px -14px rgba(20,24,31,.22)}
  .rp-svc__photo{height:130px;padding:12px 14px 2px}
  .rp-svc__body{padding:6px 14px 15px}
  .rp-svc__name{font-size:15.5px}
  .rp-svc__row{gap:9px;margin-top:9px}
}

  /* ===================== HOME HERO 2-COL + FILTER BAR =====================
     New blog-home top (design/home-redesign/hero-filter-spec.html). THEME fonts
     only: var(--font-display) = eyebrow/H1/button/label, var(--font-body) = copy/
     inputs. Sizes/letter-spacing/composition ported from the macet; palette mapped
     to theme tokens. Markup in home.php (.rp-hero2 / .rp-filter2). Filter bar reuses
     category-chips (.bchips) + blog-searchbar (.bsearchrow) — real categories +
     working ?s= search, no new chip/search definitions. Home only (archive.php keeps
     .bhead). */
  .rp-hero2{display:flex;gap:clamp(18px,2.4vw,32px);align-items:center;
    margin:14px 0 0;background:var(--card);border:1px solid #efe6da;border-radius:28px;
    padding:clamp(20px,2.8vw,38px);box-shadow:0 44px 84px -54px rgba(120,70,30,.55)}
  .rp-hero2__copy{flex:1.25 1 0;min-width:0;display:flex;flex-direction:column;justify-content:center}
  .rp-hero2__eyebrow{font-family:var(--font-display);font-weight:800;font-size:12px;
    letter-spacing:.14em;text-transform:uppercase;color:var(--accent-text);margin:0}
  .rp-hero2__h1{font-family:var(--font-display);font-weight:800;
    font-size:clamp(29px,3.9vw,45px);line-height:1.06;letter-spacing:-.025em;
    color:var(--ink);margin:10px 0 0}
  /* FIX2: compact H1 for paged listing pages (page/2+). No hero/calc. */
  .rp-paged-title{font-family:var(--font-display);font-weight:800;
    font-size:clamp(20px,3vw,30px);line-height:1.1;letter-spacing:-.02em;
    color:var(--ink);margin:12px 0 8px}
  .rp-hero2__sub{font-family:var(--font-body);font-weight:500;
    font-size:clamp(15px,1.3vw,18px);line-height:1.5;color:var(--ink-soft);
    max-width:470px;margin:12px 0 0}

  /* calculator teaser — fields decorative, button opens lead popup */
  .rp-hero2__calc{margin-top:clamp(16px,1.8vw,22px);background:var(--accent-wash);
    border:1px solid #eee3d6;border-radius:18px;padding:15px 16px 16px}
  /* heading = article calc h2 exactly: Onest 800, dense/tight tracking */
  .rp-hero2__calc-label{display:flex;align-items:center;gap:7px;margin:0 0 12px;
    font-family:var(--font-display);font-weight:800;font-size:22px;
    letter-spacing:-.02em;line-height:1.1;text-transform:none;color:var(--ink)}
  .rp-hero2__calc-label svg,.rp-hero2__calc-btn svg,.rp-hero2__note svg{flex:none}
  .rp-hero2__fields{display:flex;align-items:flex-end;gap:10px}
  .rp-hero2__field{display:flex;flex-direction:column;gap:5px;flex:1 1 0;min-width:0}
  .rp-hero2__field>span{font-family:var(--font-body);font-weight:600;font-size:12px;color:var(--ink-faint)}
  .rp-hero2__field input{height:46px;width:100%;background:#fff;border:1.5px solid #ece0d2;
    border-radius:11px;padding:0 13px;font-family:var(--font-body);font-size:15px;color:var(--ink)}
  .rp-hero2__field input::placeholder{color:#b8a895}
  .rp-hero2__field input:focus{outline:none;border-color:var(--accent)}
  .rp-hero2__w{flex:0 0 96px}
  .rp-hero2__calc-btn{flex:none;display:inline-flex;align-items:center;gap:7px;height:46px;
    padding:0 18px;border:0;border-radius:11px;cursor:pointer;font-family:var(--font-display);
    font-weight:700;font-size:15px;color:#fff;background:linear-gradient(180deg,#ff9c68 0%,#d16537 100%);
    box-shadow:0 6px 16px rgba(209,101,55,.30);transition:transform .12s,box-shadow .12s}
  .rp-hero2__calc-btn:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(209,101,55,.40);color:#fff;text-decoration:none}
  .rp-hero2__calc-btn:active{transform:translateY(0)}
  .rp-hero2__note{margin:11px 0 0;
    font-family:var(--font-body);font-weight:500;font-size:13px;line-height:1.45;color:var(--ink-soft)}

  /* fleet photo — full-height media block that stretches to the copy column's
     height (align-items:stretch) so both columns read as ONE band with no white
     gap. No hard border (it made the shorter panel read as a framed picture);
     object-fit:cover fills the block, trimming only ~6% off the lineup ends. */
  .rp-hero2__media{flex:1 1 0;min-width:0;aspect-ratio:1/1;border-radius:22px;overflow:hidden;
    background:#f7f1ea;box-shadow:0 18px 40px -28px rgba(120,70,30,.45)}
  .rp-hero2__media img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
  .rp-hero2__media-ph{width:100%;height:100%;min-height:312px;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:12px;color:var(--accent-ink);
    background:linear-gradient(135deg,#faf2ea 0%,#f4ece2 100%)}
  .rp-hero2__media-ph span{font-family:var(--font-display);font-weight:700;font-size:14px;
    letter-spacing:.02em;color:var(--ink-soft)}

  /* FILTER BAR: real-category chips (left) + working search (right) */
  .rp-filter2{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:22px 0 0}
  .rp-filter2 .bchips{flex:1 1 320px;min-width:0;margin:0}
  .rp-filter2 .bsearchrow{flex:0 0 auto;width:clamp(220px,28vw,280px);margin:0;max-width:none}

  @media(max-width:900px){
    .rp-hero2{flex-direction:column;align-items:stretch;gap:18px}
    .rp-hero2__media{display:none}
  }
  @media(max-width:620px){
    .rp-hero2{border-radius:20px}
    .rp-hero2__fields{flex-direction:column;align-items:stretch}
    .rp-hero2__w{flex:1 1 auto}
    .rp-hero2__calc-btn{width:100%;justify-content:center}
    .rp-hero2__brk{display:none}
    .rp-filter2{gap:12px}
    .rp-filter2 .bchips{flex-basis:100%;flex-wrap:nowrap;overflow-x:auto;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;-ms-overflow-style:none;padding-bottom:2px}
    .rp-filter2 .bchips::-webkit-scrollbar{display:none}
    .rp-filter2 .bsearchrow{flex-basis:100%;width:100%}
  }
