/* Sailing scene built around the editable original Image widget. */
.lk-boat-story-image {
  position: relative;
  isolation: isolate;
  padding: 30px 0 38px;
  overflow: hidden;
}
.lk-boat-story-image img {
  position: relative;
  z-index: 1;
  width: 84%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transform-origin: 50% 82%;
  translate: var(--lk-boat-x, 0px) 0;
  transition: translate 140ms ease-out;
  animation: lk-sailing 6.4s ease-in-out infinite;
  filter: drop-shadow(0 10px 10px #1c253f12);
}
.lk-boat-story-image::before,
.lk-boat-story-image::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  background-repeat: repeat-x;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
}
.lk-boat-story-image::before {
  z-index: 0;
  bottom: 43px;
  height: 92px;
  background-image: url('../img/waves-far.svg?v=1.0.6');
  background-size: 320px 92px;
  animation: lk-far-current 9s linear infinite;
}
.lk-boat-story-image::after {
  z-index: 2;
  bottom: 25px;
  height: 72px;
  background-image: url('../img/waves-near.svg?v=1.0.6');
  background-size: 240px 72px;
  animation: lk-near-current 4.6s linear infinite;
}
body .elementor .lk-boat-story-route .elementor-heading-title { margin-top: 1px; }
@keyframes lk-sailing {
  0%, 100% { transform: translateY(2px) rotate(-1.8deg); }
  25% { transform: translateY(-7px) rotate(.8deg); }
  50% { transform: translateY(-2px) rotate(1.6deg); }
  75% { transform: translateY(5px) rotate(-.7deg); }
}
@keyframes lk-far-current {
  from { background-position: 0 0; }
  to { background-position: -320px 0; }
}
@keyframes lk-near-current {
  from { background-position: 0 0; }
  to { background-position: -240px 0; }
}
@media (max-width: 767px) {
  .lk-boat-story-image { padding: 25px 0 36px; }
  .lk-boat-story-image img { width: 84%; animation-name: lk-sailing-mobile; }
  .lk-boat-story-image::before { height: 72px; background-size: 320px 72px; bottom: 30px; }
  .lk-boat-story-image::after { height: 55px; background-size: 240px 55px; bottom: 20px; }
  @keyframes lk-sailing-mobile {
    0%, 100% { transform: translateY(1px) rotate(-1.8deg); }
    25% { transform: translateY(-5px) rotate(.8deg); }
    50% { transform: translateY(-1px) rotate(1.6deg); }
    75% { transform: translateY(4px) rotate(-.7deg); }
  }
}
body.elementor-editor-active .lk-boat-story-image img,
body.elementor-editor-active .lk-boat-story-image::before,
body.elementor-editor-active .lk-boat-story-image::after { animation: none; transform: none; translate: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .lk-boat-story-image img,
  .lk-boat-story-image::before,
  .lk-boat-story-image::after { animation: none; transform: none; translate: none; transition: none; }
}
