/*
 * DrAlaa Homepage V40 — compact, responsive section rhythm.
 * Only the Arabic homepage is affected via the dc40-home-optimized body class.
 * Preserve the colors, shapes, motion and image content of each premium section.
 */
body.dc40-home-optimized .site-content .elementor.elementor-2695 > section.elementor-top-section {
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:clamp(9px,1vw,14px)!important;
  padding-bottom:clamp(9px,1vw,14px)!important;
}
body.dc40-home-optimized .site-content section:is(
  .dc28-services,.dc29-video-section,.dc30-booking,.dc31-reviews,
  .dc32-gallery,.dc33-marquee-section,.dc34-compare-section,
  .dc35-steps-section,.dc36-contact-hub,.dc38-blog-section
) {
  padding-top:clamp(9px,1vw,14px)!important;
  padding-bottom:clamp(9px,1vw,14px)!important;
  margin-block:0!important;
}
/* Preserve the actual hero image and interactive controls, tighten only
 * whitespace that does not contribute to visual hierarchy. */
body.dc40-home-optimized .site-content section.dc20-hero {
  margin-bottom:5px!important;
}
body.dc40-home-optimized .site-content .dc20-slider {
  padding-top:clamp(18px,2.1vw,28px)!important;
  padding-bottom:clamp(23px,2.8vw,34px)!important;
}
body.dc40-home-optimized .site-content section.dc38-blog-section .dc38-header{
  margin-bottom:clamp(15px,1.7vw,21px)!important;
}
body.dc40-home-optimized .site-content section.dc35-steps-section .dc35-header{
  margin-bottom:clamp(14px,1.7vw,22px)!important;
}
body.dc40-home-optimized .site-content section.dc34-compare-section .dc34-intro{
  margin-bottom:clamp(15px,1.7vw,22px)!important;
}
body.dc40-home-optimized .site-content section.dc36-contact-hub .dc36-booking-steps{
  margin-top:clamp(15px,1.8vw,22px)!important;
}
/* Keep content width stable at breakpoints without forcing touch carousels
 * to clip their own horizontally scrollable tracks. */
body.dc40-home-optimized .site-content .elementor.elementor-2695 > section.elementor-top-section,
body.dc40-home-optimized .site-content section.dc20-hero {
  max-width:100%!important;
  min-width:0!important;
}
body.dc40-home-optimized .site-content section[id]{
  scroll-margin-top:clamp(70px,7vw,95px);
}
@media(max-width:767px){
  body.dc40-home-optimized .site-content .elementor.elementor-2695 > section.elementor-top-section,
  body.dc40-home-optimized .site-content section:is(
    .dc28-services,.dc29-video-section,.dc30-booking,.dc31-reviews,
    .dc32-gallery,.dc33-marquee-section,.dc34-compare-section,
    .dc35-steps-section,.dc36-contact-hub,.dc38-blog-section
  ){
    padding-top:9px!important;
    padding-bottom:9px!important;
  }
  body.dc40-home-optimized .site-content .dc20-slider{
    padding-top:9px!important;
    padding-bottom:19px!important;
  }
  body.dc40-home-optimized .site-content section.dc20-hero{
    margin-bottom:8px!important;
  }
  body.dc40-home-optimized .site-content section.dc38-blog-section .dc38-header,
  body.dc40-home-optimized .site-content section.dc35-steps-section .dc35-header{
    margin-bottom:14px!important;
  }
  body.dc40-home-optimized .site-content section[id]{
    scroll-margin-top:75px;
  }
}
@media(max-width:390px){
  body.dc40-home-optimized .site-content .elementor.elementor-2695 > section.elementor-top-section,
  body.dc40-home-optimized .site-content section:is(
    .dc28-services,.dc29-video-section,.dc30-booking,.dc31-reviews,
    .dc32-gallery,.dc33-marquee-section,.dc34-compare-section,
    .dc35-steps-section,.dc36-contact-hub,.dc38-blog-section
  ){
    padding-top:7px!important;
    padding-bottom:7px!important;
  }
}
