/* ===== cruise showcase: light editorial bento, one ink stripe, text on solid panels ===== */
.cs-hp-band { padding: 34px 0 8px; }
.cs-hp-band:first-of-type { padding-top: 0; }
.cs-hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.cs-hp-head h2 { font-family: Gabarito, Inter, system-ui, sans-serif; font-weight: 800; font-size: clamp(23px, 2.6vw, 32px); color: #10233a; margin: 0; letter-spacing: -0.01em; }
.cs-hp-head p { margin: 4px 0 0; font-size: 13px; color: #64748b; }
.cs-hp-head p b { color: #006279; font-weight: 700; }
.cs-hp-seeall { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #006279; color: #006279; border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .18s ease, color .18s ease; }
.cs-hp-seeall:hover { background: #006279; color: #fff; }
.cs-hp-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: max-content; gap: 16px; }
.cs-hp-card { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(15, 40, 60, .06); transition: transform .22s ease, box-shadow .22s ease; text-decoration: none; }
.cs-hp-feat { grid-column: span 2; grid-row: span 2; }
@media (min-width: 1024px) {
  /* every other band mirrors: the big card rides the right side */
  .cs-hp-band:nth-of-type(even) .cs-hp-feat { grid-column: 3 / span 2; grid-row: 1 / span 2; }
}
.cs-hp-photo { position: relative; overflow: hidden; flex: 1 1 auto; min-height: 0; display: block; background: #e8eef4; }
/* brand wash up the bottom third of the big feature photos: Midnight Navy
   grounding into Deep Water Teal, fading to clear (sits above the photo). */
.cs-hp-feat .cs-hp-photo::after { content: ''; display: block; position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 40%;
  background: linear-gradient(to top, rgba(16, 35, 58, .62) 0%, rgba(0, 98, 121, .32) 50%, rgba(0, 98, 121, 0) 100%);
  mix-blend-mode: normal; pointer-events: none; z-index: 1; }
.cs-hp-photo .cs-card-map { z-index: 1; }
.cs-hp-photo:has(.cs-card-map)::after { display: none; }
.cs-hp-photo noscript img, .cs-hp-photo .cs-card-fallback { z-index: 1; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-hp-photo picture img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.85) contrast(.98); }
/* unifying grade: every photo shares the same cool cast */
/* the classic homepage wash: cyan -> sky -> pink, screen-blended — bright,
   fun, and it unifies every photo without darkening them */
.cs-hp-photo::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom left, rgba(34, 211, 238, .55) 0%, rgba(56, 189, 248, .26) 45%, rgba(244, 114, 182, .32) 100%); mix-blend-mode: screen; pointer-events: none; z-index: 1; }
.cs-hp-card:hover .cs-hp-photo picture img { transform: scale(1.04); }
.cs-hp-photo-caption { position: absolute; bottom: 12px; right: 12px; max-width: calc(100% - 24px); z-index: 2; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4; text-align: right; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.cs-hp-body { flex-shrink: 0; padding: 12px 15px 13px; display: block;
  background: linear-gradient(180deg, #ffffff 0%, #eef0f3 45%, #d8dee4 100%); }
.cs-hp-eyebrow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #006279; margin-bottom: 4px; }
.cs-hp-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: Gabarito, Inter, system-ui, sans-serif; font-weight: 800; font-size: 16.5px; line-height: 1.22; color: #10233a; margin-bottom: 6px; min-height: 2.44em; }
.cs-hp-feat .cs-hp-title { font-size: clamp(20px, 1.9vw, 26px); min-height: 0; }
/* start -> ports -> end, same sequence /lux shows; the box stays a fixed two
   lines so sibling cards (and their photos) stay uniform, but the text is
   anchored to the box BOTTOM so a one-line route hugs the price instead of
   leaving its empty line below */
.cs-hp-route { display: block; position: relative; height: 3em; font-size: 12px; line-height: 1.5; color: #64748b; margin: 2px 0 6px; }
.cs-hp-route-in { position: absolute; left: 0; right: 0; bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-hp-route-in span { white-space: nowrap; } /* wrap between ports, never inside a name */
.cs-hp-route-in span:first-of-type, .cs-hp-route-in span:last-of-type { font-weight: 700; color: #475569; }
.cs-hp-route-in span:not(:last-child)::after { content: '\2192'; color: #94a3b8; margin: 0 3px 0 5px; }
.cs-hp-price { display: block; font-size: 13px; color: #64748b; }
.cs-hp-price b { font-family: Gabarito, Inter, system-ui, sans-serif; font-weight: 800; font-size: 20px; color: #10233a; margin-right: 2px; }
.cs-hp-feat .cs-hp-price b { font-size: 24px; }
/* inline email signup band */
.cs-hp-signup { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin: 36px 0 6px; padding: 30px 34px; border-radius: 20px; background: linear-gradient(185deg, #17293f 0%, #0b1728 100%); }
.cs-hp-signup h3 { font-family: Gabarito, Inter, system-ui, sans-serif; font-weight: 800; font-size: clamp(20px, 2.1vw, 27px); color: #fff; margin: 0 0 5px; }
.cs-hp-signup p { margin: 0; font-size: 14px; color: #9fb3c8; }
.cs-hp-signup > div:first-child { flex: 1 1 280px; }
.cs-hp-signup form { display: flex; gap: 10px; flex: 1 1 420px; max-width: 660px; align-items: flex-end; }
.cs-hp-sub-field { flex: 1; }
.cs-hp-sub-field label { display: block; font-size: 12px; font-weight: 600; color: #9fb3c8; margin-bottom: 5px; }
select.cs-hp-sub-input { appearance: auto; width: 100%; }
.cs-hp-sub-input { flex: 1; box-sizing: border-box; height: 46px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 0 20px; font-size: 14.5px; line-height: 43px; color: #10233a; background: #fff; outline: none; }
.cs-hp-sub-input:focus { border-color: #006279; box-shadow: 0 0 0 3px rgba(0, 98, 121, .14); }
.cs-hp-sub-btn { box-sizing: border-box; height: 46px; border: 0; border-radius: 999px; background: #fed470; color: #131943; font-weight: 700; font-size: 14.5px; padding: 0 26px; cursor: pointer; transition: background .18s ease; white-space: nowrap; }
.cs-hp-sub-btn:hover { background: #e6b850; }
/* route-map cells skip the photo grade — the maps are already on-palette */
.cs-hp-photo::after, .cs-hp-photo::before { display: none; }
.cs-hp-photo picture img { filter: none; }
/* route maps letterbox instead of cropping: the box background matches the
   maps' sea color, so the full route always fits with no visible seams */
/* map cells lock to the mapcache render's native 650x400 aspect, so the
   existing files fill the box edge-to-edge with no crop and no letterbox */
.cs-hp-photo-map { aspect-ratio: 650 / 400; flex: none; background: #d2edef; }
/* line logo: bare mark, black or white per-card by corner contrast (chosen
   server-side) — never a chip, never a shadow */
/* color line logo anchored bottom-right of the card body, off the imagery */
.cs-hp-body { position: relative; }
.cs-hp-line { position: absolute; right: 14px; bottom: 13px; height: 28px; width: auto; max-width: 84px; object-fit: contain; }
.cs-hp-feat .cs-hp-line { height: 36px; max-width: 120px; }
/* lux card: white mono mark on the black body */
.cs-hp-line--mono { filter: brightness(0) invert(1); }
/* labeled slot chip: what this card IS (cheapest / best per day / ...) */
.cs-hp-slot { position: absolute; top: 10px; left: 12px; z-index: 2; background: #0a1322; color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 8px; padding: 6px 10px; }
/* the LUX pick: the band's one palette break, matching the Lux doorway */
/* lux body: the /lux palette as a quiet ink -> brown -> gold-dust sweep */
.cs-hp-lux .cs-hp-body { background: linear-gradient(180deg, #42371c 0%, #2e2818 30%, #211c14 65%, #14110c 100%); }
.cs-hp-lux .cs-hp-title { color: #ece5d8; }
.cs-hp-lux .cs-hp-eyebrow { color: #c6a45c; }
.cs-hp-lux .cs-hp-rate { color: #9a8f7a; }
.cs-hp-lux .cs-hp-price { color: #9a8f7a; }
.cs-hp-lux .cs-hp-route { color: #9a8f7a; }
.cs-hp-lux .cs-hp-route-in span:first-of-type, .cs-hp-lux .cs-hp-route-in span:last-of-type { color: #ccc2ac; }
.cs-hp-lux .cs-hp-route-in span:not(:last-child)::after { color: #c6a45c; opacity: .6; }
.cs-hp-lux .cs-hp-price b { color: #ece5d8; }
.cs-hp-lux .cs-hp-slot { background: #c6a45c; color: #14110c; }
.cs-hp-lux { border-color: #2c2618; }
.cs-hp-rate { color: #64748b; font-weight: 700; letter-spacing: 0; text-transform: none; font-size: 12px; }
.cs-hp-rate b { color: #f2c14e; font-weight: 800; margin-right: 1px; }
/* more-ways tiles: the category maps as enticing little destinations */
.cs-hp-morehead { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #64748b; margin: 34px 0 12px; }
.cs-hp-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-bottom: 8px; }
.cs-hp-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1;
  background: linear-gradient(185deg, #17293f 0%, #0b1728 100%); box-shadow: 0 1px 4px rgba(15, 40, 60, .08);
  transition: transform .18s ease, box-shadow .18s ease; text-decoration: none; }
.cs-hp-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(15, 40, 60, .35); }
.cs-hp-tile-map { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cs-hp-tile-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-hp-tile-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 8px; padding: 8px 12px;
  background: linear-gradient(to top, rgba(68, 68, 68, .85) 0%, rgba(68, 68, 68, 0) 100%); }
.cs-hp-tile-bar b { color: #fff; font-size: 13.5px; font-weight: 800; line-height: 1.2; }
.cs-hp-tile-bar em { color: #fff; font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; }
@media (max-width: 1023px) and (min-width: 640px) {
  .cs-hp-tiles { grid-template-columns: repeat(3, 1fr); }
  .cs-hp-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: max-content; }
  .cs-hp-feat { grid-column: span 2; }
  /* rows are max-content here (no 2-row span), so the flex-grow photo
     computes to 0 height — give it a real aspect instead */
  .cs-hp-feat .cs-hp-photo { aspect-ratio: 16 / 9; flex: 0 0 auto; }
}
@media (max-width: 639px) {
  .cs-hp-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cs-hp-tile-bar { padding: 6px 9px; }
  .cs-hp-tile-bar b { font-size: 11.5px; }
  .cs-hp-tile-bar em { font-size: 10.5px; }
  .cs-hp-grid { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 21px; gap: 12px; margin: 0 -16px; padding: 2px 16px 16px 21px; scrollbar-width: none; }
  .cs-hp-grid::-webkit-scrollbar { display: none; }
  /* +46px over the pre-route height: the fixed two-line route box (36px) plus
     its margins */
  .cs-hp-card { flex: 0 0 78vw; height: calc(48vw + 194px); scroll-snap-align: start; scroll-snap-stop: always; }
  .cs-hp-body { display: flex; flex-direction: column; flex: 1; }
  .cs-hp-route { margin-top: auto; }
  .cs-hp-photo { flex: none; aspect-ratio: 650 / 400; }
  .cs-hp-feat { flex-basis: 78vw; }
  .cs-hp-band { padding-top: 24px; }
  .cs-hp-signup { padding: 24px 20px; }
  .cs-hp-signup form { flex-direction: column; max-width: none; align-items: stretch; }
  /* in the column layout flex:1 sets flex-basis:0 on the vertical axis, which
     overrides the input's height:46px (collapsing it) and, on WebKit, leaves
     the bare email field un-stretched. Reset to natural size + full width so
     every control stays a uniform 46px pill. */
  .cs-hp-sub-field, .cs-hp-signup form > .cs-hp-sub-input { width: 100%; flex: 0 0 auto; }
  .cs-hp-sub-field label { text-align: left; }
  .cs-hp-sub-btn { width: 100%; }
}
