/* CarHelpMate v5.0 — homepage reference only. No internal page selectors. */
.chm-v5-home{
  --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:#ffffff;
  --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-home *{box-sizing:border-box}
.chm-v5-home a{text-decoration:none}

/* Hero geometry and artwork are owned only by forum-v5-hero-canonical.css. */

/* Feature strip */
.chm-v5-feature-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.chm-v5-feature{display:flex;align-items:center;gap:13px;padding:15px 17px;background:rgba(255,255,255,.92);border:1px solid var(--v5-line);border-radius:14px;box-shadow:0 7px 20px rgba(31,64,104,.045)}
.chm-v5-feature-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:none;background:var(--v5-blue-soft);color:var(--v5-blue)}
.chm-v5-feature b{display:block;color:#203650;font:800 14px/1.3 "Manrope","Inter",sans-serif}
.chm-v5-feature small{display:block;margin-top:3px;color:#748397;font-size:12px;line-height:1.35}

/* Main grid */
.chm-v5-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}
.chm-v5-stack{display:grid;gap:18px}
.chm-v5-card{background:var(--v5-card);border:1px solid var(--v5-line);border-radius:18px;box-shadow:var(--v5-shadow);overflow:hidden}
.chm-v5-card-pad{padding:22px}
.chm-v5-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:17px}
.chm-v5-section-title{min-width:0}
.chm-v5-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-section-title h2{margin:0;color:#152a45;font:800 25px/1.15 "Manrope","Inter",sans-serif!important;letter-spacing:-.025em!important}
.chm-v5-section-title p{margin:7px 0 0;color:#708095;font-size:13px;line-height:1.5}
.chm-v5-all-link{display:inline-flex;align-items:center;gap:6px;flex:none;color:#216da9;font:750 12px/1 "Manrope","Inter",sans-serif}
.chm-v5-all-link:hover{color:#084f8b}

/* Categories */
.chm-v5-cat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.chm-v5-cat{display:grid;grid-template-columns:48px minmax(0,1fr);gap:13px;align-items:start;min-height:126px;padding:17px;border:1px solid #e0e8f0;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfdff);transition:.18s ease}
.chm-v5-cat:hover{transform:translateY(-2px);border-color:#bfd3e6;box-shadow:0 12px 26px rgba(36,76,116,.08)}
.chm-v5-cat-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eef6fd;color:#0c64ad;border:1px solid #e1edf8}
.chm-v5-cat-copy{min-width:0}
.chm-v5-cat h3{margin:1px 0 6px;color:#1c334e;font:800 15px/1.3 "Manrope","Inter",sans-serif!important;letter-spacing:-.015em!important}
.chm-v5-cat p{margin:0;color:#6d7d91;font-size:12.5px;line-height:1.48;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.chm-v5-cat-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;color:#8794a4;font-size:11.5px}
.chm-v5-cat-meta i{width:3px;height:3px;border-radius:50%;background:#a9b5c2;align-self:center}
.chm-v5-morecats{margin-top:13px;padding-top:13px;border-top:1px solid #edf1f5}
.chm-v5-morecats summary{cursor:pointer;list-style:none;color:#236fa9;font:750 12px/1.3 "Manrope","Inter",sans-serif}
.chm-v5-morecats summary::-webkit-details-marker{display:none}
.chm-v5-morecats[open] summary{margin-bottom:13px}

/* Latest topics */
.chm-v5-tabs{display:flex;gap:4px;padding:4px;border-radius:11px;background:#f2f6fa}
.chm-v5-tabs a{padding:7px 11px;border-radius:8px;color:#66788d;font:700 11.5px/1 "Manrope","Inter",sans-serif;white-space:nowrap}
.chm-v5-tabs a.active{background:#fff;color:#0b63ad;box-shadow:0 4px 10px rgba(31,64,104,.07)}
.chm-v5-topic-list{border-top:1px solid #edf1f5}
.chm-v5-topic{display:grid;grid-template-columns:42px minmax(0,1fr) 130px 64px;gap:12px;align-items:center;min-height:70px;padding:11px 3px;border-bottom:1px solid #edf1f5;transition:.15s ease}
.chm-v5-topic:last-child{border-bottom:0}
.chm-v5-topic:hover{background:#fbfdff}
.chm-v5-topic-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#f2f7fc;color:#1769ad;border:1px solid #e5edf5}
.chm-v5-topic-copy{min-width:0}
.chm-v5-topic-title{display:block;color:#1d334d;font:750 14px/1.38 "Manrope","Inter",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chm-v5-topic-meta{display:block;margin-top:5px;color:#7d8b9c;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chm-v5-topic-author{display:flex;align-items:center;gap:8px;min-width:0}
.chm-v5-topic-author .forum-avatar{width:30px!important;height:30px!important;border-radius:50%!important;flex:none}
.chm-v5-topic-author b{display:block;color:#4d5f74;font:700 11.5px/1.3 "Manrope","Inter",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chm-v5-topic-author small{display:block;margin-top:2px;color:#98a3b0;font-size:10.5px}
.chm-v5-topic-stat{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#738398;font-size:11.5px;white-space:nowrap}

/* Sidebar */
.chm-v5-aside{display:grid;gap:16px;position:sticky;top:80px}
.chm-v5-start{padding:20px;background:linear-gradient(145deg,#f3f9ff,#fff 64%);border-color:#d6e6f4}
.chm-v5-start-badge{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#e8f4ff;color:#0b63ad;margin-bottom:14px}
.chm-v5-start h3,.chm-v5-aside-title{margin:0;color:#19334f;font:800 17px/1.28 "Manrope","Inter",sans-serif!important;letter-spacing:-.015em!important}
.chm-v5-start p{margin:8px 0 16px;color:#68798d;font-size:12.5px;line-height:1.55}
.chm-v5-start select{width:100%;height:44px;padding:0 38px 0 13px;border:1px solid #d7e2ec;border-radius:11px;background:#fff;color:#40536a;font:600 12.5px/1 "Inter",sans-serif;outline:none}
.chm-v5-start button{width:100%;height:44px;margin-top:9px;border:0;border-radius:11px;background:linear-gradient(180deg,#176bb5,#0b579a);color:#fff;font:800 12.5px/1 "Manrope","Inter",sans-serif;cursor:pointer;box-shadow:0 10px 20px rgba(12,93,169,.16)}
.chm-v5-popular-head{display:flex;align-items:center;gap:9px;padding:19px 19px 12px}
.chm-v5-popular-head span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#f0f6fc;color:#1266aa}
.chm-v5-popular-list{padding:0 19px 14px}
.chm-v5-popular-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;padding:12px 0;border-top:1px solid #edf1f5}
.chm-v5-popular-item:first-child{border-top:0}
.chm-v5-popular-rank{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:#edf5fc;color:#1468aa;font:800 11px/1 "Manrope","Inter",sans-serif}
.chm-v5-popular-copy{min-width:0}
.chm-v5-popular-copy b{display:block;color:#2a3e57;font:750 12.5px/1.38 "Manrope","Inter",sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.chm-v5-popular-copy small{display:block;margin-top:4px;color:#8995a4;font-size:10.5px}
.chm-v5-stats{padding:19px}
.chm-v5-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.chm-v5-stat{padding:12px;border-radius:12px;background:#f7f9fc;border:1px solid #edf1f5}
.chm-v5-stat strong{display:block;color:#17314f;font:800 18px/1.1 "Manrope","Inter",sans-serif}
.chm-v5-stat span{display:block;margin-top:4px;color:#7e8b9b;font-size:11px}
.chm-v5-knowledge{display:block;padding:19px;background:linear-gradient(145deg,#112c49,#17476f);border-color:#17476f;color:#fff}
.chm-v5-knowledge-top{display:flex;align-items:center;gap:10px}
.chm-v5-knowledge-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.11)}
.chm-v5-knowledge h3{margin:0;color:#fff;font:800 16px/1.3 "Manrope","Inter",sans-serif!important}
.chm-v5-knowledge p{margin:10px 0 0;color:#d5e4f1;font-size:12px;line-height:1.55}
.chm-v5-knowledge-more{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:#fff;font:750 12px/1 "Manrope","Inter",sans-serif}

/* Responsive */
@media(max-width:1120px){
  .chm-v5-layout{grid-template-columns:minmax(0,1fr) 300px}
  .chm-v5-topic{grid-template-columns:42px minmax(0,1fr) 64px}.chm-v5-topic-author{display:none}
}
@media(max-width:900px){
  .chm-v5-home{padding-left:16px;padding-right:16px}
  .chm-v5-feature-strip{grid-template-columns:1fr}
  .chm-v5-layout{grid-template-columns:1fr}.chm-v5-aside{position:static;grid-template-columns:1fr 1fr}.chm-v5-knowledge{grid-column:1/-1}
}
@media(max-width:680px){
  .chm-v5-home{padding:0 12px 80px}
  .chm-v5-feature{padding:13px 14px}.chm-v5-feature b{font-size:13px}.chm-v5-feature small{font-size:11.5px}
  .chm-v5-card-pad{padding:16px}.chm-v5-section-head{align-items:flex-start;flex-direction:column;margin-bottom:14px}.chm-v5-section-title h2{font-size:21px!important}.chm-v5-section-title p{font-size:12px}
  .chm-v5-cat-grid{grid-template-columns:1fr}.chm-v5-cat{min-height:auto;padding:14px;grid-template-columns:43px minmax(0,1fr)}.chm-v5-cat-icon{width:43px;height:43px}.chm-v5-cat h3{font-size:14px!important}.chm-v5-cat p{font-size:12px}
  .chm-v5-tabs{width:100%;overflow:auto}.chm-v5-tabs a{flex:1;text-align:center;font-size:11px}
  .chm-v5-topic{grid-template-columns:38px minmax(0,1fr);min-height:66px;padding:10px 0}.chm-v5-topic-stat{display:none}.chm-v5-topic-icon{width:35px;height:35px}.chm-v5-topic-title{font-size:13px}.chm-v5-topic-meta{font-size:10.5px}
  .chm-v5-aside{grid-template-columns:1fr}
}

/* Homepage header/footer refinement only
   v9.0.5: keep the member homepage header identical to the guest/header component.
   Do not hard-code a second brand typography here: the canonical values come from
   the shared component/admin appearance variables. */
body.chm-v5-home-page .forum-topbar-inner{height:64px!important;min-height:64px!important;max-width:var(--chm-ui-page-max,1440px)!important;padding-left:var(--chm-ui-gutter,24px)!important;padding-right:var(--chm-ui-gutter,24px)!important}
body.chm-v5-home-page .forum-navlinks>a,body.chm-v5-home-page .forum-navlinks>button{height:40px!important;min-height:40px!important;padding-left:12px!important;padding-right:12px!important}
body.chm-v5-home-page .forum-top-search input{height:40px!important;font-family:"Inter",sans-serif!important;font-size:12.5px!important}
body.chm-v5-home-page .forum-icon-btn,body.chm-v5-home-page .forum-account-trigger{width:38px!important;height:38px!important}
body.chm-v5-home-page .forum-site-footer{margin-top:42px!important}
body.chm-v5-home-page .forum-footer-brand p{font-size:12.5px!important;line-height:1.55!important}
body.chm-v5-home-page .forum-footer-column>b{font-family:"Manrope","Inter",sans-serif!important;font-size:12.5px!important}
body.chm-v5-home-page .forum-footer-column>a{font-size:12px!important}
@media(max-width:820px){body.chm-v5-home-page .forum-topbar-inner{height:58px!important;min-height:58px!important;padding-left:var(--chm-ui-gutter-phone,10px)!important;padding-right:var(--chm-ui-gutter-phone,10px)!important}body.chm-v5-home-page .forum-brand-forum{display:none!important}}


/* v5.2 shared brand mark fix — remove legacy square/box around the logo on every v5 page. */
body.chm-v5-home-page .forum-brand .forum-site-logo{
  width:38px!important;height:38px!important;flex:0 0 38px!important;
  display:grid!important;place-items:center!important;
  border:0!important;border-radius:50%!important;overflow:hidden!important;
  background:transparent!important;box-shadow:none!important;transform:none!important;
}
body.chm-v5-home-page .forum-brand .forum-site-logo::after{display:none!important;content:none!important}
body.chm-v5-home-page .forum-brand .forum-site-logo-img{
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;
  object-fit:cover!important;object-position:center!important;border-radius:50%!important;
  clip-path:circle(49% at 50% 50%)!important;transform:none!important;background:transparent!important;
}
body.chm-v5-home-page .forum-brand:hover .forum-site-logo{transform:none!important;box-shadow:none!important}
@media(max-width:820px){body.chm-v5-home-page .forum-brand .forum-site-logo{width:34px!important;height:34px!important;flex-basis:34px!important}}
