/* Desktop-only illustration. The mobile hero retains its existing layout. */
.hero-intro-layout,.hero-intro-copy{display:contents}
.hero-medical-illustration{display:none}
@media(min-width:701px){
 .hero>.hero-intro-layout{display:grid;direction:ltr;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);grid-template-areas:"image copy";align-items:center;column-gap:clamp(24px,4vw,64px);max-width:1280px;margin-inline:auto;margin-bottom:24px}
 .hero-intro-layout>.hero-intro-copy{display:block;grid-area:copy;min-width:0;direction:rtl}
 html[dir=ltr] .hero-intro-layout>.hero-intro-copy{direction:ltr}
 .hero-intro-layout .hero-intro-copy h1{font-size:clamp(34px,3.3vw,56px);font-weight:700;line-height:1.25;letter-spacing:-.3px;margin-top:14px;margin-bottom:24px}
 .hero-intro-layout .hero-intro-copy>.eyebrow{font-size:16px;line-height:1.6;letter-spacing:.03em;color:#123A6F}
 .hero-intro-layout .hero-intro-copy>p{font-size:clamp(19px,1.45vw,23px);line-height:1.75;color:#123A6F;margin-bottom:0}
 .hero-intro-layout>.hero-medical-illustration{display:block;grid-area:image;width:100%;max-width:350px;margin:0;justify-self:center;direction:rtl;animation:medical-hero-enter 1s cubic-bezier(.2,.7,.25,1) .15s both}
 .hero-medical-illustration picture{display:block;aspect-ratio:1;border:1px solid #b49b5b;border-radius:16px;overflow:hidden;background:#F8F9FB;box-shadow:0 12px 28px #0B1F3A14}
 .hero-medical-illustration img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
 .hero-medical-illustration figcaption{font-size:12px;line-height:1.5;text-align:center;color:#123A6F;margin-top:8px}
 html[dir=ltr] .hero-medical-illustration{direction:ltr}
}
@keyframes medical-hero-enter{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.hero-intro-layout>.hero-medical-illustration{animation:none}}
/* Fit the Hebrew desktop heading to its actual column, with one line per phrase. */
@media(min-width:701px){
 html[lang=he] .hero>.hero-intro-layout{grid-template-columns:min(28vw,350px) minmax(0,1fr);column-gap:24px}
 html[lang=he] .hero-intro-copy{container-type:inline-size}
 html[lang=he] .hero-intro-layout .hero-intro-copy h1{font-size:min(72px,7.15cqi);white-space:nowrap}
 html[lang=he] .hero-intro-copy h1>em{display:inline-block;white-space:nowrap}
}
/* Compact mobile introduction, with the illustration still hidden. */
@media(max-width:700px){
 .hero{padding-top:28px;padding-bottom:24px}
 .hero-intro-layout .hero-intro-copy h1{font-size:clamp(25px,6.7vw,32px);font-weight:700;line-height:1.3;letter-spacing:0;margin-top:14px;margin-bottom:18px}
 .hero-intro-layout .hero-intro-copy>.eyebrow{font-size:12px;letter-spacing:.03em;line-height:1.6}
 .hero-intro-layout .hero-intro-copy>p{font-size:16px;line-height:1.65;margin-top:0;margin-bottom:22px}
}

.legal-team-hero>a{display:block;width:100%}.legal-team-hero img{object-fit:contain!important;height:auto!important}

/* Subtle book CTA sheen: CSS only, no additional requests. */
.legal-team-hero>a{position:relative}
.book-button-shine{position:absolute;left:43%;top:86%;width:42%;height:8.5%;border-radius:999px;overflow:hidden;pointer-events:none}
.book-button-shine::after{content:"";position:absolute;top:-20%;bottom:-20%;left:0;width:14%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);transform:translateX(850%) skewX(-18deg);animation:book-cta-sheen 4s ease-in-out infinite}
@keyframes book-cta-sheen{0%,72%{transform:translateX(850%) skewX(-18deg);opacity:0}75%{opacity:1}96%{opacity:1}100%{transform:translateX(-160%) skewX(-18deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.book-button-shine{display:none}}
