/* Блог, запись, простые страницы — макеты Blog*, Post*, Page* (2026-12-04). Разметка — inc/fsm-blog.php, home/archive/single/page.php. */
.fb{padding:20px 16px 8px;color:var(--fd-ink)}
.fb a{text-decoration:none}
.fb-h1row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px}
.fb-h1row h1{margin:0;font-size:32px;line-height:40px;font-weight:800;color:var(--fd-ink)}
.fb-h1row span{flex:none;font-size:14px;color:var(--fd-mut)}
.fb-im{aspect-ratio:3/2;border-radius:12px;background:linear-gradient(135deg,#e5e9f2,#cfd6ea);display:flex;align-items:center;justify-content:center;color:#8a92ad;overflow:hidden;flex:none}
.fb-im img{width:100%;height:100%;object-fit:cover;display:block}
.fb-im--wide{aspect-ratio:16/9}
.fb-m{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;line-height:18px;color:var(--fd-mut)}
.fb-m span+span::before{content:"·";margin-right:8px;color:#8a92ad}
.fb-m__cat{color:var(--fd-act);font-weight:600}
.fb-feat{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:center;background:#fff;border-radius:14px;padding:16px;color:var(--fd-ink);margin-bottom:12px}
.fb-feat h2{margin:8px 0;font-size:28px;line-height:36px;color:var(--fd-ink)}
.fb-feat p{margin:0 0 12px;font-size:15px;line-height:24px;color:#3a4363}
.fb-rd{font-weight:600;color:var(--fd-act)}
.fb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fb-grid:empty{display:none}
.fb-card{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:14px;padding:12px;color:var(--fd-ink)}
.fb-card[hidden]{display:none}
.fb-card .fb-t{padding:0 4px 4px}
.fb-card h3{margin:8px 0 4px;font-size:17px;line-height:24px;color:var(--fd-ink)}
.fb-card p{margin:0;font-size:14px;line-height:22px;color:var(--fd-mut);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fb-feat:hover h2,.fb-card:hover h3{color:var(--fd-act)}
.fb-more{margin-top:12px;height:48px;width:100%;border:1px solid var(--fd-act);border-radius:10px;background:#fff;color:var(--fd-act);font:inherit;font-weight:600;font-size:15px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.fb-more span{font-weight:500;color:var(--fd-mut)}
.fb-more[hidden]{display:none}
.fb-empty{color:var(--fd-mut)}
/* запись */
.fb-ph1 h1{margin:8px 0 0;font-size:32px;line-height:40px;font-weight:800;color:var(--fd-ink)}
.fb-pgrid2{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.fb-art{background:#fff;border-radius:14px;padding:24px;font-size:16px;line-height:26px;color:#3a4363;min-width:0}
.fb-art .fb-im--wide{margin:24px 0}
.fb-body>*{max-width:760px}
.fb-body>*:first-child{margin-top:0}
.fb-body>*:last-child{margin-bottom:0}
.fb-body p{margin:0 0 12px}
.fb-art--post .fb-body>p:first-child{font-size:18px;line-height:28px;color:var(--fd-ink)}
.fb-body h2{margin:24px 0 12px;font-size:22px;line-height:30px;color:var(--fd-ink);scroll-margin-top:90px}
.fb-body h3{margin:24px 0 8px;font-size:17px;line-height:24px;color:var(--fd-ink)}
.fb-body ol{margin:0 0 12px;padding-left:24px}
.fb-body ol li{margin-bottom:8px}
.fb-body ol li::marker{color:var(--fd-act);font-weight:700}
.fb-body ul{margin:0 0 12px;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.fb-body ul li{position:relative;padding-left:28px}
.fb-body ul li::before{content:"";position:absolute;left:0;top:5px;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23066fef%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14.7 6.3a4 4 0 0 0-5.2 5.2L3.6 17.4a1.4 1.4 0 0 0 2 2l5.9-5.9a4 4 0 0 0 5.2-5.2l-2.4 2.4-2-2z%27/%3E%3C/svg%3E") no-repeat center/16px}
.fb-body a{color:var(--fd-act);text-decoration:underline;text-decoration-color:#a6c8fb;text-underline-offset:3px}
.fb-body img{max-width:100%;height:auto;border-radius:12px}
.fb-body figure{margin:24px 0}
.fb-body figcaption{margin-top:8px;font-size:13px;line-height:18px;color:var(--fd-mut)}
.fb-body table{width:100%;border-collapse:collapse;margin:0 0 12px;font-size:15px}
.fb-body td,.fb-body th{padding:10px 12px;border-top:1px solid #eef0f6;text-align:left}
.fb-body blockquote{margin:24px 0 12px;padding:16px;border:1px solid var(--fd-line);border-radius:12px;color:var(--fd-ink)}
.fb-aside{display:flex;flex-direction:column;gap:12px;position:sticky;top:16px}
.fb-toc{background:#fff;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:4px}
.fb-toc b{font-size:11px;line-height:16px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--fd-mut);margin-bottom:8px}
.fb-toc a{padding:6px 0 6px 12px;border-left:2px solid var(--fd-line);font-size:14px;line-height:20px;color:var(--fd-ink)}
.fb-toc a:hover,.fb-toc a.on{border-left-color:var(--fd-act);color:var(--fd-act)}
.fb-toc--m{display:none}
/* «Запчасти по теме» (макет PostDesktop) */
.fb-tps{background:#fff;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px}
.fb-tps b{font-size:11px;line-height:16px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--fd-mut)}
.fb-tps a{height:44px;padding:0 12px;border-radius:10px;background:var(--fd-bg);display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;font-weight:600;color:var(--fd-ink);text-decoration:none}
.fb-tps a:hover{color:var(--fd-act)}
.fb-tps a i{font-style:normal;font-weight:500;font-size:13px;color:#1f7a3a}
.fb-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}
.fb-head h2{margin:0;font-size:20px;line-height:28px;color:var(--fd-ink)}
/* страница */
.fb-pgrid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.fb-side{background:#fff;border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:4px;position:sticky;top:16px}
.fb-side a{height:44px;padding:0 12px;border-radius:10px;display:flex;align-items:center;font-size:15px;font-weight:600;color:var(--fd-ink)}
.fb-side a:hover{background:var(--fd-bg)}
.fb-side a.on{background:var(--fd-blue);color:#fff}
.fb-art--page{font-size:15px;line-height:24px}
.fb-art--page .fb-body>*{max-width:800px}
.fb-art--page .fb-lead{font-size:17px;line-height:26px;color:var(--fd-ink);margin:0 0 12px}
.fb-art--page .fb-body h2{font-size:20px;line-height:28px}
.fb-art--page .fb-body h3{font-size:16px;line-height:22px;margin:24px 0 12px}
.fb-pnav{display:none}
@media (max-width:1024px){
  .fb-pgrid2{grid-template-columns:minmax(0,1fr)}
  .fb-aside{position:static}
  .fb-aside .fb-toc{display:none}
  .fb-toc--m{display:block;margin:0 0 16px;padding:12px 16px;border:1px solid var(--fd-line);border-radius:12px;background:#fff}
  .fb-toc--m summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--fd-ink)}
  .fb-toc--m a{display:block;padding:6px 0 6px 12px;border-left:2px solid var(--fd-line);font-size:14px;line-height:20px;color:var(--fd-ink);text-decoration:none}
  .fb-toc--m[open] summary{margin-bottom:8px}
}
@media (max-width:860px){
  .fb{padding:16px 16px 4px}
  .fb-h1row h1,.fb-ph1 h1{font-size:24px;line-height:32px}
  .fb-feat{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}
  .fb-feat h2{font-size:20px;line-height:28px}
  .fb-grid{grid-template-columns:minmax(0,1fr)}
  /* телефон — строкой: маленькое фото слева, без описания (макет BlogPhone) */
  .fb-card{flex-direction:row;align-items:center;gap:12px}
  .fb-card .fb-im{width:112px;border-radius:10px}
  .fb-card .fb-t{padding:0;min-width:0}
  .fb-card h3{margin:4px 0 0;font-size:15px;line-height:20px}
  .fb-card p{display:none}
  .fb-art{padding:16px}
  .fb-art--post .fb-body>p:first-child{font-size:17px;line-height:26px}
  .fb-pgrid{grid-template-columns:minmax(0,1fr)}
  .fb-side{display:none}
  .fb-pnav{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px 12px;padding:0 16px}
  .fb-pnav::-webkit-scrollbar{display:none}
  .fb-pnav a{flex:none;height:40px;padding:0 14px;border-radius:20px;background:#fff;border:1px solid var(--fd-line);color:var(--fd-ink);display:flex;align-items:center;font-size:14px;font-weight:600;white-space:nowrap}
  .fb-pnav a.on{background:var(--fd-blue);border-color:var(--fd-blue);color:#fff}
}
/* «Доставка и оплата» (page-dostavka.php) по макету Page*: две колонки, плашки «i Инфо» / «! Важно» как в макете */
.fb-sec2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.fb-sec h2{margin-top:24px}
.fb-sec2 .fb-sec h2,.fb-body>.fb-sec2:first-child .fb-sec h2{margin-top:8px}
.fb-note{position:relative;margin:24px 0 12px;padding:16px 16px 12px;border:1px solid var(--fd-line);border-radius:12px}
.fb-note>b{position:absolute;top:-10px;left:12px;height:20px;padding:0 8px;border-radius:6px;background:var(--fd-act);color:#fff;font-size:11px;line-height:20px;letter-spacing:.5px;text-transform:uppercase}
.fb-note p{margin:0}
.fb-note--warn{border-color:#f5c08c}
.fb-note--warn>b{background:#f28c28;color:#00095b}
.fb-body .regions{margin-top:8px}
.fb-body .regions ul{display:block;margin:8px 0 0 16px;list-style:disc}
.fb-body .regions li{padding-left:0}
.fb-body .regions li::before{content:none}
.fb-body .regions details{border-radius:8px}
@media (max-width:860px){.fb-sec2{grid-template-columns:minmax(0,1fr);gap:0}}
/* Контакты (page/page-contacts.php, fsm_contacts_block) — как «Как нас найти» в подвале */
.fb-cont__tl{display:flex;flex-direction:column;border-top:1px solid #eef0f6;max-width:480px}
.fb-cont__tl a{height:48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0f6;color:var(--fd-ink);font-size:17px;font-weight:700;text-decoration:none}
.fb-cont__tl a i{font-style:normal;font-size:13px;font-weight:500;color:var(--fd-mut)}
.fb-cont__msg{display:flex;flex-wrap:wrap;gap:8px}
.fb-cont__msg a{height:44px;padding:0 16px;border-radius:10px;display:flex;align-items:center;font-weight:600;font-size:15px;color:#fff;text-decoration:none}
.fb-cont__msg .tg{background:#229ed9}.fb-cont__msg .vb{background:#7360f2}
.fb-cont__msg .ml{background:#fff;border:1px solid var(--fd-line);color:var(--fd-act)}
.fb-kv{margin:0 0 12px;border:1px solid var(--fd-line);border-radius:12px;overflow:hidden;max-width:480px}
.fb-kv div{display:flex;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid #eef0f6}
.fb-kv div:first-child{border-top:0}
.fb-kv dt{color:var(--fd-mut)}.fb-kv dd{margin:0;font-weight:700;color:var(--fd-ink);text-align:right}
.fb-cont__route{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:10px;background:var(--fd-act);color:#fff!important;font-weight:600;text-decoration:none!important}
