/* 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;
  }
}

/* Sorrento Ferries PNG logo (~3:1) — scale image by height, keep header compact */
.ferry-text-brand {
  display: none !important;
}

body.hub-booking-page .hub-mobile-logo.hub-home-logo,
body.hub-booking-page .site-header-brand {
  justify-content: center;
  text-align: center;
  line-height: 0;
}

body.hub-booking-page .hub-mobile-logo.hub-home-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  line-height: 0 !important;
}

body.hub-booking-page .site-header-nav .site-header-container {
  min-height: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

body.hub-booking-page .site-header-nav {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

img.ferry-logo-image {
  visibility: visible !important;
  position: relative !important;
  clip: auto !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: auto !important;
  min-height: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  image-rendering: -webkit-optimize-contrast;
}

/* Mobile home hero logo (above booking form) */
@media (max-width: 779.98px) {
  body.hub-booking-page .hub-mobile-logo.hub-home-logo img.logo-desktop.ferry-logo-image,
  body.hub-booking-page .hub-home-logo img.logo-desktop.ferry-logo-image {
    display: none !important;
  }

  /* Beat bundle max-height:56px / width:70% on .hub-home-logo img */
  body.hub-booking-page .hub-mobile-logo.hub-home-logo img.logo-mobile.ferry-logo-image,
  body.hub-booking-page .hub-home-logo img.logo-mobile.ferry-logo-image,
  body.hub-booking-page .hub-mobile-logo.hub-home-logo img.ferry-logo-image,
  body.hub-booking-page .hub-home-logo img.ferry-logo-image.logo-mobile,
  body.hub-booking-page .hub-home-logo img,
  body.hub-booking-page .hub-mobile-logo.hub-home-logo img {
    display: block !important;
    width: min(76vw, 272px) !important;
    max-width: min(76vw, 272px) !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    vertical-align: middle !important;
    transform: none !important;
  }

  body.hub-booking-page .hub-mobile-logo.hub-home-logo {
    padding: 14px 16px 12px !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  body.hub-booking-page .hub-mobile-logo.hub-home-logo + .hub-booking-section,
  body.hub-booking-page .hub-mobile-logo.hub-home-logo + section.hub-booking-section {
    margin-top: 0 !important;
  }

  /* Mobile sticky header on inner pages */
  body .site-header-brand img.site-header-logo.logo-mobile.ferry-logo-image,
  body.hub-booking-page .site-header-brand img.site-header-logo.logo-mobile.ferry-logo-image {
    width: min(72vw, 252px) !important;
    max-width: min(72vw, 252px) !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    object-position: center !important;
    transform: none !important;
  }

  body.hub-booking-page .site-header-nav .site-header-brand {
    padding: 0 !important;
    line-height: 0 !important;
  }

  body .price-busy-modal__logo.logo-mobile.ferry-logo-image,
  body .price-busy-modal__logo.ferry-logo-image.logo-mobile {
    height: 80px !important;
    max-height: none !important;
    min-height: 0 !important;
    width: auto !important;
    max-width: min(92vw, 320px) !important;
  }
}

@media (min-width: 780px) {
  body .site-header-brand img.site-header-logo.logo-mobile.ferry-logo-image,
  body.hub-booking-page .site-header-brand img.logo-mobile.ferry-logo-image {
    display: none !important;
  }

  body.hub-booking-page .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image,
  body .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image {
    display: block !important;
    width: min(42vw, 380px) !important;
    max-width: 380px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    object-position: left center !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  body.hub-booking-page .site-header-nav .site-header-brand {
    max-width: none !important;
    width: auto !important;
    flex: 0 1 auto !important;
  }

  body .price-busy-modal__logo.ferry-logo-image.logo-desktop {
    height: 80px !important;
    width: auto !important;
    margin: 0 auto !important;
  }
}

@media (min-width: 992px) {
  body.hub-booking-page .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image {
    width: min(38vw, 420px) !important;
    max-width: 420px !important;
    height: auto !important;
  }
}

@media (min-width: 1200px) {
  body.hub-booking-page .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image {
    width: min(36vw, 460px) !important;
    max-width: 460px !important;
  }
}

/* Header call: label + number (24/7 Booking Agent) on all breakpoints */
.site-header-call-card .site-header-call-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.site-header-call-card .site-header-call-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-header-call-card .site-header-call-num {
  font-size: 15px;
  font-weight: 700;
}

@media (min-width: 780px) {
  .site-header-call-card .site-header-call-text {
    align-items: flex-end;
    text-align: right;
  }

  .checkout-page-footer.footer-bar,
  .checkout-page-footer .footer-bar {
    display: block !important;
  }

  body.passenger-details-page .checkout-page-footer, body.vehicle-information-page .checkout-page-footer,
  body.select-timings-page .checkout-page-footer,
  body.price-page-body .checkout-page-footer,
  body.billing-details-page .checkout-page-footer,
  body.payment-page-body .checkout-page-footer {
    flex-shrink: 0;
    margin-top: 24px;
  }

  .checkout-page-footer--minimal .checkout-footer-copyright-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 4px 0;
  }

  .checkout-page-footer--minimal .footer-links {
    display: none !important;
  }

  body.passenger-details-page .vehicle-size .mif-error , body.vehicle-information-page .vehicle-size .mif-error {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 0 8px;
  }

  body.passenger-details-page .vehicle-size .vehicle-opt , body.vehicle-information-page .vehicle-size .vehicle-opt {
    align-items: center !important;
  }

  body.passenger-details-page .vehicle-size .vehicle-opt__text , body.vehicle-information-page .vehicle-size .vehicle-opt__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
  }

  body.passenger-details-page .vehicle-size .vehicle-opt small:empty , body.vehicle-information-page .vehicle-size .vehicle-opt small:empty {
    display: none;
  }

  body.passenger-details-page .mif-pax-col , body.vehicle-information-page .mif-pax-col {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 779.98px) {
  body.passenger-details-page .passenger-section , body.vehicle-information-page .passenger-section {
    margin: 0 4px 14px;
    padding: 14px 12px;
    background: #fff;
    border: 1px solid #5c6d82;
    border-radius: 14px;
    box-sizing: border-box;
    width: calc(100% - 8px);
  }

  body.passenger-details-page .passenger-section-heading , body.vehicle-information-page .passenger-section-heading {
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2c3e85;
    line-height: 1.25;
  }

  body.passenger-details-page .passenger-section--pax , body.vehicle-information-page .passenger-section--pax {
    margin-bottom: 0;
  }

  body.passenger-details-page .passenger-section--vehicle , body.vehicle-information-page .passenger-section--vehicle {
    overflow: visible;
    min-width: 0;
  }

  html:has(body.passenger-details-page),
  html:has(body.vehicle-information-page),
  body.passenger-details-page, body.vehicle-information-page,
  body.passenger-details-page #root , body.vehicle-information-page #root {
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  body.passenger-details-page .passenger-details-body , body.vehicle-information-page .passenger-details-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body.passenger-details-page .content-wrapper, body.vehicle-information-page .content-wrapper,
  body.passenger-details-page .passenger-details-section , body.vehicle-information-page .passenger-details-section {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  body.passenger-details-page .passenger-details-panel, body.vehicle-information-page .passenger-details-panel,
  body.passenger-details-page #bookingForm , body.vehicle-information-page #bookingForm {
    overflow: visible !important;
  }

  body.passenger-details-page .vehicle-picker-mobile , body.vehicle-information-page .vehicle-picker-mobile {
    scroll-margin-bottom: 24px;
  }

  body.passenger-details-page .passenger-section--vehicle .vehicle-select-wrap , body.vehicle-information-page .passenger-section--vehicle .vehicle-select-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.passenger-details-page .vehicle-select-trigger , body.vehicle-information-page .vehicle-select-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #5c6d82;
    border: 1.5px solid #5c6d82;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  body.passenger-details-page .vehicle-select-trigger.has-value, body.vehicle-information-page .vehicle-select-trigger.has-value,
  body.passenger-details-page .vehicle-select-trigger.is-open , body.vehicle-information-page .vehicle-select-trigger.is-open {
    color: #12203b;
  }

  body.passenger-details-page .vehicle-select-trigger.is-open , body.vehicle-information-page .vehicle-select-trigger.is-open {
    border-color: #2c3e85;
    box-shadow: 0 0 0 1px #2c3e85;
  }

  body.passenger-details-page .vehicle-select-trigger__label , body.vehicle-information-page .vehicle-select-trigger__label {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.passenger-details-page .vehicle-select-trigger__chev , body.vehicle-information-page .vehicle-select-trigger__chev {
    flex: none;
    font-size: 14px;
    color: #2c3e85;
    transition: transform 0.2s ease;
  }

  body.passenger-details-page .vehicle-select-trigger.is-open .vehicle-select-trigger__chev , body.vehicle-information-page .vehicle-select-trigger.is-open .vehicle-select-trigger__chev {
    transform: rotate(180deg);
  }

  body.passenger-details-page .vehicle-picker-mobile , body.vehicle-information-page .vehicle-picker-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
  }

  body.passenger-details-page .vehicle-picker-mobile__opt , body.vehicle-information-page .vehicle-picker-mobile__opt {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 76px;
    margin: 0;
    padding: 14px 16px;
    border: 1.5px solid #5c6d82;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 1px 2px rgba(18, 32, 59, 0.06);
  }

  body.passenger-details-page .vehicle-picker-mobile__opt.is-on , body.vehicle-information-page .vehicle-picker-mobile__opt.is-on {
    border-color: #2c3e85;
    background: #eef2fb;
    box-shadow: 0 0 0 1px #2c3e85;
  }

  body.passenger-details-page .vehicle-picker-mobile__icon , body.vehicle-information-page .vehicle-picker-mobile__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #c5d0de;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e85;
    font-size: 22px;
    flex: none;
  }

  body.passenger-details-page .vehicle-picker-mobile__opt.is-on .vehicle-picker-mobile__icon , body.vehicle-information-page .vehicle-picker-mobile__opt.is-on .vehicle-picker-mobile__icon {
    border-color: #2c3e85;
    background: #fff;
  }

  body.passenger-details-page .vehicle-picker-mobile__text , body.vehicle-information-page .vehicle-picker-mobile__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    flex: 1;
  }

  body.passenger-details-page .vehicle-picker-mobile__title , body.vehicle-information-page .vehicle-picker-mobile__title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #12203b;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  body.passenger-details-page .vehicle-picker-mobile__sub , body.vehicle-information-page .vehicle-picker-mobile__sub {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #47607a;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  body.passenger-details-page .vehicle-picker-mobile__sub:empty , body.vehicle-information-page .vehicle-picker-mobile__sub:empty {
    display: none !important;
  }

  body.passenger-details-page .vehicle-opt small:empty , body.vehicle-information-page .vehicle-opt small:empty {
    display: none !important;
  }

  body.passenger-details-page .mif-pax-col--mobile-grid , body.vehicle-information-page .mif-pax-col--mobile-grid {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
  }

  body.passenger-details-page .pax-mobile-grid , body.vehicle-information-page .pax-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  body.passenger-details-page .pax-field , body.vehicle-information-page .pax-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }

  body.passenger-details-page .pax-field--full , body.vehicle-information-page .pax-field--full {
    grid-column: 1 / -1;
  }

  body.passenger-details-page .pax-field--family .pax-field-label , body.vehicle-information-page .pax-field--family .pax-field-label {
    font-size: 13px;
    line-height: 1.25;
  }

  body.passenger-details-page .pax-field-label , body.vehicle-information-page .pax-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #12203b;
    line-height: 1.3;
  }

  body.passenger-details-page .pax-select--mobile , body.vehicle-information-page .pax-select--mobile {
    display: block !important;
    width: 100%;
    min-height: 48px;
    padding: 10px 36px 10px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #12203b;
    border: 1.5px solid #5c6d82;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232c3e85' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    -webkit-appearance: none;
  }

  body.passenger-details-page .pax-select--mobile:focus , body.vehicle-information-page .pax-select--mobile:focus {
    outline: 0;
    border-color: #2c3e85;
    box-shadow: 0 0 0 3px rgba(44, 62, 133, 0.18);
  }

  body.thankyou-page .thankyou-support-phone {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  body.thankyou-page .thankyou-support-phone > .ferry-mobile-only {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  body.thankyou-page .thankyou-support-copy {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
  }

  body.thankyou-page .thankyou-support-label {
    display: inline !important;
    white-space: nowrap !important;
  }
}

/* Hub hero — Searoad Ferries (Queenscliff / Sorrento) */
body.hub-booking-page .hub-booking-section#hub-booking-form {
  background-color: #142238;
  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: #2c3e85;
}
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: #2c3e85 !important;
  border-color: #2c3e85 !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: #1e3058 !important;
  border-color: #1e3058 !important;
}

body.hub-booking-page #bookingForm[data-hub="1"] .hub-time-col .frm_llbs,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-time-col .frm_llbs i,
body.hub-booking-page #bookingForm[data-hub="1"] .hub-time-col .fa-clock {
  color: #2c3e85;
}

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

  /* Home hero � One Way / Round Trip: selected tab navy blue */
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-trip-btn.is-active,
  #bookingForm[data-hub="1"] .hub-trip-btn.is-active {
    background: #2c3e85 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(44, 62, 133, 0.28) !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: #2c3e85 !important;
  }

  /* Home hero � departure / return time clock icons (navy blue) */
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-time-col .frm_llbs,
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-time-col .frm_llbs i,
  body.hub-booking-page #bookingForm[data-hub="1"] .hub-time-col .fa-clock,
  body.hub-booking-page #bookingForm[data-hub="1"] #DepartureTime_outer .frm_llbs i,
  body.hub-booking-page #bookingForm[data-hub="1"] #selectreturntime_outer .frm_llbs i {
    color: #2c3e85 !important;
  }
}

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

@media (max-width: 779.98px) {
  body.price-page-body .price-ferry-schedule-wrap:not(.price-need-times) {
    display: none !important;
  }
}
@media (min-width: 780px) {
  body.price-page-body .price-ferry-schedule-wrap {
    display: block !important;
  }
}

/* =============================================================================
   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: #1b1e69;
  --mif-secondary: #2c3e85;
  --mif-secondary-dark: #1e3058;
  --mif-accent: #ff7e36;
  --mif-dark: #162544;
  --mif-slate: #4a5568;
  --mif-light-slate: #718096;
  --mif-bg-soft: #f4f8fb;
  --mif-bg-tint: #eefcfe;
  --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: 'Poppins', 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: #2563eb;
}
.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: 'Poppins', 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, #162544 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%, #1e3058 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, #1e3058 0%, #1e3058 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;
  }

  body.price-page-body a.bottoms_calls.ferry-mobile-only {
    text-align: center;
    flex-shrink: 0;
    margin-top: auto;
  }

  body.price-page-body a.bottoms_calls.ferry-mobile-only p {
    margin: 0 0 4px;
  }

  body.passenger-details-page .page-end-assist, body.vehicle-information-page .page-end-assist,
  body.price-page-body .page-end-assist {
    flex-shrink: 0;
    width: 100%;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 10px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    background: #f4f7fa;
  }

  body.passenger-details-page .page-end-assist .price-assist-text, body.vehicle-information-page .page-end-assist .price-assist-text,
  body.price-page-body .page-end-assist .price-assist-text {
    padding: 8px 16px 10px;
    margin: 0;
  }

  body.passenger-details-page .page-end-assist .bottoms_calls, body.vehicle-information-page .page-end-assist .bottoms_calls,
  body.price-page-body .page-end-assist .bottoms_calls {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body.passenger-details-page .page-end-assist , body.vehicle-information-page .page-end-assist {
    margin-top: 8px;
  }

  /* Price: assist is direct child of #root — pin to page footer on mobile */
  body.price-page-body #root > .page-end-assist {
    margin-top: auto !important;
    flex-shrink: 0;
    width: 100%;
  }

  @media (max-width: 991.98px) {
    body.price-page-body .price-page-main.pricing-page-wrapper {
      flex: 0 0 auto !important;
      min-height: 0 !important;
    }
  }

  .page-end-assist .page-end-call-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 12px 16px !important;
  }

  .page-end-assist .page-end-call-bar__icon {
    font-size: 18px;
    line-height: 1;
  }

  .page-end-assist .page-end-call-bar__label {
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
  }

  .page-end-assist .page-end-call-bar__number {
    font-size: 17px !important;
    letter-spacing: 0.04em !important;
  }
}

@media (min-width: 780px) {
  .page-end-assist,
  .page-end-assist .page-end-call-bar,
  .page-end-assist .price-assist-text {
    display: none !important;
  }
}

/* Passenger + price: one light page background (cards stay white) */
body.passenger-details-page, body.vehicle-information-page,
body.passenger-details-page #root, body.vehicle-information-page #root,
body.passenger-details-page .content-wrapper, body.vehicle-information-page .content-wrapper,
body.passenger-details-page .passenger-details-section, body.vehicle-information-page .passenger-details-section,
body.passenger-details-page .passenger-details-body, body.vehicle-information-page .passenger-details-body,
body.price-page-body,
body.price-page-body #root,
body.price-page-body .price-page-main.pricing-page-wrapper,
body.price-page-body .page-end-assist {
  background: #f4f7fa !important;
  background-image: none !important;
}

html:has(body.passenger-details-page),
html:has(body.vehicle-information-page),
html:has(body.price-page-body) {
  background: #f4f7fa;
}

@media (min-width: 780px) {
  body.passenger-details-page .passenger-details-section , body.vehicle-information-page .passenger-details-section {
    background: #f4f7fa !important;
  }
}

/* Site maintenance page */
body.site-maintenance-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Poppins, "Segoe UI", sans-serif;
  color: #1b2a4a;
  background: #142238;
  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: #2c3e85;
  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: #2c3e85;
  border: 1px solid #2c3e85;
  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: #1e3058;
  border-color: #1e3058;
  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: #2c3e85 !important;
  border: 1px solid #2c3e85 !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: #1e3058 !important;
  border-color: #1e3058 !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: Poppins, 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: Poppins, 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: Poppins, 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: #2c3e85;
  color: #fff;
  font-size: 1rem;
}

.mi-promo-hero .pj-bpt-hero__phone-number {
  font-family: Poppins, 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: Poppins, 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: #2c3e85 !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;
  }

  /* Config: mobile_home_busy_popup = false — block #homeBusyModal even if cached JS still opens it */
  html.ferry-mobile-home-no-busy-popup #homeBusyModal,
  html.ferry-mobile-home-no-busy-popup body.price-busy-modal-open #homeBusyModal {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* =============================================================================
   Kangaroo Island Ferry logo (wide PNG ~5.7:1) — sized by width, height follows
   ============================================================================= */
body .site-header-brand img.site-header-logo.ferry-logo-image,
body.hub-booking-page .hub-home-logo img.ferry-logo-image,
body.hub-booking-page .hub-mobile-logo.hub-home-logo img.ferry-logo-image,
body .hub-mobile-logo img.ferry-logo-image,
body .price-busy-modal__logo.ferry-logo-image,
body .price-busy-modal__logo {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 700 / 122;
  object-fit: contain !important;
  background: transparent !important;
}

@media (max-width: 779.98px) {
  body.hub-booking-page .hub-mobile-logo.hub-home-logo img.logo-mobile.ferry-logo-image,
  body.hub-booking-page .hub-home-logo img.logo-mobile.ferry-logo-image,
  body.hub-booking-page .hub-home-logo img.ferry-logo-image.logo-mobile,
  body.hub-booking-page .hub-mobile-logo.hub-home-logo img.ferry-logo-image,
  body.hub-booking-page .hub-home-logo img.ferry-logo-image,
  body.hub-booking-page .hub-mobile-logo.hub-home-logo img,
  body.hub-booking-page .hub-home-logo img {
    width: min(84vw, 340px) !important;
    max-width: min(84vw, 340px) !important;
  }

  body.hub-booking-page .hub-mobile-logo.hub-home-logo {
    padding: 16px 16px 14px !important;
  }

  body .site-header-brand img.site-header-logo.ferry-logo-image,
  body.hub-booking-page .site-header-brand img.site-header-logo.logo-mobile.ferry-logo-image,
  body .site-header-brand img.site-header-logo.logo-mobile.ferry-logo-image {
    width: min(68vw, 270px) !important;
    max-width: min(68vw, 270px) !important;
  }

  body.thankyou-page .hub-mobile-logo img,
  body.thankyou-page .hub-mobile-logo img.logo-mobile {
    width: min(78vw, 300px) !important;
    max-width: min(78vw, 300px) !important;
    height: auto !important;
  }

  body .price-busy-modal__logo.logo-mobile.ferry-logo-image,
  body .price-busy-modal__logo.ferry-logo-image.logo-mobile,
  body .price-busy-modal__logo.logo-mobile {
    width: min(72vw, 290px) !important;
    max-width: min(72vw, 290px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

.mi-mobile-promo-hero__logo {
  width: min(84vw, 320px) !important;
  min-height: 0 !important;
  background: transparent !important;
}

@media (max-width: 359.98px) {
  body .site-header-brand img.site-header-logo.ferry-logo-image,
  body .site-header-brand img.site-header-logo.logo-mobile.ferry-logo-image {
    width: 62vw !important;
    max-width: 62vw !important;
  }
}

@media (min-width: 780px) {
  body.hub-booking-page .site-header-nav .site-header-container {
    min-height: 76px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body.hub-booking-page .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image,
  body .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image {
    width: min(36vw, 300px) !important;
    max-width: min(36vw, 300px) !important;
  }

  body .price-busy-modal__logo.ferry-logo-image,
  body .price-busy-modal__logo.logo-desktop {
    width: min(80%, 320px) !important;
    max-width: min(80%, 320px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.thankyou-page .hub-mobile-logo img {
    width: 320px !important;
    max-width: 320px !important;
    height: auto !important;
  }

  body.hub-booking-page .hub-mobile-logo.hub-home-logo img.logo-desktop.ferry-logo-image,
  body.hub-booking-page .hub-mobile-logo.hub-home-logo img.ferry-logo-image,
  body.hub-booking-page .hub-home-logo img.ferry-logo-image,
  body.hub-booking-page .hub-home-logo img {
    width: min(44vw, 360px) !important;
    max-width: min(44vw, 360px) !important;
    margin: 0 auto !important;
  }

  body.hub-booking-page .hub-mobile-logo.hub-home-logo {
    padding: 16px 24px !important;
  }
}

@media (min-width: 992px) {
  body.hub-booking-page .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image,
  body .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image {
    width: 340px !important;
    max-width: 340px !important;
  }
}

@media (min-width: 1200px) {
  body.hub-booking-page .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image,
  body .site-header-brand img.site-header-logo.logo-desktop.ferry-logo-image {
    width: 380px !important;
    max-width: 380px !important;
  }
}

/* =============================================================================
   Brand palette ? navy buttons, grey text (no teal/green accents or glows)
   ============================================================================= */
.btn-block,
.price-btn-proceed,
.findbtn .btn-block,
#hubContinueBtn,
.st-select-btn,
.ferry-select-btn,
a.hub-need-help-call,
.price-busy-modal__call-btn {
  background: #2c3e85 !important;
  border-color: #2c3e85 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(44, 62, 133, 0.2) !important;
}

.btn-block:hover,
.price-btn-proceed:hover,
.findbtn .btn-block:hover,
#hubContinueBtn:hover,
.st-select-btn:hover,
.ferry-select-btn:hover,
a.hub-need-help-call:hover,
.price-busy-modal__call-btn:hover {
  background: #1e3058 !important;
  border-color: #1e3058 !important;
  color: #fff !important;
}

.communities-section .section-title p,
.pax-hint,
.hub-stepper-btn,
.st-change {
  color: #47607a !important;
}

.hub-stepper-btn {
  border-color: #c5d0dc !important;
}

/* Vehicle step: electric/hybrid + roof luggage */
body.vehicle-information-page .vehicle-extra-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 8px 0 0;
  padding: 18px 16px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #c5d4e0;
  border-radius: 14px;
  text-align: center;
}

body.vehicle-information-page .vehicle-extra-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

body.vehicle-information-page .vehicle-extra-field + .vehicle-extra-field {
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

body.vehicle-information-page .vehicle-extra-label {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #12203b;
}

body.vehicle-information-page .vehicle-extra-field .mif-error {
  margin: 0 0 8px !important;
  text-align: center;
}

body.vehicle-information-page .vehicle-extra-radios {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 32px;
}

body.vehicle-information-page .vehicle-extra-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #2a4058;
  cursor: pointer;
}

body.vehicle-information-page .vehicle-extra-radio input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2c3e85;
  cursor: pointer;
}

body.vehicle-information-page .mif-step-vehicle .mif-continue {
  margin-top: 28px !important;
}

@media (max-width: 779.98px) {
  body.vehicle-information-page .vehicle-extra-options {
    width: calc(100% - 8px);
    margin: 4px 4px 0;
    padding: 20px 12px;
    border-color: #5c6d82;
  }

  body.vehicle-information-page .passenger-section--vehicle {
    margin-bottom: 14px;
  }

  body.vehicle-information-page .mif-step-vehicle .mif-continue,
  body.passenger-details-page .mif-step-passengers .mif-continue {
    margin: 28px 4px 8px !important;
  }

  body.passenger-details-page .passenger-details-body,
  body.vehicle-information-page .passenger-details-body {
    padding-top: 20px !important;
  }

  body.passenger-details-page .passenger-details-page-head {
    margin: 0 0 16px !important;
    padding: 0 6px !important;
  }

  body.passenger-details-page .passenger-details-page-head h1 {
    margin: 0 !important;
    line-height: 1.25 !important;
  }

  body.passenger-details-page .passenger-section--pax {
    padding: 20px 16px 22px !important;
  }

  body.passenger-details-page .pax-mobile-stack {
    gap: 20px !important;
  }

  body.passenger-details-page .pax-field--stacked {
    gap: 8px !important;
  }

  /* Route bar scrolls with the page instead of staying pinned */
  html:has(body.passenger-details-page),
  html:has(body.vehicle-information-page),
  body.passenger-details-page,
  body.vehicle-information-page,
  body.passenger-details-page #root,
  body.vehicle-information-page #root {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html:has(body.passenger-details-page),
  html:has(body.vehicle-information-page) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.passenger-details-page .content-wrapper,
  body.vehicle-information-page .content-wrapper,
  body.passenger-details-page .passenger-details-section,
  body.vehicle-information-page .passenger-details-section,
  body.passenger-details-page .passenger-details-body,
  body.vehicle-information-page .passenger-details-body {
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.passenger-details-page .passenger-details-heading-bar,
  body.vehicle-information-page .passenger-details-heading-bar,
  body.passenger-details-page .passenger-route-header-slot,
  body.vehicle-information-page .passenger-route-header-slot {
    position: relative !important;
    top: auto !important;
  }
}

/* Desktop brand in the booking app (Australia Travel Island); mobile keeps the Kangaroo Island logo image */
.ati-app-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-family: Poppins, "Segoe UI", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: #2c3e85 !important;
  text-decoration: none;
}

.ati-app-brand strong {
  color: #00abbd;
  font-weight: 800;
}

.ati-app-brand__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #00abbd;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hub-mobile-logo .ati-app-brand--hub,
.price-busy-modal__head .ati-app-brand--modal {
  display: flex !important;
  justify-content: center;
  margin: 0 auto;
}

.price-busy-modal__head .ati-app-brand--modal {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

@media (max-width: 779.98px) {
  .ati-app-brand,
  .hub-mobile-logo .ati-app-brand--hub,
  .price-busy-modal__head .ati-app-brand--modal {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .hub-mobile-logo .ati-app-brand--hub {
    display: none !important;
  }
}

@media (min-width: 780px) {
  body .price-busy-modal .price-busy-modal__head img.price-busy-modal__logo.logo-mobile,
  body #vehicleSizeModal .price-busy-modal__head img.price-busy-modal__logo.logo-mobile {
    display: none !important;
  }
}
/* Mobile copyright bar — replaces the call-agent bar on the booking home, vehicle, passenger and price pages (Magnetic Island 2 style) */
@media (max-width: 779.98px) {
  html body .bottoms_calls.mi-copyright-bar {
    display: flex !important;
    position: static !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px)) !important;
    background: #2c3e85 !important;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff;
    cursor: default;
  }

  html body .mi-copyright-bar .mi-copyright-bar__text {
    margin: 0 !important;
    padding: 0 !important;
    font-family: Poppins, "Segoe UI", system-ui, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.04em !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: none !important;
    text-align: center;
  }

  html body.hub-booking-page .hub-need-help-section {
    display: none !important;
  }
}
/* Mobile copyright bar — replaces the call-agent bar on the booking home, vehicle, passenger and price pages (Magnetic Island 2 style) */
@media (max-width: 779.98px) {
  html body .bottoms_calls.mi-copyright-bar {
    display: flex !important;
    position: static !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px)) !important;
    background: #2c3e85 !important;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff;
    cursor: default;
  }

  html body .mi-copyright-bar .mi-copyright-bar__text {
    margin: 0 !important;
    padding: 0 !important;
    font-family: Poppins, "Segoe UI", system-ui, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.04em !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: none !important;
    text-align: center;
  }

  html body.hub-booking-page .hub-need-help-section {
    display: none !important;
  }
}