/* Offer categories are editorial labels, not alternating tabs or buttons. */
@media (min-width: 761px) {
  body.home-page #voyages .pirate-offer .offer-heading .offer-kind {
    display: block;
    width: fit-content;
    margin: 18px 0 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
    border: 0;
    transform: none;
    font: 400 15px/1.5 'Space Mono', monospace;
    letter-spacing: .035em;
  }
  body.home-page #voyages .pirate-offer .offer-heading > h3 {
    margin-top: 10px;
  }
}

/* Homepage section titles follow the colour of the surface beneath them. */
body.home-page main :is(.hp-label, .hp-label > span, .hp-kicker),
body.home-page main #pulse-status {
  color: var(--pink);
}

body.home-page main :is(.home-owner-feature, .home-invitation) .hp-kicker {
  color: var(--ink);
}

body.home-page main .home-owner-feature .hp-kicker {
  color: var(--white);
}

body.home-page main .home-invitation .hp-kicker {
  color: var(--white);
}

body.home-page main .home-shore .hp-label,
body.home-page main .home-shore .hp-label > span {
  color: var(--white);
}

body.home-page main .home-shore .hp-label {
  margin-bottom: 20px;
}
@media (max-width: 760px) {
  body.home-page main .home-shore .hp-label { margin-bottom: 18px; }
}

/* Keep the first two chapter titles close to their opening headlines. */
body.home-page main :is(#movement, #voyages) > .hp-label {
  margin-bottom: 10px;
}

body.home-page #voyages .pirate-offer .offer-heading .offer-kind {
  background: transparent;
  padding: 0;
  transform: none;
  font: 400 15px/1.5 'Space Mono', monospace;
}

body.home-page #voyages .pirate-offer:nth-child(odd) .offer-heading .offer-kind {
  color: var(--white);
}
body.home-page #voyages .pirate-offer:nth-child(even) .offer-heading .offer-kind {
  color: var(--pink);
}

/* Home gives each voyage a photograph, one line and one invitation. */
body.home-page #voyages .pirate-offers { grid-auto-rows: auto; }

body.home-page #voyages .pirate-offer {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  padding: 0;
}

body.home-page #voyages .pirate-offer .offer-heading {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 2.3vw, 30px);
  padding-bottom: clamp(22px, 2.4vw, 32px);
}

body.home-page #voyages .pirate-offer .offer-heading .offer-kind {
  display: block;
  margin: 0;
  font-size: var(--type-label, 15px);
}

body.home-page #voyages .pirate-offer .offer-heading > h3 {
  display: block;
  min-height: 0;
  margin: 12px 0 16px;
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.13;
}

body.home-page #voyages .pirate-offer .offer-summary {
  margin: 0 0 22px;
  max-width: 48ch;
  font-size: var(--type-body, 18px);
  line-height: 1.35;
}

body.home-page #voyages .pirate-offer .offer-actions {
  display: flex;
  width: 100%;
  min-height: 0;
  margin: auto 0 0;
  padding: 0;
  border: 0;
}

body.home-page #voyages .pirate-offer > figure > img { object-fit: cover; }
body.home-page #voyages #offer-dione-star > figure > img { object-position: center bottom; }

@media (min-width: 761px) {
  body.home-page #voyages .pirate-offer > figure > img { aspect-ratio: 1.85; }
  body.home-page #voyages #offer-flotita-bonita > figure > img { object-position: 50% 82%; }
}

@media (max-width: 760px) {
  body.home-page #voyages .pirate-offer .offer-heading > h3 { margin: 10px 0 14px; }
  body.home-page #voyages .pirate-offer .offer-summary { margin-bottom: 18px; }
}
