/* xLocums homepage (page 82): hide the Public-health-amico cartoon in the
   "refreshingly different" section and tighten that section's vertical padding.
   CSS only. Off switch: xl_home_cartoon_hide_enabled.
   Does not touch CTA HTML widgets 524e6fc, f47ffac, or 688ad07.
   Does not hide the section photo background (ezgif-1-2.webp). */

/* Desktop image widget (section d8777e5, hidden on mobile). */
body.home .elementor-82 .elementor-element-9ba0e66,
.elementor-page-82 .elementor-element-9ba0e66,
/* Mobile image widget (section 1d4ea9a, hidden on desktop/tablet). */
body.home .elementor-82 .elementor-element-8aef07f,
.elementor-page-82 .elementor-element-8aef07f {
  display: none !important;
}

/* Keep horizontal padding from Elementor; add modest vertical padding now
   that the 300px illustration is gone, so the section is about half as tall
   (headline, paragraph, CTA pair). */
body.home .elementor-82 .elementor-element-d8777e5,
.elementor-page-82 .elementor-element-d8777e5,
body.home .elementor-82 .elementor-element-1d4ea9a,
.elementor-page-82 .elementor-element-1d4ea9a {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* Mobile heading in the same section: 28px type was still using a 50px
   line-height (about 1.8). Tighten both the mobile twin (9c2fed1 in
   section 1d4ea9a) and the desktop heading (33d41f8 in d8777e5) so a
   future breakpoint change stays consistent. */
@media (max-width: 767px) {
  body.home .elementor-82 .elementor-element-9c2fed1 .elementor-heading-title,
  body.home .elementor-82 .elementor-element-33d41f8 .elementor-heading-title,
  .elementor-page-82 .elementor-element-9c2fed1 .elementor-heading-title,
  .elementor-page-82 .elementor-element-33d41f8 .elementor-heading-title {
    line-height: 1.18 !important;
  }
}
