/* StudentsVidya V170 — visual/auth QA overrides */
.sv150-topbar .sv150-brand{gap:8px!important;min-width:250px!important}
.sv150-topbar .sv150-brand img{width:72px!important;height:48px!important;max-width:72px!important;object-fit:contain!important}
.sv150-topbar .sv150-brand span{color:#17233a!important;font-weight:900!important}
.sv150-topbar .sv150-brand span b{color:#4f25d0!important}
.sv150-topbar .sv150-brand span em{color:#ff530d!important;font-style:normal!important}
.sv150-actions{gap:7px!important;flex-wrap:wrap}
.sv150-actions a{white-space:nowrap!important}
.sv150-employer-login{background:#f5f7ff!important;color:#243b9f!important;border:1px solid #d9e0ff!important}
.sv150-employer-register{background:#fff!important;color:#4f25d0!important;border:1px solid #ddd5f7!important}

/* Keep the hero and the service rail visually connected and aligned. */
.sv148-hero.sv160-hero{max-width:1320px!important;margin:0 auto!important;padding:34px 28px 18px!important;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)!important;gap:18px!important;min-height:390px!important}
.sv148-hero-image.sv165-hero-media{height:330px!important;min-height:330px!important;padding:0!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.sv148-hero-image.sv165-hero-media img{width:100%!important;height:100%!important;max-width:620px!important;max-height:330px!important;object-fit:contain!important;object-position:center center!important;display:block!important}
.sv150-service-strip{width:min(1320px,calc(100% - 56px))!important;margin:0 auto 18px!important}
.sv150-service-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important}
.sv150-service-card{min-width:0!important}

@media(max-width:1050px){
 .sv150-topbar .sv150-brand{min-width:210px!important}
 .sv148-hero.sv160-hero{grid-template-columns:1fr!important;gap:4px!important;padding:26px 22px 10px!important;min-height:0!important}
 .sv148-hero-image.sv165-hero-media{height:255px!important;min-height:255px!important}
 .sv148-hero-image.sv165-hero-media img{height:100%!important;max-height:255px!important;object-fit:contain!important}
 .sv150-service-strip{width:calc(100% - 28px)!important}
 .sv150-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:700px){
 .sv150-topbar{min-height:62px!important;padding:6px 12px!important}
 .sv150-topbar .sv150-brand{min-width:0!important;gap:6px!important}
 .sv150-topbar .sv150-brand img{width:60px!important;height:40px!important;max-width:60px!important}
 .sv150-topbar .sv150-brand span{font-size:17px!important}
 .sv150-actions{display:flex!important;margin-left:auto!important;gap:5px!important}
 .sv150-actions a{padding:8px 9px!important;font-size:10px!important}
 .sv150-actions .sv150-employer-register{display:none!important}
 .sv148-hero.sv160-hero{padding:18px 14px 4px!important}
 .sv148-hero-image.sv165-hero-media{height:205px!important;min-height:205px!important}
 .sv148-hero-image.sv165-hero-media img{height:205px!important;max-height:205px!important;width:100%!important;object-fit:contain!important}
 .sv150-service-strip{width:calc(100% - 20px)!important;margin:0 auto 14px!important}
 .sv150-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .sv150-service-card{min-height:60px!important;padding:8px!important}
}
@media(max-width:430px){
 .sv150-topbar .sv150-brand img{width:54px!important;max-width:54px!important}
 .sv150-topbar .sv150-brand span{font-size:15px!important}
 .sv150-actions a{padding:7px 7px!important;font-size:9px!important}
}
