/* YITM Build 2 device-repair hubs — scoped, mobile-first visual parity.
   Retains the shared YITM blue design system, old article structure,
   safe troubleshooting, image attribution and source-aware QuoteMe routes. */
body.repair-b2-page{--repair-b2-ink:#182a45;--repair-b2-blue:#24549b;--repair-b2-border:#cddfed;--repair-b2-muted:#415571}
body.repair-b2-page .hero.yitm-service-hero-shell{background:linear-gradient(180deg,#f3f8ff 0%,#fff 88%);padding:clamp(24px,4vw,52px) 0}
body.repair-b2-page .hero.yitm-service-hero-shell>.wrap{max-width:1150px;width:min(100% - 30px,1150px);margin-inline:auto;box-sizing:border-box}
body.repair-b2-page .hero .hero-grid{display:flex!important;flex-direction:column!important;gap:clamp(20px,4vw,36px)!important;align-items:stretch!important;grid-template-columns:minmax(0,1fr)!important}
body.repair-b2-page .hero .hero-grid>div:first-child{min-width:0;width:100%;max-width:920px;margin:0 auto;text-align:center}
body.repair-b2-page .hero .hero-h1{max-width:20ch;margin:12px auto 16px!important;color:var(--repair-b2-ink);font-size:clamp(2.25rem,5vw,3.8rem)!important;letter-spacing:-.028em;line-height:1.14!important;text-wrap:balance}
body.repair-b2-page .hero .hero-intro{max-width:74ch;margin:0 auto 18px!important;font-size:clamp(1.08rem,1.7vw,1.2rem);line-height:1.7;color:#31455c}
body.repair-b2-page .hero .yitm-human-note{max-width:76ch;margin:0 auto 20px!important;line-height:1.7}
body.repair-b2-page .hero .hero-ctas{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center!important;gap:12px!important;margin:18px auto 8px!important}
body.repair-b2-page .hero .hero-ctas .btn{min-height:52px;display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border-radius:12px;text-align:center;line-height:1.35}
body.repair-b2-page .repair-b2-text-link{display:inline-flex;align-items:center;min-height:48px;color:var(--repair-b2-blue);text-decoration:underline;text-underline-offset:4px;font-weight:700;padding:7px}
body.repair-b2-page .hero .hero-img-col{display:block!important;max-width:100%!important;width:min(100%,1050px)!important;margin:0 auto!important;min-width:0}
body.repair-b2-page .hero .hero-img-col .hero-img{display:block!important;max-width:100%!important;width:100%!important;height:auto!important;max-height:510px;object-fit:cover;object-position:center;border:1px solid var(--repair-b2-border);border-radius:20px!important;box-sizing:border-box}
body.repair-b2-page .hero .img-caption{max-width:86ch;margin:10px auto 0;text-align:center;font-size:.9rem;color:#52647a}
body.repair-b2-page.repair-b2-phone .hero .hero-copy{max-width:920px;margin:0 auto}
body.repair-b2-page.repair-b2-phone .hero .hero-copy .shared-panel,
body.repair-b2-page.repair-b2-phone .hero .hero-copy .reading-split{display:block!important;grid-template-columns:1fr!important;width:100%;max-width:100%}
body.repair-b2-page.repair-b2-phone .hero .hero-copy .reading-card--main{max-width:100%;width:100%;box-sizing:border-box}
body.repair-b2-page.repair-b2-phone .hero .local-identity,
body.repair-b2-page.repair-b2-phone .hero .answer-block{text-align:left;margin:10px auto;max-width:760px}
body.repair-b2-page .repair-b2-choices{padding:clamp(28px,4vw,52px) 0;border-block:1px solid #d8e5f2;background:#f4f9ff;color:var(--repair-b2-ink)}
body.repair-b2-page .repair-b2-choices>.wrap{width:min(100% - 30px,1140px);max-width:1140px;margin-inline:auto;box-sizing:border-box}
body.repair-b2-page .repair-b2-intro{max-width:790px;margin:0 0 24px}
body.repair-b2-page .repair-b2-eyebrow,.repair-b2-tag{font-size:.84rem;font-weight:750;color:#22538e;letter-spacing:.045em}
body.repair-b2-page .repair-b2-eyebrow{text-transform:uppercase;display:block;margin-bottom:8px}
body.repair-b2-page .repair-b2-intro h2{font-size:clamp(1.7rem,3vw,2.3rem);line-height:1.2;margin:0 0 10px;color:var(--repair-b2-ink);text-wrap:balance}
body.repair-b2-page .repair-b2-intro p{font-size:1.07rem;line-height:1.65;margin:0;color:var(--repair-b2-muted)}
body.repair-b2-page .repair-b2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
body.repair-b2-page .repair-b2-card{display:flex;flex-direction:column;min-width:0;box-sizing:border-box;padding:clamp(20px,2.7vw,28px);border:1px solid var(--repair-b2-border);border-radius:17px;background:#fff}
body.repair-b2-page .repair-b2-card--primary{border-color:#aac9e6;background:#fefeff;box-shadow:0 5px 16px rgba(29,69,125,.065)}
body.repair-b2-page .repair-b2-card h3{font-size:1.35rem;color:#17467d;line-height:1.3;margin:10px 0}
body.repair-b2-page .repair-b2-card p{line-height:1.65;color:#374b62;margin:0 0 20px;flex:1}
body.repair-b2-page .repair-b2-card a{display:inline-flex;align-self:stretch;align-items:center;justify-content:center;margin-top:auto;min-height:52px;border:2px solid #25539c;background:#fff;border-radius:12px;color:#1d4c92;padding:10px 15px;font-weight:700;text-align:center;text-decoration:none;line-height:1.35}
body.repair-b2-page .repair-b2-card--primary a{background:#2956a2;color:#fff}
body.repair-b2-page .repair-b2-card a:hover{background:#eaf3ff;color:#164478}
body.repair-b2-page .repair-b2-card--primary a:hover{background:#1c4588;color:#fff}
body.repair-b2-page .repair-b2-safety{line-height:1.65;color:#374960;border-left:4px solid #b78a2e;padding:8px 15px;margin:22px 0 0;max-width:100ch}
body.repair-b2-page a:focus-visible{outline:3px solid #a56b0b!important;outline-offset:4px!important}
body.repair-b2-page.repair-b2-computer .vm-hero{background:linear-gradient(180deg,#f3f8ff,#fff 88%);padding:clamp(25px,4vw,52px) clamp(16px,4vw,36px)}
body.repair-b2-page.repair-b2-computer .vm-hero>div:first-child{max-width:950px;margin:0 auto;text-align:center}
body.repair-b2-page.repair-b2-computer .vm-hero h1{font-size:clamp(2.2rem,5vw,3.6rem);line-height:1.12;max-width:19ch;margin:0 auto 15px;text-wrap:balance}
body.repair-b2-page.repair-b2-computer .vm-hero .vm-lead{max-width:75ch;margin:0 auto 18px;line-height:1.7}
body.repair-b2-page.repair-b2-computer .vm-hero .vm-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center;margin:18px auto}
body.repair-b2-page.repair-b2-computer .vm-hero .vm-btn{min-height:52px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
body.repair-b2-page.repair-b2-computer .vm-hero .vm-hero-img{max-width:1030px;width:100%;margin:24px auto 0}
body.repair-b2-page.repair-b2-computer .vm-hero .vm-hero-img img{width:100%;max-width:100%;height:auto;max-height:510px;object-fit:cover;border-radius:20px}
@media(max-width:850px){body.repair-b2-page .repair-b2-grid{grid-template-columns:1fr}}
@media(max-width:680px){
 body.repair-b2-page .hero .hero-ctas,body.repair-b2-page.repair-b2-computer .vm-hero .vm-actions{flex-direction:column!important;align-items:stretch!important}
 body.repair-b2-page .hero .hero-ctas .btn,body.repair-b2-page.repair-b2-computer .vm-hero .vm-btn{width:100%;max-width:100%;box-sizing:border-box}
 body.repair-b2-page .repair-b2-text-link{justify-content:center}
 body.repair-b2-page .hero .hero-img-col .hero-img,body.repair-b2-page.repair-b2-computer .vm-hero .vm-hero-img img{border-radius:14px!important}
 body.repair-b2-page .repair-b2-card{padding:20px}
}
