/* Creative V2: opt-in helpers for native Elementor pages.
   Content, layout, typography and normal-state colors remain authored in Elementor. */

:where(.hta-creative-home,.hta-creative-featured,.hta-creative-topics,.hta-creative-library,.hta-creative-learning,.hta-creative-offer,.hta-creative-about,.hta-creative-contact,.hta-creative-plans,.hta-creative-faq) .elementor-widget-text-editor p:last-child{
  margin-bottom:0;
}

/* Keep an instructional diagram intact at any responsive image width. */
:where(.hta-creative-covers) .swiper-slide-image{
  max-width:100%;
  height:auto;
  object-fit:contain;
}
:where(.hta-creative-feature-main,.hta-creative-feature-small) .elementor-widget-image img{
  display:block;
  max-width:100%;
  height:auto;
}

/* Native headings and button widgets retain their original link destinations. */
:where(.hta-creative-feature-main,.hta-creative-feature-small,.hta-creative-topic) .elementor-heading-title a{
  display:block;
  min-height:44px;
}
:where(.hta-creative-home,.hta-creative-featured,.hta-creative-topics,.hta-creative-library,.hta-creative-learning,.hta-creative-offer,.hta-creative-about,.hta-creative-contact,.hta-creative-plans,.hta-creative-faq) .elementor-button{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
:where(.hta-creative-home,.hta-creative-featured,.hta-creative-topics,.hta-creative-library,.hta-creative-learning,.hta-creative-offer,.hta-creative-about,.hta-creative-contact,.hta-creative-plans,.hta-creative-faq) :where(.elementor-heading-title a,.elementor-button):focus-visible{
  outline:3px solid #4986e6;
  outline-offset:4px;
  border-radius:4px;
}

/* Restrained card feedback without scaling or cropping the teaching images. */
:where(.hta-creative-feature-main,.hta-creative-feature-small){
  transition:box-shadow .18s ease;
}
:where(.hta-creative-feature-main,.hta-creative-feature-small):focus-within{
  box-shadow:0 8px 26px rgba(24,44,76,.06);
}
@media(hover:hover) and (pointer:fine){
  :where(.hta-creative-feature-main,.hta-creative-feature-small):hover{
    box-shadow:0 10px 28px rgba(24,44,76,.07);
  }
}

/* Manual carousel controls stay visible across photographs and pale diagrams.
   No opacity/pointer-event rules: Swiper retains its disabled/end-state behavior. */
:where(.hta-creative-covers) .elementor-swiper-button{
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  display:grid;
  place-items:center;
  border:1px solid #dbe4f0;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  color:#182c4c;
  box-shadow:0 2px 9px rgba(24,44,76,.09);
  transition:background-color .16s ease;
}
:where(.hta-creative-covers) .elementor-swiper-button svg{
  width:20px;
  height:20px;
}
:where(.hta-creative-covers) .elementor-swiper-button:not(.swiper-button-disabled):not([aria-disabled="true"]):hover{
  background:#fff;
}
:where(.hta-creative-covers) :where(.elementor-swiper-button,.swiper-pagination-bullet):focus-visible{
  outline:3px solid #4986e6;
  outline-offset:3px;
}

/* A Shortcode widget has no native text-color control. Only the centralized
   policy inside the navy offer panel receives this readable fallback. */
:where(.hta-creative-offer) .hta-creative-policy{
  color:#d5deed;
  font:inherit;
  line-height:1.9;
}
.hta-creative-offer .hta-creative-policy .hta-marketing-offer{
  color:#d5deed;
  display:block;
  line-height:1.9;
}

@media(prefers-reduced-motion:reduce){
  :where(.hta-creative-feature-main,.hta-creative-feature-small),
  :where(.hta-creative-covers) .elementor-swiper-button{
    transition:none;
  }
}
