/* Site breakpoint is 780px (see React Ve()). Bootstrap md (768px) is not used for ferry UI. */
@media (max-width: 779.98px) {
  .ferry-desktop-only {
    display: none !important;
  }
}
@media (min-width: 780px) {
  .ferry-mobile-only {
    display: none !important;
  }
}

/* Hub hero — Horseshoe Bay, Magnetic Island (Wikimedia Commons, CC BY-SA) */
body.hub-booking-page .hub-booking-section#hub-booking-form {
  background-color: #1e3a8a;
  background-image: linear-gradient(180deg, rgba(12, 22, 42, 0.55) 0%, rgba(18, 32, 58, 0.72) 45%, rgba(12, 20, 38, 0.82) 100%),
    url("../images/ferryimgs/magnetic-island-hero.jpg");
  background-position: center center, center center;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
}

/* Native hub controls (PHP form) */
body.hub-booking-page #bookingForm[data-hub="1"] {
  --hub-field-h: 64px;
}
@media (min-width: 780px) {
  body.hub-booking-page #bookingForm[data-hub="1"] {
    --hub-field-h: 46px;
  }
}
body.hub-booking-page #bookingForm[data-hub="1"] select.hub-native-select,
body.hub-booking-page #bookingForm[data-hub="1"] input.hub-native-input {
  min-height: var(--hub-field-h);
  height: var(--hub-field-h);
  border: 1px solid #d7dee6;
  border-radius: 8px;
  font-size: 15px;
  color: #1f2a44;
}
body.hub-booking-page #bookingForm[data-hub="1"] #hubContinueBtn,
body.hub-booking-page #bookingForm[data-hub="1"] .findbtn .btn-block {
  min-height: var(--hub-field-h);
  height: var(--hub-field-h);
  max-height: var(--hub-field-h);
  font-weight: 700;
  background: #2e3192 !important;
  border-color: #2e3192 !important;
  color: #fff !important;
}
body.hub-booking-page #bookingForm[data-hub="1"] #hubContinueBtn:hover,
body.hub-booking-page #bookingForm[data-hub="1"] .findbtn .btn-block:hover {
  background: #1f2270 !important;
  border-color: #1f2270 !important;
}

@media (max-width: 779.98px) {
  body.hub-booking-page .important-disclaimer-wrap {
    background: #fff;
  }
}

/* Price: mobile journey summary vs desktop sailing picker */
body.price-page-body .price-mobile-journey .journey-card {
  margin-bottom: 1rem;
}

/* Price page uses inline ferry-schedule on all breakpoints (v200) */

/* =============================================================================
   MAGNETIC ISLAND FERRIES — HOMEPAGE SECTIONS & RESPONSIVE DESIGN
   Desktop & Mobile enhancements (value strip, 4-card grid, benefits, FAQs, footer)
   ============================================================================= */

:root {
  --mif-primary: #2e3192;
  --mif-primary-dark: #1f2270;
  --mif-secondary: #2e3192;
  --mif-secondary-dark: #252878;
  --mif-accent: #ff7e36;
  --mif-dark: #1e3a8a;
  --mif-slate: #4a5568;
  --mif-light-slate: #718096;
  --mif-bg-soft: #eff6ff;
  --mif-bg-tint: #eff6ff;
  --mif-border: #e2e8f0;
  --mif-card-shadow: 0 10px 25px rgba(22, 37, 68, 0.07);
  --mif-card-shadow-hover: 0 16px 36px rgba(22, 37, 68, 0.13);
  --mif-radius: 14px;
}

/* Home Section Layouts */
.mif-home-section {
  padding: 64px 0;
  position: relative;
}
.mif-home-section.mif-bg-soft {
  background-color: var(--mif-bg-soft);
}
.mif-home-section.mif-bg-tint {
  background-color: var(--mif-bg-tint);
}
.mif-home-section.mif-bg-white {
  background-color: #ffffff;
}

/* Section Header Typography */
.mif-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 0 16px;
}
.mif-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--mif-secondary);
  background: rgba(0, 171, 189, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.mif-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--mif-dark);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.mif-section-title span {
  color: var(--mif-primary);
  position: relative;
}
.mif-section-subtitle {
  font-size: 1.05rem;
  color: var(--mif-slate);
  line-height: 1.65;
  margin: 0 auto;
}

/* 1. Value Highlights Bar */
.mif-highlights-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--mif-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 22px 0;
  position: relative;
  z-index: 5;
}
.mif-highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.mif-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--mif-bg-soft);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.mif-highlight-item:hover {
  background: var(--mif-bg-tint);
  border-color: rgba(0, 171, 189, 0.2);
  transform: translateY(-2px);
}
.mif-highlight-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mif-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.mif-highlight-item:nth-child(2) .mif-highlight-icon {
  background: var(--mif-secondary);
}
.mif-highlight-item:nth-child(3) .mif-highlight-icon {
  background: #2e3192;
}
.mif-highlight-item:nth-child(4) .mif-highlight-icon {
  background: var(--mif-accent);
}
.mif-highlight-item:nth-child(5) .mif-highlight-icon {
  background: #10b981;
}
.mif-highlight-text strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--mif-dark);
  line-height: 1.25;
}
.mif-highlight-text small {
  display: block;
  font-size: 0.8rem;
  color: var(--mif-slate);
  margin-top: 2px;
}

/* 2. Island Intro & Experience */
.mif-intro-content {
  padding-right: 20px;
}
.mif-intro-lead {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--mif-primary);
  line-height: 1.6;
  margin-bottom: 18px;
}
.mif-intro-p {
  font-size: 0.98rem;
  color: var(--mif-slate);
  line-height: 1.75;
  margin-bottom: 16px;
}
.mif-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.mif-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--mif-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mif-dark);
}
.mif-pill-item i {
  color: var(--mif-secondary);
  font-size: 1.1rem;
}
.mif-intro-card {
  background: #ffffff;
  border-radius: var(--mif-radius);
  overflow: hidden;
  box-shadow: var(--mif-card-shadow);
  border: 1px solid var(--mif-border);
  transition: box-shadow 0.3s ease;
}
.mif-intro-card:hover {
  box-shadow: var(--mif-card-shadow-hover);
}
.mif-card-media {
  position: relative;
  overflow: hidden;
  height: 270px;
}
.mif-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mif-intro-card:hover .mif-card-media img {
  transform: scale(1.04);
}
.mif-media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(22, 37, 68, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mif-media-credit {
  position: absolute;
  bottom: 8px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #e2e8f0;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin: 0;
}
.mif-intro-card-body {
  padding: 24px;
}
.mif-intro-card-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mif-dark);
  margin-bottom: 14px;
}
.mif-intro-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mif-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--mif-bg-soft);
  border-radius: 8px;
  font-size: 0.88rem;
}
.mif-spec-row strong {
  color: var(--mif-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mif-spec-row strong i {
  color: var(--mif-secondary);
}
.mif-spec-row span {
  font-weight: 600;
  color: var(--mif-primary);
}

/* 3. Balanced 4-Card Fares Grid */
.mif-fares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mif-fare-card {
  background: #ffffff;
  border-radius: var(--mif-radius);
  border: 1px solid var(--mif-border);
  box-shadow: var(--mif-card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.mif-fare-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--mif-card-shadow-hover);
  border-color: #cbd5e1;
}
.mif-fare-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.mif-fare-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mif-fare-card:hover .mif-fare-thumb img {
  transform: scale(1.05);
}
.mif-thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(22, 37, 68, 0.9);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mif-fare-badge-accent {
  background: var(--mif-accent);
}
.mif-fare-badge-teal {
  background: var(--mif-secondary);
}
.mif-fare-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mif-fare-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mif-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.mif-fare-desc {
  font-size: 0.88rem;
  color: var(--mif-slate);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.mif-fare-meta {
  background: var(--mif-bg-soft);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}
.mif-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  padding: 3px 0;
  color: var(--mif-dark);
}
.mif-meta-line span.label {
  color: var(--mif-slate);
}
.mif-meta-line span.val {
  font-weight: 600;
}
.mif-meta-line span.highlight-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mif-primary);
}
.mif-fare-feature-note {
  font-size: 0.8rem;
  color: #065f46;
  background: #d1fae5;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.mif-fare-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: var(--mif-primary);
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}
.mif-fare-action-btn:hover {
  background: var(--mif-primary-dark);
  color: #ffffff !important;
}

/* 4. Why Bring Your Vehicle */
.mif-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mif-benefit-card {
  background: #ffffff;
  border-radius: var(--mif-radius);
  border: 1px solid var(--mif-border);
  box-shadow: var(--mif-card-shadow);
  padding: 32px 26px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mif-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mif-card-shadow-hover);
  border-color: #cbd5e1;
}
.mif-benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 171, 189, 0.12);
  color: var(--mif-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.mif-benefit-card:nth-child(2) .mif-benefit-icon {
  background: rgba(46, 49, 146, 0.12);
  color: var(--mif-primary);
}
.mif-benefit-card:nth-child(3) .mif-benefit-icon {
  background: rgba(255, 126, 54, 0.12);
  color: var(--mif-accent);
}
.mif-benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mif-dark);
  margin-bottom: 12px;
}
.mif-benefit-text {
  font-size: 0.94rem;
  color: var(--mif-slate);
  line-height: 1.7;
  margin: 0;
}

/* 5. Terminal Guide */
.mif-terminals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
.mif-terminal-card {
  background: #ffffff;
  border-radius: var(--mif-radius);
  border: 1px solid var(--mif-border);
  box-shadow: var(--mif-card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.mif-terminal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.mif-terminal-title-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--mif-dark);
  margin-bottom: 4px;
}
.mif-terminal-badge {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--mif-bg-tint);
  color: var(--mif-secondary-dark);
  white-space: nowrap;
}
.mif-terminal-address {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--mif-primary);
  font-weight: 600;
  margin-bottom: 18px;
}
.mif-terminal-address i {
  color: var(--mif-accent);
  font-size: 1.1rem;
}
.mif-terminal-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mif-terminal-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--mif-slate);
  line-height: 1.5;
}
.mif-terminal-features li i {
  color: #10b981;
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.mif-terminal-timing {
  background: var(--mif-bg-soft);
  border-left: 4px solid var(--mif-secondary);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: var(--mif-dark);
  font-weight: 500;
  margin-top: auto;
}

.mif-boarding-checklist {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid var(--mif-border);
  border-radius: var(--mif-radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 18px;
}
.mif-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mif-dark);
}
.mif-check-item i {
  color: #10b981;
  font-size: 1.15rem;
}

/* 6. Testimonials */
.mif-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mif-testimonial-card {
  background: #ffffff;
  border-radius: var(--mif-radius);
  border: 1px solid var(--mif-border);
  box-shadow: var(--mif-card-shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.mif-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mif-card-shadow-hover);
}
.mif-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.mif-review-text {
  font-size: 0.94rem;
  color: var(--mif-dark);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 18px;
  flex: 1;
}
.mif-reviewer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--mif-border);
  padding-top: 14px;
}
.mif-reviewer-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--mif-dark);
}
.mif-review-source {
  font-size: 0.78rem;
  color: var(--mif-slate);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 7. Interactive FAQ Accordion */
.mif-faq-container {
  max-width: 860px;
  margin: 0 auto;
}
.mif-faq-item {
  border: 1px solid var(--mif-border);
  border-radius: 12px;
  background: #ffffff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}
.mif-faq-item.is-open {
  border-color: var(--mif-secondary);
  box-shadow: 0 4px 16px rgba(0, 171, 189, 0.08);
}
.mif-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mif-dark);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  gap: 16px;
}
.mif-faq-item.is-open .mif-faq-question {
  color: var(--mif-primary);
}
.mif-faq-toggle-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--mif-bg-soft);
  color: var(--mif-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.mif-faq-item.is-open .mif-faq-toggle-ico {
  background: var(--mif-secondary);
  color: #ffffff;
  transform: rotate(180deg);
}
.mif-faq-answer {
  padding: 0 24px 22px;
  font-size: 0.96rem;
  color: var(--mif-slate);
  line-height: 1.75;
}
.mif-faq-answer p:last-child {
  margin-bottom: 0;
}

/* 8. 24/7 Agent Help Banner */
.mif-help-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2e3192 100%);
  border-radius: 16px;
  padding: 40px;
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(46, 49, 146, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 20px 0;
}
.mif-help-banner-content h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.mif-help-banner-content p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin: 0;
  max-width: 620px;
}
.mif-help-banner-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--mif-secondary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 171, 189, 0.4);
  transition: all 0.25s ease;
}
.mif-help-banner-btn:hover {
  background: var(--mif-secondary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 171, 189, 0.5);
}

/* 9. About Our Service & Custodians */
.mif-about-card {
  background: #ffffff;
  border-radius: var(--mif-radius);
  border: 1px solid var(--mif-border);
  box-shadow: var(--mif-card-shadow);
  padding: 36px;
  margin-bottom: 24px;
}
.mif-about-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.mif-about-card-head .mif-about-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(46, 49, 146, 0.1);
  color: var(--mif-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.mif-about-card-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--mif-dark);
  margin: 0;
}
.mif-about-text {
  font-size: 1rem;
  color: var(--mif-slate);
  line-height: 1.8;
  margin: 0;
}

.mif-custodians-card {
  background: linear-gradient(135deg, #fef6ee 0%, #fffbf7 100%);
  border: 1px solid #fed7aa;
  border-left: 5px solid var(--mif-accent);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.mif-custodians-card p {
  font-style: italic;
  font-size: 0.94rem;
  color: #7c2d12;
  line-height: 1.7;
  margin: 0;
}

/* Important Disclaimer */
.mif-disclaimer-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.mif-disclaimer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f59e0b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 2px;
}
.mif-disclaimer-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 4px;
}
.mif-disclaimer-body p {
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.6;
  margin: 0;
}

/* 10. Modern Multi-Column Footer */
.mif-rich-footer {
  background: #0f192c;
  color: #cbd5e1;
  padding-top: 54px;
  border-top: 3px solid var(--mif-secondary);
}
.mif-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 40px;
}
.mif-footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 8px;
}
.mif-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--mif-secondary);
  border-radius: 2px;
}
.mif-footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 18px;
}
.mif-footer-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 171, 189, 0.15);
  border: 1px solid var(--mif-secondary);
  color: #38bdf8 !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mif-footer-call-btn:hover {
  background: var(--mif-secondary);
  color: #ffffff !important;
}
.mif-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mif-footer-list li a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.mif-footer-list li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}
.mif-footer-address-block {
  margin-bottom: 14px;
}
.mif-footer-address-block strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.mif-footer-address-block span {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
}
.mif-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 32px;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.mif-footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mif-footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.mif-footer-legal-links a:hover {
  color: #ffffff;
}
.mif-footer-divider {
  color: #475569;
}

/* =============================================================================
   RESPONSIVE OPTIMIZATIONS (TABLET & MOBILE)
   ============================================================================= */

@media (max-width: 1024px) {
  .mif-highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mif-fares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mif-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 779.98px) {
  .mif-home-section {
    padding: 40px 0;
  }
  .mif-section-title {
    font-size: 1.7rem;
  }
  .mif-section-subtitle {
    font-size: 0.95rem;
  }
  .mif-highlights-bar {
    padding: 16px 0;
  }
  .mif-highlights-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .mif-intro-content {
    padding-right: 0;
    margin-bottom: 24px;
  }
  .mif-pills-grid {
    grid-template-columns: 1fr;
  }
  .mif-fares-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mif-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mif-terminals-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mif-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mif-help-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }
  .mif-help-banner-content h3 {
    font-size: 1.4rem;
  }
  .mif-help-banner-btn {
    width: 100%;
    justify-content: center;
  }
  .mif-faq-question {
    padding: 16px 18px;
    font-size: 0.96rem;
  }
  .mif-faq-answer {
    padding: 0 18px 18px;
    font-size: 0.9rem;
  }
  .mif-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mif-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .mif-footer-legal-links {
    justify-content: center;
  }
}

/* Site footer (React footer-bar) */
.footer-bar {
  background: linear-gradient(165deg, #121c38 0%, #1f2270 42%, #243b6e 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: none !important;
  padding: 28px 0 32px !important;
  font-size: 14px;
  margin-top: 0;
  box-shadow: inset 0 1px 0 rgba(0, 171, 189, 0.12);
}

.footer-bar .container {
  max-width: 1180px;
}

.footer-bar .copyright {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.footer-bar .copyright i {
  margin-right: 6px;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bar .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 0;
}

@media (min-width: 780px) {
  .footer-bar .footer-links {
    justify-content: flex-end;
  }
}

.footer-bar .footer-links a {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-bar .footer-links a:hover,
.footer-bar .footer-links a:focus-visible {
  color: #5ee4f0 !important;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bar .footer-links .divider {
  color: rgba(255, 255, 255, 0.28) !important;
  margin: 0 2px;
  user-select: none;
}

/* Ferry Booking Agent bar — mobile only (desktop: .ferry-mobile-only in site-layout) */
@media (max-width: 779.98px) {
  a.bottoms_calls.ferry-mobile-only,
  a.bottoms_calls {
    background: linear-gradient(180deg, #252878 0%, #1f2270 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 12px 12px !important;
    box-shadow: 0 -4px 20px rgba(0, 30, 70, 0.22);
  }

  a.bottoms_calls p {
    font-size: 12px !important;
    letter-spacing: 0.08em;
    opacity: 0.95;
  }

  a.bottoms_calls span {
    font-size: 17px !important;
    letter-spacing: 0.04em !important;
  }

  a.bottoms_calls span i {
    margin-right: 8px;
  }
}

/* Site maintenance page */
body.site-maintenance-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Plus Jakarta Sans, "Segoe UI", sans-serif;
  color: #1b2a4a;
  background: #1e3a8a;
  background-image: linear-gradient(
      180deg,
      rgba(12, 22, 42, 0.62) 0%,
      rgba(18, 32, 58, 0.78) 50%,
      rgba(12, 20, 38, 0.88) 100%
    ),
    url("../images/ferryimgs/magnetic-island-hero.jpg") center / cover no-repeat;
}

.site-maintenance {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.site-maintenance__card {
  width: 100%;
  max-width: 520px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 28px;
  box-shadow: 0 24px 60px rgba(8, 18, 40, 0.35);
  box-sizing: border-box;
}

.site-maintenance__logo-wrap {
  margin: 0 0 24px;
}

.site-maintenance__logo {
  display: block;
  width: auto;
  max-width: min(100%, 320px);
  height: auto;
  max-height: 64px;
  margin: 0 auto;
  object-fit: contain;
}

.site-maintenance__title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: #2e3192;
  letter-spacing: -0.02em;
}

@media (max-width: 779.98px) {
  .site-maintenance__card {
    max-width: min(100%, 360px);
    padding: 26px 16px 22px;
    overflow-x: hidden;
  }

  .site-maintenance__logo {
    max-width: min(100%, 260px);
    max-height: 56px;
  }

  .site-maintenance__title {
    font-size: 0.94rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    white-space: nowrap;
    margin-bottom: 12px;
  }

  .site-maintenance__lead {
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .site-maintenance__call-btn {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  .site-maintenance__call-btn i {
    margin: 0;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
  }

  .site-maintenance__call-btn > span {
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .site-maintenance__phone {
    display: none !important;
  }

  .site-maintenance__sorry {
    font-size: 0.85rem;
    line-height: 1.45;
  }
}

.site-maintenance__lead {
  margin: 0 0 24px;
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  line-height: 1.55;
  color: #4a5d73;
  font-weight: 500;
}

.site-maintenance__call-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 22px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #2e3192;
  border: 1px solid #2e3192;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  box-shadow: 0 10px 28px rgba(44, 62, 133, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.site-maintenance__call-btn i {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.site-maintenance__call-btn:hover,
.site-maintenance__call-btn:focus-visible {
  color: #fff !important;
  background: #1f2270;
  border-color: #1f2270;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(30, 48, 88, 0.42);
}

.site-maintenance__phone {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

.site-maintenance__sorry {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7c8f;
}

@media (min-width: 780px) {
  .site-maintenance__card {
    padding: 40px 36px 32px;
  }

  .site-maintenance__logo {
    max-height: 72px;
    max-width: 360px;
  }
}

/* Home mobile popup — maintenance apology line */
.price-busy-modal__text--note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7c8f;
}

.price-busy-modal__panel:not(:has(.price-busy-modal__close)) {
  padding-top: 32px;
}

/* Home maintenance popup — no phone in button label */
#homeBusyModal .price-busy-modal__call-label::after {
  content: none !important;
  display: none !important;
}

#homeBusyModal .price-busy-modal__call-label {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}

#homeBusyModal .price-busy-modal__call-btn {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 52px !important;
  height: auto !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

#homeBusyModal .price-busy-modal__call-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  flex: 0 0 34px !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}

#homeBusyModal .price-busy-modal__title {
  max-width: 100% !important;
  width: 100% !important;
  font-size: clamp(0.92rem, 4.2vw, 1.12rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  padding: 0 2px !important;
  box-sizing: border-box !important;
}

#homeBusyModal .price-busy-modal__panel {
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

@media (max-width: 779.98px) {
  .price-busy-modal__panel {
    max-height: min(92vh, 640px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #homeBusyModal .price-busy-modal__panel {
    padding: 28px 16px 22px !important;
    max-width: min(100%, 360px) !important;
  }

  #homeBusyModal .price-busy-modal__logo.logo-mobile {
    max-width: min(100%, 260px) !important;
    min-height: 48px !important;
    height: auto !important;
  }

  #homeBusyModal .price-busy-modal__head {
    margin-bottom: 12px !important;
    gap: 8px !important;
  }

  #homeBusyModal .price-busy-modal__text {
    font-size: 0.875rem !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
  }

  #homeBusyModal .price-busy-modal__call-btn {
    min-height: 50px !important;
    padding: 11px 12px !important;
    gap: 8px !important;
  }

  #homeBusyModal .price-busy-modal__call-label {
    font-size: 0.9rem !important;
  }

  .price-busy-modal__text {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Maintenance + home popup — navy call button */
a.price-busy-modal__call-btn,
.price-busy-modal__call-btn {
  background: #2e3192 !important;
  border: 1px solid #2e3192 !important;
  box-shadow: 0 8px 22px rgba(44, 62, 133, 0.32) !important;
}

a.price-busy-modal__call-btn:hover,
a.price-busy-modal__call-btn:focus-visible,
.price-busy-modal__call-btn:hover,
.price-busy-modal__call-btn:focus-visible {
  background: #1f2270 !important;
  border-color: #1f2270 !important;
  color: #fff !important;
}

/* =============================================================================
   Mobile homepage — alternate promo hero (config: mobile_home_hero = promo)
   Booking hero stays in React (#hub-booking-form). Desktop always uses booking.
   ============================================================================= */
#mi-mobile-promo-hero {
  display: none;
}

.mi-mobile-promo-hero__logo-wrap {
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 16px 20px 14px;
  background: #fff !important;
  border-bottom: 1px solid #e8eef3;
}

.mi-mobile-promo-hero__logo-link {
  display: block;
  width: 100%;
  max-width: 360px;
  line-height: 0;
  text-align: center;
}

.mi-mobile-promo-hero__logo {
  display: block !important;
  width: min(92%, 360px) !important;
  max-width: 360px !important;
  height: auto !important;
  min-height: 72px !important;
  max-height: none !important;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

.mi-promo-hero.pj-bpt-hero {
  position: relative;
  background: url("../images/ferryimgs/magnetic-island-hero.jpg") center / cover no-repeat;
  padding: clamp(1.75rem, 6vw, 2.5rem) 0 clamp(2rem, 7vw, 3rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mi-promo-hero .pj-bpt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(240, 247, 255, 0.92) 0%,
    rgba(224, 238, 252, 0.88) 55%,
    rgba(236, 243, 245, 0.9) 100%
  );
  z-index: 0;
}

.mi-promo-hero .pj-bpt-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 640px;
}

.mi-promo-hero .pj-bpt-hero__inner > * {
  margin: 0 !important;
}

.mi-promo-hero .pj-bpt-hero__title {
  font-family: Plus Jakarta Sans, sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 5vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1c3c8d;
}

.mi-promo-hero .pj-bpt-hero__discount {
  font-family: Plus Jakarta Sans, sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  line-height: 1.35;
  color: #053c5e;
}

.mi-promo-hero .pj-bpt-hero__schedules-lead {
  font-family: Plus Jakarta Sans, sans-serif;
  font-weight: 500;
  font-size: clamp(0.88rem, 3.8vw, 1rem);
  line-height: 1.45;
  color: #053c5e;
  max-width: 34rem;
}

.mi-promo-hero .pj-bpt-hero__phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.15rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  color: #1c3c8d !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.mi-promo-hero .pj-bpt-hero__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c3c8d 0%, #2e3192 100%);
  color: #fff;
  font-size: 1rem;
}

.mi-promo-hero .pj-bpt-hero__phone-number {
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1.05rem, 4.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mi-promo-hero .pj-bpt-hero__tagline {
  font-family: Plus Jakarta Sans, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 4.2vw, 1.2rem);
  line-height: 1.35;
  color: #053c5e;
}

@media (max-width: 779.98px) {
  /* First screen: logo + promo only; Need Help appears on scroll below */
  html.ferry-mobile-hero-promo #mi-mobile-promo-hero {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    min-height: 100svh;
    box-sizing: border-box;
    background: #fff;
  }

  html.ferry-mobile-hero-promo .mi-mobile-promo-hero__logo-wrap {
    flex: 0 0 auto;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero.pj-bpt-hero {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    padding: clamp(1.25rem, 5vw, 2rem) 0 clamp(1.5rem, 5vw, 2.25rem);
  }

  /* Readable promo copy — larger type, wider block, clear spacing (mobile) */
  html.ferry-mobile-hero-promo .mi-promo-hero .container.pj-bpt-hero__inner {
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero .pj-bpt-hero__inner {
    gap: 0;
    align-items: stretch;
    text-align: center;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero .pj-bpt-hero__title {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.3;
    letter-spacing: 0.03em;
    margin-bottom: 1.15rem !important;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero .pj-bpt-hero__discount {
    font-size: clamp(0.98rem, 4.85vw, 1.78rem);
    line-height: 1.38;
    margin-bottom: 1.2rem !important;
    white-space: nowrap;
    letter-spacing: -0.02em;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: clip;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero .pj-bpt-hero__schedules-lead {
    font-size: clamp(1.12rem, 4.9vw, 1.32rem);
    font-weight: 600;
    line-height: 1.58;
    max-width: none;
    width: 100%;
    margin-bottom: 1.45rem !important;
    padding: 0 2px;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero .pj-bpt-hero__phone-link {
    align-self: center;
    margin-top: 0;
    margin-bottom: 1.25rem !important;
    padding: 0.7rem 1.35rem;
    max-width: 100%;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero .pj-bpt-hero__phone-icon {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.15rem;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero .pj-bpt-hero__phone-number {
    font-size: clamp(1.2rem, 5.4vw, 1.45rem);
    letter-spacing: 0.02em;
  }

  html.ferry-mobile-hero-promo .mi-promo-hero .pj-bpt-hero__tagline {
    font-size: clamp(1.15rem, 5.1vw, 1.42rem);
    line-height: 1.42;
    margin-bottom: 0 !important;
  }

  html.ferry-mobile-hero-promo body.hub-booking-page #root #aboutus.hub-need-help-section,
  html.ferry-mobile-hero-promo body.hub-booking-page #root .hub-need-help-section.hub-need-help-band {
    display: block !important;
    margin-top: 0 !important;
    scroll-margin-top: 8px;
  }

  /* Need Help — mobile: clean white section (no grey gradient band) */
  body.hub-booking-page #aboutus.hub-need-help-section.hub-need-help-band,
  body.hub-booking-page .hub-need-help-section.hub-need-help-band {
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    border-top: 1px solid #e3eaf2 !important;
    padding: 32px 14px 40px !important;
    margin: 0 !important;
  }

  body.hub-booking-page .hub-need-help-band {
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    margin: 0 !important;
  }

  body.hub-booking-page .hub-need-help-inner {
    max-width: 100% !important;
    padding: 0 !important;
  }

  body.hub-booking-page .hub-need-help-card__body {
    background: #fff !important;
    border: 1px solid #d4e0ef !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 36px rgba(28, 60, 141, 0.1) !important;
    padding: 28px 18px 26px !important;
    gap: 16px !important;
  }

  body.hub-booking-page .hub-need-help-card__body::before {
    height: 5px;
    background: linear-gradient(90deg, #2e3192 0%, #2e3192 100%) !important;
  }

  body.hub-booking-page .hub-need-help-card__text h4 {
    font-size: clamp(1.35rem, 5.5vw, 1.55rem) !important;
  }

  body.hub-booking-page .hub-need-help-card__text p {
    font-size: clamp(1.02rem, 4.4vw, 1.12rem) !important;
    color: #3d5168 !important;
  }

  body.hub-booking-page a.hub-need-help-call {
    width: 100%;
    max-width: 340px;
    box-shadow: 0 10px 24px rgba(44, 62, 133, 0.22) !important;
  }

  html.ferry-mobile-hero-promo body.hub-booking-page #root .hub-home-logo,
  html.ferry-mobile-hero-promo body.hub-booking-page #root .hub-mobile-logo.hub-home-logo {
    display: none !important;
  }

  html.ferry-mobile-hero-promo body.hub-booking-page .hub-booking-section#hub-booking-form {
    display: none !important;
  }

  html.ferry-mobile-hero-promo #homeBusyModal,
  html.ferry-mobile-hero-promo body.price-busy-modal-open #homeBusyModal {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* RE full red theme v168 */
:root{
  --re-red:#2e3192;
  --re-red-dark:#252878;
  --re-red-deep:#1f2270;
  --re-red-soft:#eff6ff;
  --mif-primary:var(--re-red);
  --mif-primary-dark:var(--re-red-dark);
  --mif-secondary:var(--re-red);
  --mif-secondary-dark:var(--re-red-dark);
}
.re-site-brand{gap:16px!important}
.re-site-brand__icon{width:58px!important;height:58px!important;font-size:1.75rem!important}
.re-site-brand__text{font-size:clamp(1.2rem,4.8vw,1.85rem)!important;color:var(--re-red-dark)!important}
.re-site-brand--modal .re-site-brand__icon{width:68px!important;height:68px!important;font-size:1.95rem!important}
.re-site-brand--modal .re-site-brand__text{font-size:clamp(1.35rem,5.2vw,2rem)!important}
.site-header .re-site-brand__text{color:#fff!important}
.site-header .re-site-brand__icon{width:62px!important;height:62px!important;font-size:1.85rem!important}
@media(max-width:779.98px){
  .re-site-brand__icon{width:52px!important;height:52px!important;font-size:1.55rem!important}
  .re-site-brand__text{font-size:clamp(1.1rem,5vw,1.55rem)!important}
  .site-header .re-site-brand__icon{width:56px!important;height:56px!important}
}
.text-bcferry-navy,.text-bcferry-accent,.community-card .card-content h3,.communities-section .section-title h2{color:var(--re-red-dark)!important}
.available-date{background:#fff!important;color:var(--re-red-dark)!important;background-color:#eef4ff!important}
.route-header,.journey-card-header,body.price-page-body .journey-card-header,body.price-page-body .route-header{background:linear-gradient(135deg,var(--re-red),var(--re-red-dark))!important}
body.price-page-body .price-btn-proceed{background:var(--re-red)!important}
body.price-page-body .price-btn-proceed:hover{background:var(--re-red-dark)!important}
body.price-page-body .grand-total-row{background:#eff6ff!important}
body.hub-booking-page #bookingForm[data-hub="1"] #hubContinueBtn,
body.hub-booking-page #bookingForm[data-hub="1"] .findbtn .btn-block,
body.hub-booking-page #bookingForm[data-hub="1"] #findcontinuebtn #hubContinueBtn,
body.hub-booking-page #bookingForm[data-hub="1"] #findcontinuebtn .btn-block{
  background:var(--re-red)!important;border-color:var(--re-red)!important
}
body.hub-booking-page #bookingForm[data-hub="1"] #hubContinueBtn:hover,
body.hub-booking-page #bookingForm[data-hub="1"] .findbtn .btn-block:hover,
body.hub-booking-page #bookingForm[data-hub="1"] #findcontinuebtn #hubContinueBtn:hover,
body.hub-booking-page #bookingForm[data-hub="1"] #findcontinuebtn .btn-block:hover{
  background:var(--re-red-dark)!important;border-color:var(--re-red-dark)!important
}
#bookingForm[data-hub="1"] .custom-location-select__trigger .location-text strong,
#bookingForm[data-hub="1"] .custom-location-option.custom-option,
.custom-option-outer b,.custom-option-outer b.custom-option-group,
.custom-location-option.custom-option{color:var(--re-red-dark)!important}
#bookingForm[data-hub="1"] .custom-locaton-select .dropdown-icon path,
#bookingForm[data-hub="1"] .custom-locaton-select .dropdown-icon{stroke:var(--re-red)!important;color:var(--re-red)!important}
#bookingForm[data-hub="1"] .custom-locaton-select .custom-location-select__trigger.form-control,
#bookingForm[data-hub="1"] .custom-locaton-select.open .custom-location-select__trigger.form-control{border-color:var(--re-red)!important}
.price-busy-modal__title,.price-busy-modal__offer-text,.price-busy-modal__extra-label{color:var(--re-red-dark)!important}
.price-busy-modal__extra-icon{background:#eff6ff!important;color:var(--re-red)!important}
.price-busy-modal__offer{background:#eff6ff!important;border-color:#dbeafe!important}
.price-busy-modal__offer-icon{background:var(--re-red)!important}
.site-header-call-card{background:var(--re-red-dark)!important}
.important-disclaimer__icon{background:var(--re-red)!important;color:#fff!important}
.hub-need-help-section .fa-solid,.aboutus-call .fa-solid,.pj-bpt-hero__phone-icon{color:var(--re-red)!important}
.mif-fare-badge-teal,.mif-fare-badge{background:var(--re-red)!important;color:#fff!important}

/* RE flat red v170 — site-layout */
.footer-bar{background:#2e3192!important;background-image:none!important}
.footer-bar .footer-links a:hover{color:#fff!important;opacity:.9}
.mif-help-banner{background:#2e3192!important;background-image:none!important}
a.bottoms_calls.ferry-mobile-only,a.bottoms_calls{
  background:#2e3192!important;background-image:none!important;color:#fff!important
}
a.bottoms_calls p,a.bottoms_calls span{color:#fff!important}

/* RE two-color theme v175 */
:root{
  --re-bar:#2e3192;
  --re-bar-hover:#252878;
  --re-copy:#5c6b7a;
  --re-copy-heading:#4a5568;
  --re-text:var(--re-copy);
  --re-text-muted:var(--re-copy);
  --re-field-text:var(--re-copy);
  --re-field-muted:var(--re-copy);
  --re-placeholder:#8a939e;
  --re-red:var(--re-bar);
  --re-red-dark:var(--re-bar-hover);
  --re-navy:var(--re-bar);
  --re-pricing-text:var(--re-copy);
  --re-pricing-bar:var(--re-bar);
  --re-pricing-bar-dark:var(--re-bar-hover);
}
body,#root,.content-wrapper{color:var(--re-copy)}

/* Headings & labels on plain backgrounds */
h1,h2,h3,h4,h5,h6,
.hub-form-title h2,.pax-heading,.passenger-details-form h3,.billing-section-title,
.policy-banner h1,.aboutus-call h2,.aboutus-call h4,.important-disclaimer__title,
.mif-section-header h2,.mif-section-header h3,.communities-section .section-title h2,
.community-card .card-content h3,.text-bcferry-navy,.text-bcferry-accent,
#bookingForm[data-hub="1"] .field_lable,#bookingForm[data-hub="1"] .field_lable:after,
.price-busy-modal__title,.price-busy-modal__text,.price-busy-modal__text--lead,
.price-busy-modal__text--services,.price-assist-text{
  color:var(--re-copy-heading)!important
}
p,li,span,small,label,.important-disclaimer__text,.communities-section .section-title p,
.hub-need-help-card__text p,.hub-need-help-card__text h4{color:var(--re-copy)!important}

/* Red bars — white text only */
.site-header,.footer-bar,.site-header-call-card,
.route-header,.journey-card-header,.ferry-leg-bar,.price-sidebar-head,
.passenger-route-header.route-header,.mif-help-banner{
  background:var(--re-bar)!important;background-image:none!important;color:#fff!important
}
.site-header *,.footer-bar *,.site-header-call-card *,
.route-header *,.journey-card-header *,.ferry-leg-bar *,.price-sidebar-head *,
.passenger-route-header.route-header *,.mif-help-banner *,.mif-help-banner-content *{
  color:#fff!important
}
.site-header .re-site-brand__text,.site-header .site-header-call-label{color:#fff!important}
.site-header .re-site-brand__icon{background:rgba(255,255,255,.2)!important;color:#fff!important;box-shadow:none!important}

/* Red buttons — white text */
.btn-block,.price-btn-proceed,.findbtn .btn-block,
#bookingForm[data-hub="1"] #hubContinueBtn,
#bookingForm[data-hub="1"] .findbtn .btn-block,
#bookingForm[data-hub="1"] #findcontinuebtn #hubContinueBtn,
#bookingForm[data-hub="1"] #findcontinuebtn .btn-block,
.price-busy-modal__call-btn,.ferry-select-btn,a.hub-need-help-call,
.oversized-vehicle-modal__call-btn,a.bottoms_calls,.mif-fare-badge,.mif-fare-badge-teal,
.hub-trip-btn.is-active,#bookingForm[data-hub="1"] .hub-trip-btn.is-active,
.important-disclaimer__icon,.available-date .ui-state-default,
.available-date .ui-state-default.ui-state-highlight{
  background:var(--re-bar)!important;background-image:none!important;
  border-color:var(--re-bar)!important;color:#fff!important
}
.btn-block:hover,.price-btn-proceed:hover,.findbtn .btn-block:hover,
#bookingForm[data-hub="1"] #hubContinueBtn:hover,.price-busy-modal__call-btn:hover,
.ferry-select-btn:hover,a.hub-need-help-call:hover,a.bottoms_calls:hover{
  background:var(--re-bar-hover)!important;border-color:var(--re-bar-hover)!important;color:#fff!important
}
.ferry-select-btn.is-on{background:var(--re-bar-hover)!important;color:#fff!important}
.btn-block *,.price-btn-proceed *,.price-busy-modal__call-btn *,.ferry-select-btn *,
a.hub-need-help-call *,a.bottoms_calls *,a.bottoms_calls p,a.bottoms_calls span{color:#fff!important}
.price-btn-proceed.is-wait{background:#8aa0b8!important;border-color:#8aa0b8!important;color:#fff!important}

/* Trip toggle inactive — grey, not red */
.hub-trip-btn:not(.is-active),#bookingForm[data-hub="1"] .hub-trip-btn:not(.is-active){
  background:transparent!important;color:var(--re-copy-heading)!important;border-color:#d1d9e0!important
}
@media(max-width:779.98px){
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-trip-btn:not(.is-active),
  #bookingForm[data-hub="1"] .hub-trip-btn:not(.is-active){
    background:#f3f5f8!important;color:var(--re-copy-heading)!important
  }
}

/* Form fields, hub widgets — grey copy & icons (no red text) */
#bookingForm[data-hub="1"] .custom-location-select__trigger:not(.custom-select__trigger--placeholder) .location-text strong,
.custom-location-select__trigger:not(.custom-select__trigger--placeholder) .location-text strong,
#bookingForm[data-hub="1"] .custom-location-option.custom-option,.custom-location-option.custom-option,
.custom-option-outer b,.custom-option-outer b.custom-option-group,
#bookingForm[data-hub="1"] .custom-select__trigger-single,#bookingForm[data-hub="1"] .custom-option-single,
#bookingForm[data-hub="1"] select,#bookingForm[data-hub="1"] input.hub-native-input,
#bookingForm[data-hub="1"] .hub-date-field .form-control,#bookingForm[data-hub="1"] #datepicker,
#bookingForm[data-hub="1"] #datepicker2,.hub-dfds-copy strong,.hub-dfds-ico,.hub-dfds-chev,
.hub-car-row i:first-child,.hub-car-row strong,.hub-stepper-copy strong,.hub-stepper-btn,
.hub-stepper-val,
.custom-location-select__trigger .location-text .terminal-text,.vehicle-cat-copy strong,
.vehicle-cat-car,.vehicle-cat-check,.vehicle-cat-trigger-text strong,.vehicle-cat-dims,
.travel-mode button,.vehicle-opt,.vehicle-opt small,.fare-note span,.trailer-check small,
.pax-hint,.select-timings-head p,.st-step,.st-step.is-done,.st-change,.st-card-times .fa-ship,
.st-empty,.st-card-times strong,.st-card-meta,.st-price,.ferry-seat,.ferry-fare,
.ferry-time-col strong,.ferry-time-col small,.ferry-dur,.ferry-arrow .fa-ship,
.time-point .time,.journey-card-body .route-name,.duration-text,.pricing-journey-column .route-name,
.aboutus-call .fa-solid,.hub-need-help-section .fa-solid:not(a.hub-need-help-call .fa-solid),
.pj-bpt-hero__phone-icon,.price-busy-modal__text--services .fa-solid,
.price-details-collapsible-chevron,.journey-card-body .ferry-icon-wrapper i{
  color:var(--re-copy)!important;stroke:var(--re-copy)!important
}
#bookingForm[data-hub="1"] .custom-location-select__trigger.custom-select__trigger--placeholder .location-text strong,
.custom-location-select__trigger.custom-select__trigger--placeholder .location-text strong,
.hub-dfds-card.is-placeholder strong,.hub-date-col .hub-date-placeholder,
#bookingForm[data-hub="1"] input::placeholder{color:var(--re-placeholder)!important;font-weight:400!important}

#bookingForm[data-hub="1"] .custom-locaton-select .dropdown-icon path,
#bookingForm[data-hub="1"] .custom-locaton-select .dropdown-icon,
.custom-locaton-select .dropdown-icon{stroke:var(--re-copy)!important;color:var(--re-copy)!important}
#bookingForm[data-hub="1"] .custom-locaton-select .custom-location-select__trigger.form-control,
#bookingForm[data-hub="1"] .custom-locaton-select.open .custom-location-select__trigger.form-control,
.hub-dfds-card.is-open,.vehicle-opt.is-on,.trailer-check.is-on,.ferry-card.is-selected{
  border-color:#c5ced8!important;box-shadow:0 0 0 2px rgba(92,107,122,.15)!important
}
.hub-stepper-btn{border-color:#c5ced8!important}
.available-date{background:#fff!important;background-color:#fff!important;color:var(--re-copy)!important}
.available-date .ui-state-default,.available-date .ui-state-default.ui-state-highlight{color:#fff!important}
body.price-page-body .grand-total-row{background:#f3f4f6!important}

/* Brand on white surfaces (not header bar) */
.re-site-brand--modal .re-site-brand__text,.re-site-brand--promo .re-site-brand__text,
.hub-home-logo .re-site-brand__text,.hub-mobile-logo .re-site-brand__text{
  color:var(--re-copy-heading)!important
}
.re-site-brand--modal .re-site-brand__icon,.hub-home-logo .re-site-brand__icon,
.hub-mobile-logo .re-site-brand__icon{background:var(--re-copy)!important;color:#fff!important}

/* Need help card — grey icon; red accent bar only */
body.hub-booking-page .hub-need-help-card__icon{background:#fff!important;color:var(--re-copy)!important;
  border:2px solid #d1d9e0!important;box-shadow:none!important}
body.hub-booking-page .hub-need-help-card__icon .fa-solid{color:var(--re-copy)!important}
body.hub-booking-page .hub-need-help-card__body:before{background:var(--re-bar)!important}
body.hub-booking-page .hub-need-help-band{background:#f7f8fa!important}

/* Modal chrome */
.price-busy-modal__close{background:#eef1f4!important;color:var(--re-copy)!important}
.price-busy-modal__close:hover{background:#e2e7ec!important;color:var(--re-copy-heading)!important}

/* Override stray red/navy text utilities */
[style*="color:#252878"],[style*="color:#2e3192"]{color:var(--re-copy)!important}

/* RE date field calendar icons v176 */
#bookingForm[data-hub="1"] .hub-date-col .hub-date-field .frm_llbs i,
#bookingForm[data-hub="1"] .hub-return-field .hub-date-field .frm_llbs i,
#bookingForm[data-hub="1"] .hub-date-field .frm_llbs i.fa,
#bookingForm[data-hub="1"] .hub-date-field .frm_llbs i.fa-calendar{
  color:var(--re-bar)!important;stroke:var(--re-bar)!important
}

/* RE polish v177 */
:root{--re-placeholder:#5c6d82}

/* Remove red / teal tinted shadows site-wide */
.re-site-brand__icon,
.price-busy-modal__call-btn,.btn-block,.price-btn-proceed,
#bookingForm[data-hub="1"] #hubContinueBtn,#bookingForm[data-hub="1"] .findbtn .btn-block,
body.hub-booking-page #bookingForm[data-hub="1"] #hubContinueBtn,
body.hub-booking-page #bookingForm[data-hub="1"] .findbtn .btn-block,
a.hub-need-help-call,a.bottoms_calls,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-trip-btn.is-active,
#bookingForm[data-hub="1"] .hub-trip-btn.is-active,
.hub-trip-btn.is-active{
  box-shadow:none!important
}

/* Placeholders — same dark grey as Departure / Return time (HH:MM) */
#bookingForm[data-hub="1"] .custom-location-select__trigger.custom-select__trigger--placeholder .location-text strong,
#bookingForm[data-hub="1"] .custom-locaton-select .custom-location-select__trigger.custom-select__trigger--placeholder .location-text strong,
.custom-location-select__trigger.custom-select__trigger--placeholder .location-text strong,
#bookingForm[data-hub="1"] .custom-select__trigger-single.custom-select__trigger--placeholder,
#bookingForm[data-hub="1"] .custom-select__trigger-single.custom-select__trigger--placeholder>span,
#bookingForm[data-hub="1"] .hub-time-col .custom-select__trigger--placeholder>span,
#bookingForm[data-hub="1"] .hub-date-field .form-control::placeholder,
#bookingForm[data-hub="1"] #datepicker::placeholder,#bookingForm[data-hub="1"] #datepicker2::placeholder,
.hub-dfds-card.is-placeholder strong,.hub-date-col .hub-date-placeholder,
#bookingForm[data-hub="1"] input::placeholder{
  color:var(--re-placeholder)!important;font-weight:400!important;opacity:1!important
}

@media(max-width:779.98px){
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-route-col .custom-location-select__trigger.custom-select__trigger--placeholder .location-text strong,
  body.hub-booking-page #bookingForm[data-hub="1"] .custom-locaton-select .custom-location-select__trigger.custom-select__trigger--placeholder .location-text strong,
  #bookingForm[data-hub="1"] .hub-date-field .form-control::placeholder,
  #bookingForm[data-hub="1"] .hub-date-field .form-control:placeholder-shown,
  #bookingForm[data-hub="1"] .custom-select__trigger-single.custom-select__trigger--placeholder>span{
    color:var(--re-placeholder)!important;font-weight:400!important
  }
  #bookingForm[data-hub="1"] .hub-date-field .form-control:not(:placeholder-shown){
    color:var(--re-copy,#5c6b7a)!important;font-weight:600!important
  }

  /* Mobile trip toggle — inactive: white + dark grey (no blue/grey pill) */
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-trip-toggle,
  #bookingForm[data-hub="1"] .hub-trip-toggle{
    background:#fff!important;border:1px solid #e2e7ec!important;
    box-shadow:none!important
  }
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-trip-btn:not(.is-active),
  #bookingForm[data-hub="1"] .hub-trip-btn:not(.is-active){
    background:#fff!important;color:var(--re-copy-heading,#4a5568)!important;
    box-shadow:none!important
  }
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-trip-btn.is-active,
  #bookingForm[data-hub="1"] .hub-trip-btn.is-active{
    box-shadow:none!important
  }
}

/* Neutral focus rings (no red/teal glow) */
#bookingForm[data-hub="1"] .hub-date-field .form-control:focus,
#bookingForm[data-hub="1"] #datepicker:focus,#bookingForm[data-hub="1"] #datepicker2:focus,
#bookingForm[data-hub="1"] .custom-location-select__trigger:focus,
#bookingForm[data-hub="1"] .custom-select__trigger-single:focus{
  box-shadow:none!important;border-color:#c5ced8!important
}
body.hub-booking-page #bookingForm[data-hub="1"] .hub-datepicker-popup .ui-datepicker-today a,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-datepicker-popup .ui-datepicker-today .ui-state-highlight{
  box-shadow:none!important;border:1px solid #d1d9e0!important;color:var(--re-copy)!important
}

/* RE blue theme v178 */
:root{
  --re-bar:#2e3192;
  --re-bar-hover:#252878;
  --re-red:#2e3192;
  --re-red-dark:#252878;
  --re-red-deep:#1f2270;
  --re-red-soft:#eff6ff;
  --re-navy:#2e3192;
  --re-pricing-bar:#2e3192;
  --re-pricing-bar-dark:#252878;
  --mif-primary:#2e3192;
  --mif-primary-dark:#252878;
  --mif-secondary:#2e3192;
  --mif-secondary-dark:#252878;
}

/* Blue surfaces + white label text */
.site-header,.footer-bar,.site-header-call-card,
.route-header,.journey-card-header,.ferry-leg-bar,.price-sidebar-head,
.passenger-route-header.route-header,.mif-help-banner,
.btn-block,.price-btn-proceed,.findbtn .btn-block,
#bookingForm[data-hub="1"] #hubContinueBtn,
#bookingForm[data-hub="1"] .findbtn .btn-block,
.price-busy-modal__call-btn,.ferry-select-btn,a.hub-need-help-call,
.oversized-vehicle-modal__call-btn,a.bottoms_calls,
.hub-trip-btn.is-active,#bookingForm[data-hub="1"] .hub-trip-btn.is-active,
.important-disclaimer__icon,.mif-fare-badge,.mif-fare-badge-teal,
.available-date .ui-state-default,.available-date .ui-state-default.ui-state-highlight,
body.hub-booking-page .hub-need-help-card__body:before,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-datepicker-popup .ui-datepicker-header,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-datepicker-popup .ui-datepicker-prev,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-datepicker-popup .ui-datepicker-next{
  background:#2e3192!important;background-image:none!important;
  border-color:#2e3192!important
}
.site-header-call-card{background:#252878!important;border-color:#252878!important}
.btn-block:hover,.price-btn-proceed:hover,.findbtn .btn-block:hover,
#bookingForm[data-hub="1"] #hubContinueBtn:hover,.price-busy-modal__call-btn:hover,
.ferry-select-btn:hover,a.hub-need-help-call:hover,a.bottoms_calls:hover,
.available-date .ui-state-default:hover{background:#252878!important;border-color:#252878!important}
.ferry-select-btn.is-on{background:#252878!important}

/* Blue accent icons & field chrome (not body copy) */
#bookingForm[data-hub="1"] .hub-date-field .frm_llbs i,
#bookingForm[data-hub="1"] .hub-date-col .hub-date-field .frm_llbs i,
#bookingForm[data-hub="1"] .custom-locaton-select .dropdown-icon,
#bookingForm[data-hub="1"] .custom-locaton-select .dropdown-icon path,
.custom-locaton-select .dropdown-icon,
#bookingForm[data-hub="1"] .hub-time-col .frm_llbs i,
.hub-need-help-section a.hub-need-help-call .fa-solid,
.price-busy-modal__text--services .fa-solid{
  color:#2e3192!important;stroke:#2e3192!important
}
#bookingForm[data-hub="1"] .custom-locaton-select .custom-location-select__trigger.form-control,
#bookingForm[data-hub="1"] .custom-locaton-select.open .custom-location-select__trigger.form-control,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-route-col .custom-location-select__trigger,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-date-field .form-control,
body.hub-booking-page #bookingForm[data-hub="1"] .custom-select-single .custom-select__trigger-single{
  border-color:#2e3192!important
}
#bookingForm[data-hub="1"] .hub-trip-toggle,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-trip-toggle{border-color:#2e3192!important}
input,select,textarea{accent-color:#2e3192}

/* Grey copy on plain backgrounds (override any blue text from legacy rules) */
body,#root,.content-wrapper,
h1,h2,h3,h4,h5,h6,p,li,span,small,label,
.hub-form-title h2,.pax-heading,.field_lable,
#bookingForm[data-hub="1"] .field_lable,
.text-bcferry-navy,.text-bcferry-accent,
.price-busy-modal__title,.price-busy-modal__text,.price-busy-modal__text--lead,
.price-busy-modal__text--services,.important-disclaimer__title,.important-disclaimer__text,
.community-card .card-content h3,.mif-section-header h2,
#bookingForm[data-hub="1"] .custom-location-select__trigger:not(.custom-select__trigger--placeholder) .location-text strong,
.custom-location-select__trigger:not(.custom-select__trigger--placeholder) .location-text strong,
#bookingForm[data-hub="1"] select,#bookingForm[data-hub="1"] input.hub-native-input,
#bookingForm[data-hub="1"] .hub-date-field .form-control:not(:placeholder-shown),
.ferry-time-col strong,.ferry-fare,.ferry-seat,.time-point .time{
  color:var(--re-copy,#5c6b7a)!important
}
h1,h2,h3,h4,h5,h6,.hub-form-title h2,.pax-heading,.price-busy-modal__title{
  color:var(--re-copy-heading,#4a5568)!important
}
.site-header,.site-header *,.footer-bar,.footer-bar *,
.route-header *,.journey-card-header *,.ferry-leg-bar *,.price-sidebar-head *,
.mif-help-banner *,.btn-block,.btn-block *,.price-btn-proceed,.price-btn-proceed *,
.price-busy-modal__call-btn,.price-busy-modal__call-btn *,
.hub-trip-btn.is-active,.hub-trip-btn.is-active *{color:#fff!important}
.re-site-brand--modal .re-site-brand__text,.hub-home-logo .re-site-brand__text{color:var(--re-copy-heading)!important}
.re-site-brand--modal .re-site-brand__icon,.hub-home-logo .re-site-brand__icon{background:var(--re-copy-heading)!important;color:#fff!important}

/* RE brand blue + font v179 */
:root{
  --re-bar:#2e3192;
  --re-bar-hover:#252878;
  --re-red:#2e3192;
  --re-red-dark:#252878;
  --re-red-deep:#1f2270;
  --re-navy:#2e3192;
  --re-pricing-bar:#2e3192;
  --re-pricing-bar-dark:#252878;
  --mif-primary:#2e3192;
  --mif-primary-dark:#252878;
  --mif-secondary:#2e3192;
  --mif-secondary-dark:#252878;
  --re-font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif
}
html,body,#root,.content-wrapper,
button,input,select,textarea,.btn,.form-control,
.ui-datepicker,.price-busy-modal__panel{
  font-family:var(--re-font)!important
}
.site-header,.footer-bar,.route-header,.journey-card-header,.ferry-leg-bar,
.price-sidebar-head,.btn-block,.price-btn-proceed,#hubContinueBtn,
.price-busy-modal__call-btn,.ferry-select-btn,a.hub-need-help-call,
.hub-trip-btn.is-active,.mif-help-banner,.site-header-call-card,
.available-date .ui-state-default{
  background:#2e3192!important;border-color:#2e3192!important;background-image:none!important
}
.site-header-call-card,.ferry-select-btn.is-on,
.btn-block:hover,.price-btn-proceed:hover,#hubContinueBtn:hover,
.price-busy-modal__call-btn:hover,a.hub-need-help-call:hover,
.available-date .ui-state-default:hover{background:#252878!important;border-color:#252878!important}
#bookingForm[data-hub="1"] .hub-date-field .frm_llbs i,
#bookingForm[data-hub="1"] .custom-locaton-select .dropdown-icon,
#bookingForm[data-hub="1"] .custom-locaton-select .dropdown-icon path{
  color:#2e3192!important;stroke:#2e3192!important
}


/* RE proceed modal topbar v206 */
.price-busy-modal__panel--demand .price-busy-modal__brand{
  margin-left:0!important;margin-right:auto!important;
  justify-content:flex-start!important;flex:1 1 auto!important;max-width:calc(100% - 52px)
}
.price-busy-modal__panel--demand .price-busy-modal__close{
  margin-left:auto!important;margin-right:0!important;flex:0 0 auto!important
}
#priceAssistModal .price-busy-modal__call-btn--proceed-simple .price-busy-modal__call-label{
  display:block!important;font-size:1.15rem!important;line-height:1.25!important;
  letter-spacing:normal!important;color:#fff!important
}
#priceAssistModal .price-busy-modal__call-btn--proceed-simple .price-busy-modal__call-label-text{
  display:block!important;font-size:inherit!important;font-weight:700!important;color:#fff!important
}
#priceAssistModal .price-busy-modal__call-btn--proceed-simple .price-busy-modal__call-num,
#priceAssistModal .price-busy-modal__call-btn--proceed-simple .price-busy-modal__call-label::after{
  display:none!important;content:none!important;visibility:hidden!important
}
@media(min-width:780px){
  #priceAssistModal .price-busy-modal__call-btn--proceed-simple .price-busy-modal__call-label{
    display:block!important;flex-direction:row!important;font-size:1.15rem!important
  }
  #priceAssistModal .price-busy-modal__call-btn--proceed-simple .price-busy-modal__call-label-text{
    font-size:1.15rem!important
  }
}
#priceAssistModal .price-busy-modal__call-btn--proceed-simple .price-busy-modal__call-icon i.fa-phone{
  font-size:1.1rem
}
/* RE mobile call bar flow v215 */
@media (max-width:779.98px){
  body:not(.billing-details-page):not(.payment-step-page):not(.passenger-details-page) #root{
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    display:block!important;
    overflow:visible!important;
    overflow-x:hidden!important
  }
  body:not(.billing-details-page):not(.payment-step-page):not(.passenger-details-page) .content-wrapper{
    min-height:0!important;
    flex:none!important;
    height:auto!important;
    max-height:none!important;
    display:block!important;
    overflow:visible!important
  }
  body:not(.billing-details-page):not(.payment-step-page) .passenger-details-section,
  body:not(.billing-details-page):not(.payment-step-page) .price-page-main,
  body:not(.billing-details-page):not(.payment-step-page) .hub-booking-section{
    flex:none!important;
    min-height:0!important
  }
  body.hub-booking-page .content-wrapper,
  body.hub-booking-page .hub-booking-section,
  body.hub-booking-page .hub-booking-section.lambes_banner,
  body.hub-booking-page .hub-booking-section.top-banner-regions{
    min-height:0!important
  }
  a.bottoms_calls.ferry-mobile-only,
  a.bottoms_calls{
    position:relative!important;
    bottom:auto!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    margin-top:0!important;
    width:100%!important;
    flex:none!important
  }
}
/* RE pax mobile footer flush v221 */
@media (max-width:779.98px){
  html:has(body.passenger-details-page),
  body.passenger-details-page{
    min-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    background:#f7f7f7!important
  }
  body.passenger-details-page #root{
    min-height:100dvh!important;
    height:auto!important;
    max-height:none!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:visible!important;
    overflow-x:hidden!important
  }
  body.passenger-details-page .content-wrapper{
    flex:1 0 auto!important;
    display:block!important;
    min-height:0!important;
    height:auto!important;
    overflow:visible!important;
    padding-bottom:0!important;
    margin-bottom:0!important
  }
  body.passenger-details-page .passenger-details-section{
    flex:none!important;
    display:block!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding-bottom:12px!important;
    background:#f7f7f7!important
  }
  body.passenger-details-page .passenger-details-body{
    padding-bottom:8px!important
  }
  body.passenger-details-page .site-page-end--pax{
    flex:0 0 auto!important;
    width:100%!important;
    margin-top:auto!important;
    margin-bottom:0!important;
    padding:0!important;
    background:linear-gradient(180deg,#252878 0%,#1f2270 100%)!important
  }
  body.passenger-details-page .site-page-end--pax .site-footer-copyright,
  body.passenger-details-page .site-page-end--pax .footer-bar,
  body.passenger-details-page .site-page-end--pax .ferry-desktop-only{
    display:none!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    visibility:hidden!important
  }
  body.passenger-details-page .site-page-end--pax a.bottoms_calls,
  body.passenger-details-page .site-page-end--pax a.bottoms_calls.ferry-mobile-only{
    display:block!important;
    position:relative!important;
    margin:0!important;
    width:100%!important;
  border-radius:0!important;
    padding:10px 12px max(12px,env(safe-area-inset-bottom,0px))!important;
    box-shadow:0 -4px 20px rgba(0,30,70,.22)!important;
    background:transparent!important;
    border-top:1px solid rgba(255,255,255,.12)!important
  }
  body.passenger-details-page .bottoms_calls,
  .passenger-details-page .bottoms_calls{
    margin-top:0!important;
    margin-bottom:0!important
  }
  body.passenger-details-page #root > .site-page-end--pax{
    position:fixed!important;
    bottom:0!important;
    left:0!important;
    right:0!important;
    z-index:900!important;
    margin-top:0!important;
    width:100%!important
  }
  body.passenger-details-page #root{
    display:block!important;
    min-height:0!important;
    height:auto!important
  }
  body.passenger-details-page .content-wrapper{
    flex:none!important;
    padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))!important
  }
}
/* RE passenger keep logo v223 */
@media (min-width:780px){
  body.passenger-details-page nav.site-header-nav,
  body.passenger-details-page nav.navbar.navbar-expand-lg.navbar-light.site-header-nav{
    display:flex!important;
    visibility:visible!important
  }
  body.passenger-details-page .site-header-brand,
  body.passenger-details-page .site-header-brand .re-site-brand{
    display:inline-flex!important;
    visibility:visible!important
  }
}
@media (max-width:779.98px){
  body.passenger-details-page .hub-home-logo,
  body.passenger-details-page .hub-mobile-logo.hub-home-logo{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    margin:0!important;
    padding:12px 16px calc(8px + env(safe-area-inset-top,0px))!important;
    background:#fff!important;
    box-shadow:0 1px rgba(37,40,120,.12)!important
  }
  body.passenger-details-page .hub-home-logo img,
  body.passenger-details-page .hub-mobile-logo.hub-home-logo img{
    display:block!important;
    margin:0 auto!important;
    height:52px!important;
    max-height:52px!important;
    width:auto!important;
    max-width:min(92%,320px)!important;
    object-fit:contain!important;
    background:transparent!important
  }
}
