/*
 * DrAlaa Clinic Hero V21 — refined RTL layered slide animations.
 * Inspired by Elecgreen's editorial slider composition.
 * No slider library added; first slide remains server-rendered without JS.
 * Medical colors, reduced motion and mobile remain first-class.
 */
body.dc20-active .site-content .dc20-hero{
  --dc21-reveal:740ms;
  --dc21-pink:#b53666;
}
/* Pink Friday is unambiguously the LASER-ONLY offer. */
body.dc20-active .site-content .dc20-slide--laser .dc20-eyebrow {
  display:inline-flex;
  padding:5px 12px;
  margin-bottom:15px !important;
  border-radius:50px;
  background:rgba(196,50,103,.085);
  border:1px solid rgba(185,47,97,.19);
  color:#9b2955 !important;
}
body.dc20-active .site-content .dc20-slide--laser .dc20-star{
  color:#ba4273 !important;
}
body.dc20-active .site-content .dc20-offer{
  background:linear-gradient(147deg,#c84a7e 0%,#b33666 56%,#8e234f 100%) !important;
  border:3px solid rgba(255,255,255,.95) !important;
  box-shadow:0 9px 24px rgba(141,37,76,.17) !important;
  width:clamp(102px,9vw,125px);
  height:clamp(102px,9vw,125px);
  gap:0 !important;
}
body.dc20-active .site-content .dc20-offer small:first-child{
  font-size:11px !important;
  line-height:1.4;
  font-weight:800;
}
body.dc20-active .site-content .dc20-offer small:last-child{
  font-size:10px !important;
  line-height:1.4;
  white-space:nowrap;
}
body.dc20-active .site-content .dc20-offer strong{
  line-height:1.08 !important;
  font-size:clamp(28px,3vw,37px) !important;
  letter-spacing:-1px;
}
body.dc20-active .site-content .dc20-slide--laser .dc20-title span {
  color:#a82d60 !important;
}
/* Face-landmark source photo from the existing clinic medical article.
   Mask away the article's baked-in right-hand headline, leaving only the
   face and its marked illustrative regions in the banner. */
body.dc20-active .site-content .dc20-slide--skin .dc20-photo{
  object-position:46% 40% !important;
  -webkit-mask-image:linear-gradient(to right,
    #000 0%,#000 39%,rgba(0,0,0,.8) 44%,
    rgba(0,0,0,.38) 53%,transparent 64%) !important;
  mask-image:linear-gradient(to right,
    #000 0%,#000 39%,rgba(0,0,0,.8) 44%,
    rgba(0,0,0,.38) 53%,transparent 64%) !important;
}
/* First slide: clinic office must stay recognizable without washed-out face. */
body.dc20-active .site-content .dc20-slide:not(.dc20-slide--skin):not(.dc20-slide--laser) .dc20-photo{
  object-position:52% 30% !important;
}
/* More intentional hero controls and dots. */
body.dc20-active .site-content .dc20-arrow{
  transition:background-color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease;
}
body.dc20-active .site-content .dc20-dot{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
body.dc20-active .site-content .dc20-dot.is-active{
  background:#e9f3ed !important;
  border-color:#176b56 !important;
}
body.dc20-active .site-content .dc20-dot.is-active::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:#176b56;
  border-radius:inherit;
  transform:scaleX(0);
  transform-origin:right center;
}
@media(prefers-reduced-motion:no-preference){
  body.dc20-active .site-content .dc21-enhanced:not(.dc21-paused) .dc20-dot.is-active::before{
    animation:dc21-progress 8s linear forwards;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.dc21-enter{
    animation:dc21-slide-in var(--dc21-reveal) cubic-bezier(.2,.7,.25,1) both !important;
    z-index:2;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.dc21-leaving{
    position:absolute !important;
    inset:0;
    display:flex !important;
    pointer-events:none;
    z-index:1;
    animation:dc21-slide-out var(--dc21-reveal) ease both !important;
  }
  /* Elecgreen-like staggered layered arrivals: kicker, headline, copy, CTA. */
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-eyebrow,
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-title,
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-description,
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-actions,
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-terms{
    animation:dc21-layer-rise .65s cubic-bezier(.19,.8,.2,1) both !important;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-eyebrow{
    animation-delay:.13s !important;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-title{
    animation-delay:.24s !important;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-description{
    animation-delay:.35s !important;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-actions{
    animation-delay:.48s !important;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-terms{
    animation-delay:.58s !important;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-photo{
    animation:dc21-image-arrive 1.05s cubic-bezier(.2,.77,.22,1) both !important;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.is-active .dc20-offer{
    animation:dc21-badge-appear .7s .43s cubic-bezier(.16,.9,.26,1) both !important;
  }
}
@keyframes dc21-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes dc21-slide-in{from{opacity:0;filter:brightness(1.08)}to{opacity:1;filter:brightness(1)}}
@keyframes dc21-slide-out{from{opacity:1}to{opacity:0}}
@keyframes dc21-layer-rise{
  from{opacity:0;transform:translate3d(0,22px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes dc21-image-arrive{
  from{opacity:.60;transform:translate3d(-22px,0,0) scale(1.055)}
  to{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@keyframes dc21-badge-appear{
  from{opacity:0;transform:translate3d(0,-10px,0) scale(.89)}
  to{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@media(hover:hover) and (pointer:fine){
  body.dc20-active .site-content .dc20-arrow:hover{
    box-shadow:0 8px 22px rgba(22,79,51,.12) !important;
    transform:scale(1.075);
  }
}
@media(max-width:767px){
  body.dc20-active .site-content .dc20-slide--laser .dc20-eyebrow{
    margin-bottom:10px !important;
    padding:3px 9px !important;
    font-size:10.4px !important;
  }
  body.dc20-active .site-content .dc20-offer{
    width:81px !important;
    height:81px !important;
    left:12px !important;
    bottom:69px !important;
    top:auto !important;
    border-width:2px !important;
  }
  body.dc20-active .site-content .dc20-offer small:first-child{font-size:8px !important}
  body.dc20-active .site-content .dc20-offer strong{font-size:23px !important}
  body.dc20-active .site-content .dc20-offer small:last-child{font-size:8px !important}
  body.dc20-active .site-content .dc20-slide--skin .dc20-photo{
    object-position:38% 44% !important;
    -webkit-mask-image:radial-gradient(ellipse 64% 109% at 28% 50%,
      #000 27%,rgba(0,0,0,.83) 43%,rgba(0,0,0,.38) 58%,transparent 74%) !important;
    mask-image:radial-gradient(ellipse 64% 109% at 28% 50%,
      #000 27%,rgba(0,0,0,.83) 43%,rgba(0,0,0,.38) 58%,transparent 74%) !important;
  }
  /* Change fades still preserve the native mobile stacked text-and-image layout. */
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.dc21-leaving{
    display:flex !important;
    flex-direction:column !important;
  }
  body.dc20-active .site-content .dc21-enhanced .dc20-slide.dc21-enter{
    display:flex !important;
    flex-direction:column !important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.dc20-active .site-content .dc21-enhanced .dc20-slide,
  body.dc20-active .site-content .dc21-enhanced .dc20-slide *{
    animation:none !important;
    transition:none !important;
    transform:none !important;
  }
  body.dc20-active .site-content .dc20-dot.is-active::before{
    transform:scaleX(1) !important;
  }
}