/* Styles every page uses: the hero, cards, tables, layout, sidebars,
   calendar and footer. Page-specific styles are in home.css,
   cruise.css, tools.css and modals.css. */
/* HERO BANNER SECTION */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 340px;
  /* WebP where supported (93 KB), JPEG otherwise; the 2500px PNG was 3.7 MB */
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)), url('assets/banner.jpg') center/cover no-repeat;
  background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
    image-set(url('assets/banner.webp') type('image/webp'), url('assets/banner.jpg') type('image/jpeg'));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
@media (max-width: 767px) {
  .hero-banner {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
      image-set(url('assets/banner-960.webp') type('image/webp'), url('assets/banner.jpg') type('image/jpeg'));
  }}

.hero-content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #222;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.48);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.11);
    max-width: 600px;
}
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero-btn {
  display: inline-block;
  padding: 0.75em 2em;
  font-size: 1.1rem;
  font-weight: 600;
  background: #337ab7;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, transform 0.2s;
}
.hero-btn:hover, .hero-btn:focus {
  background: #23527c;
  transform: translateY(-2px) scale(1.04);
  color: #fff;
}
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-banner {
    min-height: 200px;
    padding: 0.5rem 0;
  }}

.sideads {
  padding: 0rem 1.5rem 2rem 1.5rem;
  margin: 0rem auto 2rem auto;
  min-width: 210px;
  min-height: 250px;
}

.support-msg {
    margin-bottom: 0px !important;
}

/* MODERN COST/PER NIGHT LIST SECTION */
.modern-list-section {
  background: #fafdff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(44,62,80,0.08);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  text-align: center;
}
.modern-list-heading {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
  color: #1d3557;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.modern-list-icon {
  font-size: 2.5rem;
  vertical-align: middle;
  margin-right: 0.3rem;
  color: #337ab7;
  filter: drop-shadow(0 2px 6px rgba(44,62,80,0.10));
}
@media (max-width: 900px) {
  .modern-list-section {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .modern-list-heading {
    font-size: 1.3rem;
    gap: 0.4rem;
  }
  .modern-list-icon {
    font-size: 1.6rem;
    margin-right: 0.15rem;
  }}

/* COST TIER CARD STYLES */
.cost-tier-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin: 1.5rem auto 2rem auto;
  padding: 0.5rem 0;
}
.cost-tier-card {
  background: #fff;
  position: relative;
}
/* The card's link covers the whole card, so a click anywhere on it
   follows the link (and the filter bar's redraws need no script) */
.cost-tier-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
}
.cost-tier-card[data-href], .ship-card[data-href] {
  cursor: pointer;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.07);
  padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  margin: 0.7rem;
  min-width: 180px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  border: 1px solid #e7eaf3;
}
.cost-tier-card[data-href]:hover, .ship-card[data-href]:hover {
  box-shadow: 0 8px 32px rgba(44,62,80,0.18);
  background: #f0f8ff;
}
.cost-tier-card:hover {
  box-shadow: 0 6px 24px rgba(44,62,80,0.13);
  transform: translateY(-2px) scale(1.035);
  border-color: #b6d0f6;
}

/* SHIP CARD TWEAKS */
.ship-card {
  min-width: 210px;
  min-height: 160px;
  padding: 1.5rem 1.2rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.ship-card img {
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
  .ship-card {
    min-width: 130px;
    min-height: 80px;
    padding: 0.7rem 0.5rem 0.7rem 0.5rem;
    gap: 0.3rem;
  }
  .ship-card img {
    width: 60px !important;
    height: 60px !important;
  }}

.cost-icon {
  font-size: 2.1rem;
  margin-bottom: 0.25rem;
  color: #3b6ea5;
  display: block;
}
.cost-tier-link {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1a3c6e;
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.18s;
  display: block;
}
.cost-tier-link:hover {
  color: #1a7f37;
  text-decoration: underline;
}
.cost-tier-sailings {
  font-size: 1rem;
  color: #1a7f37;
  font-weight: 600;
  margin-top: 0.15rem;
  letter-spacing: 0.2px;
}
@media (max-width: 900px) {
  .cost-tier-cards {
    gap: 0.7rem;
    padding: 0.2rem 0;
  }
  .cost-tier-card {
    min-width: 120px;
    max-width: 98%;
    padding: 0.7rem 1rem 0.7rem 1rem;
  }}

#c1, #c3 {
    width: 250px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
}

/* Tablets and narrow windows: two 250px sidebars left too little room
   for the content (calendars and tables ran off the screen), so keep
   only the left one */
@media (min-width: 768px) and (max-width: 1220px) {
    #c3 {
        display: none;
    }
    #c2 {
        flex: 1;
        min-width: 0;
    }
    /* Rows of filters (Power Search) wrap, or as a grid share the width,
       instead of running off the screen */
    .responsive-three-equal-columns {
        flex-wrap: wrap !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .responsive-three-equal-columns > * {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .responsive-three-equal-columns .filter-dropdown-wrapper {
        max-width: 100%;
        box-sizing: border-box;
    }
    /* Power Search sizes its buttons to the longest choice (a long port
       name); here they fit their column instead. Their lists keep that
       width, so the choices stay readable. */
    .responsive-three-equal-columns .filter-dropdown-btn {
        min-width: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
    }}

/* Phones: drop the sidebars, the same width at which the sticky
   mobile ad takes over, and give the content the full width */
@media (max-width: 767px) {
    #c1,
    #c3 {
        display: none;
    }
    #c2 {
        width: 100%;
        min-width: 0;
    }
    /* Let rows of filters wrap instead of running off the screen */
    .responsive-three-equal-columns {
        flex-wrap: wrap !important;
    }
    .responsive-three-equal-columns > * {
        max-width: 100%;
        box-sizing: border-box;
    }}

#wrapper {
    display: flex;
    justify-content: space-between;
}

.responsive-three-equal-columns {
    display:inline-grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;

}

.message {
  border: 3px solid lightblue;
  padding: 10px;
  margin: 0px 5px 0px 0px;
  background-color: #cccccc;
}

.data{
  padding: 10px;
  margin: 0px 5px 0px 0px;
}

.main-page {
    background-image: url("wave-pattern.png");
    background-image: image-set(url("wave-pattern.webp") type("image/webp"), url("wave-pattern.png") type("image/png"));
    background-color: #cccccc;
}

/*
tooltip css
*/

.popper,
.tooltip {
    position: absolute;
    z-index: 9999;
    background: #FFC107;
    color: black;
    width: 150px;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    padding: 10px;
    text-align: center;
}
.popper .popper__arrow,
.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
}

.tooltip .tooltip-arrow,
.popper .popper__arrow {
    border-color: #FFC107;
}
.popper[x-placement^="top"],
.tooltip[x-placement^="top"] {
    margin-bottom: 5px;
}
.popper[x-placement^="top"] .popper__arrow,
.tooltip[x-placement^="top"] .tooltip-arrow {
    border-width: 5px 5px 0 5px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    bottom: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}
.popper[x-placement^="bottom"],
.tooltip[x-placement^="bottom"] {
    margin-top: 5px;
}
.tooltip[x-placement^="bottom"] .tooltip-arrow,
.popper[x-placement^="bottom"] .popper__arrow {
    border-width: 0 5px 5px 5px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    top: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}
.tooltip[x-placement^="right"],
.popper[x-placement^="right"] {
    margin-left: 5px;
}
.popper[x-placement^="right"] .popper__arrow,
.tooltip[x-placement^="right"] .tooltip-arrow {
    border-width: 5px 5px 5px 0;
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    left: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}
.popper[x-placement^="left"],
.tooltip[x-placement^="left"] {
    margin-right: 5px;
}
.popper[x-placement^="left"] .popper__arrow,
.tooltip[x-placement^="left"] .tooltip-arrow {
    border-width: 5px 0 5px 5px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    right: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}

#script-warning {
    display: none;
    background: #eee;
    border-bottom: 1px solid #ddd;
    padding: 0 10px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: red;
}

#loading {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
}

#calendar {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 10px;
    background-color: #ffffff;
}
/* In a card's box the box gives the spacing; on phones the toolbar
   (prev/next/today, the month, and the four views) wraps onto more lines
   instead of running past the screen */
.cruise_box #calendar {
    margin: 0 auto;
    padding: 0;
}
@media (max-width: 600px) {
  #calendar .fc-toolbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
  }
  #calendar .fc-toolbar h2 {
    font-size: 1.2em;
  }}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#footer {
  display: block;
  border: 3px solid lightblue;
  padding: 10px;
  margin: 0px 5px 0px 0px;
  background-color: #cccccc;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.small {
    font-size: 12px;
}

.ship_button {
    display:inline-block;
    text-align: center;
    border:2px solid #000;
    background:#DDD;
    cursor:pointer;
    vertical-align:middle;
    padding: 5px;
    border-radius: 10px;
}

.ship_button:hover {
    box-shadow: inset 0 0 0 10em rgba(255, 255, 255, 0.3);
}

.cruise_data {
  display: table;
  border-radius: 10px;
  border:2px solid #000;
  vertical-align: middle;
  text-align: center;
  width: 100%;
}

.cruise_single {
  text-align: center;
  padding: 1rem;
}

/* A bordered box inside a section card, matching the cruise details box
   above it: the same border, corners and full width of the card */
.cruise_box {
  border: 2px solid #000;
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.cruise_data {
  box-sizing: border-box;
}
/* Boxes in the same card are spaced evenly */
.cruise_data + .cruise_box,
.cruise_box + .cruise_box {
  margin-top: 1rem;
}
.cruise_box > :first-child {
  margin-top: 0;
}
.cruise_box > :last-child {
  margin-bottom: 0;
}

.cruise_left {
  display: table-cell;
  text-align: left;
  vertical-align: top;
  width: 50%;
  padding: 1rem;
}

.cruise_right {
  display: table-cell;
  text-align: left;
  vertical-align: top;
  width: 50%;
  padding: 1rem;
}

.cruise-list, .btb-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px #ccd6e6;
    margin-bottom: 1em;
    text-align: center;
}
.cruise-list th, .cruise-list td , .btb-list th, .btb-list td{
    padding: 0.7em 0.5em;
    text-align: center;
    border-bottom: 1px solid #e6e6f2;
}
.cruise-list th, .btb-list th {
    background: #f3f6fa;
    font-weight: bold;
    color: #3a3a4d;
    font-size: 1.05em;
    text-align: center;
}
.cruise-list tbody:nth-child(even), .btb-list tr:nth-child(even) {
    background: #f8fafd;
}
.cruise-list tbody:hover, .btb-list tr:hover {
    background: #eaf0fa;
}
.cruise-list td.avail, .btb-list td.avail {
    font-weight: bold;
    color: #2a7a2a;
    background: #f6fff6;
    border-radius: 6px;
}
.cruise-list td button, .btb-list td button {
    padding: 0.4em 1.1em;
    border-radius: 6px;
    background: #3a6ee8;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}
.cruise-list td button:hover, .btb-list td button:hover {
    background: #224a99;
}

/* Itinerary Builder UI classes */

/* --- Mobile Responsive Enhancements for Itinerary Builder --- */
@media (max-width: 900px) {
  .main-page {
    padding: 0.5em;
  }
  .filter-dropdown-group > label {
      display: none;
  }
  .responsive-three-equal-columns {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 0.5em;
  }
  .main-page, .responsive-three-columns, .responsive-three-equal-columns {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .main-page {
    padding: 0.2em;
  }
  .hero-content {
    padding: 1em 0.5em;
    font-size: 0.98em;
  }
  .builder-step {
    padding: 0.5em 0.2em;
  }
  .cruise-list th, .cruise-list td, .btb-list th, .btb-list td {
    padding: 0.5em 0.2em;
    font-size: 0.95em;
  }
  .itinerary-btn, .cruise-list td button, .btb-list td button {
    font-size: 0.98em;
    padding: 0.4em 0.9em;
  }
  /* Hide columns: Itinerary (4), Ports (5), Cabin Type (6), Cabin Cost (7), Available Staterooms (8), # Common Staterooms (9) */
  .btb-list th:nth-child(2), .btb-list td:nth-child(2),
  .btb-list th:nth-child(3), .btb-list td:nth-child(3),
  .btb-list th:nth-child(5), .btb-list td:nth-child(5),
  .btb-list th:nth-child(6), .btb-list td:nth-child(6),
  .btb-list th:nth-child(7), .btb-list td:nth-child(7),
  .btb-list th:nth-child(8), .btb-list td:nth-child(8) {
    display: none !important;
  }
  /* Make visible columns less wide */
  .cruise-list, .btb-list {
    table-layout: fixed !important;
  }
  .cruise-list th, .cruise-list td, .btb-list th, .btb-list td {
    font-size: 0.9em;
    padding: 0.35em 0.15em;
    word-break: break-word;
  }
  .btb-list th:nth-child(1), .btb-list td:nth-child(1) { width: 70px; max-width: 90px; }
  .btb-list th:nth-child(4), .btb-list td:nth-child(4) { width: 70px; max-width: 90px; }
  .btb-list th:nth-child(9), .btb-list td:nth-child(9) { width: 70px; max-width: 90px; }
  .btb-list th:nth-child(10), .btb-list td:nth-child(10) { width: 48px; max-width: 60px; }
  .btb-list td button {
    font-size: 0.9em;
    padding: 0.25em 0.5em;
    min-width: 40px;
  }}

@media (max-width: 500px) {
  .main-page, .responsive-three-columns, .responsive-three-equal-columns {
    padding: 0.1em !important;
    gap: 0.5em !important;
  }
  .hero-content h1 {
    font-size: 1.15rem;
  }
  .cruise-list th, .cruise-list td, .btb-list th, .btb-list td {
    font-size: 0.9em;
    padding: 0.25em 0.1em;
  }
  .itinerary-btn, .cruise-list td button, .btb-list td button {
    font-size: 0.92em;
    padding: 0.3em 0.7em;
  }}

/* Make cruise tables scrollable on mobile, and on tablets, where the
   left sidebar leaves the content under the 700px or so a wide table
   (e.g. Power Search's eight columns) needs */
@media (max-width: 1020px) {
  .cruise-list, .btb-list {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 1px 4px #ccd6e6;
  }
  .cruise-list table, .cruise-list thead, .cruise-list tbody, .cruise-list tr, .cruise-list th, .cruise-list td,
  .btb-list table, .btb-list thead, .btb-list tbody, .btb-list tr, .btb-list th, .btb-list td {
    display: revert;
    width: revert;
    min-width: 100px;
  }}

/* On phones the table's box stays within the screen and the table
   scrolls inside it (its columns keep their 100px minimum above); a
   400px minimum here made the whole page scroll sideways at 390px */
@media (max-width: 500px) {
  .cruise-list, .btb-list {
    min-width: 0;
    max-width: 100%;
  }}

.builder-step-margin {
    margin-bottom: 1em;
}
#nav-icon-row {
    text-align: center;
}
#cabin-type-row {
    text-align: right;
}

#accessible-filter-row {
    text-align: center;
}

#filter-accessible {
  border: 1px solid #337ab7;
  background-color: #f0f8ff;
  color: #1f5c99;  /* readable on the pale blue */
  transition: background-color 0.3s, color 0.3s;
}

#filter-accessible.clicked {
  background-color: #1f5c99;
  color: #fff;
}

/* Add an indicator after external links that'll open in a new window. */
a[target="_blank"]::after {
  /* &nearr;, but nicer. SVG adapted from Inter's rendition of "↗". */
  content: url("data:image/svg+xml,%3Csvg viewBox='0 0 7 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.04261 6.80966L0.377841 6.14489L5.32102 1.19318H1.50284L1.51136 0.272727H6.90625V5.67614H5.97727L5.9858 1.85795L1.04261 6.80966Z' fill='black'/%3E%3C/svg%3E%0A");
  /* inline => inline-block, so that we can give it a height */
  display: inline-block;
  height: 0.5em;
  padding-inline: 0.2em;
  aspect-ratio: 1;
  line-height: 1;
  vertical-align: text-top;
}
/* Not on calendar events: the whole bar is the link, and the icon would
   wrap onto a second line inside it */
.fc a[target="_blank"]::after {
  display: none;
}
@media (prefers-color-scheme: dark) {
  a[target="_blank"]::after {
    filter: invert(100%);
  }}

.login-btn {
  border: none;
  border-radius: 6px;
  padding: 0.75em 1.5em;
  margin: 0.5em 0.5em 0.5em 0;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  transition: background 0.2s;
  color: #fff;
}
.login-btn-patreon-small {
  background: #c8432f;
  font-size: 12px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 0.75s 2;
}

#doubledip-highlight {
    cursor: pointer;
}

#doubledip-highlight a {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
}

#doubledip-highlight a:hover {
    background-color: #0056b3;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* Add dots under the hoverable text */
  cursor: pointer;
}

.price-increase {
    color: #b42318;
    font-weight: bold;
}
.price-decrease {
    color: #1a7f37;
    font-weight: bold;
}
.new-cruise {
    color: #007bff;
    font-weight: bold;
}

.no-changes {
    color: #666;
    padding: 2em;
    text-align: center;
}

.price-changes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}
.price-changes-table th {
    background: #f8f9fa;
    padding: 12px 8px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}
.price-changes-table th:hover {
    background: #e9ecef;
}
.price-changes-table th.sortable::after {
    content: '⇅';
    position: absolute;
    right: 8px;
    opacity: 0.3;
}
.price-changes-table th.sorted-asc::after {
    content: '↑';
    opacity: 1;
}
.price-changes-table th.sorted-desc::after {
    content: '↓';
    opacity: 1;
}
.price-changes-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #dee2e6;
}
.price-changes-table tr:hover {
    background: #f8f9fa;
}
.no-changes {
    text-align: center;
    padding: 3em;
    color: #666;
}
.table-container {
    overflow-x: auto;
}
.change-count {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 8px;
}

/* 1. Hide the ad completely on desktop screens by default */
.mobile-sticky-ad-wrapper {
    display: none;
}

/* 2. Target mobile viewports exclusively (screens smaller than 768px) */
@media screen and (max-width: 767px) {
    .mobile-sticky-ad-wrapper {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: 50px;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
        z-index: 999999; /* Keeps it on top of filters and table elements */
        padding: 5px 0;
        text-align: center;
    }

    
}

/* Cruise page breadcrumbs and related sailing links */
.breadcrumbs {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.related-sailings {
  columns: 2 18em;
  text-align: left;
  line-height: 1.6;
}
/* Section headings inside the cruise details box (formerly h1) */
/* Headings inside a section's boxes, smaller than the card heading */
.cruise_left h3, .cruise_right h3, .cruise_box h3 {
  font-size: 1.25em;
  margin: 0 0 0.4em;
  text-align: left;
}
.cruise_left ul + h3, .cruise_right ul + h3 {
  margin-top: 1em;
}
.cruise_box h3 small {
  font-size: 0.7em;
  font-weight: normal;
  font-style: italic;
}
/* The itinerary card: calendar, then the description */
.cruise_box .itinerary-calendar {
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 767px) {
  /* Stack the embarkation/ports and cabin price columns */
  .cruise_data,
  .cruise_left,
  .cruise_right {
    display: block;
    width: auto;
    box-sizing: border-box;
  }
  .cruise_left h3, .cruise_right h3, .cruise_box h3 {
    font-size: 1.15em;
  }}

.price-down { color: #1a7f37; font-weight: bold; }

/* Sailing summaries: a lead line, then one labeled fact per line, with
   the labels in one column and the values lined up in the next */
.sailing-summary .summary-lead {
  margin: 0 0 0.5em;
  font-size: 1.1em;
  text-align: left;
}
.sailing-summary .summary-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3em 0.8em;
  margin: 0;
  text-align: left;
}
.sailing-summary .summary-facts dt {
  font-weight: bold;
}
.sailing-summary .summary-facts dd {
  margin: 0;
}
