/* Huntington Beach Super Mobile Mechanic v3 homepage */
body.site-page main.hbm{width:100% !important;max-width:none;margin:0}
.hbm{--ink:#141d20;--muted:#536267;--accent:#2d6977;--accent2:#9b5d38;--soft:#eaf2f4;--line:#dce2e5;--dark:#101d22;
  color:var(--ink);font-size:1.05rem;line-height:1.66}
.hbm h2{font-size:clamp(1.45rem,3vw,2rem);line-height:1.2;margin:1.7em 0 .5em}
.hbm p{margin:.8em 0}
.hbm a{color:var(--accent)}

.hb-hero{background:linear-gradient(180deg,var(--soft) 0%,#f8fbfc 100%);padding:64px 24px 58px;border-bottom:1px solid var(--line)}
.hb-hero-grid{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.hb-kick{text-transform:uppercase;letter-spacing:.13em;font-size:.76rem;color:var(--accent);font-weight:700;margin:0 0 12px}
.hb-hero h1{font-size:clamp(1.9rem,4vw,2.7rem);line-height:1.1;margin:0 0 14px}
.hb-sub{font-size:1.16rem;color:var(--muted);margin:0 0 24px}
.hb-note{font-size:.93rem;color:var(--muted);margin-top:14px}
.hb-hero-pic img{width:100%;max-height:430px;object-fit:cover;border-radius:16px;box-shadow:0 20px 50px rgba(16,29,34,.18)}

.hb-call{display:inline-block;background:var(--accent);color:#fff !important;text-decoration:none;
  font-weight:700;font-size:1.28rem;padding:15px 34px;border-radius:999px}
.hb-call:hover{background:#225461}
.hb-call-lg{font-size:1.55rem;padding:18px 44px}

.hb-wrap{max-width:780px;margin:0 auto;padding:26px 24px 6px}

.hb-myths .hb-myth{border-left:4px solid var(--accent2);background:#fff;border-radius:0 10px 10px 0;
  padding:16px 20px;margin:16px 0;box-shadow:0 4px 14px rgba(16,29,34,.05)}
.hb-m{font-weight:700;margin:0 0 6px;color:var(--accent2)}
.hb-t{margin:0;color:var(--ink)}

.hb-band{background:var(--dark);padding:44px 24px;margin:48px 0}
.hb-band-in{max-width:780px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.hb-band-in p{color:#e8f0f2;font-size:1.3rem;font-weight:700;margin:0}

.hb-svc{margin:18px 0;border-top:1px solid var(--line)}
.hb-svc-row{display:grid;grid-template-columns:230px 1fr;gap:16px;padding:14px 4px;border-bottom:1px solid var(--line);align-items:baseline}
.hb-svc-row a{font-weight:700;text-decoration:none}
.hb-svc-row span{color:var(--muted);font-size:.98rem}

.hb-trio{max-width:1080px;margin:44px auto;padding:0 24px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}
.hb-trio img{width:100%;height:300px;object-fit:cover;border-radius:12px}

.hb-faqband{background:var(--soft);padding:40px 0 56px;margin-top:48px}
.hb-faqband h3{font-size:1.08rem;margin:1.5em 0 .3em}
.hb-faqband p{color:var(--muted);margin:.2em 0}

.hb-close{text-align:center;padding:64px 24px}
.hb-close h2{margin-top:0}
.hb-close p{max-width:40em;margin-left:auto;margin-right:auto}

@media (max-width:760px){
  .hb-hero-grid{grid-template-columns:1fr;gap:26px}
  .hb-trio{grid-template-columns:1fr;gap:12px}
  .hb-trio img{height:240px}
  .hb-svc-row{grid-template-columns:1fr;gap:4px}
  .hb-call-lg{font-size:1.3rem;padding:16px 32px}
}

/* ===== v3.1 polish: content image alignment + rhythm (2026-07-03) =====
   Fixes platform rule `body.site-page figure{margin:0}` out-specifying site
   figure classes (left-anchored images), oversized portrait images, and
   excessive vertical spacing. Append AFTER site css; idempotent by marker. */
figure[class$="-ph"],figure[class$="-photo"],figure[class$="-fig"],
figure.vnp-pic,figure.srp-pic,figure.pxp-pic,figure.hbp-cardpic,figure.sr-wide{
 max-width:720px !important;margin:24px auto !important;padding:0 20px !important;
 box-sizing:border-box;float:none;clear:both}
figure[class$="-ph"] img,figure[class$="-photo"] img,figure[class$="-fig"] img,
figure.vnp-pic img,figure.srp-pic img,figure.pxp-pic img,figure.hbp-cardpic img,figure.sr-wide img{
 width:100% !important;display:block;max-height:480px;object-fit:cover}
body main[class] h2{margin-top:30px}
main[class] section>h2:first-child,main[class] div>h2:first-child{margin-top:0}
body main[class] p{margin-top:12px;margin-bottom:12px}
main[class] section[class*="-sec"]{margin-top:32px}
