/* CBA V17 - media replacement and photo-direction polish
   Base: V15. This file only changes imagery/media presentation.
*/
:root{
  --cba-photo-hero: url('../images/home/hero.jpg');
  --cba-photo-office: url('../images/home/gap-entry.jpg');
  --cba-photo-meeting: url('../images/home/experience-company.jpg');
  --cba-photo-skyline: url('../images/home/hero-v19-subpages.jpg');
}

/* Page hero media */
html body.cba-page .hero-media{
  background-image:var(--cba-photo-hero)!important;
  background-size:cover!important;
  background-position:center center!important;
  filter:brightness(.86) saturate(.86) contrast(.98)!important;
}
html body.cba-page .hero-bg{
  background-image:var(--cba-photo-skyline)!important;
  background-size:cover!important;
  background-position:center center!important;
}
html body.cba-page .hero-overlay{
  background:
    linear-gradient(90deg,rgba(4,21,29,.90),rgba(8,39,54,.74) 52%,rgba(8,39,54,.38)),
    radial-gradient(circle at 72% 24%,rgba(122,38,58,.22),transparent 32%)!important;
}
html body.cba-page .hero-dark .hero-bg{
  opacity:.52!important;
  filter:brightness(.84) saturate(.82) contrast(1.02)!important;
}

/* Editorial consistency across all photo blocks */
html body.cba-page main img{
  filter:saturate(.90) contrast(.96) brightness(.96)!important;
  transition:transform .45s ease, filter .45s ease!important;
}
html body.cba-page main figure:hover img,
html body.cba-page main article:hover img{
  filter:saturate(.94) contrast(1) brightness(.98)!important;
}

/* Crop guidance by content role */
html body.cba-page img[alt*="skyline"],
html body.cba-page img[alt*="route"],
html body.cba-page img[alt*="city"]{
  object-position:center center!important;
}
html body.cba-page img[alt*="briefing"],
html body.cba-page img[alt*="conversation"],
html body.cba-page img[alt*="meeting"]{
  object-position:center center!important;
}
html body.cba-page img[alt*="supply"],
html body.cba-page img[alt*="Supplier"],
html body.cba-page img[alt*="warehouse"]{
  object-position:center center!important;
}

/* Testimonial avatars should read as symbolic, not fake real-client portraits */
html body.why-v19 .quote-photo img[src$=".svg"]{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  background:#F8F6F1!important;
  padding:0!important;
  filter:none!important;
}

/* Optional future video slot. Keep disabled until real brand-owned footage is available. */
/*
html body.cba-page .hero video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
*/
