
/* ── DESKTOP SAILBOAT MOTIF ── */
.wh-page-hero .wh-hero-motif-desktop {
  position: absolute !important;
  bottom: -6% !important; 
  right: 0 !important;
  height: 175% !important; /* Adjust this value down (e.g. 110%-130%) to shrink */
  max-height: none !important; /* Prevents Elementor v4 from capping height at 100% */
  width: auto !important;
  z-index: 1;
  pointer-events: none;
  opacity: 0.30 !important; 
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 28%, black 100%) !important;
  mask-image: linear-gradient(to right, transparent 0%, black 28%, black 100%) !important;
}

/* Ensure any internal image tags fill the masked container properly */
.wh-page-hero .wh-hero-motif-desktop img {
  height: 100% !important;
  width: auto !important;
  object-fit: contain !important;
  object-position: right bottom !important;
}

/* ── MOBILE SAILBOAT MOTIF ── */
.wh-page-hero .wh-hero-motif-mobile {
  display: none !important;
  position: absolute !important;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 85px !important;
  height: auto !important;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-4deg);
  will-change: transform; /* Hardware acceleration for smooth rendering */
}

/* Mobile Image Toggle matching Elementor's native breakpoint */
@media (max-width: 767px) {
  .wh-page-hero .wh-hero-motif-desktop { display: none !important; }
  .wh-page-hero .wh-hero-motif-mobile { display: block !important; }
}