/* ============================================================
   IBB Vessel Banner Carousel: safely scoped, does not edit images
   ============================================================ */
.ibb-vessel-banners {
  padding: 32px 18px 48px;
  background: #f3f6fc;
}
.ibb-vessel-banners__frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1455px;
  height: clamp(360px, 59vw, 710px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: #0a1d3d;
  box-shadow: 0 12px 32px rgba(8, 39, 101, .13);
}
.ibb-vessel-banners__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}
.ibb-vessel-banners__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Important: contain guarantees the WHOLE poster and vessel remain uncropped. */
.ibb-vessel-banners__slide img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.ibb-vessel-banners__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(8, 39, 101, .75);
  color: #fff;
  font: 700 24px/1 sans-serif;
  cursor: pointer;
}
.ibb-vessel-banners__arrow:hover,
.ibb-vessel-banners__arrow:focus-visible {
  background: #c99a4b;
  color: #061c3d;
}
.ibb-vessel-banners__arrow--prev { left: 14px; }
.ibb-vessel-banners__arrow--next { right: 14px; }
.ibb-vessel-banners__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 100px;
  background: rgba(6, 22, 46, .68);
}
.ibb-vessel-banners__dots button {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.ibb-vessel-banners__dots button.is-active {
  background: #c99a4b;
  border-color: #c99a4b;
}
@media (max-width: 767px) {
  .ibb-vessel-banners { padding: 16px 8px 26px; }
  .ibb-vessel-banners__frame {
    height: clamp(300px, 112vw, 580px);
    border-radius: 8px;
  }
  .ibb-vessel-banners__arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .ibb-vessel-banners__arrow--prev { left: 6px; }
  .ibb-vessel-banners__arrow--next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ibb-vessel-banners__slide { transition: none; }
}
