/* Public routes: homepage, booking calendar, dive sites, and PADI pages. */

/* Homepage (Fleet) sections; page text and repeated content are rendered by renderHome() in app.js. */
.fleet-home {
  --fleet-navy: var(--ink);
  --fleet-blue: var(--aqua-dark);
  --fleet-ice: var(--paper);
  --fleet-red: var(--red);
  background: var(--fleet-ice);
  color: var(--fleet-navy);
  font-family: var(--site-body-font);
  overflow: hidden;
}
.fleet-kicker {
  display: block;
  color: var(--fleet-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fleet-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 700px;
}
.fleet-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 6vw 60px;
}
.fleet-copy h1 {
  max-width: 760px;
  margin: 24px 0;
  font-size: clamp(58px, 7.5vw, 116px);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.82;
  text-transform: uppercase;
}
.fleet-copy > p {
  max-width: 560px;
  margin: 0 0 30px;
  color: #587586;
  font-size: 17px;
  line-height: 1.65;
}
.fleet-copy .button-row {
  margin: 0 0 48px;
}
.fleet-copy .button {
  border-color: var(--fleet-navy);
  color: var(--fleet-navy);
}
.fleet-copy .button.primary {
  border-color: var(--aqua);
  background: var(--aqua);
  color: #07111b;
}
.fleet-spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  border-top: 1px solid var(--fleet-navy);
  color: #587586;
}
.fleet-spec span {
  display: grid;
  gap: 5px;
  padding: 19px 12px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fleet-spec b {
  color: var(--fleet-navy);
  font-size: 25px;
  letter-spacing: -0.05em;
}
.fleet-boat {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #102633;
}
.fleet-boat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fleet-boat > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 10px;
  background: rgba(6, 28, 39, 0.84);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.fleet-route {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  padding: 100px 7vw;
  background: #fff;
}
.fleet-route h2,
.fleet-explore h2 {
  max-width: 570px;
  margin: 22px 0 0;
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-transform: uppercase;
}
.fleet-routes {
  border-top: 2px solid var(--fleet-navy);
}
.fleet-benefit {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--fleet-navy);
}
.fleet-benefit > b {
  color: var(--fleet-red);
  font-size: 15px;
}
.fleet-benefit > span {
  display: grid;
  gap: 7px;
}
.fleet-benefit strong {
  font-size: 17px;
}
.fleet-benefit small {
  max-width: 560px;
  color: #476775;
  font-size: 14px;
  line-height: 1.6;
}
.fleet-gallery {
  padding: 85px 7vw 105px;
  background: var(--fleet-ice);
}
.boat-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.boat-thumbs figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #15272d;
}
.boat-thumbs img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.35s;
}
.boat-thumbs figure:hover img {
  transform: scale(1.04);
}
.boat-thumbs figcaption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 6px 8px;
  background: rgba(4, 18, 23, 0.82);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fleet-explore {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  padding: 100px 7vw;
  background: var(--fleet-navy);
  color: #fff;
}
.fleet-explore-head h2 {
  max-width: min(100%, 570px);
  font-size: clamp(38px, 4.8vw, 72px);
}
.fleet-explore .fleet-kicker {
  color: var(--aqua);
}
.fleet-links {
  border-top: 2px solid #fff;
}
.fleet-links a {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
}
.fleet-links a > b {
  color: var(--aqua);
  font-size: 14px;
}
.fleet-links a > span {
  display: grid;
  flex: 1;
  gap: 6px;
}
.fleet-links strong {
  font-size: 17px;
}
.fleet-links small {
  color: #b9d0d5;
  font-size: 13px;
  line-height: 1.45;
}
.fleet-links i {
  color: var(--aqua);
  font-size: 20px;
  font-style: normal;
}
body[data-theme='dark'] .fleet-home {
  --fleet-ice: #06151d;
  --fleet-navy: #eaf4f5;
  --fleet-blue: #63e4d6;
  background: #06151d;
  color: #eaf4f5;
}
body[data-theme='dark'] .fleet-copy {
  background: #071a23;
}
body[data-theme='dark'] .fleet-copy > p,
body[data-theme='dark'] .fleet-benefit small {
  color: #bfd0d4;
}
body[data-theme='dark'] .fleet-copy .button {
  border-color: #eaf4f5;
  color: #eaf4f5;
}
body[data-theme='dark'] .fleet-copy .button.primary {
  border-color: var(--aqua);
  color: #07111b;
}
body[data-theme='dark'] .fleet-spec {
  border-color: #38515a;
  color: #bfd0d3;
}
body[data-theme='dark'] .fleet-route {
  background: #0a2029;
}
body[data-theme='dark'] .fleet-routes,
body[data-theme='dark'] .fleet-benefit {
  border-color: #334d56;
}
body[data-theme='dark'] .fleet-gallery {
  background: #06151d;
}
body[data-theme='dark'] .fleet-explore {
  background: #04131c;
}
@media (max-width: 900px) {
  .fleet-hero,
  .fleet-route,
  .fleet-explore {
    grid-template-columns: 1fr;
  }
  .fleet-copy {
    padding: 72px 7vw 55px;
  }
  .fleet-boat {
    min-height: 520px;
  }
  .fleet-route,
  .fleet-explore {
    gap: 45px;
    padding-block: 75px;
  }
  .boat-thumbs {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .fleet-copy {
    padding: 58px 20px 45px;
  }
  .fleet-copy h1 {
    font-size: clamp(50px, 16vw, 72px);
  }
  .fleet-spec {
    gap: 8px;
  }
  .fleet-spec span {
    font-size: 9px;
  }
  .fleet-spec b {
    font-size: 19px;
  }
  .fleet-boat {
    min-height: 430px;
  }
  .fleet-route,
  .fleet-gallery,
  .fleet-explore {
    padding: 65px 20px;
  }
  .fleet-route h2,
  .fleet-explore h2 {
    font-size: 42px;
  }
  .boat-thumbs img {
    height: 145px;
  }
}

/* Keep all header controls within the narrowest supported mobile viewport. */
@media (max-width: 400px) {
  .site-header {
    padding-inline: 8px;
    gap: 8px;
  }
  .brand {
    gap: 6px;
  }
  .brand img {
    width: 38px;
    height: auto;
  }
  .brand b {
    font-size: 12px;
  }
  .nav-toggle {
    padding-inline: 10px;
  }
  .header-tools {
    gap: 4px;
  }
  .header-tools select {
    width: 58px;
    max-width: 58px;
    flex: 0 0 58px;
  }
}
@media (max-width: 340px) {
  .header-tools {
    gap: 1px;
  }
  .header-tools select {
    width: 36px;
    max-width: 36px;
  }
}

/* Booking calendar and form presentation; availability is informational and behavior stays in app.js. */
.booking-banner {
  height: clamp(150px, 14.5vw, 230px);
  overflow: hidden;
  background: #0b2940;
}
.booking-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.booking-planner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 0 44px;
  color: #123341;
}
.booking-heading {
  text-align: center;
  padding: 0 20px 14px;
}
.booking-heading .fleet-kicker {
  color: #db6a61;
}
.booking-heading h1 {
  margin: 2px 0 0;
  font-family: var(--site-display-font);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.booking-heading p {
  margin: 4px 0 0;
  color: #77878a;
  font-size: 14px;
}
.booking-day-picker {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.booking-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.booking-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #d9dfdb;
  border-radius: 50%;
  background: #fff;
  color: #183e4b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.booking-day {
  min-width: 0;
  min-height: 154px;
  padding: 9px 7px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #fffefa;
  color: #163a48;
  box-shadow: 0 3px 12px rgba(15, 51, 58, 0.04);
  cursor: pointer;
}
.booking-day.is-selected {
  border: 2px solid #69d7ca;
  background: #e5f8f3;
  box-shadow: 0 0 0 2px rgba(105, 215, 202, 0.12);
}
.booking-month,
.booking-weekday {
  color: #718286;
  font-size: 10px;
  line-height: 1.2;
  text-transform: capitalize;
}
.booking-day > strong {
  font-size: 22px;
  line-height: 1.1;
}
.booking-site-name {
  margin: 8px 0 1px;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}
.booking-day > small {
  color: #718286;
  font-size: 9px;
  text-align: center;
}
.booking-availability {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 5px;
  color: #62767a;
  font-size: 9px;
  white-space: nowrap;
}
.booking-trip {
  padding: 14px 20px 16px;
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 8px 30px rgba(15, 51, 58, 0.08);
}
.booking-trip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.booking-trip-head h2 {
  margin: 0;
  font-family: var(--site-display-font);
  font-size: clamp(23px, 2.7vw, 31px);
  font-weight: 500;
  line-height: 1.2;
}
.booking-note {
  flex: none;
  padding: 7px 12px;
  border-radius: 30px;
  background: #e6f8f4;
  font-size: 10px;
}
.booking-trip-body {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.booking-trip-image {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 9px;
}
.booking-trip-info h3 {
  margin: 0;
  font-family: var(--site-display-font);
  font-size: 23px;
  font-weight: 500;
}
.booking-trip-info > p {
  margin: 1px 0 10px;
  color: #78878a;
  font-size: 12px;
}
.booking-trip-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  border-top: 1px solid #e6e8e4;
  padding-top: 9px;
}
.booking-trip-facts > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 7px;
  align-items: center;
  padding: 0 8px;
  border-right: 1px solid #e5e8e5;
}
.booking-trip-facts > div:first-child {
  padding-left: 0;
}
.booking-fact-icon {
  grid-row: span 2;
  color: #315461;
  font-size: 18px;
  text-align: center;
}
.booking-trip-facts b {
  font-size: 12px;
  line-height: 1.2;
}
.booking-trip-facts small {
  color: #758489;
  font-size: 9px;
  line-height: 1.3;
}
.booking-now {
  margin-left: 12px;
  padding: 9px 16px;
  border: 0;
  border-radius: 25px;
  background: #e9655b;
  color: white;
  font-size: 12px;
  white-space: nowrap;
  cursor: default;
}
.booking-now span {
  padding-left: 7px;
  font-size: 18px;
}
.booking-heading h1 {
  max-width: none;
  text-transform: none;
}
.booking-coming-soon {
  margin: 8px 4px 0;
  text-align: center;
  color: #718286;
  font-size: 10px;
}
.booking-help {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: #718286;
  font-size: 10px;
}
.booking-help b {
  color: #32535d;
}
@media (max-width: 900px) {
  .booking-planner {
    padding-inline: 18px;
  }
  .booking-days {
    gap: 6px;
  }
  .booking-day {
    padding-inline: 4px;
  }
  .booking-trip-body {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 15px;
  }
  .booking-trip-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .booking-now {
    grid-column: 1/-1;
    margin: 10px 0 0;
    justify-self: end;
  }
}
@media (max-width: 640px) {
  .booking-banner {
    height: 150px;
  }
  .booking-planner {
    padding: 20px 12px 32px;
  }
  .booking-heading {
    padding: 0 6px 16px;
  }
  .booking-heading p {
    font-size: 12px;
  }
  .booking-day-picker {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 5px;
  }
  .booking-arrow {
    width: 29px;
    height: 29px;
    font-size: 20px;
  }
  .booking-days {
    grid-template-columns: repeat(7, minmax(74px, 1fr));
    overflow-x: auto;
    padding: 2px 1px 10px;
    scroll-snap-type: x mandatory;
  }
  .booking-day {
    min-height: 145px;
    scroll-snap-align: start;
  }
  .booking-trip {
    padding: 14px;
  }
  .booking-trip-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .booking-note {
    font-size: 9px;
  }
  .booking-trip-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .booking-trip-image {
    height: 170px;
  }
  .booking-trip-facts {
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
  }
  .booking-trip-facts > div {
    padding: 0 6px;
  }
  .booking-trip-facts > div:nth-child(2) {
    border-right: 0;
  }
  .booking-now {
    grid-column: 1/-1;
    justify-self: stretch;
    margin: 0;
    text-align: center;
  }
}

/* Four consecutive ISO weeks, one row per week; mobile scrolling is contained inside each row. */
.booking-week-list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}
.booking-week-row {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e8eeea;
  border-radius: 13px;
  background: #f7faf8;
}
.booking-week-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 8px;
  color: #34535b;
}
.booking-week-heading strong {
  font-size: 13px;
}
.booking-week-heading span {
  color: #718286;
  font-size: 11px;
}
.booking-week-scroll {
  min-width: 0;
}
.booking-week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.booking-week-days .booking-day {
  min-height: 138px;
}
.booking-day.is-past {
  opacity: 0.55;
  cursor: default;
}
.booking-day:disabled {
  cursor: not-allowed;
}
.booking-availability {
  justify-content: center;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
.booking-disclaimer {
  margin: 10px 4px 0;
  text-align: center;
  color: #718286;
  font-size: 11px;
  line-height: 1.5;
}
.booking-day:focus-visible {
  outline: 3px solid #18777b;
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .booking-week-days {
    gap: 6px;
  }
  .booking-week-days .booking-day {
    padding-inline: 4px;
  }
}
@media (max-width: 640px) {
  .booking-week-row {
    padding: 6px;
  }
  .booking-week-days {
    gap: 2px;
  }
  .booking-week-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .booking-week-scroll {
    overflow: visible;
  }
  .booking-week-days {
    min-width: 0;
    padding: 2px 0 6px;
  }
  .booking-week-days .booking-day {
    min-width: 0;
    min-height: 94px;
    padding: 5px 2px;
    scroll-snap-align: unset;
  }
  .booking-site-name {
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.1;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .booking-availability {
    display: none;
  }
}

/* Dive-site editorial landing and detail pages (header/footer remain global). */
.sites-hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #123f47;
  color: #fff;
}
.sites-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.66);
}
.sites-hero:after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(0deg, rgba(4, 27, 33, 0.78), transparent);
}
.sites-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 90px max(7vw, 24px) 65px;
}
.sites-hero h1,
.site-detail-hero h1 {
  font: 500 clamp(56px, 8vw, 102px)/0.96 var(--site-display-font);
  margin: 18px 0;
}
.sites-hero p,
.site-detail-hero p {
  max-width: 650px;
  font-size: 18px;
}
.sites-list-section,
.special-sites-section {
  padding: 90px max(6vw, 24px);
  max-width: 1500px;
  margin: auto;
}
.sites-section-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}
.sites-section-heading h2,
.site-detail-main h2,
.site-facts h2 {
  font: 500 clamp(38px, 5vw, 64px)/1.05 var(--site-display-font);
  margin: 12px 0;
}
.site-facts h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.08;
}
.sites-section-heading p {
  color: var(--muted);
}
.site-feature-list {
  display: grid;
  gap: 36px;
}
.site-feature-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 350px;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.site-feature-card.reverse .site-feature-image {
  order: 2;
}
.site-feature-card.reverse .site-feature-copy {
  order: 1;
}
.site-feature-image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.site-feature-image img,
.site-special-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.site-feature-card:hover img,
.site-special-card:hover img {
  transform: scale(1.035);
}
.site-number {
  position: absolute;
  left: 22px;
  top: 18px;
  color: #fff;
  font: 500 60px var(--site-display-font);
  text-shadow: 0 2px 20px #123;
}
.site-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-size: 24px;
}
.site-feature-copy {
  padding: 46px clamp(25px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.site-feature-copy h3,
.site-special-card h3 {
  font: 500 clamp(34px, 4vw, 52px)/1 var(--site-display-font);
  margin: 12px 0;
}
.site-feature-copy p,
.site-special-card p {
  color: var(--muted);
  line-height: 1.7;
}
.site-tags {
  color: var(--aqua-dark);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin: 10px 0;
}
.site-level {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 8px;
}
.special-sites-section {
  background: var(--paper);
  color: var(--ink);
  max-width: none;
}
.special-sites-section .sites-section-heading {
  color: var(--ink);
}
.special-sites-section .sites-section-heading p {
  color: var(--muted);
}
.site-special-grid {
  max-width: 1260px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.site-special-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
}
.site-special-card > img {
  height: 230px;
  flex: none;
}
.site-special-card > div {
  position: relative;
  padding: 24px;
  flex: 1;
}
.site-special-card .site-arrow {
  width: 42px;
  height: 42px;
  right: 18px;
  bottom: 18px;
}
.site-special-card h3 {
  font-size: 31px;
}
.site-condition-note {
  max-width: 980px;
  margin: 35px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}
.special-sites-section .site-condition-note {
  color: var(--ink-2);
}
.site-detail-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #153e47;
}
.site-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58);
}
.site-detail-hero:after {
  content: '';
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(0deg, rgba(4, 27, 33, 0.86), transparent);
}
.site-detail-hero > div {
  position: relative;
  z-index: 1;
  padding: 50px max(7vw, 24px) 65px;
  max-width: 900px;
}
.site-back-link {
  display: block;
  color: #fff;
  margin-bottom: 48px;
  text-decoration: none;
}
.site-detail-tags {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
}
.site-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  padding: 85px 28px;
}
.site-detail-body .site-facts .ask-about-cta {
  color: #000;
}
.site-detail-main p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 740px;
}
.site-detail-main h3 {
  font: 500 26px var(--site-display-font);
  margin: 35px 0 5px;
}
.site-facts {
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-self: start;
}
.site-facts b {
  display: block;
  margin-top: 24px;
}
.site-facts p {
  color: var(--ink-2);
  line-height: 1.65;
}
.site-facts .button {
  margin-top: 12px;
}
.site-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 35px max(7vw, 24px);
  border-top: 1px solid var(--line);
}
.site-more a:not(.button) {
  color: var(--ink);
}
@media (max-width: 800px) {
  .sites-hero {
    min-height: 440px;
  }
  .site-feature-card {
    grid-template-columns: 1fr;
  }
  .site-feature-card.reverse .site-feature-image,
  .site-feature-card.reverse .site-feature-copy {
    order: initial;
  }
  .site-feature-image {
    min-height: 270px;
  }
  .site-feature-copy {
    padding: 32px;
  }
  .site-special-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-detail-body {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .site-detail-hero {
    min-height: 500px;
  }
}
@media (max-width: 560px) {
  .sites-list-section,
  .special-sites-section {
    padding: 64px 16px;
  }
  .sites-section-heading {
    margin-bottom: 32px;
  }
  .site-special-grid {
    grid-template-columns: 1fr;
  }
  .site-special-card {
    min-height: 0;
  }
  .site-detail-hero {
    min-height: 470px;
  }
  .site-detail-hero > div {
    padding: 24px 20px 42px;
  }
  .site-detail-hero h1 {
    font-size: 56px;
  }
  .site-detail-hero p {
    font-size: 16px;
  }
  .site-back-link {
    margin-bottom: 30px;
  }
  .site-detail-body {
    padding: 55px 20px;
  }
  .site-more {
    align-items: flex-start;
    flex-direction: column;
  }
}
.special-sites-section .sites-section-heading p,
.special-sites-section .site-condition-note {
  color: var(--muted);
}
.sites-hero {
  min-height: 270px;
  align-items: end;
}
.sites-hero-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sites-list-section {
  padding-top: 20px;
}
.sites-list-section > .sites-section-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.crew-list-section > .crew-intro {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 0 clamp(20px, 7vw, 90px);
  text-align: center;
  color: var(--muted);
}
.crew-list-section > .crew-intro p {
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 560px) {
  .crew-list-section > .crew-intro {
    padding: 0 20px;
    margin-bottom: 20px;
  }
}
.site-feature-card {
  grid-template-columns: 1fr 1fr;
}
.site-feature-image {
  height: 350px;
  min-height: 300px;
}
.site-feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-feature-copy {
  position: relative;
  padding-top: 70px;
}
.site-number {
  position: absolute;
  left: 20px;
  top: 8px;
  color: rgba(9, 47, 56, 0.1);
  font: 500 100px var(--site-display-font);
  text-shadow: none;
  z-index: 0;
}
.site-feature-copy > :not(.site-number) {
  position: relative;
  z-index: 1;
}
.site-special-card > img {
  height: 155px;
}
@media (max-width: 800px) {
  .site-feature-image {
    height: 280px;
  }
}
@media (max-width: 560px) {
  .site-feature-image {
    height: 260px;
  }
  .sites-list-section {
    padding-top: 16px;
  }
}
@media (max-width: 800px) {
  .site-feature-card {
    grid-template-columns: 1fr;
  }
}
.site-nav a.nav-book.active {
  background: var(--aqua);
  color: var(--ink);
}

/* Individual PADI training pages use the v1.21 editorial card system. */
.course-list-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px max(6vw, 24px) 90px;
}
.course-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.course-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 48px;
  gap: 20px;
  align-items: start;
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.course-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(6, 47, 59, 0.14);
}
.course-number {
  font: 500 36px var(--site-display-font);
  color: var(--red);
}
.course-feature-card h3 {
  font: 500 28px/1.1 var(--site-display-font);
  margin: 10px 0;
}
.course-feature-card p {
  color: var(--muted);
  line-height: 1.6;
}
.course-feature-card small {
  display: block;
  margin-top: 15px;
  color: var(--ink);
  font-weight: 700;
}
.course-feature-card .site-arrow {
  position: static;
  align-self: center;
}
.course-detail-hero {
  padding: 70px max(7vw, 24px) 75px;
  background: linear-gradient(130deg, #0a3743, #14626a);
  color: #fff;
}
.course-detail-hero h1 {
  font: 500 clamp(48px, 7vw, 88px)/1 var(--site-display-font);
  max-width: 950px;
  margin: 30px 0 18px;
}
.course-detail-hero p {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.65;
}
.course-detail-hero .site-back-link {
  display: block;
  color: #fff;
  margin-bottom: 44px;
}
@media (max-width: 760px) {
  .course-card-list {
    grid-template-columns: 1fr;
  }
  .course-list-section {
    padding: 40px 18px 65px;
  }
  .course-feature-card {
    grid-template-columns: 40px 1fr 36px;
    gap: 12px;
    padding: 22px;
  }
  .course-number {
    font-size: 28px;
  }
  .course-feature-card h3 {
    font-size: 24px;
  }
  .course-detail-hero {
    padding: 45px 20px 55px;
  }
  .course-detail-hero .site-back-link {
    margin-bottom: 32px;
  }
  .course-detail-hero p {
    font-size: 16px;
  }
}

.booking-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 5px;
  color: #62767a;
  font-size: 9px;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
}
@media (max-width: 640px) {
  .booking-week-days .booking-day {
    min-height: 108px;
  }
  .booking-availability {
    display: flex;
    font-size: 8px;
    line-height: 1.1;
  }
}
