/* CarHelpMate v5.1 — Forum page derived strictly from v5.0 Home Reference. */
body.chm-v5-forum-page{background:#f2f4f7!important}
.chm-v5-forum{
  --v5-ink:#14243a;--v5-muted:#64748b;--v5-soft:#f5f8fc;--v5-line:#dfe7f0;
  --v5-blue:#0b63ad;--v5-blue-dark:#084e8c;--v5-blue-soft:#edf6ff;--v5-card:#fff;
  --v5-shadow:0 16px 42px rgba(31,60,92,.075);
  max-width:1440px;margin:0 auto;padding:0 24px 44px;color:var(--v5-ink);
  font-family:"Inter","Golos Text",system-ui,sans-serif;
}
.chm-v5-forum *{box-sizing:border-box}.chm-v5-forum a{text-decoration:none}
/* Same header geometry as v5 home is inherited through chm-v5-home-page on body. */
.chm-v5-forum-hero{position:relative;min-height:292px;margin:0 -24px 24px;overflow:hidden;display:grid;grid-template-columns:minmax(0,.96fr) minmax(460px,1.04fr);background:#fbfdff;border-bottom:1px solid #e9eff5}
.chm-v5-forum-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;padding:38px 24px 36px 64px}
.chm-v5-forum-kicker{display:inline-flex;align-items:center;gap:8px;width:max-content;margin-bottom:12px;color:#60748b;font:800 12px/1 "Manrope","Inter",sans-serif;letter-spacing:.16em;text-transform:uppercase}
.chm-v5-forum-kicker:before{content:"";width:28px;height:2px;border-radius:999px;background:#2f91e3}
.chm-v5-forum-hero h1{max-width:700px;margin:0;color:#10223a;font-family:"DM Serif Display",Georgia,serif!important;font-size:clamp(44px,4vw,62px)!important;line-height:1.04!important;letter-spacing:-.032em!important;font-weight:400!important}
.chm-v5-forum-lead{max-width:660px;margin:14px 0 0;color:#53667d;font-size:15px;line-height:1.62}
.chm-v5-forum-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.chm-v5-forum-actions .forum-btn{min-height:44px!important;padding:0 19px!important;border-radius:12px!important;font:750 12.5px/1 "Manrope","Inter",sans-serif!important}
.chm-v5-forum-hero-stats{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid #e7edf4;max-width:610px}.chm-v5-forum-hero-stat{min-width:96px}.chm-v5-forum-hero-stat b{display:block;color:#162c48;font:800 18px/1.1 "Manrope","Inter",sans-serif}.chm-v5-forum-hero-stat span{display:block;margin-top:4px;color:#7a899b;font-size:12px;line-height:1.3}
.chm-v5-forum-hero-media{position:relative;min-height:292px;background:url("chm-hero-road.webp") center 57%/cover no-repeat}.chm-v5-forum-hero-media:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fbfdff 0%,rgba(251,253,255,.88) 10%,rgba(251,253,255,.18) 34%,rgba(251,253,255,0) 52%)}
.chm-v5-forum-hero-badge{position:absolute;right:30px;bottom:24px;padding:12px 14px;border:1px solid rgba(255,255,255,.78);border-radius:14px;background:rgba(255,255,255,.82);backdrop-filter:blur(10px);box-shadow:0 12px 30px rgba(32,56,80,.12);color:#53667d;font-size:11.5px;line-height:1.45}.chm-v5-forum-hero-badge b{display:block;color:#173454;font:800 12.5px/1.3 "Manrope","Inter",sans-serif;margin-bottom:3px}
.chm-v5-forum-grid{display:grid;grid-template-columns:minmax(0,1fr) 322px;gap:18px;align-items:start}.chm-v5-forum-main{display:grid;gap:18px}.chm-v5-forum-aside{display:grid;gap:16px;position:sticky;top:80px}
.chm-v5-forum-card{background:#fff;border:1px solid var(--v5-line);border-radius:18px;box-shadow:var(--v5-shadow);overflow:hidden}.chm-v5-forum-pad{padding:22px}
.chm-v5-forum-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.chm-v5-forum-section-title span{display:block;color:#3c85bf;font:800 11px/1 "Manrope","Inter",sans-serif;letter-spacing:.1em;text-transform:uppercase;margin-bottom:7px}.chm-v5-forum-section-title h2{margin:0;color:#152a45;font:800 25px/1.15 "Manrope","Inter",sans-serif!important;letter-spacing:-.025em!important}.chm-v5-forum-section-title p{margin:7px 0 0;color:#708095;font-size:13px;line-height:1.5}
.chm-v5-forum-cats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chm-v5-forum-cat{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;min-height:86px;padding:13px 14px;border:1px solid #e0e8f0;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfdff);transition:.18s ease}.chm-v5-forum-cat:hover,.chm-v5-forum-cat.active{border-color:#bdd4e8;box-shadow:0 9px 22px rgba(36,76,116,.07);transform:translateY(-1px)}.chm-v5-forum-cat.active{background:#f4f9ff}.chm-v5-forum-cat-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#eef6fd;color:#0c64ad;border:1px solid #e1edf8}.chm-v5-forum-cat b{display:block;color:#1c334e;font:800 13.5px/1.3 "Manrope","Inter",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-v5-forum-cat small{display:block;margin-top:4px;color:#7d8b9c;font-size:11px;line-height:1.3}
.chm-v5-forum-filter{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(150px,.8fr) minmax(140px,.7fr) minmax(140px,.7fr) auto;gap:9px;align-items:center}.chm-v5-forum-field{position:relative}.chm-v5-forum-field>svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#8090a3;pointer-events:none}.chm-v5-forum input,.chm-v5-forum select{width:100%;height:43px;border:1px solid #d9e3ed;border-radius:11px;background:#fff;color:#344a64;font:600 12.5px/1 "Inter","Golos Text",sans-serif!important;outline:none}.chm-v5-forum input{padding:0 13px 0 38px}.chm-v5-forum select{padding:0 36px 0 12px}.chm-v5-forum input:focus,.chm-v5-forum select:focus{border-color:#9fc5e6;box-shadow:0 0 0 3px rgba(29,116,185,.08)}.chm-v5-forum-filter .forum-btn{height:43px!important;border-radius:11px!important;font:750 12px/1 "Manrope","Inter",sans-serif!important}
.chm-v5-forum-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;padding-top:12px;border-top:1px solid #edf1f5}.chm-v5-forum-chip{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid #e0e8f0;border-radius:999px;background:#fbfdff;color:#65778d;font:700 11px/1 "Manrope","Inter",sans-serif}.chm-v5-forum-chip:hover,.chm-v5-forum-chip.active{border-color:#bcd5e9;background:#edf6ff;color:#0b63ad}.chm-v5-forum-chip.success.active{background:#eefaf4;border-color:#c8ead7;color:#198754}.chm-v5-forum-chip.danger.active{background:#fff3f3;border-color:#f3d0d0;color:#c94444}
.chm-v5-forum-results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:20px 22px 15px;border-bottom:1px solid #edf1f5}.chm-v5-forum-results-head h2{margin:0;color:#152a45;font:800 22px/1.2 "Manrope","Inter",sans-serif!important}.chm-v5-forum-results-head p{margin:5px 0 0;color:#7b899a;font-size:12px}.chm-v5-forum-reset{display:inline-flex;align-items:center;gap:5px;color:#65778d;font:700 11.5px/1 "Manrope","Inter",sans-serif}.chm-v5-forum-reset:hover{color:#0b63ad}
.chm-v5-forum-topics{padding:0 22px}.chm-v5-forum-topic{display:grid;grid-template-columns:42px minmax(0,1fr) 88px 76px 130px;gap:12px;align-items:center;min-height:82px;padding:13px 0;border-bottom:1px solid #edf1f5}.chm-v5-forum-topic:last-child{border-bottom:0}.chm-v5-forum-topic:hover .chm-v5-forum-topic-title{color:#0b63ad}.chm-v5-forum-avatar .forum-avatar{width:38px!important;height:38px!important;border-radius:50%!important}.chm-v5-forum-topic-copy{min-width:0}.chm-v5-forum-topic-badges{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:5px}.chm-v5-forum-mini-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:999px;background:#f3f7fb;color:#66788e;font:700 9.5px/1 "Manrope","Inter",sans-serif}.chm-v5-forum-mini-badge.solved{background:#eefaf4;color:#198754}.chm-v5-forum-mini-badge.urgent{background:#fff3f3;color:#c94444}.chm-v5-forum-topic-title{display:block;color:#1c334e;font:750 14px/1.38 "Manrope","Inter",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-v5-forum-topic-meta{display:block;margin-top:4px;color:#7d8b9c;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-v5-forum-metric{text-align:center}.chm-v5-forum-metric b{display:block;color:#263b54;font:800 13px/1 "Manrope","Inter",sans-serif}.chm-v5-forum-metric small{display:block;margin-top:4px;color:#98a3b0;font-size:10px}.chm-v5-forum-last{min-width:0}.chm-v5-forum-last b{display:block;color:#53667d;font:700 11px/1.3 "Manrope","Inter",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-v5-forum-last small{display:block;margin-top:3px;color:#98a3b0;font-size:10px;white-space:nowrap}.chm-v5-forum-empty{padding:42px 22px;text-align:center;color:#718196;font-size:13px}
.chm-v5-forum-aside-card{padding:19px}.chm-v5-forum-aside h3{margin:0;color:#19334f;font:800 16px/1.3 "Manrope","Inter",sans-serif!important}.chm-v5-forum-aside p{margin:7px 0 0;color:#718196;font-size:12px;line-height:1.5}.chm-v5-forum-aside-list{display:grid;gap:6px;margin-top:13px}.chm-v5-forum-aside-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:10px;color:#5d7087;font:700 11.5px/1.25 "Manrope","Inter",sans-serif}.chm-v5-forum-aside-link:hover,.chm-v5-forum-aside-link.active{background:#edf6ff;color:#0b63ad}.chm-v5-forum-aside-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-v5-forum-aside-link small{flex:none;color:#98a3b0;font:700 10px/1 "Inter",sans-serif}.chm-v5-forum-create{background:linear-gradient(145deg,#f3f9ff,#fff 64%);border-color:#d6e6f4}.chm-v5-forum-create .forum-btn{width:100%;margin-top:14px;height:43px!important;border-radius:11px!important;font:750 12px/1 "Manrope","Inter",sans-serif!important}
/* Reuse pagination but align it to v5 typography/spacing. */
.chm-v5-forum .forum-pagination{padding:16px 22px!important;border-top:1px solid #edf1f5!important}.chm-v5-forum .forum-pagination a,.chm-v5-forum .forum-pagination span{font-family:"Manrope","Inter",sans-serif!important;font-size:11.5px!important}
@media(max-width:1120px){.chm-v5-forum-grid{grid-template-columns:minmax(0,1fr) 290px}.chm-v5-forum-filter{grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(130px,.7fr)) auto}.chm-v5-forum-filter select[name="type"]{display:none}.chm-v5-forum-topic{grid-template-columns:42px minmax(0,1fr) 70px 70px}.chm-v5-forum-last{display:none}}
@media(max-width:900px){.chm-v5-forum{padding-left:16px;padding-right:16px}.chm-v5-forum-hero{margin-left:-16px;margin-right:-16px;grid-template-columns:1fr;min-height:470px}.chm-v5-forum-hero-copy{padding:34px 28px 230px}.chm-v5-forum-hero-media{position:absolute;left:0;right:0;bottom:0;height:240px;min-height:0}.chm-v5-forum-hero-media:before{background:linear-gradient(180deg,#fbfdff 0%,rgba(251,253,255,.76) 16%,rgba(251,253,255,0) 52%)}.chm-v5-forum-hero-badge{display:none}.chm-v5-forum-grid{grid-template-columns:1fr}.chm-v5-forum-aside{position:static;grid-template-columns:1fr 1fr}.chm-v5-forum-create{grid-column:1/-1}.chm-v5-forum-filter{grid-template-columns:1fr 1fr}.chm-v5-forum-field{grid-column:1/-1}.chm-v5-forum-filter .forum-btn{width:100%}}
@media(max-width:680px){.chm-v5-forum{padding:0 12px 80px}.chm-v5-forum-hero{margin-left:-12px;margin-right:-12px;min-height:430px;margin-bottom:16px}.chm-v5-forum-hero-copy{padding:28px 18px 205px}.chm-v5-forum-kicker{font-size:10px}.chm-v5-forum-hero h1{font-size:38px!important}.chm-v5-forum-lead{font-size:13.5px}.chm-v5-forum-hero-stats{gap:15px}.chm-v5-forum-hero-stat b{font-size:16px}.chm-v5-forum-hero-stat span{font-size:10.5px}.chm-v5-forum-hero-media{height:215px}.chm-v5-forum-pad{padding:15px}.chm-v5-forum-section-head{align-items:flex-start;flex-direction:column}.chm-v5-forum-section-title h2{font-size:21px!important}.chm-v5-forum-cats{grid-template-columns:1fr}.chm-v5-forum-cat:nth-child(n+7){display:none}.chm-v5-forum-filter{grid-template-columns:1fr}.chm-v5-forum-field{grid-column:auto}.chm-v5-forum-filter select[name="type"]{display:block}.chm-v5-forum-results-head{padding:16px}.chm-v5-forum-results-head h2{font-size:19px!important}.chm-v5-forum-topics{padding:0 16px}.chm-v5-forum-topic{grid-template-columns:38px minmax(0,1fr);min-height:72px;padding:11px 0}.chm-v5-forum-metric,.chm-v5-forum-last{display:none}.chm-v5-forum-topic-title{font-size:13px}.chm-v5-forum-topic-meta{font-size:10.5px}.chm-v5-forum-aside{grid-template-columns:1fr}}
