/* APEX MEDIA — detail fixes | v2 | original site layout preserved */
/* Accessible ivory text on dark cards. Headings inherited a dark teal from the old theme. */
body.apx-onyx-reskin .about-life-grid .about-life-card h3,
body.apx-onyx-reskin .about-life-card :is(h3,strong),
body.apx-onyx-reskin .about-outside-work .about-life-card h3{
 color:#f5e4c7!important;-webkit-text-fill-color:#f5e4c7!important;
 text-shadow:none!important;opacity:1!important;
}
body.apx-onyx-reskin .about-life-card p{color:#e4d9c9!important;opacity:1!important;font-size:15px;line-height:1.65}
body.apx-onyx-reskin .about-life-card{background:linear-gradient(135deg,#20201e,#141617)!important;border:1px solid rgba(232,187,115,.42)!important}
body.apx-onyx-reskin .about-life-icon{background:#f9f2e7!important;color:#986c37!important}
/* Tiny inline arrows throughout, instead of enormous SVGs inheriting a card's width. */
body.apx-onyx-reskin svg.em-fixed-arrow,
body.apx-onyx-reskin svg.ui-arrow,
body.apx-onyx-reskin .v21-all-more svg,
body.apx-onyx-reskin .v231-website-signature svg,
body.apx-onyx-reskin .v20-web-card svg,
body.apx-onyx-reskin .ev13-link svg{
 display:inline-block!important;width:17px!important;height:17px!important;
 min-width:17px!important;min-height:17px!important;
 max-width:17px!important;max-height:17px!important;
 flex:0 0 17px!important;vertical-align:middle!important;
 stroke-width:1.8!important;transform:none!important;
}
body.apx-onyx-reskin .v231-website-signature span,
body.apx-onyx-reskin .v21-all-more,
body.apx-onyx-reskin .ev13-link{display:flex!important;align-items:center!important;justify-content:space-between;gap:12px}
body.apx-onyx-reskin .v231-website-signature img{width:100%;height:140px;object-fit:cover}
body.apx-onyx-reskin .v231-website-signature span{font-size:12px;line-height:1.5}
body.apx-onyx-reskin .apx-small-arrow{font-size:16px;line-height:1!important;color:#e6bd7e}
/* Keep 5 original service categories, but redesign the clunky single-row strip as individual tactile cards. */
body.apx-onyx-reskin .em41-services-hero .em41-film{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:9px!important;background:transparent!important;padding:8px!important;
 border:0!important;box-shadow:none!important;overflow:visible!important;
}
body.apx-onyx-reskin .em41-services-hero .em41-film::before,
body.apx-onyx-reskin .em41-services-hero .em41-film::after{content:none!important;display:none!important}
body.apx-onyx-reskin .em41-services-hero .em41-film-cell{
 min-width:0!important;min-height:132px!important;padding:19px 13px!important;
 border-radius:18px!important;border:1px solid rgba(216,169,104,.46)!important;
 background:linear-gradient(145deg,rgba(36,34,29,.98),rgba(12,13,14,.98))!important;
 box-shadow:0 12px 25px rgba(0,0,0,.27),inset 0 1px rgba(253,222,164,.10)!important;
 display:flex!important;flex-direction:column!important;gap:12px!important;align-items:center!important;
 justify-content:center!important;position:relative!important;isolation:isolate!important;flex:auto!important;
 transform:none!important;
}
body.apx-onyx-reskin .em41-services-hero .em41-film-cell::before,
body.apx-onyx-reskin .em41-services-hero .em41-film-cell::after{content:none!important;display:none!important}
body.apx-onyx-reskin .em41-services-hero .em41-film-cell svg{
 position:static!important;width:30px!important;height:30px!important;max-height:30px!important;flex:none!important;
 stroke:#e6b86f!important;color:#e6b86f!important;opacity:1!important;
}
body.apx-onyx-reskin .em41-services-hero .em41-film-cell strong{
 color:#f8f0e4!important;-webkit-text-fill-color:#f8f0e4!important;
 font-size:clamp(12px,1.12vw,16px)!important;line-height:1.35!important;font-weight:600!important;
 text-align:center!important;letter-spacing:0!important;
}
body.apx-onyx-reskin .em41-services-hero .em41-film-cell:hover{border-color:#e5bd81!important;background:linear-gradient(150deg,#353025,#171819)!important}
/* Homepage featured section: showcase capabilities, never a property that isn't ours. */
body.apx-onyx-reskin .em47-work-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.apx-onyx-reskin .apx-capability-card{color:#f9f2e8!important;text-decoration:none!important;background:radial-gradient(circle at 96% 0%,rgba(198,137,66,.12),transparent 65%),linear-gradient(150deg,#25231f,#111416)!important;
 border:1px solid rgba(223,169,101,.40);border-radius:19px;min-height:238px;padding:22px 17px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;
 box-shadow:0 14px 32px rgba(0,0,0,.29);position:relative;overflow:hidden;transition:transform .25s,border-color .25s}
body.apx-onyx-reskin .apx-capability-card:hover{transform:translateY(-3px);border-color:#e9bd7b}
body.apx-onyx-reskin .apx-capability-ornament{position:absolute;top:20px;left:20px;width:45px;height:45px;border:1px solid rgba(241,190,117,.45);border-radius:12px;display:grid;place-items:center;background:rgba(223,174,99,.08)}
body.apx-onyx-reskin .apx-capability-icon{font:28px/1 Georgia,serif;color:#e9bf7d}
body.apx-onyx-reskin .apx-capability-eyebrow{color:#dbb47b;font-size:9px;letter-spacing:.14em;font-weight:700}
body.apx-onyx-reskin .apx-capability-title{font:600 clamp(16px,1.5vw,23px)/1.15 Georgia,serif!important;color:#fff2de!important}
body.apx-onyx-reskin .apx-capability-sub{font:12px/1.5 Arial,sans-serif;color:#dbd2c5!important}
body.apx-onyx-reskin .apx-capability-link{font-size:11px;color:#edc88b!important;font-weight:700;margin-top:4px}
body.apx-onyx-reskin .v21-all-estate-grid .apx-capability-card,
body.apx-onyx-reskin .portfolio-cards .apx-capability-card{min-height:255px}
/* Work page: replace unowned property banner with camera lens / onyx editorial header. */
body.apx-onyx-reskin .portfolio-hero.apx-work-hero{
 margin-top:94px!important;width:100%!important;min-height:370px!important;height:auto!important;
 position:relative!important;overflow:hidden!important;display:block!important;padding:0!important;
 background:radial-gradient(circle at 81% 41%,rgba(190,122,51,.19),transparent 38%),linear-gradient(100deg,#08090a,#18191b 68%,#0c0d0e)!important;
 isolation:isolate;border-top:1px solid rgba(226,172,100,.20)!important;
}
body.apx-onyx-reskin .portfolio-hero.apx-work-hero::before{content:""!important;display:block!important;position:absolute;inset:0;
 background:radial-gradient(ellipse at 60% 42%,rgba(204,148,70,.13),transparent 63%);opacity:.85;pointer-events:none;z-index:0}
body.apx-onyx-reskin .portfolio-hero.apx-work-hero::after{content:""!important;display:block!important;position:absolute;
 left:7%;bottom:0;width:86%;height:1px;background:linear-gradient(90deg,transparent,#dba962,transparent);box-shadow:0 0 16px #9a6c34;z-index:2;pointer-events:none}
body.apx-onyx-reskin .apx-work-hero-inner{position:relative;max-width:1380px;min-height:370px;margin:auto;padding:50px clamp(24px,5vw,76px);display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:35px;z-index:1}
body.apx-onyx-reskin .apx-work-copy{max-width:660px}
body.apx-onyx-reskin .apx-kicker{display:block;font:700 11px/1.4 Arial,sans-serif;letter-spacing:.24em;color:#e5b978;margin-bottom:23px}
body.apx-onyx-reskin .apx-work-copy h1{font:400 clamp(44px,5.6vw,75px)/.99 Georgia,serif!important;letter-spacing:-.045em;color:#fff1df!important;margin:0 0 19px!important}
body.apx-onyx-reskin .apx-work-copy h1 em{color:#e2b674!important}
body.apx-onyx-reskin .apx-work-copy p{max-width:485px;color:#e3d5c1!important;line-height:1.6;font-size:15px;margin:0 0 23px}
body.apx-onyx-reskin .apx-work-button{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid #e0ad68;color:#f9e6c4!important;font:700 11px/1.2 Arial,sans-serif;letter-spacing:.08em;padding:14px 22px;background:rgba(232,172,94,.07);text-decoration:none}
body.apx-onyx-reskin .apx-work-button:hover{background:rgba(219,158,79,.18)}
body.apx-onyx-reskin .apx-work-visual{position:relative;width:min(100%,430px);height:280px;justify-self:center;display:grid;place-items:center}
body.apx-onyx-reskin .apx-work-visual::before{content:"";position:absolute;inset:7% 12%;border-radius:50%;border:1px solid rgba(227,169,92,.3);transform:rotate(-22deg) scaleX(1.22);box-shadow:0 0 31px rgba(220,147,57,.13)}
body.apx-onyx-reskin .apx-work-visual img{width:245px;height:245px;border-radius:50%;object-fit:cover;object-position:center;filter:drop-shadow(0 12px 28px rgba(0,0,0,.7));position:relative;z-index:1}
body.apx-onyx-reskin .apx-work-label{position:absolute;color:#edc88e;font-size:9px;font-weight:700;letter-spacing:.12em;white-space:nowrap;z-index:2}
body.apx-onyx-reskin .apx-work-label-0{top:12px;left:0}body.apx-onyx-reskin .apx-work-label-1{bottom:4px;left:0}body.apx-onyx-reskin .apx-work-label-2{right:0;top:48%}
/* Listing creative palette previews rather than non-client property photography. */
body.apx-onyx-reskin .apx-style-placeholder{min-height:230px;background:radial-gradient(circle at 85% 12%,rgba(218,161,81,.24),transparent 36%),linear-gradient(135deg,#1e2325,#080b0d 48%,#302720);border:1px solid #8c6b41;border-radius:18px;padding:30px;display:flex;flex-direction:column;justify-content:end;gap:13px}
body.apx-onyx-reskin .apx-style-eyebrow{font-size:10px;letter-spacing:.19em;color:#dfb781}
body.apx-onyx-reskin .apx-style-placeholder strong{font:400 29px/1.2 Georgia,serif;color:#f7ead6}
body.apx-onyx-reskin .apx-style-sub{font-size:12px;color:#d5c9bb}
@media(max-width:1100px){body.apx-onyx-reskin .em41-services-hero .em41-film{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){
 body.apx-onyx-reskin .em41-services-hero .em41-film{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.apx-onyx-reskin .em41-services-hero .em41-film-cell{min-height:115px!important;padding:12px 8px!important}
 body.apx-onyx-reskin .em47-work-grid{grid-template-columns:1fr!important;gap:11px}
 body.apx-onyx-reskin .apx-capability-card{min-height:190px}
 body.apx-onyx-reskin .portfolio-hero.apx-work-hero{margin-top:74px!important;min-height:0!important}
 body.apx-onyx-reskin .apx-work-hero-inner{padding:44px 24px 40px;min-height:0;grid-template-columns:1fr;gap:9px}
 body.apx-onyx-reskin .apx-work-copy h1{font-size:clamp(43px,11vw,60px)!important}
 body.apx-onyx-reskin .apx-work-visual{height:230px;max-width:340px}
 body.apx-onyx-reskin .apx-work-visual img{width:185px;height:185px}
 body.apx-onyx-reskin .apx-work-label{font-size:8px}
 body.apx-onyx-reskin .about-life-card p{font-size:14px}
}
@media(max-width:420px){body.apx-onyx-reskin .em41-services-hero .em41-film{grid-template-columns:1fr 1fr!important}body.apx-onyx-reskin .em41-services-hero .em41-film-cell strong{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){body.apx-onyx-reskin .apx-capability-card:hover{transform:none!important}}

body.apx-onyx-reskin .v19-signature-showcase{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;align-items:stretch!important}
body.apx-onyx-reskin .v19-signature-showcase .apx-capability-card{min-height:225px;padding:19px!important}
body.apx-onyx-reskin .v19-signature-showcase .apx-capability-title{font-size:19px!important}
@media(max-width:760px){body.apx-onyx-reskin .v19-signature-showcase{grid-template-columns:1fr!important}body.apx-onyx-reskin .v19-signature-showcase .apx-capability-card{min-height:190px}}
/* The original marketing-page hero pointed at one of the retired example listings. */
body.apx-onyx-reskin .cx-inner-page>.hero-real-estate{
 background:linear-gradient(95deg,#080a0b 0%,rgba(11,11,13,.96) 40%,rgba(17,17,18,.65) 68%,rgba(17,17,18,.25) 100%),
 url('assets/hero/apex-lens-ambient.webp') 88% 48%/auto 130% no-repeat!important;
 background-color:#0a0b0c!important;
}
