/* Tokens match the values the Divi pages already use (Outfit, brand green and blue). */
.sla {
  --sla-green: #98bc41;
  --sla-blue: #2a497e;
  --sla-ink: #000;
  --sla-muted: #6f6f6f;
  --sla-line: #dfe5ee;
  --sla-on-blue: #fff;
  --sla-on-blue-muted: #c9d5ea;
  --sla-radius: 10px;
  --sla-gap: clamp(20px, 4vw, 48px);
  font-family: Outfit, Helvetica, Arial, sans-serif;
  color: var(--sla-ink);
}
.sla p, .sla h1, .sla h2, .sla h3, .sla figure { margin: 0; padding: 0; }
.sla img { display: block; width: 100%; height: auto; }

.sla .sla-eyebrow {
  color: var(--sla-green);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}
.sla .sla-title {
  margin: 10px 0 22px;
  font-family: inherit;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sla-ink);
}
.sla .sla-mark {
  padding: 0 5px;
  border-bottom: 7px solid var(--sla-green);
  transition: background 500ms ease-in-out;
}
.sla .sla-mark:hover { background: var(--sla-green); }

/* Director's message: the photo column stretches to the text's height, so both end on one line. */
.sla-director {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: var(--sla-gap);
  align-items: stretch;
}
.sla-director-photo { position: relative; min-height: 320px; }
.sla-director-photo img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--sla-radius);
}
.sla-director .sla-title { margin: 0 0 22px; font-size: clamp(34px, 9vw, 46px); }
/* No side padding: when the marked word wraps to its own line it must sit flush left. */
.sla-director .sla-mark { padding: 0; }
.sla .sla-name { margin-top: 18px; font-size: 17px; font-weight: 700; }
.sla .sla-prose p {
  color: var(--sla-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}
.sla .sla-prose p + p { margin-top: 14px; }

/* Fleet */
.sla .sla-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.sla .sla-types span {
  padding: 6px 12px;
  border: 1px solid var(--sla-line);
  border-left: 3px solid var(--sla-green);
  border-radius: 4px;
  color: var(--sla-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.sla-fleet .sla-title { margin-top: 26px; }
.sla-vessels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
.sla-vessel {
  overflow: hidden;
  border-radius: var(--sla-radius);
  background: var(--sla-blue);
}
.sla-vessel img { aspect-ratio: 16 / 10; object-fit: cover; }
.sla-vessel-body { padding: 18px 22px 22px; }
.sla .sla-vessel-type {
  color: var(--sla-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sla .sla-vessel h3 {
  margin-top: 6px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sla-on-blue);
}
.sla .sla-vessel-note { margin-top: 6px; color: var(--sla-on-blue-muted); font-size: 14px; }

@media (max-width: 980px) {
  .sla-director { grid-template-columns: 1fr; }
  .sla-director-photo { max-width: 320px; min-height: 0; }
  .sla-director-photo img { position: static; height: auto; aspect-ratio: 4 / 5; }
}
@media (max-width: 600px) {
  .sla-vessels { grid-template-columns: 1fr; }
  .sla .sla-eyebrow { font-size: 17px; }
}


/* The background video's screen-reader label ("Video Player") is hidden by the player's own
   stylesheet, which loads at the end of the page; until then it shows as a strip above the
   hero. Same hiding rule, applied from the start. */
.mejs-offscreen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}
