/* MPV Holiday — Bandung Car Rental, custom landing (same brand system as Home) */

body.mpv-car-landing {
  --mpv-teal: #0F4C45;
  --mpv-teal-mid: #16645C;
  --mpv-teal-deep: #0A342F;
  --mpv-gold: #C9A227;
  --mpv-gold-soft: #E7CD6E;
  --mpv-cream: #FAF6EC;
  --mpv-ink: #22291F;
  --mpv-muted: #5C5746;
  --mpv-line: #D9D2C0;
  --mpv-font-display: 'Fraunces', Georgia, serif;
  --mpv-font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--mpv-cream);
  color: var(--mpv-ink);
}

body.mpv-car-landing .site-content,
body.mpv-car-landing #primary,
body.mpv-car-landing .ast-container,
body.mpv-car-landing .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.mpv-car-landing .entry-header,
body.mpv-car-landing .ast-single-entry-banner {
  display: none !important;
}

.mpv-car {
  font-family: var(--mpv-font-sans);
  color: var(--mpv-ink);
  overflow-x: hidden;
}

/* -------- Hero photo strip (CSS scroll-snap, no swiper JS) -------- */
.mpv-car-hero {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  line-height: 0;
}

.mpv-car-hero picture,
.mpv-car-hero img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  width: 100%;
  /* Square banners: on phones a 1:1 box fills the width exactly; on wider
     screens the height is capped and the banner is centred instead. */
  height: min(100vw, 420px);
}

.mpv-car-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--mpv-teal-deep);
}

/* Desktop: a full-width swipe-one-at-a-time strip was the mobile pattern —
   on a wide screen it stretched to a huge box with a small square banner
   floating in the middle. Above 900px there is room to show all three
   banners side by side instead, each near its native ~700-1000px size so
   nothing is upscaled. */
@media (min-width: 900px) {
  .mpv-car-hero {
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px 24px 0;
  }

  .mpv-car-hero picture,
  .mpv-car-hero img {
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
  }

  .mpv-car-hero picture {
    box-shadow: 0 14px 32px -18px rgba(15, 76, 69, 0.4);
    transition: transform .2s ease, box-shadow .2s ease;
  }

  .mpv-car-hero picture:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -18px rgba(15, 76, 69, 0.5);
  }
}

@media (min-width: 1300px) {
  .mpv-car-hero picture,
  .mpv-car-hero img {
    height: 380px;
  }
}

/* -------- H1 + intro -------- */
.mpv-car-title {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px) 0 8px;
}

.mpv-car-title h1 {
  font-family: var(--mpv-font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--mpv-teal);
  margin: 0;
  line-height: 1.2;
}

/* -------- Widget wrappers (verbatim-preserved SEO content) -------- */
.mpv-car-widget-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(28px, 5vw, 44px);
}

.mpv-car-divider {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--mpv-line);
}

/* -------- Destination photo strip -------- */
.mpv-car-gallery {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px) 0;
}

.mpv-car-gallery__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.mpv-car-gallery__scroll picture,
.mpv-car-gallery__scroll img {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: block;
  width: 220px;
  height: 150px;
}

.mpv-car-gallery__scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px -12px rgba(15, 76, 69, 0.3);
}

@media (max-width: 560px) {
  .mpv-car-gallery__scroll picture,
  .mpv-car-gallery__scroll img { width: 160px; height: 110px; }
}

/* -------- Reviews -------- */
.mpv-car-reviews {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(36px, 6vw, 64px);
}

.mpv-car-reviews__head {
  margin-bottom: 20px;
}

.mpv-car-reviews__head h2 {
  font-family: var(--mpv-font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--mpv-teal);
  margin: 0 0 8px;
}

.mpv-car-reviews__head p {
  color: var(--mpv-muted);
  margin: 0 0 16px;
}

.mpv-car-review-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.mpv-car-review {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: min(320px, 82vw);
  background: #fff;
  border: 1px solid var(--mpv-line);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.mpv-car-review__stars { color: var(--mpv-gold); letter-spacing: 2px; margin-bottom: 8px; }

.mpv-car-review p {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--mpv-muted);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mpv-car-review__name { font-weight: 700; font-size: .88rem; color: var(--mpv-ink); margin-bottom: 6px; }

/* -------- FAQ widget wrapper -------- */
.mpv-car-faq-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(36px, 6vw, 64px);
}

/* -------- Contact section -------- */
.mpv-car-contact {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(40px, 6vw, 64px);
  text-align: center;
}

.mpv-car-contact__title {
  font-family: var(--mpv-font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--mpv-teal);
  margin: 0 0 8px;
}

.mpv-car-contact__lead {
  font-family: var(--mpv-font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--mpv-muted);
  margin: 0 0 24px;
}

.mpv-car-contact__cards {
  display: grid;
  gap: 16px;
  text-align: left;
}

.mpv-car-contact__card {
  background: #fff;
  border: 1px solid var(--mpv-line);
  border-radius: 16px;
  padding: 20px 24px;
}

.mpv-car-contact__card h3 {
  font-family: var(--mpv-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--mpv-teal);
  margin: 0 0 6px;
}

.mpv-car-contact__card p {
  color: var(--mpv-muted);
  font-size: .92rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.mpv-car-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--mpv-teal);
  color: var(--mpv-cream);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
}

.mpv-car-wa-btn:hover { background: var(--mpv-teal-mid); }

.mpv-car-wa-btn svg { width: 16px; height: 16px; }

.mpv-car-contact__badge {
  margin-top: 20px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--mpv-teal);
}
