/* TBS_APPROVED_HERO_REFRESH_20261203_V1
   Responsive split heroes using approved real-service imagery. All selectors scoped.
   No changes to service copy, breadcrumbs, CTA links, or structured data.
*/
/* Residential city heroes: text on left, image fills entire right half. */
.tbs-city-split-hero:has(.tbs-city-hero-visual){padding:0!important;overflow:hidden}
.tbs-city-split-hero .tbs-city-hero-shell{
  width:100%!important;max-width:none!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:stretch!important;gap:0!important;
}
.tbs-city-split-hero .tbs-city-hero-text{
  min-width:0!important;display:flex!important;flex-direction:column!important;
  justify-content:center!important;min-height:440px!important;
  padding:clamp(36px,4.4vw,70px) clamp(22px,3.2vw,65px) clamp(36px,4.4vw,70px) max(24px,calc((100vw - 1200px)/2))!important;
}
.tbs-city-split-hero .tbs-city-hero-visual{
  position:relative!important;align-self:stretch!important;min-height:440px!important;
  height:auto!important;overflow:hidden!important;border-radius:0!important;
  border:0!important;box-shadow:none!important;
}
.tbs-city-split-hero .tbs-city-hero-visual img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  min-height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;
  object-position:54% center!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;
}
/* City office cards: remove inset around image, retain existing card geometry. */
:is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel{
  padding:0!important;gap:0!important;min-height:440px!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
}
:is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-text{
  padding:clamp(28px,3.2vw,48px)!important;min-width:0!important;
}
:is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-media{
  border:0!important;border-radius:0!important;box-shadow:none!important;
  min-height:440px!important;
}
:is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-media img{
  object-fit:cover!important;object-position:50% center!important;
  height:100%!important;min-height:100%!important;
}
/* Office service-area hub: same half-and-half image treatment. */
#office-cleaning-hub.office-modern-v1 .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0!important;padding:0!important;overflow:hidden!important}
#office-cleaning-hub.office-modern-v1 .hero .hero-text{padding:clamp(30px,3.5vw,56px)!important;min-width:0!important}
#office-cleaning-hub.office-modern-v1 .hero .hero-media{min-height:440px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#office-cleaning-hub.office-modern-v1 .hero .hero-media img{object-position:center!important;min-height:100%!important}
/* Commercial hub: full-bleed photo on the right, aligned to text column. */
.tbs-funnel-v1 .f-hero .f-shell.f-hero-inner{
  width:100%!important;max-width:none!important;padding:0!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:stretch!important;gap:0!important;
}
.tbs-funnel-v1 .f-hero .f-shell.f-hero-inner > div:first-child{
  min-width:0!important;display:flex!important;flex-direction:column!important;
  justify-content:center!important;min-height:440px!important;
  padding:clamp(35px,4vw,64px) clamp(24px,4vw,65px) clamp(35px,4vw,64px) max(24px,calc((100vw - 1200px)/2))!important;
}
.tbs-funnel-v1 .f-hero .f-hero-media{
  min-height:440px!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;
}
.tbs-funnel-v1 .f-hero .f-hero-media img{object-fit:cover!important;object-position:center!important}
/* Make the commercial hub's overlaid caption readable with the new photo. */
.tbs-funnel-v1 .f-hero .f-hero-media:after{background:linear-gradient(180deg,transparent 44%,rgba(4,8,50,.83))!important}
@media(max-width:850px){
  .tbs-city-split-hero .tbs-city-hero-shell,
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel,
  #office-cleaning-hub.office-modern-v1 .hero,
  .tbs-funnel-v1 .f-hero .f-shell.f-hero-inner{
    grid-template-columns:minmax(0,1fr)!important;gap:0!important;
  }
  .tbs-city-split-hero .tbs-city-hero-text{
    min-height:0!important;padding:30px 22px!important;
  }
  .tbs-city-split-hero .tbs-city-hero-visual,
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-media,
  #office-cleaning-hub.office-modern-v1 .hero .hero-media,
  .tbs-funnel-v1 .f-hero .f-hero-media{
    min-height:0!important;height:clamp(250px,55vw,420px)!important;
    grid-column:1!important;grid-row:2!important;
  }
  .tbs-city-split-hero .tbs-city-hero-visual img,
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-media img,
  #office-cleaning-hub.office-modern-v1 .hero .hero-media img,
  .tbs-funnel-v1 .f-hero .f-hero-media img{height:100%!important;min-height:0!important}
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-text,
  #office-cleaning-hub.office-modern-v1 .hero .hero-text{
    grid-column:1!important;grid-row:1!important;padding:28px 23px!important;
  }
  .tbs-funnel-v1 .f-hero .f-shell.f-hero-inner > div:first-child{
    min-height:0!important;padding:36px 22px!important;
  }
}
@media(max-width:480px){
  .tbs-city-split-hero .tbs-city-hero-text{padding:27px 18px!important}
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-text{padding:24px 19px!important}
  .tbs-city-split-hero .tbs-city-hero-visual,
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-media,
  #office-cleaning-hub.office-modern-v1 .hero .hero-media,
  .tbs-funnel-v1 .f-hero .f-hero-media{height:260px!important}
}

/* TBS_HERO_RIVERVIEW_STANDARD_20261203_V2 */
/* Align 15 residential and commercial heroes to the centered, rounded
   Office Cleaning Riverview reference. Keep text left and photo right. */
@media (min-width:851px) {
  /* Same maximum visible hero width and card treatment on every page. */
  .tbs-city-split-hero:has(.tbs-city-hero-visual),
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel,
  #office-cleaning-hub.office-modern-v1 .hero,
  .tbs-funnel-v1 .f-hero {
    width: min(1120px,calc(100% - 40px))!important;
    max-width:1120px!important;
    margin:10px auto 0!important;
    border-radius:18px!important;
    overflow:hidden!important;
    min-height:440px!important;
    box-shadow:0 13px 35px rgba(15,23,42,.085)!important;
  }
  /* Office pages already sit within an internally padded .wrap container. */
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel,
  #office-cleaning-hub.office-modern-v1 .hero {width:100%!important;}
  .tbs-city-split-hero .tbs-city-hero-shell,
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel,
  #office-cleaning-hub.office-modern-v1 .hero,
  .tbs-funnel-v1 .f-hero .f-shell.f-hero-inner {
    grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
    gap:0!important;
    align-items:stretch!important;
  }
  .tbs-city-split-hero .tbs-city-hero-text,
  .tbs-funnel-v1 .f-hero .f-shell.f-hero-inner > div:first-child {
    min-height:440px!important;
    padding:clamp(26px,3vw,44px)!important;
  }
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-text,
  #office-cleaning-hub.office-modern-v1 .hero .hero-text {padding:clamp(26px,3vw,44px)!important;}
  .tbs-city-split-hero .tbs-city-hero-visual,
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-media,
  #office-cleaning-hub.office-modern-v1 .hero .hero-media,
  .tbs-funnel-v1 .f-hero .f-hero-media {min-height:440px!important;}
  .tbs-funnel-v1 .f-hero .f-shell.f-hero-inner {max-width:none!important;width:100%!important;}
  .tbs-funnel-v1 .f-hero h1 {font-size:clamp(2rem,3.5vw,3.1rem)!important;line-height:1.09!important;}
}
@media (max-width:850px) {
  /* Consistent, inset card on tablets and phones; preserve vertical stacking. */
  .tbs-city-split-hero:has(.tbs-city-hero-visual),
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel,
  #office-cleaning-hub.office-modern-v1 .hero,
  .tbs-funnel-v1 .f-hero {
    width:calc(100% - 28px)!important;
    max-width:1120px!important;
    margin:8px auto 0!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  /* City office and office hub already live in a padded .wrap. */
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel,
  #office-cleaning-hub.office-modern-v1 .hero {width:100%!important;}
  .tbs-city-split-hero .tbs-city-hero-text,
  .tbs-funnel-v1 .f-hero .f-shell.f-hero-inner > div:first-child {padding:28px 22px!important;}
  .tbs-city-split-hero .tbs-city-hero-visual,
  :is(#office-cleaning-tampa-south-tampa,#office-cleaning-brandon,#office-cleaning-riverview,#office-cleaning-apollo-beach,#office-cleaning-wesley-chapel).office-city-modern-v1 .hero.panel .hero-media,
  #office-cleaning-hub.office-modern-v1 .hero .hero-media,
  .tbs-funnel-v1 .f-hero .f-hero-media {height:clamp(250px,52vw,380px)!important;}
  .tbs-funnel-v1 .f-hero h1 {font-size:clamp(1.9rem,6.6vw,2.5rem)!important;}
}
/* /TBS_HERO_RIVERVIEW_STANDARD_20261203_V2 */
