:root {
  --sd-blue: #4375c3;
  --sd-blue-dark: #00349a;
  --sd-red: #cd0000;
  --sd-gray: #666666;
  --sd-gray-dark: #555555;
  --sd-light: #f5f7fa;
}

body {
  color: var(--sd-gray);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--sd-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sd-red);
}

/* Header */
.site-header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1030;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, #1a252f 0%, #243447 50%, #1a252f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #c5cdd6;
  font-size: 0.8rem;
  padding: 0.5rem 0;
}

.top-bar-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.top-bar a {
  color: #c5cdd6;
  transition: color 0.2s ease;
}

.top-bar a:hover {
  color: #fff;
}

.top-bar-social {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.top-bar-social a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.top-bar-social a:hover {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
}

.top-bar-tagline {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.4rem;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.top-bar-tagline i {
  color: var(--sd-blue);
}

.top-bar-contact {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 1rem;
}

.top-bar-contact a {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  white-space: nowrap;
}

.top-bar-contact a:last-child {
  color: #fff;
  font-weight: 600;
}

/* Navbar */
.navbar-sd {
  background: #fff;
  border-bottom: 3px solid var(--sd-blue);
  padding: 0.65rem 0;
}

.navbar-sd .navbar-brand {
  margin-right: 1rem;
  padding: 0;
}

.navbar-sd .navbar-brand img {
  height: 58px;
  transition: opacity 0.2s ease;
  width: auto;
}

.navbar-sd .navbar-brand:hover img {
  opacity: 0.85;
}

.navbar-sd .navbar-toggler {
  border-color: rgba(67, 117, 195, 0.35);
  padding: 0.35rem 0.55rem;
}

.navbar-sd .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(67, 117, 195, 0.25);
}

.navbar-actions {
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.navbar-sd .nav-link {
  align-items: center;
  border-bottom: 2px solid transparent;
  color: #333;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.35rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.75rem !important;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.navbar-sd .nav-link .nav-icon {
  color: var(--sd-blue-dark);
  font-size: 0.9rem;
}

.navbar-sd .nav-link:hover,
.navbar-sd .nav-link.active,
.navbar-sd .nav-link.show {
  border-bottom-color: var(--sd-blue-dark);
  color: var(--sd-blue-dark);
}

.navbar-sd .dropdown-toggle::after {
  margin-left: 0.15rem;
  vertical-align: 0.15em;
}

.dropdown-menu-sd {
  border: 1px solid rgba(67, 117, 195, 0.15);
  border-radius: 8px;
  border-top: 3px solid var(--sd-blue);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  margin-top: 0.5rem !important;
  min-width: 240px;
  padding: 0.5rem;
}

.dropdown-menu-sd .dropdown-item {
  align-items: center;
  border-radius: 4px;
  color: #444;
  display: flex;
  font-size: 0.875rem;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu-sd .dropdown-item i {
  color: var(--sd-blue);
  flex-shrink: 0;
  font-size: 0.7rem;
  opacity: 0.6;
}

.dropdown-menu-sd .dropdown-item:hover,
.dropdown-menu-sd .dropdown-item:focus {
  background: rgba(67, 117, 195, 0.1);
  color: var(--sd-blue-dark);
  padding-left: 1rem;
}

.dropdown-menu-sd .dropdown-item:hover i,
.dropdown-menu-sd .dropdown-item:focus i {
  opacity: 1;
}

.dropdown-menu-sd .dropdown-item-highlight {
  color: var(--sd-red);
  font-weight: 600;
}

.dropdown-menu-sd .dropdown-item-highlight i {
  color: var(--sd-red);
  opacity: 1;
}

.dropdown-menu-sd .dropdown-divider {
  border-color: rgba(0, 0, 0, 0.08);
  margin: 0.35rem 0;
}

.dropdown-menu-mega {
  min-width: min(980px, 96vw);
  padding: 0.75rem;
}

.dropdown-mega-grid {
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dropdown-mega-heading {
  border-bottom: 1px solid rgba(67, 117, 195, 0.15);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
  padding-bottom: 0.35rem;
  text-transform: uppercase;
}

.dropdown-mega-heading a {
  color: var(--sd-blue-dark);
  text-decoration: none;
}

.dropdown-mega-heading a:hover {
  color: var(--sd-blue);
}

.dropdown-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-mega-list .dropdown-item {
  font-size: 0.8rem;
  padding: 0.3rem 0.4rem;
}

.dropdown-mega-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.dropdown-mega-footer .dropdown-item {
  flex: 1 1 auto;
  min-width: 180px;
}

.dropdown-menu-scroll {
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.dropdown-header-link {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
}

.dropdown-header-link a {
  color: var(--sd-blue-dark);
  text-decoration: none;
}

.dropdown-item-sub {
  padding-left: 1.25rem;
}

@media (max-width: 991.98px) {
  .dropdown-mega-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-menu-mega {
    min-width: 100%;
  }

  .dropdown-mega-footer {
    flex-direction: column;
  }
}

.navbar-cta {
  align-items: center;
  border-left: 1px solid #e8ecf1;
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
}

.btn-nav-search,
.btn-nav-book,
.btn-nav-whatsapp {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.35rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-nav-search {
  background: #fff;
  border: 1px solid var(--sd-blue-dark);
  color: var(--sd-blue-dark);
}

.btn-nav-search:hover {
  background: var(--sd-blue-dark);
  border-color: var(--sd-blue-dark);
  color: #fff;
}

.btn-nav-book {
  background: var(--sd-blue-dark);
  border: 1px solid var(--sd-blue-dark);
  color: #fff;
}

.btn-nav-book:hover {
  background: #002a7a;
  border-color: #002a7a;
  color: #fff;
  transform: translateY(-1px);
}

.btn-nav-whatsapp {
  background: #128c7e;
  border: 1px solid #128c7e;
  color: #fff;
}

.btn-nav-whatsapp:hover {
  background: #075e54;
  border-color: #075e54;
  color: #fff;
  transform: translateY(-1px);
}

.btn-nav-icon {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.btn-whatsapp-sm {
  background: #128c7e;
  border: none;
  color: #fff;
  font-size: 1.1rem;
}

.btn-whatsapp-sm:hover {
  background: #075e54;
  color: #fff;
}

.mobile-top-contact {
  border-top: 1px solid #e8ecf1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.mobile-top-contact a {
  align-items: center;
  color: #555;
  display: flex;
  font-size: 0.875rem;
  gap: 0.5rem;
}

.mobile-top-contact a:hover {
  color: var(--sd-blue);
}

@media (max-width: 991.98px) {
  .navbar-sd .navbar-collapse {
    background: #fff;
    border-top: 1px solid #e8ecf1;
    margin-top: 0.75rem;
    padding: 0.75rem 0 1rem;
  }

  .navbar-sd .nav-link {
    border-bottom: none;
    border-radius: 4px;
    padding: 0.65rem 0.75rem !important;
  }

  .navbar-sd .nav-link:hover,
  .navbar-sd .nav-link.active {
    background: rgba(67, 117, 195, 0.08);
  }

  .navbar-cta {
    border-left: none;
    flex-wrap: wrap;
    margin-left: 0;
    margin-top: 1rem;
    padding-left: 0;
    padding-top: 1rem;
    border-top: 1px solid #e8ecf1;
  }

  .navbar-cta .btn {
    flex: 1;
    justify-content: center;
    min-width: calc(50% - 0.25rem);
  }

  .top-bar-tagline {
    flex: 1;
    font-size: 0.68rem;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .top-bar-contact a:first-child span {
    display: none !important;
  }

  .navbar-sd .navbar-brand img {
    height: 48px;
  }
}

@media (max-width: 575.98px) {
  .top-bar-tagline span,
  .top-bar-tagline {
    font-size: 0.62rem;
  }
}

/* Hero carousel */
.hero-carousel .carousel-caption {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  color: #111;
  padding: 1.5rem 2rem;
}

.hero-carousel .carousel-caption .carousel-caption-title {
  color: var(--sd-blue-dark);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-carousel .carousel-caption p {
  color: var(--sd-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--sd-blue);
  height: 4px;
  width: 40px;
}

@media (min-width: 992px) {
  .hero-carousel .carousel-item {
    height: 520px;
    position: relative;
  }

  .hero-carousel .hero-slide-visual {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  .hero-carousel .hero-slide-visual img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .hero-carousel .carousel-caption {
    bottom: auto;
    left: 50%;
    max-width: 560px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Liveaboard search */
.search-section {
  background: transparent;
  margin-top: -3rem;
  padding: 0 0 2rem;
  position: relative;
  z-index: 10;
}

.search-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 52, 154, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
}

.search-card-accent {
  background: linear-gradient(90deg, var(--sd-blue) 0%, var(--sd-blue-dark) 100%);
  height: 4px;
}

.search-card-body {
  padding: 0.85rem 1.25rem 0.75rem;
}

.search-bar {
  align-items: stretch;
  background: #f8fafc;
  border: 1px solid #e4eaf2;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  overflow: hidden;
}

.search-bar-field {
  flex: 1 1 140px;
  min-width: 0;
  padding: 0.65rem 1rem;
}

.search-bar-field label {
  align-items: center;
  color: var(--sd-blue-dark);
  display: flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.search-bar-field label i {
  font-size: 0.75rem;
}

.search-bar-field .form-control,
.search-bar-field .form-select {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #222;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0;
}

.search-bar-field .form-control:focus,
.search-bar-field .form-select:focus {
  box-shadow: none;
  outline: none;
}

.search-bar-divider {
  align-self: stretch;
  background: #e4eaf2;
  flex-shrink: 0;
  margin: 0.75rem 0;
  width: 1px;
}

.btn-search-submit {
  align-items: center;
  align-self: stretch;
  background: linear-gradient(135deg, var(--sd-blue) 0%, var(--sd-blue-dark) 100%);
  border: none;
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  letter-spacing: 0.05em;
  min-width: 160px;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-search-submit i {
  font-size: 1.1rem;
}

.btn-search-submit:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: scale(1.02);
}

.search-popular {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.search-popular-label {
  align-items: center;
  color: #999;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.25rem;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
  text-transform: uppercase;
}

.search-popular-label i {
  color: var(--sd-blue);
  font-size: 0.75rem;
}

.search-tag {
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 50px;
  color: #555;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  transition: all 0.2s ease;
}

.search-tag:hover {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .search-section {
    background: linear-gradient(180deg, #eef3fa 0%, #f8fafc 100%);
    margin-top: 0;
    padding: 1.5rem 0;
  }

  .search-card-body {
    padding: 0.85rem 1rem 0.75rem;
  }

  .search-bar {
    flex-direction: column;
    background: #fff;
    border: none;
    border-radius: 0;
    gap: 0;
  }

  .search-bar-field {
    background: #f8fafc;
    border: 1px solid #e4eaf2;
    border-radius: 8px;
    flex: 1 1 auto;
    margin-bottom: 0.5rem;
    padding: 0.6rem 0.85rem;
  }

  .search-bar-divider {
    display: none;
  }

  .btn-search-submit {
    border-radius: 8px;
    flex-direction: row;
    gap: 0.5rem;
    min-height: 44px;
    width: 100%;
  }
}

/* Section headings */
.section-title {
  color: var(--sd-blue-dark);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title::after {
  background: var(--sd-blue);
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.5rem;
  width: 60px;
}

.section-subtitle {
  color: var(--sd-blue);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Service cards */
.service-card {
  border: 1px solid #e8ecf1;
  border-radius: 0;
  height: 100%;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(67, 117, 195, 0.18);
  transform: translateY(-4px);
}

.service-card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.service-card .card-body {
  padding: 1.25rem;
}

.service-card .card-title {
  color: var(--sd-blue-dark);
  font-size: 1rem;
  font-weight: 700;
}

.service-card .btn-outline-sd {
  border-color: var(--sd-blue);
  color: var(--sd-blue);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.service-card .btn-outline-sd:hover {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
}

/* Promo banner */
.promo-banner {
  background: var(--sd-blue);
  color: #fff;
  font-size: 1.1rem;
  padding: 2.5rem 0;
  text-align: center;
}

.promo-banner a {
  color: #fff;
  text-decoration: underline;
}

.promo-banner a:hover {
  color: #ffc107;
}

/* Liveaboard cards */
.liveaboard-card {
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.liveaboard-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.liveaboard-card .price-tag {
  color: var(--sd-red);
  font-size: 0.9rem;
  font-weight: 700;
}

.liveaboard-card .badge-route {
  background: var(--sd-blue);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.liveaboard-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Enhanced listing cards (Thailand liveaboards page) */
.lb-listing-section {
  background: linear-gradient(180deg, #eef2f7 0%, var(--sd-light) 100%);
}

.lb-listing-header {
  margin-bottom: 2rem;
}

.lb-listing-header-row {
  align-items: flex-end;
  border-bottom: 1px solid #dde4ee;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-bottom: 1.25rem;
}

.lb-listing-header .section-title {
  margin-bottom: 0;
}

.lb-listing-header .section-title::after {
  margin-left: 0;
  margin-right: auto;
}

.lb-listing-count {
  color: var(--sd-gray);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.liveaboard-card--listing {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 52, 154, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.liveaboard-card--listing:hover {
  border-color: rgba(67, 117, 195, 0.35);
  box-shadow: 0 18px 48px rgba(67, 117, 195, 0.18);
  transform: translateY(-6px);
}

.liveaboard-card-media {
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.liveaboard-card-media::after {
  background: linear-gradient(180deg, transparent 40%, rgba(0, 20, 60, 0.75) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.35s ease;
}

.liveaboard-card--listing:hover .liveaboard-card-media::after {
  opacity: 0.9;
}

.liveaboard-card-media img {
  display: block;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.liveaboard-card--listing:hover .liveaboard-card-media img {
  transform: scale(1.06);
}

.liveaboard-card-tier {
  align-items: center;
  backdrop-filter: blur(6px);
  border-radius: 50px;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.3rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  position: absolute;
  right: 0.85rem;
  text-transform: uppercase;
  top: 0.85rem;
  z-index: 2;
}

.liveaboard-card-tier--luxury {
  background: rgba(212, 175, 55, 0.92);
  color: #fff;
}

.liveaboard-card-tier--superior {
  background: rgba(0, 52, 154, 0.88);
  color: #fff;
}

.liveaboard-card-tier--budget {
  background: rgba(45, 106, 79, 0.9);
  color: #fff;
}

.liveaboard-card-route {
  align-items: center;
  bottom: 0.85rem;
  color: #fff;
  display: flex;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 0.35rem;
  left: 0.85rem;
  line-height: 1.3;
  position: absolute;
  right: 0.85rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.liveaboard-card-route i {
  flex-shrink: 0;
  opacity: 0.9;
}

.liveaboard-card-body {
  flex: 1;
  padding: 1.25rem 1.35rem 1rem;
}

.liveaboard-card-name {
  color: var(--sd-blue-dark);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.liveaboard-card-duration {
  align-items: center;
  color: var(--sd-blue);
  display: flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.liveaboard-card-desc {
  color: var(--sd-gray);
  display: -webkit-box;
  font-size: 0.88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.6;
  margin-bottom: 0;
  overflow: hidden;
}

.liveaboard-card-footer {
  align-items: center;
  border-top: 1px solid #eef2f7;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  padding: 1rem 1.35rem 1.25rem;
}

.liveaboard-card-price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
}

.liveaboard-card-price-label {
  color: var(--sd-gray);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.liveaboard-card-price-value {
  color: var(--sd-red);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.liveaboard-card-price-unit {
  color: var(--sd-gray);
  font-size: 0.8rem;
  font-weight: 600;
}

.liveaboard-card--listing .liveaboard-card-actions {
  gap: 0.4rem;
}

.liveaboard-card--listing .liveaboard-card-actions .btn {
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
}

@media (max-width: 575.98px) {
  .liveaboard-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .liveaboard-card--listing .liveaboard-card-actions {
    width: 100%;
  }

  .liveaboard-card--listing .liveaboard-card-actions .btn {
    flex: 1;
    text-align: center;
  }
}

.page-hero-overlay--title {
  align-items: flex-end;
  display: flex;
  padding-bottom: 2rem;
}

.page-hero-title {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.lb-intro-highlights {
  margin: 1.5rem 0;
}

.lb-tier-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-lb-tier {
  align-items: center;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.45rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-lb-tier:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-lb-tier--luxury {
  background: linear-gradient(135deg, #c9a227 0%, #8b6914 100%);
}

.btn-lb-tier--superior {
  background: linear-gradient(135deg, var(--sd-blue) 0%, var(--sd-blue-dark) 100%);
}

.btn-lb-tier--budget {
  background: linear-gradient(135deg, #40916c 0%, #2d6a4f 100%);
}

.btn-lb-tier.is-active {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 5px currentColor;
  pointer-events: none;
}

.btn-lb-tier--luxury.is-active {
  color: #fff;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #c9a227;
}

.btn-lb-tier--superior.is-active {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sd-blue-dark);
}

.btn-lb-tier--budget.is-active {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #2d6a4f;
}

@media (max-width: 575.98px) {
  .lb-tier-nav {
    flex-direction: column;
  }

  .btn-lb-tier {
    justify-content: center;
    width: 100%;
  }
}

.lb-news-card {
  background: var(--sd-light);
  border: 1px solid #e8ecf1;
  border-left: 4px solid var(--sd-blue);
  border-radius: 8px;
  height: 100%;
  padding: 1.5rem;
}

.lb-news-list {
  margin-bottom: 1rem;
  padding-left: 1.15rem;
}

.lb-news-list li {
  margin-bottom: 0.65rem;
}

.lb-locations-lead {
  max-width: 800px;
}

.dropdown-menu-sd .dropdown-item.active {
  background: rgba(67, 117, 195, 0.12);
  color: var(--sd-blue-dark);
  font-weight: 600;
}

/* Trust section */
.trust-section {
  background: var(--sd-light);
}

.trust-icon {
  align-items: center;
  background: var(--sd-blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.75rem;
  height: 72px;
  justify-content: center;
  margin: 0 auto 1rem;
  width: 72px;
}

.trust-item h3 {
  color: var(--sd-blue-dark);
  font-size: 1rem;
  font-weight: 700;
}

/* Location cards */
.location-card {
  background: linear-gradient(135deg, rgba(67, 117, 195, 0.92), rgba(0, 52, 154, 0.92));
  border: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.location-card .card-title {
  color: #fff;
  font-weight: 700;
}

.location-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.location-card ul li::before {
  content: "▸ ";
}

.location-card p,
.location-card li {
  color: rgba(255, 255, 255, 0.92);
}

.location-card a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.location-card a:not(.btn):hover {
  color: #ffc107;
}

.location-card ul li {
  margin-bottom: 0.35rem;
}

.location-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #243447 0%, #1a252f 100%);
  color: #c5cdd6;
  padding-bottom: 0;
  position: relative;
}

.footer-wave {
  background: var(--sd-blue);
  height: 4px;
  width: 100%;
}

.footer-main {
  padding: 2.5rem 0 2rem;
}

.footer-brand {
  margin-bottom: 2.5rem;
}

.footer-logo {
  filter: brightness(1.05);
  height: 52px;
  margin-bottom: 0.75rem;
  width: auto;
}

.footer-tagline {
  color: #8fa3b8;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin: 0 auto;
  max-width: 520px;
}

.footer-row {
  align-items: stretch;
}

.footer-row > [class*="col-"] {
  display: flex;
}

.footer-col {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  width: 100%;
}

.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  position: relative;
  text-transform: uppercase;
}

.footer-heading::after {
  background: var(--sd-blue);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 36px;
}

.footer-text {
  color: #b0bcc8;
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: #d5dde6;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-col {
  gap: 0;
}

.footer-link-group {
  margin-bottom: 1.15rem;
}

.footer-link-group:last-child {
  margin-bottom: 0;
}

.footer-link-group-label {
  align-items: center;
  color: #8fa3b8;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.footer-link-group-label i {
  color: var(--sd-blue);
  font-size: 0.85rem;
}

.site-footer .footer-links li {
  margin: 0;
}

.site-footer .footer-links a {
  align-items: center;
  border-radius: 4px;
  color: #b0bcc8;
  display: flex;
  font-size: 0.84rem;
  gap: 0.35rem;
  line-height: 1.4;
  padding: 0.35rem 0.5rem;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.site-footer .footer-links a i {
  color: var(--sd-blue);
  flex-shrink: 0;
  font-size: 0.65rem;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-links a:hover {
  background: rgba(67, 117, 195, 0.12);
  color: #fff;
  padding-left: 0.75rem;
}

.site-footer .footer-links a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

.site-footer .footer-links li::before {
  content: none;
}

.footer-about .footer-action-btns {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  padding-top: 1.25rem;
}

.footer-action-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.btn-footer {
  align-items: center;
  border: none;
  border-radius: 6px;
  display: flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  letter-spacing: 0.05em;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.btn-footer i {
  font-size: 1.05rem;
}

.btn-footer:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.btn-book {
  background: var(--sd-blue);
  color: #fff;
}

.btn-book:hover {
  background: var(--sd-blue-dark);
  color: #fff;
}

.btn-whatsapp {
  background: #128c7e;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #075e54;
  color: #fff;
}

.btn-search-lb {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-search-lb:hover {
  background: var(--sd-blue-dark);
  border-color: var(--sd-blue-dark);
  color: #fff;
}

.footer-contact {
  margin: 0;
  padding: 0;
}

.footer-contact li {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-icon {
  align-items: center;
  background: rgba(67, 117, 195, 0.2);
  border-radius: 6px;
  color: var(--sd-blue);
  display: flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.contact-icon i {
  font-size: 0.95rem;
}

.footer-contact li span strong {
  color: #fff;
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.footer-contact li span {
  color: #b0bcc8;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-social {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.footer-social-label {
  color: #8fa3b8;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.footer-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-icons a {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #c5cdd6;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  transition: all 0.2s ease;
  width: 38px;
}

.footer-icons a:hover {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #8fa3b8;
  font-size: 0.82rem;
  margin-top: 2rem;
  padding: 1rem 0;
  text-align: center;
}

.footer-bottom a {
  color: #c5cdd6;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 991.98px) {
  .footer-brand {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .footer-main {
    padding-top: 2rem;
  }

  .footer-col {
    padding: 1.25rem;
  }
}

.btn-sd {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-sd:hover {
  background: var(--sd-blue-dark);
  border-color: var(--sd-blue-dark);
  color: #fff;
}

.btn-outline-sd {
  border-color: var(--sd-blue);
  color: var(--sd-blue);
  font-weight: 600;
}

.btn-outline-sd:hover {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
}

/* Contact page */
.contact-hours-card {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(67, 117, 195, 0.08) 0%, rgba(0, 52, 154, 0.05) 100%);
  border: 1px solid rgba(67, 117, 195, 0.2);
  border-left: 4px solid var(--sd-blue);
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
}

.contact-hours-icon {
  align-items: center;
  background: var(--sd-blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 1.25rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.contact-hours-title {
  color: var(--sd-blue-dark);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-timezone {
  align-items: center;
  color: var(--sd-gray-dark);
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.contact-timezone i {
  color: var(--sd-blue);
}

.contact-methods-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

.contact-method-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 52, 154, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.15rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-method-card:hover {
  border-color: var(--sd-blue);
  box-shadow: 0 8px 24px rgba(67, 117, 195, 0.15);
  color: inherit;
  transform: translateY(-2px);
}

.contact-method-card--whatsapp:hover {
  border-color: #128c7e;
}

.contact-method-icon {
  align-items: center;
  color: var(--sd-blue);
  display: flex;
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
}

.contact-method-card--whatsapp .contact-method-icon {
  color: #128c7e;
}

.contact-method-label {
  color: var(--sd-gray);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-method-value {
  color: var(--sd-blue-dark);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.contact-form-card,
.contact-map-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 52, 154, 0.08);
  padding: 1.75rem;
}

.contact-form .form-label {
  color: var(--sd-blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-color: #d0d9e6;
  border-radius: 6px;
  font-size: 0.95rem;
  padding: 0.6rem 0.85rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--sd-blue);
  box-shadow: 0 0 0 0.2rem rgba(67, 117, 195, 0.15);
}

.contact-form-hp {
  height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  visibility: hidden;
}

.contact-address {
  align-items: flex-start;
  display: flex;
  font-size: 0.95rem;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-address i {
  color: var(--sd-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-map-wrap {
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.contact-map-wrap iframe {
  border: 0;
  display: block;
  height: 280px;
  width: 100%;
}

.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.contact-map-note {
  color: var(--sd-gray);
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-map-card {
    padding: 1.25rem;
  }
}

.content-block p {
  margin-bottom: 1rem;
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  max-height: 320px;
}

.page-hero-img {
  display: block;
  height: 320px;
  object-fit: cover;
  width: 100%;
}

.page-hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 100%);
  inset: 0;
  padding: 1.25rem 0;
  position: absolute;
}

.page-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider: "›";
  background: transparent;
  margin: 0;
  padding: 0;
}

.page-breadcrumb .breadcrumb-item,
.page-breadcrumb .breadcrumb-item a {
  color: #fff;
  font-size: 0.875rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-breadcrumb .breadcrumb-item a:hover {
  color: #ffc107;
}

.page-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.85);
}

/* About page */
.about-feature-card {
  background: var(--sd-light);
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 1.5rem;
}

.about-feature-icon {
  align-items: center;
  background: var(--sd-blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.35rem;
  height: 52px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 52px;
}

.about-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-checklist li {
  align-items: flex-start;
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.about-checklist i {
  color: var(--sd-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-gallery-section {
  background: linear-gradient(180deg, #f0f4f9 0%, var(--sd-light) 100%);
}

.about-gallery-header {
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-gallery-header .section-title {
  margin-bottom: 1rem;
}

.about-gallery-header .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.about-gallery-lead {
  color: var(--sd-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.about-gallery-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 52, 154, 0.08);
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  width: 100%;
}

.about-gallery-card:hover,
.about-gallery-card:focus-visible {
  box-shadow: 0 16px 40px rgba(67, 117, 195, 0.22);
  outline: none;
  transform: translateY(-4px);
}

.about-gallery-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  width: 100%;
}

.about-gallery-card:hover img,
.about-gallery-card:focus-visible img {
  transform: scale(1.06);
}

.about-gallery-card-overlay {
  align-items: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 20, 60, 0.82) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  inset: 0;
  justify-content: flex-end;
  opacity: 0;
  padding: 1rem 1.1rem;
  position: absolute;
  transition: opacity 0.3s ease;
}

.about-gallery-card:hover .about-gallery-card-overlay,
.about-gallery-card:focus-visible .about-gallery-card-overlay {
  opacity: 1;
}

.about-gallery-card-badge {
  align-items: center;
  background: rgba(67, 117, 195, 0.9);
  border-radius: 20px;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.3rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  text-transform: uppercase;
}

.about-gallery-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.about-gallery-card-action {
  align-items: center;
  display: inline-flex;
  font-size: 0.78rem;
  gap: 0.35rem;
  opacity: 0.9;
}

.about-gallery-card--hero {
  height: 100%;
  min-height: 340px;
}

.about-gallery-card--hero .about-gallery-card-overlay {
  opacity: 1;
  padding: 1.5rem;
}

.about-gallery-card--hero .about-gallery-card-title {
  font-size: 1.25rem;
}

.about-gallery-card--side {
  min-height: 155px;
}

.about-gallery-card--wide {
  min-height: 140px;
}

.about-gallery-card--grid {
  aspect-ratio: 4 / 3;
}

.about-gallery-toolbar {
  align-items: center;
  border-bottom: 1px solid #dde4ee;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
}

.about-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-gallery-filter {
  background: #fff;
  border: 1px solid #d0d9e6;
  border-radius: 50px;
  color: var(--sd-gray-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  transition: all 0.2s ease;
}

.about-gallery-filter i {
  margin-right: 0.25rem;
}

.about-gallery-filter:hover {
  border-color: var(--sd-blue);
  color: var(--sd-blue);
}

.about-gallery-filter.active {
  background: var(--sd-blue-dark);
  border-color: var(--sd-blue-dark);
  color: #fff;
}

.about-gallery-count {
  color: var(--sd-gray);
  font-size: 0.85rem;
  font-weight: 600;
}

.about-gallery-col {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-gallery-col.is-hidden {
  display: none;
}

.about-gallery-modal .modal-content {
  background: #0d1b2a;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.about-gallery-modal .modal-header,
.about-gallery-modal .modal-footer {
  background: #0d1b2a;
  color: #fff;
}

.about-gallery-modal .modal-title {
  color: #fff;
  font-weight: 700;
}

.about-gallery-modal .btn-close {
  filter: invert(1);
}

.about-gallery-modal-img {
  display: block;
  max-height: 75vh;
  object-fit: contain;
}

.about-gallery-modal-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.5rem;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.2s ease;
  width: 48px;
  z-index: 2;
}

.about-gallery-modal-nav:hover {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
}

.about-gallery-modal-prev {
  left: 1rem;
}

.about-gallery-modal-next {
  right: 1rem;
}

.about-gallery-modal-counter {
  color: #c5cdd6;
  font-size: 0.9rem;
  font-weight: 600;
}

.about-gallery-modal-hint {
  color: #8a96a3 !important;
}

@media (max-width: 991.98px) {
  .about-gallery-card--hero {
    min-height: 260px;
  }

  .about-gallery-card--side {
    min-height: 130px;
  }

  .about-gallery-card-overlay {
    opacity: 1;
    padding: 0.75rem;
  }

  .about-gallery-card--hero .about-gallery-card-title {
    font-size: 1.05rem;
  }

  .about-gallery-modal-hint {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .about-gallery-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .about-gallery-filters {
    justify-content: center;
  }

  .about-gallery-count {
    text-align: center;
  }

  .about-gallery-modal-nav {
    height: 40px;
    width: 40px;
    font-size: 1.2rem;
  }
}

.about-info-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  overflow: hidden;
}

.about-info-card-img {
  display: block;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.about-info-card-body {
  padding: 1.25rem;
}

.about-closing {
  max-width: 800px;
  margin: 0 auto;
}

.about-social-links {
  margin-top: 1.5rem;
}

.about-social-label {
  color: var(--sd-blue-dark);
  display: block;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.about-social-icons a {
  align-items: center;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.35rem;
}

.about-signoff {
  color: var(--sd-blue-dark);
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
  .page-hero,
  .page-hero-img {
    max-height: 220px;
    height: 220px;
  }
}

/* Hero carousel — mobile layout */
@media (max-width: 991.98px) {
  .hero-carousel {
    --hero-img-height: 280px;
  }

  .hero-carousel .carousel-item {
    display: flex;
    flex-direction: column;
    height: auto !important;
  }

  .hero-carousel .hero-slide-visual {
    flex-shrink: 0;
    height: var(--hero-img-height);
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .hero-carousel .hero-slide-visual img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .hero-carousel .carousel-caption {
    backdrop-filter: none;
    background: #fff;
    border-radius: 0;
    bottom: auto !important;
    flex-shrink: 0;
    left: auto !important;
    max-width: none !important;
    padding: 1rem 1.15rem 1.2rem;
    position: static !important;
    right: auto !important;
    text-align: left;
    top: auto !important;
    transform: none !important;
    width: 100%;
  }

  .hero-carousel .carousel-caption .carousel-caption-title {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.45rem;
  }

  .hero-carousel .carousel-caption p {
    display: -webkit-box;
    font-size: 0.875rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    line-height: 1.5;
    margin-bottom: 0.85rem;
    overflow: hidden;
  }

  .hero-carousel .carousel-caption .btn-sd {
    display: block;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    text-align: center;
    width: 100%;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    align-items: center;
    background: rgba(0, 52, 154, 0.78);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    bottom: auto;
    display: flex;
    height: 44px;
    justify-content: center;
    opacity: 1;
    top: calc(var(--hero-img-height) / 2 - 22px);
    width: 44px;
    z-index: 2;
  }

  .hero-carousel .carousel-control-prev {
    left: 0.65rem;
  }

  .hero-carousel .carousel-control-next {
    right: 0.65rem;
  }

  .hero-carousel .carousel-control-prev-icon,
  .hero-carousel .carousel-control-next-icon {
    height: 1.25rem;
    width: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel {
    --hero-img-height: 230px;
  }

  .hero-carousel .carousel-caption {
    padding: 0.85rem 1rem 1rem;
  }

  .hero-carousel .carousel-caption .carousel-caption-title {
    font-size: 1.05rem;
  }

  .hero-carousel .carousel-caption p {
    -webkit-line-clamp: 2;
    font-size: 0.8125rem;
    line-clamp: 2;
    margin-bottom: 0.75rem;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    height: 40px;
    top: calc(var(--hero-img-height) / 2 - 20px);
    width: 40px;
  }

  .hero-carousel .carousel-control-prev-icon,
  .hero-carousel .carousel-control-next-icon {
    height: 1.1rem;
    width: 1.1rem;
  }
}

/* Special offers / last minute trips */
.offers-listing-section {
  scroll-margin-top: 5rem;
}

.offers-listing-toolbar {
  align-items: flex-end;
  border-bottom: 1px solid #dde4ee;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
}

.offers-listing-header {
  flex: 1 1 16rem;
}

.offers-listing-header .section-title::after {
  margin-left: 0;
  margin-right: auto;
}

.offers-listing-count {
  color: var(--sd-gray);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.offers-sort {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.offers-sort-label {
  color: var(--sd-gray);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0;
  white-space: nowrap;
}

.offers-sort .form-select {
  min-width: 11rem;
}

.offers-no-results {
  background: #fff;
  border: 1px dashed #cfd8e6;
  border-radius: 12px;
  color: var(--sd-gray);
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  text-align: center;
}

.offer-card {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
  border-color: #c5d4ea;
  box-shadow: 0 10px 28px rgba(0, 52, 154, 0.08);
}

.offer-card-media {
  position: relative;
}

.offer-card-media img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.offer-card-region {
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  left: 0.85rem;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.65rem;
  position: absolute;
  text-transform: uppercase;
  top: 0.85rem;
}

.offer-card-region--thailand {
  background: var(--sd-blue);
}

.offer-card-region--indonesia {
  background: #0d7a5f;
}

.offer-card-region--myanmar {
  background: #7a4b0d;
}

.offer-card-body {
  flex: 1 1 auto;
  padding: 1.1rem 1.15rem 0.85rem;
}

.offer-card-dates {
  align-items: center;
  color: var(--sd-blue);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.65rem;
}

.offer-card-dates-sep {
  color: #94a3b8;
}

.offer-card-boat {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.offer-card-route {
  color: var(--sd-gray);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.offer-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-card-specs li {
  background: #f4f7fb;
  border-radius: 999px;
  color: #334155;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
}

.offer-card-specs li strong {
  color: var(--sd-blue);
}

.offer-card-footer {
  align-items: center;
  border-top: 1px solid #edf1f7;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.85rem 1.15rem 1rem;
}

.offer-card-price-label {
  color: var(--sd-blue);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-card-price-note {
  color: var(--sd-gray);
  font-size: 0.78rem;
}

.offers-info-list {
  padding-left: 1.15rem;
}

.offers-info-list li {
  margin-bottom: 0.65rem;
}

.offers-region-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offers-region-links li + li {
  margin-top: 0.45rem;
}

.offers-region-links a {
  color: var(--sd-blue);
  font-weight: 600;
  text-decoration: none;
}

.offers-region-links a:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .offers-sort {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .offers-sort .form-select {
    width: 100%;
  }

  .offers-load-more .btn {
    display: block;
    margin: 0.5rem auto 0 !important;
    width: 100%;
    max-width: 18rem;
  }
}

/* Liveaboard search modal */
.lb-search-modal .modal-dialog {
  max-width: 420px;
}

.lb-search-modal-content {
  border: none;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  overflow: visible;
  position: relative;
}

.lb-search-modal-close {
  align-items: center;
  background: #111;
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: -12px;
  top: -12px;
  width: 34px;
  z-index: 2;
}

.lb-search-modal-close:hover {
  background: #333;
  color: #fff;
}

.lb-search-modal-body {
  padding: 2rem 1.75rem 1.75rem;
}

.lb-search-modal-title {
  color: #555;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 1.35rem;
  text-align: center;
}

.lb-search-modal-field {
  margin-bottom: 0.85rem;
}

.lb-search-modal-select {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2320b2aa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;
  color: #444;
  font-size: 1rem;
  height: 46px;
  padding: 0.5rem 2.25rem 0.5rem 0.85rem;
}

.lb-search-modal-select:focus {
  border-color: #20b2aa;
  box-shadow: none;
}

.lb-search-modal-date {
  display: flex;
}

.lb-search-modal-date-input {
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;
  flex: 1 1 auto;
  font-size: 0.95rem;
  height: 46px;
  min-width: 0;
}

.lb-search-modal-date-input:focus {
  border-color: #20b2aa;
  box-shadow: none;
}

.lb-search-modal-date-btn {
  align-items: center;
  background: #20b2aa;
  border: none;
  color: #fff;
  display: flex;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.lb-search-modal-date-btn:hover {
  background: #1a9a93;
  color: #fff;
}

.lb-search-modal-date-btn i {
  font-size: 1.15rem;
}

.lb-search-modal-submit {
  background: #ff7a00;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  text-transform: uppercase;
  width: 100%;
}

.lb-search-modal-submit:hover,
.lb-search-modal-submit:focus {
  background: #e86d00;
  color: #fff;
}

@media (max-width: 575.98px) {
  .lb-search-modal-body {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .lb-search-modal-close {
    right: -8px;
    top: -8px;
  }
}

/* Day trips listing */
.day-trips-info-box {
  background: #f4f7fb;
  border-left: 4px solid var(--sd-blue);
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
}

.day-trips-info-box ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.day-trips-info-box li {
  margin-bottom: 0.35rem;
}

.day-trips-listing-section {
  scroll-margin-top: 5rem;
}

.day-trip-card {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.day-trip-card:hover {
  border-color: #c5d4ea;
  box-shadow: 0 10px 28px rgba(0, 52, 154, 0.08);
}

.day-trip-card-media {
  display: block;
  overflow: hidden;
}

.day-trip-card-media img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.day-trip-card:hover .day-trip-card-media img {
  transform: scale(1.03);
}

.day-trip-card-body {
  flex: 1 1 auto;
  padding: 1.1rem 1.15rem 0.85rem;
}

.day-trip-card-title {
  color: var(--sd-blue-dark);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.day-trip-card-desc {
  color: var(--sd-gray);
  display: -webkit-box;
  font-size: 0.875rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  line-height: 1.5;
  margin-bottom: 0;
  overflow: hidden;
}

.day-trip-card-footer {
  align-items: center;
  border-top: 1px solid #edf1f7;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.85rem 1.15rem 1rem;
}

.day-trip-card-price {
  line-height: 1.2;
}

.day-trip-card-price-label {
  color: var(--sd-gray);
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-trip-card-price-value {
  color: var(--sd-red);
  font-size: 1.35rem;
  font-weight: 800;
}

.day-trip-card-price-unit {
  color: var(--sd-gray);
  font-size: 0.78rem;
}

.day-trip-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

@media (max-width: 575.98px) {
  .day-trip-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .day-trip-card-actions {
    width: 100%;
  }

  .day-trip-card-actions .btn {
    flex: 1 1 auto;
  }
}

/* Legal / policy pages */
.legal-page .section-subtitle {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.legal-page-subheading {
  color: var(--sd-blue-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

.legal-page ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.legal-page ul li {
  margin-bottom: 0.4rem;
}

.legal-page-contact {
  background: #f4f7fb;
  border-left: 4px solid var(--sd-blue);
  font-style: normal;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
}

.legal-page-updated {
  color: var(--sd-gray);
  font-size: 0.9rem;
}

.legal-page-notice {
  background: #f4f7fb;
  border-left: 4px solid var(--sd-blue);
  margin-top: 2rem;
  padding: 1rem 1.15rem;
}

/* Price list page */
.price-list-page .section-subtitle a {
  color: inherit;
  text-decoration: none;
}

.price-list-page .section-subtitle a:hover {
  color: var(--sd-blue);
}

.price-list-highlights {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}

.price-list-highlights li {
  margin-bottom: 0.4rem;
}

.price-list-table-heading {
  color: var(--sd-blue-dark);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2.25rem;
}

.price-list-table-wrap {
  margin-bottom: 1.25rem;
}

.price-list-table {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 12px;
  margin-bottom: 0;
  overflow: hidden;
}

.price-list-table th,
.price-list-table td {
  border-bottom: 1px solid #edf1f7;
  padding: 0.85rem 1rem;
  vertical-align: top;
}

.price-list-table tr:last-child th,
.price-list-table tr:last-child td {
  border-bottom: none;
}

.price-list-table th {
  color: var(--sd-blue-dark);
  font-size: 0.9rem;
  font-weight: 600;
  width: 62%;
}

.price-list-table th a {
  color: var(--sd-blue-dark);
  text-decoration: none;
}

.price-list-table th a:hover {
  color: var(--sd-red);
  text-decoration: underline;
}

.price-list-table td {
  color: var(--sd-gray-dark);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.price-list-extras {
  background: #f4f7fb;
  border-left: 4px solid var(--sd-blue);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding: 1rem 1.15rem;
}

@media (max-width: 767.98px) {
  .price-list-table th,
  .price-list-table td {
    display: block;
    width: 100%;
  }

  .price-list-table th {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }

  .price-list-table td {
    padding-top: 0;
    white-space: normal;
  }
}

/* Liveaboard search results */
.sd-results-page .page-hero {
  min-height: 220px;
}

.sd-results-summary-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(67, 117, 195, 0.1) 0%, rgba(0, 52, 154, 0.06) 100%);
  border: 1px solid rgba(67, 117, 195, 0.18);
  border-left: 4px solid var(--sd-blue);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.sd-results-summary-count {
  color: var(--sd-blue-dark);
  font-size: 1.15rem;
}

.sd-results-summary-range {
  color: #5c6678;
  font-size: 0.95rem;
}

.sd-results-summary-dates {
  color: var(--sd-blue-dark);
  font-size: 0.92rem;
  font-weight: 600;
}

.sd-results-filter-card {
  background: #fff;
  border: 1px solid rgba(67, 117, 195, 0.14);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.06);
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.sd-results-filter-title {
  color: var(--sd-blue-dark);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sd-results-filter-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) auto;
}

.sd-results-filter-field .form-label {
  color: #5c6678;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.sd-results-filter-submit {
  align-self: end;
  min-width: 150px;
}

.sd-results-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sd-results-toolbar-label {
  color: #5c6678;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sd-results-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sd-results-sort .btn.active {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
}

.sd-results-loading {
  align-items: center;
  display: none;
  justify-content: center;
  min-height: 120px;
}

.sd-results-page.is-loading .sd-results-loading {
  display: flex;
}

.sd-results-list.ls-wrapper {
  display: block;
}

.sd-results-spinner {
  animation: sd-results-spin 0.8s linear infinite;
  border: 3px solid rgba(67, 117, 195, 0.15);
  border-radius: 50%;
  border-top-color: var(--sd-blue);
  height: 42px;
  width: 42px;
}

@keyframes sd-results-spin {
  to {
    transform: rotate(360deg);
  }
}

.sd-search-results-list {
  display: grid;
  gap: 1.5rem;
}

.sd-results-page .sd-trip-card {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 52, 154, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.sd-results-page .sd-trip-card:hover {
  border-color: rgba(67, 117, 195, 0.28);
  box-shadow: 0 16px 40px rgba(67, 117, 195, 0.14);
  transform: translateY(-2px);
}

.sd-results-page .sd-trip-card--special {
  border-color: rgba(232, 109, 0, 0.35);
}

.sd-results-page .sd-trip-card-header {
  align-items: center;
  background: linear-gradient(90deg, rgba(67, 117, 195, 0.08) 0%, rgba(0, 52, 154, 0.04) 100%);
  border-bottom: 1px solid rgba(67, 117, 195, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
}

.sd-results-page .sd-trip-card-schedule {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sd-results-page .sd-trip-card-date-chip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sd-results-page .sd-trip-card-date-label {
  color: var(--sd-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sd-results-page .sd-trip-card-date-value {
  color: var(--sd-blue-dark);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.sd-results-page .sd-trip-card-schedule-arrow {
  color: var(--sd-blue);
  font-size: 0.95rem;
}

.sd-results-page .sd-trip-card-duration {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sd-results-page .sd-trip-card-duration span {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(67, 117, 195, 0.16);
  border-radius: 999px;
  color: #4b5563;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
}

.sd-results-page .sd-trip-card-duration i {
  color: var(--sd-blue);
}

.sd-results-page .sd-trip-card-main {
  align-items: stretch;
  display: flex;
  gap: 0;
  min-height: 190px;
}

.sd-results-page .sd-trip-card-media {
  display: block;
  flex: 0 0 280px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.sd-results-page .sd-trip-card-media img {
  display: block;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.45s ease;
  width: 100%;
}

.sd-results-page .sd-trip-card:hover .sd-trip-card-media img {
  transform: scale(1.04);
}

.sd-results-page .sd-trip-card-badge {
  background: #e86d00;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  left: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.6rem;
  position: absolute;
  text-transform: uppercase;
  top: 0.75rem;
  z-index: 2;
}

.sd-results-page .sd-trip-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1.1rem 1.25rem;
}

.sd-results-page .sd-trip-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.sd-results-page .sd-trip-card-name a {
  color: var(--sd-blue-dark);
  text-decoration: none;
}

.sd-results-page .sd-trip-card-name a:hover {
  color: var(--sd-blue);
}

.sd-results-page .sd-trip-card-route {
  color: #5c6678;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.sd-results-page .sd-trip-card-route i {
  color: var(--sd-blue);
  margin-right: 0.15rem;
}

.sd-results-page .sd-trip-card-season {
  color: #6b7280;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  margin-top: -0.35rem;
}

.sd-results-page .sd-trip-card-spec-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sd-results-page .sd-trip-spec {
  background: #f4f7fb;
  border: 1px solid rgba(67, 117, 195, 0.08);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  text-align: center;
}

.sd-results-page .sd-trip-spec-label {
  color: #8a94a6;
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.sd-results-page .sd-trip-spec strong {
  color: var(--sd-blue-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.sd-results-page .sd-trip-card-actions {
  align-items: center;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border-left: 1px solid rgba(67, 117, 195, 0.1);
  display: flex;
  flex: 0 0 190px;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.sd-results-page .sd-trip-card--special .sd-trip-card-actions {
  background: linear-gradient(180deg, #fff8f2 0%, #fff1e6 100%);
  border-left-color: rgba(232, 109, 0, 0.18);
}

.sd-results-page .sd-trip-card-price-label,
.sd-results-page .sd-trip-card-price-unit {
  color: #6b7280;
  font-size: 0.75rem;
  margin-bottom: 0.1rem;
}

.sd-results-page .sd-trip-card-price-was {
  margin-bottom: 0;
}

.sd-results-page .sd-trip-card-price-value {
  color: var(--sd-blue-dark);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.15rem;
}

.sd-results-page .sd-trip-card-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.85rem;
  width: 100%;
}

.sd-results-page .sd-trip-card-buttons .btn {
  width: 100%;
}

.sd-results-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.sd-results-footer-count {
  color: #5c6678;
  font-size: 0.92rem;
  margin-top: 1.25rem;
}

.sd-results-empty {
  background: #fff;
  border: 1px dashed rgba(67, 117, 195, 0.25);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.sd-results-info-list,
.sd-results-info-links {
  margin-bottom: 1rem;
  padding-left: 1.1rem;
}

.sd-results-info-list li,
.sd-results-info-links li {
  margin-bottom: 0.45rem;
}

@media (max-width: 1199.98px) {
  .sd-results-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sd-results-filter-submit {
    grid-column: 1 / -1;
  }

  .sd-results-page .sd-trip-card-media {
    flex-basis: 230px;
  }

  .sd-results-page .sd-trip-card-actions {
    flex-basis: 170px;
  }
}

@media (max-width: 991.98px) {
  .sd-results-page .sd-trip-card-main {
    flex-direction: column;
    min-height: 0;
  }

  .sd-results-page .sd-trip-card-media {
    flex-basis: auto;
    max-height: 220px;
  }

  .sd-results-page .sd-trip-card-media img {
    min-height: 220px;
  }

  .sd-results-page .sd-trip-card-actions {
    border-left: none;
    border-top: 1px solid rgba(67, 117, 195, 0.1);
    flex-basis: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
  }

  .sd-results-page .sd-trip-card--special .sd-trip-card-actions {
    border-top-color: rgba(232, 109, 0, 0.18);
  }

  .sd-results-page .sd-trip-card-price {
    text-align: left;
  }

  .sd-results-page .sd-trip-card-buttons {
    flex-direction: row;
    margin-top: 0;
    width: auto;
  }

  .sd-results-page .sd-trip-card-buttons .btn {
    min-width: 120px;
    width: auto;
  }
}

@media (max-width: 767.98px) {
  .sd-results-summary-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .sd-results-filter-grid {
    grid-template-columns: 1fr;
  }

  .sd-results-page .sd-trip-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sd-results-page .sd-trip-card-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sd-results-page .sd-trip-card-actions {
    flex-direction: column;
  }

  .sd-results-page .sd-trip-card-buttons {
    flex-direction: column;
    width: 100%;
  }

  .sd-results-page .sd-trip-card-buttons .btn {
    width: 100%;
  }
}
