/* Kadiu V7 — hero contrast restored, newly illustrated original legal artwork, clean and readable Elementor sections. */
/* The V6 media 'contain' experiment made every hero illegible. Only V7 heroes get the new image layout; all other pages keep the earlier dark photograph treatment. */
.hero:not(.kadiu-v7-hero) .hero-tint,.hero.page-hero:not(.kadiu-v7-hero) .hero-tint{
 background:linear-gradient(95deg,rgba(4,36,44,.97) 0%,rgba(5,40,48,.9) 51%,rgba(5,40,48,.67) 100%)!important;opacity:1!important;mix-blend-mode:normal!important;
}
.hero:not(.kadiu-v7-hero) .hero-img{object-fit:cover!important;object-position:center!important;transform:none!important;opacity:.62!important;filter:saturate(.82) contrast(1.03)!important;mix-blend-mode:normal!important;}
.hero:not(.kadiu-v7-hero) .kadiu-hero-ambient{display:none!important;}
.hero.kadiu-v7-hero{position:relative;isolation:isolate;background:#082f39;overflow:hidden;color:#f6f1e8;}
.hero.kadiu-v7-hero .hero-media{z-index:0;pointer-events:none;background:radial-gradient(circle at 78% 42%,rgba(151,113,60,.24),transparent 52%),linear-gradient(120deg,#06343f,#0a3640 72%,#05252f);}
.hero.kadiu-v7-hero .hero-tint{position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(3,36,44,.94) 0%,rgba(3,36,44,.92) 35%,rgba(3,36,44,.7) 56%,rgba(3,36,44,.2) 100%)!important;opacity:1!important;mix-blend-mode:normal!important;}
.hero.kadiu-v7-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(4,30,38,.5),transparent 45%);z-index:1;}
.hero.kadiu-v7-hero .hero-inner{position:relative;z-index:4;}
.hero.kadiu-v7-hero .hero-eyebrow{color:#dbb984;max-width:710px;line-height:1.75;}
.hero.kadiu-v7-hero h1{color:#fff8ef;max-width:58%;font-size:clamp(51px,5.5vw,90px);line-height:1.06;overflow-wrap:normal;text-wrap:balance;text-shadow:0 3px 22px rgba(0,19,26,.33);}
.hero.kadiu-v7-hero .hero-foot{position:relative;z-index:4;border-color:rgba(217,188,141,.35);}
.hero.kadiu-v7-hero .hero-foot p{color:#f0eee7;font-size:clamp(15px,1.3vw,18px);line-height:1.65;text-shadow:0 2px 10px #07313b;}
.hero.kadiu-v7-hero .hero-actions{position:relative;z-index:5;}
.hero.kadiu-v7-hero .kadiu-hero-art{pointer-events:none;position:absolute;z-index:2;top:var(--header-h);right:-3%;bottom:3%;width:51%;height:auto;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;opacity:.94;mask-image:linear-gradient(90deg,transparent 0%,black 24%,black 91%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,black 24%,black 91%,transparent 100%);}
.hero.kadiu-v7-hero .kadiu-hero-art img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center;filter:saturate(.97);}
.hero.kadiu-v7-hero.page-hero{min-height:620px;height:min(700px,86svh);}
.hero.kadiu-v7-hero.page-hero .hero-inner{padding-top:var(--header-h);}
.hero.kadiu-v7-hero.page-hero h1{font-size:clamp(50px,5.8vw,84px);}
/* Restore the old overlays in EVERY dark photographic section; never lower text contrast to show the image. */
.section.has-bg .sec-bg-pin>.sec-bg-tint{z-index:3;opacity:1!important;mix-blend-mode:normal!important;}
.section.has-bg .sec-bg-pin>.kadiu-bg-subject{position:absolute!important;inset:0!important;display:block;width:100%;height:100%;object-fit:cover!important;object-position:center!important;filter:saturate(.85) brightness(.74)!important;opacity:.77!important;}
.section.has-bg .sec-bg-pin>.kadiu-bg-ambient{display:none!important;}
.section.has-bg .bg-practice .sec-bg-tint{background:linear-gradient(90deg,rgba(8,44,53,.86) 0%,rgba(6,42,50,.93) 52%,rgba(7,43,51,.97) 100%)!important;}
.section.has-bg .bg-why .sec-bg-tint{background:rgba(7,43,51,.91)!important;}
.section.has-bg .bg-consult .sec-bg-tint{background:linear-gradient(90deg,rgba(6,43,51,.83),rgba(6,40,48,.96) 60%)!important;}
/* Original images were drawn for each practice; do not stretch or crop the subjects in their panels. */
.kadiu-service-photo{max-width:540px!important;}
.kadiu-service-photo img{aspect-ratio:1400/980!important;object-fit:contain!important;background:#0b3740!important;border:1px solid #d6bd87;border-radius:1px;}
.kadiu-v7-detail .kadiu-service-info h2{font-size:clamp(38px,4.35vw,69px);letter-spacing:-.018em;line-height:1.12;}
.kadiu-v7-detail .kadiu-service-lead{font-size:clamp(19px,2vw,28px);line-height:1.48;}
.kadiu-v7-detail .kadiu-service-scope{margin-top:clamp(36px,5vw,64px);}
.kadiu-v7-detail .kadiu-scope-card{padding-block:26px;}
.kadiu-v7-detail .kadiu-service-photo:before{inset:-13px 15px 30px -13px;}
.kadiu-pa-with-thumb .pa-thumb{aspect-ratio:1.42;}
.kadiu-pa-with-thumb .pa-thumb img{object-fit:contain!important;background:#0b3540;}
/* 1024px / mobile: content first, full illustration below the text rather than background-cover crop. */
@media(max-width:1024px){
 .hero.kadiu-v7-hero.page-hero,.hero.kadiu-v7-hero.home-legal-hero{height:auto!important;max-height:none!important;min-height:0!important;}
 .hero.kadiu-v7-hero .hero-inner{height:auto!important;padding:clamp(120px,15vw,160px) clamp(22px,5vw,48px) 0!important;gap:25px!important;justify-content:flex-start!important;}
 .hero.kadiu-v7-hero .hero-eyebrow{font-size:11px!important;letter-spacing:.16em!important;}
 .hero.kadiu-v7-hero h1,.hero.kadiu-v7-hero.page-hero h1{max-width:100%!important;font-size:clamp(42px,7.8vw,72px)!important;line-height:1.12!important;text-wrap:pretty;}
 .hero.kadiu-v7-hero .hero-foot{display:block;padding-top:22px!important;}
 .hero.kadiu-v7-hero .hero-foot p{max-width:740px!important;margin-bottom:22px!important;font-size:16px!important;line-height:1.68!important;}
 .hero.kadiu-v7-hero .hero-actions{display:flex;justify-content:flex-start;align-items:stretch;gap:10px;}
 .hero.kadiu-v7-hero .hero-actions .btn{min-width:0;width:auto;min-height:48px;height:auto;padding:12px 22px;white-space:normal;}
 .hero.kadiu-v7-hero .kadiu-hero-art{position:relative;inset:auto;z-index:2;width:min(100% - 32px,680px);height:auto;aspect-ratio:1400/850;margin:12px auto 0;mask-image:linear-gradient(180deg,transparent 0%,black 9%,black 86%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,transparent 0%,black 9%,black 86%,transparent 100%);opacity:.9;}
 .hero.kadiu-v7-hero .kadiu-hero-art img{width:100%;height:100%;max-width:none;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important;opacity:1!important;}
 .section.has-bg .sec-bg-pin{height:100%!important;max-height:none!important;min-height:100%!important;position:absolute!important;inset:0!important;}
 .section.has-bg .sec-bg-pin>.kadiu-bg-subject{object-fit:cover!important;object-position:center!important;opacity:.52!important;filter:brightness(.65)!important;}
 .section.has-bg .bg-practice .sec-bg-tint{background:rgba(7,45,53,.95)!important;}
 .section.has-bg .bg-why .sec-bg-tint{background:rgba(7,43,51,.93)!important;}
 .section.has-bg .bg-consult .sec-bg-tint{background:rgba(7,40,50,.94)!important;}
}
@media(max-width:600px){
 .hero.kadiu-v7-hero .hero-inner{padding:116px 22px 0!important;gap:26px!important;}
 .hero.kadiu-v7-hero h1,.hero.kadiu-v7-hero.page-hero h1{font-size:clamp(40px,11vw,58px)!important;line-height:1.1!important;}
 .hero.kadiu-v7-hero .hero-actions{flex-direction:column;}
 .hero.kadiu-v7-hero .hero-actions .btn{width:100%;justify-content:center;padding:14px 16px;min-height:54px;}
 .hero.kadiu-v7-hero .hero-foot p{font-size:15px!important;line-height:1.65!important;}
 .hero.kadiu-v7-hero .kadiu-hero-art{width:calc(100% - 20px);aspect-ratio:1400/820;margin-top:4px;}
 .kadiu-pa-with-thumb .pa-thumb{width:77px;aspect-ratio:1;}
 .kadiu-v7-detail .kadiu-service-photo{margin:0!important;width:100%!important;max-width:none!important;}
 .kadiu-v7-detail .kadiu-service-photo:before{inset:-8px 8px 19px -8px;}
 .kadiu-v7-detail .kadiu-service-info h2{font-size:clamp(35px,9vw,49px);}
 .kadiu-v7-detail .kadiu-service-lead{font-size:19px;}
}
