.ship-gallery-page {
  overflow: hidden;
}

.ship-gallery-page .sg-container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin-inline: auto;
}

.ship-gallery-page .sg-hero {
  position: relative;
  min-height: 40rem;
  border-bottom: var(--border-default);
  background: var(--color-abyss);
}

.ship-gallery-page .sg-hero__media,
.ship-gallery-page .sg-hero__media::after {
  position: absolute;
  inset: 0;
}

.ship-gallery-page .sg-hero__media {
  z-index: 0;
}

.ship-gallery-page .sg-hero__media::after {
  content: "";
  background: linear-gradient(90deg, rgba(10, 17, 24, 0.94), rgba(10, 17, 24, 0.58) 54%, rgba(10, 17, 24, 0.18));
}

.ship-gallery-page .sg-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.ship-gallery-page .sg-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 40rem;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  align-items: center;
}

.ship-gallery-page .sg-hero__content {
  display: flex;
  min-width: 0;
  max-width: 56ch;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.ship-gallery-page .sg-hero__content > * {
  margin: 0;
}

.ship-gallery-page .sg-hero__content .lead {
  max-width: 56ch;
}

.ship-gallery-page .sg-hero__actions {
  display: flex;
  min-width: 0;
  max-width: 48ch;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.ship-gallery-page .sg-external-note,
.ship-gallery-page .sg-hero__meta {
  color: var(--color-chart-slate);
  font-size: var(--text-sm);
}

.ship-gallery-page .sg-finder-link {
  position: relative;
  overflow: hidden;
}

.ship-gallery-page .sg-finder-link::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.35rem;
  left: 0.75rem;
  height: 1px;
  background: var(--color-abyss);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.ship-gallery-page .sg-finder-link:hover::after,
.ship-gallery-page .sg-finder-link:focus-visible::after {
  transform: scaleX(1);
}

.ship-gallery-page .sg-planner__intro {
  max-width: 58ch;
}

.ship-gallery-page .sg-planner__cards {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.ship-gallery-page .sg-guidance-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: var(--border-default);
  background: var(--color-marine-slate);
}

.ship-gallery-page .sg-guidance-card > * {
  margin: 0;
}

.ship-gallery-page .sg-guidance-card__number,
.ship-gallery-page .sg-route-steps__number {
  color: var(--color-cyan);
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 700;
  line-height: 1;
}

.ship-gallery-page .sg-guidance-card h3 {
  font-size: var(--text-h4);
}

.ship-gallery-page .sg-guidance-card p:last-child {
  max-width: 40ch;
}

.ship-gallery-page .sg-guidance-card--amber {
  border-top: 2px solid var(--color-amber);
}

.ship-gallery-page .sg-departure__heading {
  max-width: 58ch;
}

.ship-gallery-page .sg-departure__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.ship-gallery-page .sg-harbour-field,
.ship-gallery-page .sg-image-panel {
  min-width: 0;
  margin: 0;
  border: var(--border-default);
  background: var(--color-marine-slate);
}

.ship-gallery-page .sg-harbour-field {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.ship-gallery-page .sg-harbour-field__chart {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border-bottom: var(--border-default);
  background-color: var(--color-ocean-teal);
  background-image: linear-gradient(var(--color-hairline) 1px, transparent 1px), linear-gradient(90deg, var(--color-hairline) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

.ship-gallery-page .sg-harbour-field__chart::before,
.ship-gallery-page .sg-harbour-field__chart::after {
  position: absolute;
  content: "";
}

.ship-gallery-page .sg-harbour-field__chart::before {
  top: 42%;
  left: -8%;
  width: 115%;
  height: 2px;
  background: var(--color-cyan);
  transform: rotate(-11deg);
}

.ship-gallery-page .sg-harbour-field__chart::after {
  top: 34%;
  right: 19%;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  background: var(--color-abyss);
}

.ship-gallery-page .sg-harbour-field__chart span {
  position: absolute;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--color-cyan);
}

.ship-gallery-page .sg-harbour-field__chart span:nth-child(1) { top: 22%; left: 18%; }
.ship-gallery-page .sg-harbour-field__chart span:nth-child(2) { right: 13%; bottom: 20%; }
.ship-gallery-page .sg-harbour-field__chart span:nth-child(3) { bottom: 14%; left: 45%; }

.ship-gallery-page .sg-image-panel .sg-image-button {
  aspect-ratio: 16 / 10;
}

.ship-gallery-page .sg-caption-panel {
  padding: var(--space-5);
}

.ship-gallery-page .sg-caption-panel > :last-child {
  margin-bottom: 0;
}

.ship-gallery-page .sg-caption-panel p:not(.technical-label) {
  max-width: 48ch;
}

.ship-gallery-page .sg-note {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border: var(--border-default);
  border-left: 2px solid var(--color-cyan);
  background: var(--color-marine-slate);
}

.ship-gallery-page .sg-note p {
  max-width: 62ch;
  margin: 0;
}

.ship-gallery-page .sg-note--amber {
  border-left-color: var(--color-amber);
}

.ship-gallery-page .sg-cabin__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: var(--space-7);
}

.ship-gallery-page .sg-cabin__copy {
  min-width: 0;
  max-width: 54ch;
}

.ship-gallery-page .sg-cabin__copy h3 {
  margin-top: var(--space-5);
}

.ship-gallery-page .sg-cabin__media {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 3fr) minmax(11.5rem, 1fr);
  align-items: stretch;
  gap: var(--space-4);
}

.ship-gallery-page .sg-cabin__image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
}

.ship-gallery-page .sg-cabin__image img {
  object-position: center;
}

.ship-gallery-page .sg-cabin__prompt {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border: var(--border-default);
  border-top: 2px solid var(--color-amber);
  background: var(--color-marine-slate);
}

.ship-gallery-page .sg-cabin__prompt > * {
  margin: 0;
}

.ship-gallery-page .sg-cabin__prompt p:last-child {
  max-width: 30ch;
}

.ship-gallery-page .sg-checklist {
  margin-top: var(--space-7);
  border-block: var(--border-default);
}

.ship-gallery-page .sg-checklist h3 {
  margin: var(--space-4) var(--space-4) 0;
}

.ship-gallery-page .sg-checklist ul {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ship-gallery-page .sg-checklist li {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr);
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-top: var(--border-default);
}

.ship-gallery-page .sg-checklist strong {
  color: var(--color-navigation-white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.ship-gallery-page .sg-checklist span {
  max-width: 28ch;
  color: var(--color-chart-slate);
}

.ship-gallery-page .sg-dining__intro {
  max-width: 52ch;
}

.ship-gallery-page .sg-dining__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.ship-gallery-page .sg-media-card {
  min-width: 0;
  border: var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--color-marine-slate);
}

.ship-gallery-page .sg-media-card .media-frame {
  aspect-ratio: 4 / 3;
  border: 0;
  border-bottom: var(--border-default);
  border-radius: 0;
}

.ship-gallery-page .sg-media-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}

.ship-gallery-page .sg-media-card__copy > * {
  margin: 0;
}

.ship-gallery-page .sg-media-card__copy p:not(.status-tag):not(.sg-card-note) {
  max-width: 42ch;
}

.ship-gallery-page .sg-card-note {
  padding-top: var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--color-amber) 65%, var(--color-hairline));
  color: var(--color-chart-slate);
}

.ship-gallery-page .sg-question-strip {
  margin-top: var(--space-6);
  border: var(--border-default);
  background: var(--color-ocean-teal);
}

.ship-gallery-page .sg-question-strip > .technical-label,
.ship-gallery-page .sg-question-strip > p:last-child {
  margin: var(--space-4);
}

.ship-gallery-page .sg-question-strip > div {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: var(--border-default);
}

.ship-gallery-page .sg-question-strip span {
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  border-right: var(--border-default);
  color: var(--color-navigation-white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
}

.ship-gallery-page .sg-question-strip span:last-child {
  border-right: 0;
}

.ship-gallery-page .sg-night__heading {
  max-width: 52ch;
}

.ship-gallery-page .sg-night__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: start;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.ship-gallery-page .sg-observation,
.ship-gallery-page .sg-pool {
  min-width: 0;
}

.ship-gallery-page .sg-observation {
  position: relative;
}

.ship-gallery-page .sg-observation .media-frame {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.ship-gallery-page .sg-observation__caption {
  position: relative;
  z-index: 1;
  width: min(86%, 42ch);
  margin-top: -7rem;
  margin-left: var(--space-5);
  padding: var(--space-5);
  border: var(--border-default);
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ship-gallery-page .sg-observation__caption > :last-child {
  margin-bottom: 0;
}

.ship-gallery-page .sg-pool {
  border: var(--border-default);
  background: var(--color-marine-slate);
}

.ship-gallery-page .sg-pool .media-frame {
  aspect-ratio: 16 / 10;
  border: 0;
  border-bottom: var(--border-default);
  border-radius: 0;
}

.ship-gallery-page .sg-pool__copy {
  padding: var(--space-5);
  border-top: 2px solid var(--color-cyan);
}

.ship-gallery-page .sg-pool__copy p:not(.technical-label) {
  max-width: 44ch;
}

.ship-gallery-page .sg-atrium > h2 {
  margin-bottom: var(--space-7);
}

.ship-gallery-page .sg-atrium__image {
  aspect-ratio: 2.4 / 1;
  border-radius: 0;
}

.ship-gallery-page .sg-atrium__copy {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7);
  margin-top: var(--space-6);
}

.ship-gallery-page .sg-atrium__copy article {
  min-width: 0;
}

.ship-gallery-page .sg-atrium__copy article:nth-child(2) {
  padding-left: var(--space-7);
  border-left: var(--border-default);
}

.ship-gallery-page .sg-atrium__copy p {
  max-width: 46ch;
}

.ship-gallery-page .sg-vertical-rail {
  margin-top: var(--space-6);
  border-block: var(--border-default);
}

.ship-gallery-page .sg-vertical-rail > p {
  margin: var(--space-3) var(--space-4);
}

.ship-gallery-page .sg-vertical-rail ol {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.ship-gallery-page .sg-vertical-rail li {
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  border-top: var(--border-default);
  border-right: var(--border-default);
  color: var(--color-chart-slate);
}

.ship-gallery-page .sg-vertical-rail li:last-child {
  border-right: 0;
}

.ship-gallery-page .sg-vertical-rail li::before {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-cyan);
  content: "0" counter(list-item);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
}

.ship-gallery-page .sg-horizon__heading {
  max-width: 56ch;
}

.ship-gallery-page .sg-horizon__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.ship-gallery-page .sg-horizon__media,
.ship-gallery-page .sg-horizon__companion {
  min-width: 0;
  border: var(--border-default);
  background: var(--color-marine-slate);
}

.ship-gallery-page .sg-horizon__media .media-frame {
  aspect-ratio: 4 / 3;
  border: 0;
  border-bottom: var(--border-default);
  border-radius: 0;
}

.ship-gallery-page .sg-horizon__caption,
.ship-gallery-page .sg-horizon__companion {
  padding: var(--space-5);
}

.ship-gallery-page .sg-horizon__caption > :last-child,
.ship-gallery-page .sg-horizon__companion > :last-child {
  margin-bottom: 0;
}

.ship-gallery-page .sg-horizon__caption p:not(.technical-label) {
  max-width: 56ch;
}

.ship-gallery-page .sg-horizon__companion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 2px solid var(--color-cyan);
}

.ship-gallery-page .sg-horizon__companion p {
  max-width: 42ch;
}

.ship-gallery-page .sg-route-note {
  display: flex;
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: var(--border-default);
  border-left: 3px solid var(--color-amber);
  background: var(--color-ocean-teal);
}

.ship-gallery-page .sg-route-note > * {
  margin: 0;
}

.ship-gallery-page .sg-route-note p:last-child {
  max-width: 58ch;
}

.ship-gallery-page .sg-shortlist__intro {
  max-width: 56ch;
}

.ship-gallery-page .sg-route-steps {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-7);
  border: var(--border-default);
  background: var(--color-marine-slate);
}

.ship-gallery-page .sg-route-steps article {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border-right: var(--border-default);
}

.ship-gallery-page .sg-route-steps article:last-child {
  border-right: 0;
}

.ship-gallery-page .sg-route-steps article:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 2rem;
  right: -0.38rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  background: var(--color-abyss);
  content: "";
}

.ship-gallery-page .sg-route-steps article > * {
  margin: 0;
}

.ship-gallery-page .sg-route-steps h3 {
  font-size: var(--text-h4);
}

.ship-gallery-page .sg-route-steps p:last-child {
  max-width: 28ch;
}

.ship-gallery-page .sg-origin-strip {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-5);
  border: var(--border-default);
}

.ship-gallery-page .sg-origin-strip span {
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  border-right: var(--border-default);
  color: var(--color-navigation-white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.ship-gallery-page .sg-origin-strip span:last-child {
  border-right: 0;
}

.ship-gallery-page .sg-final__panel {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 10fr) minmax(0, 2fr);
  gap: var(--space-6);
  padding: var(--space-8) var(--space-9);
  border: var(--border-default);
  box-shadow: inset 2px 0 0 var(--color-cyan);
  background: var(--color-ocean-teal);
}

.ship-gallery-page .sg-final__copy {
  display: flex;
  min-width: 0;
  max-width: 58ch;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.ship-gallery-page .sg-final__copy > * {
  margin: 0;
}

.ship-gallery-page .sg-final__independence {
  max-width: 58ch;
  color: var(--color-chart-slate);
  font-size: var(--text-sm);
}

.ship-gallery-page .sg-final__rail {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: center;
  gap: var(--space-5);
}

.ship-gallery-page .sg-final__rail::before {
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 0.5rem;
  width: 1px;
  background: var(--color-cyan);
  content: "";
}

.ship-gallery-page .sg-final__rail span {
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  background: var(--color-ocean-teal);
}

.ship-gallery-page .sg-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.ship-gallery-page .sg-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.ship-gallery-page .sg-image-button:hover img,
.ship-gallery-page .sg-image-button:focus-visible img {
  transform: scale(1.015);
}

.ship-gallery-page .sg-lightbox[hidden] {
  display: none;
}

.ship-gallery-page .sg-lightbox {
  position: fixed;
  z-index: 1001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-4);
}

.ship-gallery-page .sg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 24, 0.9);
}

.ship-gallery-page .sg-lightbox__dialog {
  position: relative;
  display: flex;
  width: min(100%, 68rem);
  max-height: calc(100vh - 2rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  overflow: auto;
  padding: var(--space-4);
  border: var(--border-default);
  background: var(--color-marine-slate);
  box-shadow: var(--shadow-panel);
}

.ship-gallery-page .sg-lightbox__close {
  align-self: flex-end;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  border: var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--color-abyss);
  color: var(--color-navigation-white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.ship-gallery-page .sg-lightbox__image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.ship-gallery-page .sg-lightbox__caption {
  max-width: 62ch;
  margin: 0;
}

@media (min-width: 48rem) {
  .ship-gallery-page .sg-container {
    width: min(calc(100% - 4rem), var(--container-width));
  }
}

@media (max-width: 63.99rem) {
  .ship-gallery-page .sg-planner__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ship-gallery-page .sg-planner__cards > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .ship-gallery-page .sg-cabin__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .ship-gallery-page .sg-cabin__copy {
    max-width: 56ch;
  }

  .ship-gallery-page .sg-question-strip > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ship-gallery-page .sg-question-strip span:nth-child(3) {
    border-right: 0;
  }

  .ship-gallery-page .sg-question-strip span:nth-child(n + 4) {
    border-top: var(--border-default);
  }

  .ship-gallery-page .sg-night__grid,
  .ship-gallery-page .sg-horizon__grid {
    grid-template-columns: minmax(0, 3fr) minmax(18.75rem, 2fr);
  }

  .ship-gallery-page .sg-route-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ship-gallery-page .sg-route-steps article:nth-child(2) {
    border-right: 0;
  }

  .ship-gallery-page .sg-route-steps article:nth-child(-n + 2) {
    border-bottom: var(--border-default);
  }

  .ship-gallery-page .sg-route-steps article:nth-child(2)::after {
    display: none;
  }

  .ship-gallery-page .sg-route-steps article:nth-child(3)::after {
    top: -0.38rem;
    right: auto;
    left: 2rem;
  }

  .ship-gallery-page .sg-final__panel {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-7);
  }

  .ship-gallery-page .sg-final__rail {
    display: none;
  }
}

@media (max-width: 59.99rem) {
  .ship-gallery-page .sg-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding-bottom: var(--space-6);
  }

  .ship-gallery-page .sg-hero__media {
    position: relative;
    width: min(calc(100% - 2rem), var(--container-width));
    aspect-ratio: 16 / 10;
    margin: var(--space-4) auto 0;
  }

  .ship-gallery-page .sg-hero__media::after {
    background: linear-gradient(180deg, rgba(10, 17, 24, 0.08), rgba(10, 17, 24, 0.42));
  }

  .ship-gallery-page .sg-hero__inner {
    display: block;
    min-height: 0;
    margin-top: var(--space-5);
  }

  .ship-gallery-page .sg-hero__content {
    max-width: 52ch;
  }

  .ship-gallery-page .sg-departure__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ship-gallery-page .sg-harbour-field__chart {
    min-height: 14rem;
  }
}

@media (max-width: 47.99rem) {
  .ship-gallery-page .sg-hero__media {
    width: min(calc(100% - 3rem), var(--container-width));
  }

  .ship-gallery-page .sg-hero__content {
    gap: var(--space-3);
  }

  .ship-gallery-page .sg-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.65rem);
  }

  .ship-gallery-page .sg-hero__actions,
  .ship-gallery-page .sg-hero__actions .button {
    width: 100%;
  }

  .ship-gallery-page .sg-planner__cards,
  .ship-gallery-page .sg-departure__grid,
  .ship-gallery-page .sg-dining__grid,
  .ship-gallery-page .sg-night__grid,
  .ship-gallery-page .sg-horizon__grid,
  .ship-gallery-page .sg-atrium__copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .ship-gallery-page .sg-planner__cards > :nth-child(3) {
    grid-column: auto;
  }

  .ship-gallery-page .sg-cabin__media {
    grid-template-columns: minmax(0, 1fr);
  }

  .ship-gallery-page .sg-cabin__prompt {
    min-height: auto;
  }

  .ship-gallery-page .sg-checklist li {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-1);
  }

  .ship-gallery-page .sg-question-strip > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .ship-gallery-page .sg-question-strip span,
  .ship-gallery-page .sg-question-strip span:nth-child(3) {
    border-right: 0;
    border-top: var(--border-default);
  }

  .ship-gallery-page .sg-question-strip span:first-child {
    border-top: 0;
  }

  .ship-gallery-page .sg-observation__caption {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    border-top: 0;
    background: var(--color-marine-slate);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ship-gallery-page .sg-pool .media-frame,
  .ship-gallery-page .sg-observation .media-frame {
    aspect-ratio: 4 / 3;
  }

  .ship-gallery-page .sg-atrium__image {
    aspect-ratio: 16 / 10;
  }

  .ship-gallery-page .sg-atrium__copy article:nth-child(2) {
    padding-left: 0;
    border-top: var(--border-default);
    border-left: 0;
    padding-top: var(--space-5);
  }

  .ship-gallery-page .sg-vertical-rail ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .ship-gallery-page .sg-vertical-rail li {
    border-right: 0;
  }

  .ship-gallery-page .sg-route-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .ship-gallery-page .sg-route-steps article,
  .ship-gallery-page .sg-route-steps article:nth-child(2) {
    padding-left: calc(var(--space-5) + 2rem);
    border-right: 0;
    border-bottom: var(--border-default);
  }

  .ship-gallery-page .sg-route-steps article:last-child {
    border-bottom: 0;
  }

  .ship-gallery-page .sg-route-steps article::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--space-5);
    width: 2px;
    background: var(--color-cyan);
    content: "";
  }

  .ship-gallery-page .sg-route-steps article:first-child::before {
    top: 2rem;
  }

  .ship-gallery-page .sg-route-steps article:last-child::before {
    bottom: calc(100% - 2rem);
  }

  .ship-gallery-page .sg-route-steps article:not(:last-child)::after,
  .ship-gallery-page .sg-route-steps article:nth-child(3)::after {
    top: 1.6rem;
    right: auto;
    left: calc(var(--space-5) - 0.28rem);
  }

  .ship-gallery-page .sg-route-steps article > * {
    position: relative;
    z-index: 1;
  }

  .ship-gallery-page .sg-origin-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ship-gallery-page .sg-origin-strip span:nth-child(2) {
    border-right: 0;
  }

  .ship-gallery-page .sg-origin-strip span:nth-child(n + 3) {
    border-top: var(--border-default);
  }

  .ship-gallery-page .sg-final__panel {
    padding: var(--space-5);
  }

  .ship-gallery-page .sg-final__copy .button {
    width: 100%;
  }
}

@media (min-width: 30rem) and (max-width: 59.99rem) {
  .ship-gallery-page .sg-hero__media {
    width: min(calc(100% - 3rem), var(--container-width));
  }

  .ship-gallery-page .sg-hero__actions .button {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ship-gallery-page .sg-image-button img,
  .ship-gallery-page .sg-finder-link::after {
    transition: none;
  }
}

