/* ==========================================================================
   SEAHORSE MARINE & ENERGY - OUR FLEET & KEY ASSETS STYLES
   Exact Parity with Customer Reference Design (Image 1)
   ========================================================================== */

.sh-fleet-page {
  position: relative;
  background-color: #f8fafc;
  color: #1e293b;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   MAIN FLEET SECTION & 2-COLUMN ASYMMETRIC GRID
   -------------------------------------------------------------------------- */
.sh-fleet-main-section {
  padding: 36px 0 72px;
}

.sh-fleet-main-section .container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.sh-fleet-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1200px) {
  .sh-fleet-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.sh-fleet-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   INTRO CARD (TOP-LEFT CARD)
   -------------------------------------------------------------------------- */
.sh-fleet-intro-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 220px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.sh-fleet-intro-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.sh-fleet-intro-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.3) 72%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.sh-fleet-intro-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.sh-fleet-intro-card__body {
  position: relative;
  z-index: 2;
  padding: 24px 20px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 78%;
}

.sh-fleet-intro-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #002244;
  border-radius: 50px;
  padding: 4px 18px 4px 6px;
  width: fit-content;
  margin-bottom: 14px;
}

.sh-fleet-intro-pill__badge {
  width: 32px;
  height: 32px;
  border: 1.5px solid #002244;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  color: #002244 !important;
  line-height: 1 !important;
}

.sh-fleet-intro-pill__title {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  color: #002244 !important;
  letter-spacing: -0.01em !important;
}

.sh-fleet-intro-card__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #334155;
  max-width: 380px;
}

.sh-fleet-intro-card__art {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.sh-fleet-intro-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

@media (max-width: 639px) {
  .sh-fleet-intro-card {
    min-height: auto;
  }
  .sh-fleet-intro-card__body {
    max-width: 100%;
    padding: 20px 16px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 65%, rgba(255, 255, 255, 0.4) 100%);
  }
}
/* --------------------------------------------------------------------------
   VESSEL CARD CONTAINER
   -------------------------------------------------------------------------- */
.sh-fleet-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: auto !important;
  min-height: auto !important;
  flex: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sh-fleet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   CARD HEADER
   -------------------------------------------------------------------------- */
.sh-fleet-page .sh-fleet-card__header,
.sh-fleet-card__header {
  display: flex;
  align-items: stretch;
  background-color: #0d2856;
  min-height: 60px;
  position: relative;
  overflow: hidden;
}

.sh-fleet-page .sh-fleet-card__badge,
.sh-fleet-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 6px 18px 6px 14px;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: #ffffff !important;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  background: var(--sh-vessel-color, #ea580c);
}


.sh-fleet-page .sh-fleet-card__title-group,
.sh-fleet-card__title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 16px;
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
}

.sh-fleet-page .sh-fleet-card__name,
.sh-fleet-card .sh-fleet-card__name,
.sh-fleet-card__title-group h3.sh-fleet-card__name,
h3.sh-fleet-card__name {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-fleet-page .sh-fleet-card__category,
.sh-fleet-card .sh-fleet-card__category,
.sh-fleet-card__title-group p.sh-fleet-card__category,
p.sh-fleet-card__category {
  margin: 2px 0 0 !important;
  padding: 0 !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--sh-vessel-color-light, color-mix(in srgb, var(--sh-vessel-color, #ea580c) 55%, white)) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sh-fleet-card__name strong,
.sh-fleet-card__category strong {
  color: var(--sh-vessel-color, #ea580c) !important;
}

.sh-fleet-card__accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sh-vessel-color, #ea580c);
}

/* --------------------------------------------------------------------------
   CARD BODY: 2 SUB-COLUMNS (SPECS & MEDIA)
   -------------------------------------------------------------------------- */
.sh-fleet-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 266px;
  padding: 0;
  gap: 0;
  flex-grow: 1;
  background: #ffffff;
}
.sh-fleet-card--media-left .sh-fleet-card__body {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas: "media specs";
}

.sh-fleet-card--media-left .sh-fleet-card__left {
  grid-area: specs;
}

.sh-fleet-card--media-left .sh-fleet-media-container {
  grid-area: media;
}

.sh-fleet-page .sh-fleet-card--media-left .sh-fleet-desc__text {
  white-space: normal;
}


@media (max-width: 639px) {
  .sh-fleet-card__body {
    grid-template-columns: 1fr;
  }

  .sh-fleet-card--media-left .sh-fleet-card__body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "specs";
  }
}


.sh-fleet-card__left {
  display: flex;
  min-width: 0;
  padding: 15px 14px 12px;
  flex-direction: column;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   SPECS GRID (2-COLUMN & 1-COLUMN)
   -------------------------------------------------------------------------- */
.sh-fleet-specs-grid--2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 8px;
}

.sh-fleet-specs-grid--1col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sh-fleet-spec {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.sh-fleet-spec--full {
  grid-column: 1 / -1;
}

.sh-fleet-spec__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

.sh-fleet-spec__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sh-fleet-spec__copy {
  display: block;
  min-width: 0;
  color: #0d2856;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.sh-fleet-spec:first-child .sh-fleet-spec__copy {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}

.sh-fleet-rich-text strong {
  color: var(--sh-vessel-color, #ea580c);
  font-weight: 800;
}

.sh-fleet-spec__copy strong {
  font-size: 17px;
  line-height: 1;
}

/* Description bullet with orange checkmark */
.sh-fleet-desc {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
}

.sh-fleet-desc__icon {
  color: var(--sh-vessel-color, #ea580c);
  flex-shrink: 0;
  font-size: 10px;
  line-height: 1.7;
}

.sh-fleet-page .sh-fleet-desc__text {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.35;
  color: #475569;
  white-space: nowrap;
}
/* --------------------------------------------------------------------------
   MEDIA CONTAINER
   -------------------------------------------------------------------------- */
.sh-fleet-media-container {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 266px;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
  text-decoration: none;
}

.sh-fleet-media-container--tall {
  min-height: 270px;
}

.sh-fleet-media-container img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 266px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.sh-fleet-media-container:hover img {
  transform: scale(1.025);
}

.sh-fleet-media-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(13, 40, 86, 0.88);
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.sh-fleet-media-container:hover .sh-fleet-media-badge {
  opacity: 1;
}


@media (max-width: 639px) {
  .sh-fleet-card__left {
    padding: 18px 16px;
  }

  .sh-fleet-media-container,
  .sh-fleet-media-container img {
    min-height: 250px;
  }
}

/* --------------------------------------------------------------------------
   FANCYBOX 5 BRANDING CUSTOMIZATION
   -------------------------------------------------------------------------- */
.fancybox__container {
  --fancybox-bg: rgba(10, 10, 10, 0.95) !important;
}

.fancybox__container .fancybox__backdrop,
.fancybox__backdrop {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(8px) !important;
}

.fancybox__toolbar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent) !important;
  text-shadow: none !important;
}

.fancybox__nav .carousel__button {
  background: rgba(30, 30, 30, 0.7) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  transition: background 0.2s, transform 0.2s !important;
}

.fancybox__nav .carousel__button:hover {
  background: #ea580c !important;
  border-color: #ea580c !important;
  transform: scale(1.08) !important;
}

.fancybox__container .fancybox__caption,
.fancybox__caption {
  display: none !important;
}

.fancybox__thumb {
  border-radius: 4px !important;
}

.fancybox__thumb.is-nav-selected,
.fancybox__thumb.is-selected {
  border: 2px solid #ea580c !important;
}
