/* WordPress / Elementor glue. The look itself comes from the original css files. */

/* Logged-in admin bar pushes the sticky header down. */
body.admin-bar header { top: 32px !important; }
@media (max-width: 782px) { body.admin-bar header { top: 46px !important; } }

/* Elementor wrappers around the page: no extra spacing, full width. */
.x8-hero-wrap.elementor-section,
.x8-hero-wrap .elementor-container,
.x8-hero-wrap .elementor-column-wrap,
.x8-hero-wrap .elementor-widget-wrap,
.x8-hero-wrap .elementor-widget-container,
.pdf-content > .elementor-container,
.pdf-content .elementor-column-wrap,
.pdf-content .elementor-widget-wrap,
.pdf-content .elementor-widget-container {
  padding: 0 !important;
  margin: 0;
  max-width: none;
}
.x8-hero-wrap > .elementor-container,
.pdf-content > .elementor-container,
.x8-hero-wrap .elementor-column,
.pdf-content .elementor-column,
.x8-hero-wrap .elementor-widget-wrap,
.pdf-content .elementor-widget-wrap { display: block; width: 100%; }
.x8-hero-wrap .elementor-widget,
.pdf-content .elementor-widget { margin-bottom: 0 !important; margin-block-end: 0 !important; }

/* Elementor's reset removes figure margins, radius and shadow of images; give the original values back. */
.elementor .pdf-banner { margin: 24px 0 30px !important; }
.elementor .pdf-banner img { border-radius: 20px !important; box-shadow: 0 14px 36px #063f6812 !important; }
.elementor .pdf-figure { margin: 1.35rem 0 1.55rem !important; }
.elementor .pdf-figure img { border-radius: 18px !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08) !important; }

/* Keep the sticky promo out of the Elementor editor canvas. */
.elementor-editor-active .sticky-promo,
.elementor-editor-active .falling-stars-layer { display: none !important; }

/* Elementor's `.elementor img { border-radius:0; box-shadow:none }` is more specific than the Tailwind radius utility on the home hero image (its shadow already comes from base.css). */
.elementor img.rounded-\[2rem\] { border-radius: 2rem !important; }
/* Same for the hero button shadow (Elementor resets `a { box-shadow: none }`); hover rules from base.css still win. */
.elementor a.shadow-soft { box-shadow: 0 20px 60px rgba(15, 55, 105, .12); }
