/* DEL-378 (2026-11-26): CEO website review fixes. */

/* Light gray text in the boxes: darken the two global grays to meet WCAG AA 4.5:1. */
body.elementor-kit-5{--e-global-color-493b954:#595959;--e-global-color-7f6a14f:#555a5d}

/* GateKeeper: Learn more now scrolls to the Technology section, with a little air above it. */
#gatekeeper-technology{scroll-margin-top:24px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* GateKeeper and Patients hero: the two floating badges sat on top of the intro text and the
   header. Put them in the normal flow above the text so they can never cover anything. */
body.page-id-571 .elementor-widget-icon-box.elementor-absolute,
body.page-id-440 .elementor-widget-icon-box.elementor-absolute{
  position:relative !important;top:auto !important;right:auto !important;bottom:auto !important;left:auto !important;
  width:auto !important;max-width:100%;margin:0 0 12px 0;
}
body.page-id-571 .elementor-widget-icon-box.elementor-absolute:first-of-type,
body.page-id-440 .elementor-widget-icon-box.elementor-absolute:first-of-type{align-self:flex-start}
body.page-id-571 .elementor-widget-icon-box.elementor-absolute ~ .elementor-widget-icon-box.elementor-absolute,
body.page-id-440 .elementor-widget-icon-box.elementor-absolute ~ .elementor-widget-icon-box.elementor-absolute{align-self:flex-end}

/* Carousel arrows (patients and investors only): on phones and tablets the Elementor arrow offsets
   push both buttons outside the viewport. Pull them inside the widget. Same rule as the DEL-240
   candidate that passed manual clicks at 320 and 390, extended to tablet width (DEL-378 acceptance
   needs 768). Desktop (>1024) and the home page are untouched. */
@media (max-width:1024px){
  body.page-id-440 .elementor-widget-testimonial-carousel .elementor-swiper-button-next,
  body.page-id-580 .elementor-widget-testimonial-carousel .elementor-swiper-button-next{left:auto !important;right:0 !important}
  body.page-id-440 .elementor-widget-testimonial-carousel .elementor-swiper-button-prev,
  body.page-id-580 .elementor-widget-testimonial-carousel .elementor-swiper-button-prev{right:auto !important;left:0 !important}
}

/* Contact page at tablet width: the two column intro and form sat flush against both screen edges
   and the form ran a few pixels past the right edge. Give the page the same side gutter the phone
   layout already has. */
@media (min-width:768px) and (max-width:1024px){
  body.page-id-1198 main .e-con.e-parent{padding-left:20px;padding-right:20px;box-sizing:border-box}
  body.page-id-1198 .elementor-widget-form .elementor-form .elementor-form-fields-wrapper{margin-left:0;margin-right:0}
}

/* Contact page: the large email heading is one unbroken word and ran past its column (and off the
   screen on tablets). Size it to its column from tablet up. Phones keep their own smaller size. */
@media (min-width:768px){
  body.page-id-1198 .elementor-1198 .elementor-element.elementor-element-644a5be .elementor-heading-title{font-size:min(66px,4.4vw)}
}
