/* Apex Media | Natural editorial photography pass — Services & Our Work only.
   Visually-led imagery, restrained gold, deliberate separation, readable mobile layouts. */
:root{--apex-image-rule:rgba(151,155,152,.29);--apex-photo-black:#101417;--apex-neutral-silver:#d7d5cf}

/* SERVICES: open, uncluttered photo bands with high-contrast, readable information. */
body.apx-onyx-reskin .aes-main{
 background:linear-gradient(112deg,#0b0e10 0%,#101316 55%,#121517 100%)!important;
}
body.apx-onyx-reskin .aes-layout{gap:clamp(18px,2vw,36px)!important}
body.apx-onyx-reskin .aes-sidebar h1 em{color:#e2c393!important}
body.apx-onyx-reskin .aes-sidebar-nav{border-top-color:rgba(198,201,197,.22)!important}
body.apx-onyx-reskin .aes-card,
body.apx-onyx-reskin .aes-card:nth-child(even){
 grid-template-columns:minmax(0,49%) minmax(0,51%)!important;
 min-height:150px!important;
 border-bottom:1px solid var(--apex-image-rule)!important;
 background:#131619!important;
}
body.apx-onyx-reskin .aes-card:first-child{border-top:1px solid var(--apex-image-rule)!important}
body.apx-onyx-reskin .aes-photo{background:#1b2528!important;min-height:150px!important}
body.apx-onyx-reskin .aes-photo img{
 width:100%!important;height:100%!important;display:block!important;
 object-fit:cover!important;object-position:center!important;
 transform:none!important;filter:saturate(1.02) contrast(1.04) brightness(1.035)!important;
}
body.apx-onyx-reskin .aes-photo::after,
body.apx-onyx-reskin .aes-card:nth-child(even) .aes-photo::after{
 width:19%!important;height:100%!important;inset:0 0 0 auto!important;
 background:linear-gradient(90deg,rgba(19,22,25,0) 0%,rgba(19,22,25,.32) 43%,#131619 100%)!important;
}
body.apx-onyx-reskin .aes-info,
body.apx-onyx-reskin .aes-card:nth-child(even) .aes-info{
 background:#131619!important;
 grid-template-columns:minmax(0,1.04fr) minmax(0,.95fr) 34px!important;
 padding:17px 14px 17px 2px!important;
 gap:clamp(10px,1vw,20px)!important;
}
body.apx-onyx-reskin .aes-kicker{color:#d0b88f!important;letter-spacing:.14em!important}
body.apx-onyx-reskin .aes-name h2{color:#f7f6f3!important;font-size:clamp(19px,1.45vw,26px)!important}
body.apx-onyx-reskin .aes-desc{color:#e7e8e7!important;line-height:1.5!important;border-left-color:rgba(195,197,192,.28)!important;font-size:clamp(11.7px,.82vw,13.5px)!important}
body.apx-onyx-reskin .aes-card-link{border-color:rgba(207,195,172,.8)!important;color:#e7d2af!important}
body.apx-onyx-reskin .aes-card-link:hover{background:#d6c09b!important;color:#101417!important}

/* WORK: retain the hero and category structure, but let the images be the focus. */
body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__card{
 border-color:rgba(164,174,173,.37)!important;background:#0c1113!important;
 box-shadow:0 8px 24px rgba(0,0,0,.18)!important;
}
body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__card img{
 filter:saturate(1.02) contrast(1.04) brightness(1.02)!important;
 object-position:center!important;
}
body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__card:before{
 background:linear-gradient(90deg,rgba(5,10,12,.94) 0%,rgba(5,10,12,.72) 28%,rgba(5,10,12,.2) 57%,rgba(5,10,12,0) 84%)!important;
}
body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__rule{
 background:#c2bcac!important;box-shadow:none!important;width:2px!important;flex-basis:2px!important;
}
body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__content>b{color:#eee2cd!important}
body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__card:hover{border-color:#d6d3c8!important}
body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__content strong{color:#f8f7f3!important}
@media(min-width:1200px){
 body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__card{height:164px!important;min-height:164px!important}
 body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__body{padding-top:16px!important;padding-bottom:14px!important}
}
@media(min-width:781px) and (max-width:1050px){
 body.apx-onyx-reskin .aes-card,body.apx-onyx-reskin .aes-card:nth-child(even){grid-template-columns:38% 62%!important;min-height:160px!important}
 body.apx-onyx-reskin .aes-info,body.apx-onyx-reskin .aes-card:nth-child(even) .aes-info{
 grid-template-columns:minmax(0,1fr) 34px!important;grid-template-rows:auto auto!important;
 padding:12px 8px 12px 0!important;
 }
 body.apx-onyx-reskin .aes-name{grid-column:1!important;grid-row:1!important}
 body.apx-onyx-reskin .aes-desc{grid-column:1!important;grid-row:2!important;border:0!important;padding:0!important}
 body.apx-onyx-reskin .aes-card-link{grid-column:2!important;grid-row:1/3!important}
}
@media(max-width:780px) and (min-width:581px){
 body.apx-onyx-reskin .aes-card,body.apx-onyx-reskin .aes-card:nth-child(even){grid-template-columns:41% 59%!important;min-height:165px!important}
 body.apx-onyx-reskin .aes-info,body.apx-onyx-reskin .aes-card:nth-child(even) .aes-info{
 grid-template-columns:minmax(0,1fr) 34px!important;grid-template-rows:auto auto!important;padding:13px 8px 13px 2px!important;
 }
 body.apx-onyx-reskin .aes-name{grid-column:1!important;grid-row:1!important}
 body.apx-onyx-reskin .aes-desc{grid-column:1!important;grid-row:2!important;border:0!important;padding:0!important}
 body.apx-onyx-reskin .aes-card-link{grid-column:2!important;grid-row:1/3!important}
}
/* Mobile: photos no longer buried beneath a dark wash. Put a distinct full-width photo
   directly above each title/description instead of overlapping them. */
@media(max-width:580px){
 body.apx-onyx-reskin .aes-card,body.apx-onyx-reskin .aes-card:nth-child(even){
  display:flex!important;flex-direction:column!important;min-height:0!important;
  border-bottom:1px solid rgba(192,196,192,.3)!important;background:#121618!important;
 }
 body.apx-onyx-reskin .aes-card .aes-photo,body.apx-onyx-reskin .aes-card:nth-child(even) .aes-photo{
  position:relative!important;inset:auto!important;display:block!important;flex:0 0 auto!important;
  width:100%!important;height:146px!important;min-height:146px!important;
 }
 body.apx-onyx-reskin .aes-card .aes-photo img{
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center!important;
  filter:saturate(1.02) contrast(1.03) brightness(1.03)!important;
 }
 body.apx-onyx-reskin .aes-card .aes-photo::after,
 body.apx-onyx-reskin .aes-card:nth-child(even) .aes-photo::after{display:none!important}
 body.apx-onyx-reskin .aes-card .aes-info,
 body.apx-onyx-reskin .aes-card:nth-child(even) .aes-info{
  position:relative!important;flex:0 0 auto!important;display:grid!important;
  min-height:0!important;width:100%!important;
  grid-template-columns:minmax(0,1fr) 36px!important;grid-template-rows:auto auto!important;
  gap:7px 11px!important;align-content:start!important;align-items:center!important;
  padding:17px 21px 19px!important;background:#131719!important;
 }
 body.apx-onyx-reskin .aes-card .aes-name{grid-column:1!important;grid-row:1!important}
 body.apx-onyx-reskin .aes-card .aes-desc{
  grid-column:1!important;grid-row:2!important;border:0!important;padding:0!important;margin:0!important;
  color:#e3e5e4!important;font-size:12.5px!important;max-width:none!important;
 }
 body.apx-onyx-reskin .aes-card .aes-card-link{grid-column:2!important;grid-row:1/3!important}
 body.apx-onyx-reskin .apx-work-carbon-copy .apx-visual-work__card:before{
  background:linear-gradient(90deg,rgba(5,9,11,.94) 0%,rgba(6,9,11,.78) 34%,rgba(5,10,12,.23) 77%)!important;
 }
}
