/* Keep the existing progress-line, module, and typography styles unchanged. */
.astra-ptabs-stage__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

/* Remove only the overlaid copy and CTA; their Elementor widgets remain editable. */
.elementor-339 .elementor-element.elementor-element-bb0c232 > .elementor-element-58cc341 {
  display: none !important;
}

.astra-ptabs-stage__media .elementor-widget-image,
.astra-ptabs-stage__media .elementor-widget-image .elementor-widget-container,
.astra-ptabs-stage__media .elementor-widget-image img {
  width: 100%;
  height: 100%;
}

.astra-ptabs-stage__media .elementor-widget-image img {
  display: block;
  object-fit: cover;
}

.astra-ptabs-stage__media > .astra-ptabs-stage__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.astra-ptabs-stage__media > .astra-ptabs-stage__video.is-on {
  opacity: 1;
}

.astra-ptabs-stage__media > .astra-ptabs-stage__link {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  cursor: pointer;
}

.astra-ptabs__item .elementor-widget-heading .elementor-heading-title a,
.astra-ptabs__item .elementor-widget-heading a.elementor-heading-title {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.astra-ptabs__item .elementor-widget-heading .elementor-heading-title a:hover,
.astra-ptabs__item .elementor-widget-heading .elementor-heading-title a:focus-visible,
.astra-ptabs__item .elementor-widget-heading a.elementor-heading-title:hover,
.astra-ptabs__item .elementor-widget-heading a.elementor-heading-title:focus-visible {
  color: #e60012;
}

.astra-ptabs__item.is-active .elementor-widget-heading .elementor-heading-title,
.astra-ptabs__item.is-active .astra-ptabs__title-link {
  color: #e60012;
}

/* The desktop video behavior remains active at every viewport width. */
@media (prefers-reduced-motion: reduce) {
  .astra-ptabs-stage__media > .astra-ptabs-stage__video {
    transition: none;
  }
}

