/*
 * DrAlaa Clinic Premium Motion V33
 * Continuous RTL photographic marquee (one photo every ~6s), golden light
 * sweep over dark tinted imagery, and high-contrast luminous sitewide CTAs.
 * No image upscaling filters or heavy visual dependencies.
 */
body.dc33-active .site-content section.dc33-marquee-section{
  --dc33-warm:#e7c28b;
  --dc33-forest:#0e4b42;
  --dc33-card-size:clamp(250px,29vw,365px);
  --dc33-gap:14px;
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  isolation:isolate!important;
  margin:0!important;
  padding:clamp(25px,2.7vw,36px) 0 clamp(21px,2.4vw,31px)!important;
  background:linear-gradient(180deg,#fcfdfb 0%,#f5faf6 100%)!important;
  direction:rtl!important;
  border:0!important;
}
body.dc33-active .site-content section.dc33-marquee-section *,
body.dc33-active .site-content section.dc33-marquee-section *::before,
body.dc33-active .site-content section.dc33-marquee-section *::after{box-sizing:border-box!important}
body.dc33-active .site-content section.dc33-marquee-section .dc33-gallery-intro{
  width:100%!important;
  max-width:1220px!important;
  min-width:0!important;
  padding:0 18px!important;
  margin:0 auto 13px!important;
}
body.dc33-active .site-content section.dc33-marquee-section .dc32-header{
  margin:0 auto 10px!important;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-toolbar{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px 18px!important;
  margin:14px auto 0!important;
  padding:0!important;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-hint{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  color:#5b776a!important;
  text-align:right!important;
  font:700 clamp(10px,.88vw,12px)/1.8 "Almarai",Tahoma,Arial,sans-serif!important;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-hint::before{
  content:"";flex:none;width:7px;height:7px;border-radius:50%;
  background:#c9a16f;
  box-shadow:0 0 0 4px rgba(203,155,85,.13);
}
body.dc33-active .site-content section.dc33-marquee-section button.dc33-motion-toggle{
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  min-height:34px!important;
  min-width:0!important;
  width:auto!important;
  padding:5px 12px!important;
  margin:0!important;
  border:1px solid #c9d9cd!important;
  border-radius:999px!important;
  color:#245e4c!important;
  background:#fff!important;
  font:800 11px/1.8 "Almarai",Tahoma,Arial,sans-serif!important;
  box-shadow:none!important;
  cursor:pointer;
  transition:border-color .2s ease,background-color .2s ease!important;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-motion-icon{
  display:inline-grid!important;
  place-items:center!important;
  width:16px;height:18px;
  font:900 16px/1 Arial,sans-serif!important;
  color:inherit!important;
}
body.dc33-active .site-content section.dc33-marquee-section button.dc33-motion-toggle:hover{
  border-color:#88b49b!important;
  background:#ecf6ef!important;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-window{
  position:relative!important;
  display:block!important;
  direction:rtl!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
  margin:0 auto!important;
  padding:9px 0 13px!important;
  outline-offset:-4px;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 3.5%,#000 96.5%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 3.5%,#000 96.5%,transparent 100%);
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-track{
  display:flex!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  direction:rtl!important;
  width:max-content!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  transform:translate3d(0,0,0);
  will-change:auto;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-group{
  display:flex!important;
  flex-direction:row!important;
  flex:0 0 auto!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:var(--dc33-gap)!important;
  width:max-content!important;
  min-width:0!important;
  padding-inline-end:var(--dc33-gap)!important;
}
body.dc33-active .site-content section.dc33-marquee-section figure.dc33-photo{
  position:relative!important;
  flex:0 0 var(--dc33-card-size)!important;
  display:block!important;
  width:var(--dc33-card-size)!important;
  height:clamp(210px,21vw,275px)!important;
  min-height:0!important;
  max-height:275px!important;
  margin:0!important;
  padding:5px!important;
  border:1px solid rgba(192,212,200,.42)!important;
  border-radius:17px!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#1e3835,#0b2c2e)!important;
  box-shadow:0 9px 22px rgba(8,46,42,.13),inset 0 0 0 1px rgba(231,197,140,.08)!important;
  text-align:right!important;
  transition:border-color .4s ease,box-shadow .4s ease,translate .4s ease!important;
  contain:layout paint;
}
body.dc33-active .site-content section.dc33-marquee-section figure.dc33-photo > img.dc33-photo-img{
  display:block!important;
  position:relative!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border-radius:12px!important;
  border:0!important;
  object-fit:contain!important;
  object-position:center!important;
  image-rendering:auto!important;
  filter:brightness(.94) contrast(1.045) saturate(1.045)!important;
  transform:scale(1)!important;
  transition:filter .6s ease,transform .9s cubic-bezier(.2,.68,.2,1)!important;
  background:linear-gradient(145deg,#193a38,#0a272a);
}
/* A subtle medical-image shadow, not a retouch of the patient's result. */
body.dc33-active .site-content section.dc33-marquee-section figure.dc33-photo::after{
  content:"";position:absolute;z-index:1;
  inset:5px;border-radius:12px;
  background:linear-gradient(180deg,rgba(0,24,27,.14) 0%,transparent 38%,transparent 58%,rgba(3,30,28,.61) 100%);
  pointer-events:none;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-photo-light{
  display:block!important;
  position:absolute!important;
  z-index:3!important;
  inset:-35% -50%!important;
  pointer-events:none!important;
  opacity:0;
  transform:translate3d(120%,0,0) skewX(-22deg);
  background:linear-gradient(90deg,transparent 33%,rgba(255,231,160,.05) 42%,rgba(255,246,216,.36) 50%,rgba(255,255,255,.15) 57%,transparent 68%);
  mix-blend-mode:screen;
}
body.dc33-active .site-content section.dc33-marquee-section figure.dc33-photo .dc33-photo-caption{
  position:absolute!important;
  display:flex!important;
  z-index:4!important;
  inset-inline:15px!important;
  bottom:15px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font:800 11px/1.6 "Almarai",Tahoma,Arial,sans-serif!important;
  text-shadow:0 2px 8px rgba(0,0,0,.65);
  direction:rtl!important;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-photo-caption small{
  color:#ffdeb1!important;
  font:800 10px/1.5 Arial,sans-serif!important;
  direction:ltr;
}
body.dc33-active .site-content section.dc33-marquee-section .dc33-case-note{
  display:block!important;
  max-width:1100px!important;
  margin:3px auto 0!important;
  padding:0 18px!important;
  font:500 10.5px/1.8 "Almarai",Tahoma,Arial,sans-serif!important;
  text-align:center!important;
  color:#779082!important;
}
/* Run the marquee only while visible and when the visitor hasn't paused it. */
@media(prefers-reduced-motion:no-preference){
  body.dc33-active .site-content section.dc33-marquee-section.dc33-running .dc33-marquee-track{
    animation:dc33-rtl-marquee 54s linear infinite!important;
    will-change:transform!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section.dc33-running .dc33-photo-light{
    animation:dc33-photo-sweep 6s cubic-bezier(.22,.68,.25,1) infinite!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section.dc33-running .dc32-title-piece{
    animation:dc33-title-spark 6s cubic-bezier(.16,.75,.19,1) infinite both!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section.dc33-running .dc32-title-accent{
    animation-delay:.18s!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section.dc33-running .dc32-heading::after{
    animation:dc33-bar-spark 6s ease-in-out infinite!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section.dc33-paused .dc33-marquee-track,
  body.dc33-active .site-content section.dc33-marquee-section.dc33-paused .dc33-photo-light{
    animation-play-state:paused!important;
  }
  @keyframes dc33-rtl-marquee{
    from{transform:translate3d(0,0,0)}
    to{transform:translate3d(50%,0,0)}
  }
  @keyframes dc33-photo-sweep{
    0%,13%{opacity:0;transform:translate3d(120%,0,0) skewX(-22deg)}
    26%{opacity:.95}
    47%{opacity:.72;transform:translate3d(-120%,0,0) skewX(-22deg)}
    55%,100%{opacity:0;transform:translate3d(-120%,0,0) skewX(-22deg)}
  }
  @keyframes dc33-title-spark{
    0%{transform:translateY(16px);opacity:.3}
    14%{transform:translateY(0);opacity:1}
    88%{transform:translateY(0);opacity:1}
    100%{transform:translateY(-4px);opacity:.8}
  }
  @keyframes dc33-bar-spark{
    0%{transform:scaleX(.12);opacity:.3}
    18%,88%{transform:scaleX(1);opacity:1}
    100%{transform:scaleX(.18);opacity:.4}
  }
}
@media(hover:hover) and (pointer:fine){
  body.dc33-active .site-content section.dc33-marquee-section figure.dc33-photo:hover{
    translate:0 -4px!important;
    border-color:rgba(237,206,155,.74)!important;
    box-shadow:0 18px 35px rgba(8,46,42,.2),0 0 0 1px rgba(224,187,115,.25)!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section figure.dc33-photo:hover > img.dc33-photo-img{
    filter:brightness(1.015) contrast(1.055) saturate(1.07)!important;
    transform:scale(1.025)!important;
  }
}
/* Premium CTA finish. Keep the existing brand-colored backgrounds and text. */
body.dc33-active :is(a,button).dc33-premium-cta{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  outline:1px solid rgba(216,183,115,.38)!important;
  outline-offset:0!important;
  box-shadow:0 0 0 1px rgba(238,206,141,.17),0 6px 16px rgba(21,112,86,.14)!important;
  transition:filter .25s ease,box-shadow .3s ease,transform .28s ease!important;
}
body.dc33-active :is(a,button).dc33-premium-cta .dc33-cta-sheen{
  position:absolute!important;
  display:block!important;
  z-index:2!important;
  inset:-30% auto -30% 0!important;
  width:65%!important;
  height:auto!important;
  pointer-events:none!important;
  opacity:0;
  transform:translate3d(265%,0,0) skewX(-26deg);
  background:linear-gradient(100deg,transparent 10%,rgba(255,255,255,.05) 35%,rgba(255,241,200,.48) 51%,rgba(255,255,255,.07) 65%,transparent 90%)!important;
  mix-blend-mode:screen;
}
@media(prefers-reduced-motion:no-preference){
  body.dc33-active :is(a,button).dc33-premium-cta.dc33-lit{
    animation:dc33-cta-halo 4.8s ease-in-out infinite!important;
  }
  body.dc33-active :is(a,button).dc33-premium-cta.dc33-lit .dc33-cta-sheen{
    animation:dc33-cta-sweep 6s ease-in-out infinite!important;
  }
  /* Animate a soft halo using filter, avoiding old !important button shadow resets. */
  @keyframes dc33-cta-halo{
    0%,100%{filter:drop-shadow(0 0 2px rgba(219,181,105,.10))}
    50%{filter:drop-shadow(0 0 11px rgba(228,186,102,.34))}
  }
  @keyframes dc33-cta-pulse{
    0%,100%{box-shadow:0 0 0 1px rgba(235,203,138,.19),0 6px 17px rgba(16,110,83,.12)}
    50%{box-shadow:0 0 0 2px rgba(233,201,141,.37),0 6px 24px rgba(24,126,91,.31),0 0 27px rgba(214,175,96,.17)}
  }
  @keyframes dc33-cta-sweep{
    0%,21%{opacity:0;transform:translate3d(265%,0,0) skewX(-26deg)}
    28%{opacity:.78}
    52%{opacity:.8;transform:translate3d(-320%,0,0) skewX(-26deg)}
    58%,100%{opacity:0;transform:translate3d(-320%,0,0) skewX(-26deg)}
  }
}
@media(hover:hover) and (pointer:fine){
  body.dc33-active :is(a,button).dc33-premium-cta:hover{
    filter:brightness(1.075)!important;
    transform:translateY(-2px)!important;
    box-shadow:0 0 0 2px rgba(240,207,140,.42),0 10px 27px rgba(16,108,83,.27),0 0 18px rgba(229,193,130,.22)!important;
  }
}
/* Preserve keyboard focus regardless of decorative glow. */
body.dc33-active :is(a,button).dc33-premium-cta:focus-visible,
body.dc33-active .site-content section.dc33-marquee-section :is(button,.dc33-marquee-window):focus-visible{
  outline:3px solid #d2a05e!important;
  outline-offset:3px!important;
}
/* High-specificity CTA polish, overriding old Elementor/medical-card shadow resets
   without changing any button's brand color, text size or click behavior. */
body.dc33-active .site-content a.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta,
body.dc33-active .site-content button.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta{
  box-shadow:0 0 0 1px rgba(242,206,142,.25),0 5px 17px rgba(16,106,77,.18)!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
@media(prefers-reduced-motion:no-preference){
  body.dc33-active .site-content a.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta.dc33-lit,
  body.dc33-active .site-content button.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta.dc33-lit{
    animation:dc33-cta-halo 4.8s ease-in-out infinite!important;
  }
}
@media(hover:hover) and (pointer:fine){
  body.dc33-active .site-content a.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta:hover,
  body.dc33-active .site-content button.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta.dc33-premium-cta:hover{
    box-shadow:0 0 0 2px rgba(240,207,140,.42),0 10px 27px rgba(16,108,83,.27),0 0 18px rgba(229,193,130,.22)!important;
  }
}
@media(max-width:991px){
  body.dc33-active .site-content section.dc33-marquee-section{--dc33-card-size:clamp(240px,42vw,320px)}
  body.dc33-active .site-content section.dc33-marquee-section figure.dc33-photo{height:235px!important}
}
@media(max-width:650px){
  body.dc33-active .site-content section.dc33-marquee-section{
    --dc33-card-size:min(74vw,300px);
    --dc33-gap:11px;
    padding:20px 0 23px!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section .dc33-gallery-intro{
    padding:0 15px!important;
    margin-bottom:10px!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-toolbar{
    gap:9px!important;
    justify-content:center!important;
    margin-top:12px!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-hint{
    width:100%!important;
    justify-content:center!important;
    font-size:10px!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section figure.dc33-photo{
    height:220px!important;
    border-radius:13px!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section .dc33-case-note{
    font-size:10px!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-window{
    padding:6px 0 10px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-track{
    transform:none!important;
    animation:none!important;
    will-change:auto!important;
  }
  body.dc33-active .site-content section.dc33-marquee-section .dc33-marquee-window{
    overflow-x:auto!important;
    -webkit-mask-image:none;
    mask-image:none;
  }
  body.dc33-active .site-content section.dc33-marquee-section .dc33-photo-light{
    opacity:0!important;
    animation:none!important;
  }
  body.dc33-active :is(a,button).dc33-premium-cta,
  body.dc33-active :is(a,button).dc33-premium-cta .dc33-cta-sheen{
    animation:none!important;
    transition:none!important;
  }
}
