/* Phone navigation and tablet sizing are intentionally independent. */
/* Display the existing phone photos in full inside their existing frames. */
@media(max-width:700px){
 html body.b123-ui #home .hero385>.hero-photo385,
 html body.b123-ui #home #services-v25 #serviceTrack>a.v25service>img,
 html body.b123-ui #home #galleryTrack303>a>img{
  object-fit:contain!important;
  object-position:center!important;
 }
}
@media(max-width:700px){
 html body.b123-ui.b234-public header.b234-bar{display:grid!important;grid-template-columns:auto 44px minmax(0,1fr)!important;grid-template-rows:44px!important;align-items:center!important;justify-content:initial!important;gap:6px!important;height:60px!important;min-height:60px!important;padding:8px 10px!important;overflow:visible!important}
 html body.b123-ui.b234-public header.b234-bar>.b234-brand{grid-column:1!important;grid-row:1!important;justify-self:start!important;margin:0!important;gap:5px!important;width:auto!important;min-width:0!important}
 html body.b123-ui.b234-public header.b234-bar>.b234-brand img{width:28px!important;height:28px!important}
 html body.b123-ui.b234-public header.b234-bar .b238-brand-name{font-size:14px!important}
 html body.b123-ui.b234-public header.b234-bar .b238-brand-name small{font-size:7px!important;letter-spacing:1px!important}
 html body.b123-ui.b234-public header.b234-bar>.menu386{display:block!important;grid-column:2!important;grid-row:1!important;justify-self:start!important;align-self:center!important;position:relative!important;width:44px!important;min-width:44px!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box!important}
 html body.b123-ui.b234-public header.b234-bar>.menu386>summary{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;line-height:1!important;box-sizing:border-box!important}
 html body.b123-ui.b234-public header.b234-bar>.menu386>nav{left:0!important;right:auto!important;top:50px!important;min-width:0!important;width:min(205px,calc(100vw - 125px))!important;box-sizing:border-box!important}
 html body.b123-ui.b234-public header.b234-bar>.b238-request{grid-column:3!important;grid-row:1!important;justify-self:stretch!important;width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:6px!important;margin:0!important;font-size:11px!important;line-height:1.2!important;white-space:normal!important;text-align:center!important}
 html body.b123-ui.b234-public header.b234-bar>.header-assistant384,html body.b123-ui.b234-public header.b234-bar>.b238-accounts{display:none!important}
}
@media(min-width:701px) and (max-width:1400px){
 /* Preserve the approved frame height; display the complete original photo. */
 html body.b123-ui #home .hero385 .hero-photo385{object-fit:contain!important;object-position:right center!important}
 /* Half-width group, centered; both cards keep a matching square outline. */
 html body.b123-ui .brince-info324{width:50%!important;min-width:min(560px,100%)!important;max-width:760px!important;margin:20px auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;box-sizing:border-box!important}
 html body.b123-ui .brince-info324>.info-card{width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:1/1;box-sizing:border-box!important;align-self:stretch!important}
 html body.b123-ui .brince-info324>.weather-card328{display:flex!important;flex-direction:column!important;padding:12px!important;gap:0!important;overflow:hidden!important}
 html body.b123-ui .brince-info324 .info-top{margin:0 0 6px!important;gap:6px!important}
 html body.b123-ui .brince-info324 h2{font-size:14px!important;line-height:1.3!important}
 html body.b123-ui .brince-info324 .weather-now{padding:0!important;gap:8px!important;min-height:34px!important}
 html body.b123-ui .brince-info324 .weather-temp{font-size:28px!important}
 html body.b123-ui .brince-info324 p{font-size:11px!important;line-height:1.35!important;margin:3px 0!important}
 html body.b123-ui .brince-info324 .info-controls{margin:6px 0!important;gap:5px!important;flex-wrap:nowrap!important}
 html body.b123-ui .brince-info324 .info-controls select{flex:1!important;min-width:0!important;width:0!important}
 html body.b123-ui .brince-info324 button,html body.b123-ui .brince-info324 select{font-size:11px!important;min-height:36px!important;padding:5px!important}
 html body.b123-ui .brince-info324 .weather-hours{margin:5px 0!important;gap:4px!important}
 html body.b123-ui .brince-info324 .weather-hour{padding:4px 2px!important;font-size:10px!important}
 html body.b123-ui .brince-info324 .weather-hour strong{font-size:15px!important;margin:3px 0!important}
 html body.b123-ui .brince-info324 .weather-scene328{transform:scale(.6);transform-origin:top right;top:35px!important;right:10px!important}
 html body.b123-ui .brince-info324 .info-source,html body.b123-ui .brince-info324 .info-source a{font-size:9px!important;line-height:1.3!important}
 html body.b123-ui .brince-info324>.info-card:has(#news-screen324){padding:0!important;display:block!important}
 html body.b123-ui .brince-info324 #news-screen324{width:100%!important;height:100%!important;aspect-ratio:auto!important;min-height:0!important;flex:none!important}
 html body.b123-ui .brince-info324 .news-headline328{font-size:13px!important;line-height:1.3!important;-webkit-line-clamp:3!important;margin:5px 0!important}
 html body.b123-ui .brince-info324 .news-overlay328{left:10px!important;right:10px!important;bottom:8px!important}
 /* Tablet service cards: image, name, price, button. */
 html body.b123-ui #home #serviceTrack>a.v25service{flex:0 0 182px!important;width:182px!important;min-width:0!important;height:auto!important;display:flex!important;flex-direction:column!important}
 html body.b123-ui #home #serviceTrack>a.v25service>img{aspect-ratio:3/2!important;height:110px!important;object-fit:cover!important;flex:none!important}
 html body.b123-ui #home #serviceTrack>a.v25service>div{display:flex!important;flex-direction:column!important;flex:1!important;gap:6px!important;padding:10px!important;min-height:0!important}
 html body.b123-ui #home #serviceTrack>a.v25service>div>strong{font-size:14px!important;line-height:1.25!important;min-height:35px!important;margin:0!important}
 html body.b123-ui #home #serviceTrack>a.v25service>div>span:not(.service-action300){display:none!important}
 html body.b123-ui #home #serviceTrack>a.v25service .price169{font-size:0!important;line-height:1.25!important;min-height:30px!important;margin:0!important;display:block!important}
 html body.b123-ui #home #serviceTrack>a.v25service .price169:after{content:attr(data-compact-price387);font:600 12px/1.25 system-ui;display:block}
 html body.b123-ui #home #serviceTrack>a.v25service .service-action300{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;margin:0!important;margin-top:auto!important;padding:6px!important;font-size:12px!important;line-height:1.2!important}
}
/* Keep the phone dropdown independent from the horizontal desktop navigation. */
@media(max-width:700px){
 html body.b123-ui.b234-public header.b234-bar>.menu386>nav{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;grid-auto-rows:auto!important;align-items:stretch!important;justify-items:stretch!important;gap:4px!important;padding:8px!important;max-height:calc(100dvh - 150px)!important;overflow-y:auto!important;overflow-x:hidden!important;
 }
 html body.b123-ui.b234-public header.b234-bar>.menu386:not([open])>nav{display:none!important}
 html body.b123-ui.b234-public header.b234-bar>.menu386>nav>a{
  display:flex!important;position:static!important;float:none!important;transform:none!important;grid-column:1!important;grid-row:auto!important;flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:46px!important;height:auto!important;margin:0!important;padding:12px!important;align-items:center!important;justify-content:flex-start!important;white-space:normal!important;overflow-wrap:break-word!important;text-align:left!important;font:600 14px/1.4 system-ui,-apple-system,sans-serif!important;border-radius:7px!important;
 }
 html body.b123-ui.b234-public header.b234-bar>.menu386>nav>a:hover,
 html body.b123-ui.b234-public header.b234-bar>.menu386>nav>a:focus-visible{background:#edf4ff!important;color:#075bd8!important}
}
