/* KADIU LAW OFFICE V9 · Restore complete photographic hero backgrounds and readable content.
   This stylesheet is intentionally loaded LAST, after V8. */
body.kadiu-wordpress .hero.kadiu-v9-hero {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: auto !important;
  min-height: clamp(640px, 84svh, 850px) !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #062e38 !important;
  color: #fff9f2 !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #062e38 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-media .hero-img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: none !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-media .hero-tint {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(90deg, rgba(3,35,43,.91) 0%, rgba(3,35,43,.80) 35%, rgba(3,35,43,.50) 75%, rgba(3,35,43,.38) 100%) !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  pointer-events: none !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero::after,
body.kadiu-wordpress .hero.kadiu-v9-hero::before {
  display: none !important;
  content: none !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-inner {
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: clamp(24px, 3vw, 44px) !important;
  height: auto !important;
  min-height: inherit !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: clamp(140px, 14vw, 200px) var(--pad, 5vw) clamp(66px, 8vw, 100px) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-eyebrow,
body.kadiu-wordpress .hero.kadiu-v9-hero h1:not(.kadiu-visually-hidden),
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-foot,
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-actions {
  position: relative !important;
  z-index: 6 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-eyebrow {
  max-width: 900px !important;
  color: #dec08b !important;
  font-size: clamp(10px, .88vw, 12px) !important;
  letter-spacing: .16em !important;
  line-height: 1.7 !important;
  overflow-wrap: anywhere !important;
  text-shadow: 0 2px 10px rgba(0,20,26,.48) !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero h1:not(.kadiu-visually-hidden) {
  max-width: min(1010px, 86%) !important;
  font-size: clamp(47px, 6vw, 90px) !important;
  line-height: 1.07 !important;
  text-shadow: 0 3px 24px rgba(0,13,20,.52) !important;
  overflow-wrap: break-word !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-foot {
  border-color: rgba(238,216,182,.42) !important;
  padding-top: clamp(20px, 2vw, 32px) !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-foot p {
  color: #f8f4ed !important;
  opacity: 1 !important;
  font-size: clamp(15px, 1.25vw, 19px) !important;
  line-height: 1.68 !important;
  text-shadow: 0 2px 13px rgba(0,12,18,.48) !important;
}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-actions {z-index:8!important;}
body.kadiu-wordpress .hero.kadiu-v9-hero .hero-actions a {position:relative!important;z-index:9!important;}
/* Home: no visible slogan. Eyebrow > exact introduction > founder credentials > consultation buttons. */
body.kadiu-wordpress .hero.kadiu-v9-home {min-height: clamp(670px, 86svh, 870px) !important;}
body.kadiu-wordpress .hero.kadiu-v9-home .hero-img {object-position: center 48% !important;}
body.kadiu-wordpress .hero.kadiu-v9-home .hero-tint {
  background: linear-gradient(90deg,rgba(2,32,40,.88) 0%,rgba(3,35,44,.73) 43%,rgba(5,38,46,.35) 78%,rgba(5,38,46,.27) 100%) !important;
}
body.kadiu-wordpress .hero.kadiu-v9-home .hero-inner {justify-content:center!important;gap:20px!important;}
body.kadiu-wordpress .hero.kadiu-v9-home .hero-foot.kadiu-v9-home-foot {
  width: 100% !important;
  max-width: 790px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: clamp(20px, 2.5vw, 32px) !important;
  margin-top: 4px !important;
  padding-top: clamp(18px, 2.6vw, 30px) !important;
}
body.kadiu-wordpress .hero.kadiu-v9-home .kadiu-home-hero-copy {
  display:flex!important;
  flex-direction:column!important;
  gap:clamp(16px,2vw,24px)!important;
  max-width:750px!important;
  width:100%!important;
}
body.kadiu-wordpress .hero.kadiu-v9-home .kadiu-home-hero-copy p {margin:0!important;max-width:710px!important;}
body.kadiu-wordpress .hero.kadiu-v9-home .kadiu-home-intro {font-size:clamp(19px,2vw,27px)!important;line-height:1.5!important;}
body.kadiu-wordpress .hero.kadiu-v9-home .kadiu-founder-intro {
  color:#f0e5d4!important;
  font-size:clamp(15px,1.18vw,18px)!important;
  line-height:1.65!important;
  padding-left:18px!important;
  border-left:2px solid #d6b47b!important;
}
body.kadiu-wordpress .hero.kadiu-v9-home .hero-actions {
  display:flex!important;
  justify-content:flex-start!important;
  width:100%!important;
  gap:12px!important;
  margin:0!important;
  flex-wrap:wrap!important;
}
body.kadiu-wordpress .hero.kadiu-v9-home .hero-actions .btn {min-height:52px!important;height:auto!important;}
/* Semantic page title for assistive technology; never shown as a large headline. */
body.kadiu-wordpress .hero .kadiu-visually-hidden {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
/* Every other dark section keeps its image behind its readable text. */
body.kadiu-wordpress .section.has-bg {position:relative!important;isolation:isolate!important;}
body.kadiu-wordpress .section.has-bg > .sec-bg {position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important;}
body.kadiu-wordpress .section.has-bg > :not(.sec-bg) {z-index:2!important;}
body.kadiu-wordpress .section.has-bg .rv {opacity:1!important;visibility:visible!important;transform:none!important;}
body.kadiu-wordpress .section.has-bg .sec-bg-pin .kadiu-bg-subject {object-fit:cover!important;opacity:1!important;}
body.kadiu-wordpress .section.has-bg .sec-bg-pin .sec-bg-tint {z-index:1!important;pointer-events:none!important;}
/* Legacy Elementor versions still render full photographic background until the V9 migration completes. */
body.kadiu-wordpress .hero.kadiu-v7-hero:not(.kadiu-v9-hero) .kadiu-hero-art {
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 max-width:none!important;aspect-ratio:auto!important;margin:0!important;z-index:0!important;
 mask-image:none!important;-webkit-mask-image:none!important;opacity:1!important;pointer-events:none!important;
}
body.kadiu-wordpress .hero.kadiu-v7-hero:not(.kadiu-v9-hero) .kadiu-hero-art img {
 width:100%!important;height:100%!important;object-fit:cover!important;filter:none!important;
}
body.kadiu-wordpress .hero.kadiu-v7-hero:not(.kadiu-v9-hero)::after {
 display:block!important;content:""!important;inset:0!important;z-index:1!important;
 background:linear-gradient(90deg,rgba(4,35,43,.86),rgba(4,35,43,.5))!important;
}
@media (max-width:1024px) {
  body.kadiu-wordpress .hero.kadiu-v9-hero {min-height:630px!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-inner {
    padding:clamp(128px,13vw,170px) clamp(24px,5vw,50px) clamp(62px,7vw,90px)!important;
    gap:22px!important;
  }
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-foot {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:22px!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-foot p {max-width:720px!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-actions {display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;}
  body.kadiu-wordpress .hero.kadiu-v9-home {min-height:660px!important;}
}
@media (max-width:680px) {
  body.kadiu-wordpress .hero.kadiu-v9-hero {min-height:610px!important;height:auto!important;}
  body.kadiu-wordpress .hero.kadiu-v9-home {min-height:calc(100svh - 12px)!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-inner {padding:136px 22px 65px!important;gap:19px!important;min-height:inherit!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-media .hero-img {object-position:55% center!important;}
  body.kadiu-wordpress .hero.kadiu-v9-home .hero-media .hero-img {object-position:29% center!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-media .hero-tint {background:linear-gradient(180deg,rgba(3,33,40,.68) 0%,rgba(3,35,44,.72) 43%,rgba(3,33,40,.87) 100%)!important;}
  body.kadiu-wordpress .hero.kadiu-v9-home .hero-media .hero-tint {background:linear-gradient(180deg,rgba(3,33,40,.56) 0%,rgba(3,33,40,.75) 49%,rgba(3,33,40,.91) 100%)!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-eyebrow {font-size:10px!important;letter-spacing:.12em!important;line-height:1.65!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero h1:not(.kadiu-visually-hidden) {font-size:clamp(39px,9.5vw,60px)!important;max-width:100%!important;line-height:1.08!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-foot {padding-top:20px!important;gap:20px!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-foot p {font-size:16px!important;line-height:1.63!important;}
  body.kadiu-wordpress .hero.kadiu-v9-home .kadiu-home-intro {font-size:clamp(18px,4.8vw,21px)!important;line-height:1.54!important;}
  body.kadiu-wordpress .hero.kadiu-v9-home .kadiu-founder-intro {font-size:15px!important;padding-left:13px!important;}
  body.kadiu-wordpress .hero.kadiu-v9-home .hero-actions {flex-direction:column!important;gap:11px!important;align-items:stretch!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-actions .btn {width:100%!important;max-width:100%!important;min-height:52px!important;justify-content:center!important;white-space:normal!important;padding:12px 16px!important;}
}
@media (max-width:360px) {
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-inner {padding-inline:17px!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero .hero-eyebrow {font-size:9px!important;}
  body.kadiu-wordpress .hero.kadiu-v9-hero h1:not(.kadiu-visually-hidden) {font-size:37px!important;}
}
@media (prefers-reduced-motion:reduce) {
 body.kadiu-wordpress .hero.kadiu-v9-hero .hero-img {transform:none!important;transition:none!important;}
}
