/* AGM services (#seaLiving) — cinematic photo slides */

#seaLiving ._section_1im41_10:after {
  background:
    linear-gradient(90deg, rgba(6, 16, 28, 0.62) 0%, rgba(6, 16, 28, 0.18) 38%, rgba(6, 16, 28, 0.18) 62%, rgba(6, 16, 28, 0.58) 100%),
    linear-gradient(180deg, rgba(6, 16, 28, 0.42) 0%, rgba(6, 16, 28, 0.08) 42%, rgba(6, 16, 28, 0.5) 100%) !important;
}

#seaLiving ._headingContainer_1im41_31 {
  z-index: 3;
  max-width: min(460px, 32vw);
}

#seaLiving ._headingContainer_1im41_31 > :first-child {
  font-family: var(--agm-sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase;
  opacity: 0.82;
}

#seaLiving ._headingContainer_1im41_31 > :last-child {
  font-family: var(--agm-sans) !important;
  font-size: clamp(20px, 1.8vw, 28px) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

#seaLiving ._leftContainer_1im41_64 > :nth-child(2),
#seaLiving ._leftContainer_1im41_64 > :first-child > :last-child {
  font-family: var(--agm-sans) !important;
  font-weight: 300 !important;
  letter-spacing: -0.03em !important;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

#seaLiving ._rightContainer_1im41_117 {
  z-index: 3;
  gap: 20px !important;
}

#seaLiving ._rightContainer_1im41_117 > div {
  font-family: var(--agm-sans) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  max-width: 340px !important;
  opacity: 0.92;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

#seaLiving ._rightContainer_1im41_117 > a {
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  padding: 10px 20px !important;
  font-family: var(--agm-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

#seaLiving ._rightContainer_1im41_117 > a:hover {
  background: #fff !important;
  color: #0b1c33 !important;
  border-color: #fff !important;
  transform: translateY(-1px);
}

#seaLiving ._imgBox_1im41_154 {
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 28px 64px rgba(4, 10, 20, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  background: #0b1c33;
}

#seaLiving ._imgBox_1im41_154 video {
  opacity: 0;
}

#seaLiving .agm-service-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  animation:
    agm-service-fade 0.9s ease both,
    agm-service-kenburns 22s ease-in-out 0.4s infinite alternate;
}

@keyframes agm-service-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes agm-service-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(0, -2%, 0); }
}

#seaLiving ._currentIndex_1im41_86 {
  font-family: var(--agm-sans) !important;
  font-size: 13px !important;
  letter-spacing: 0.16em !important;
  opacity: 0.75;
}

@media (max-width: 768px) {
  #seaLiving ._imgBox_1im41_154 {
    border-radius: 16px;
  }

  #seaLiving ._headingContainer_1im41_31 > :last-child {
    font-size: clamp(16px, 4.6vw, 22px) !important;
  }

  #seaLiving ._rightContainer_1im41_117 > div {
    font-size: clamp(12px, 3.4vw, 14px) !important;
    max-width: 100% !important;
  }

  #seaLiving ._rightContainer_1im41_117 > a {
    align-self: flex-start !important;
  }
}
