/* MPV Holiday — dedicated "Leave a Review" page.
   Loaded only here (see functions.php); mpv-reviews.css (badges + form
   fields) is a dependency and loads alongside it. */

body.mpv-review-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-review-landing .site-content,
body.mpv-review-landing #primary,
body.mpv-review-landing .ast-container,
body.mpv-review-landing .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

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

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

/* -------- Hero: 2x2 photo collage + headline -------- */
.mpv-revpage-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.mpv-revpage-hero__collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  z-index: 0;
}

.mpv-revpage-hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mpv-revpage-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,52,45,.75) 0%, rgba(10,52,45,.88) 100%);
}

.mpv-revpage-hero__inner {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
  text-align: center;
  color: var(--mpv-cream);
}

.mpv-revpage-hero__inner h1 {
  font-family: var(--mpv-font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: #FFFbf0;
}

.mpv-revpage-hero__inner p {
  font-size: 1rem;
  line-height: 1.6;
  color: #F5F0E2;
  margin: 0;
}

@media (min-width: 700px) {
  .mpv-revpage-hero { min-height: 380px; }
}

/* -------- Photo strip -------- */
.mpv-revpage-strip {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 52px) 0;
}

.mpv-revpage-strip h2,
.mpv-revpage-recent h2 {
  font-family: var(--mpv-font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  color: var(--mpv-teal);
  text-align: center;
  margin: 0 0 20px;
}

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

.mpv-revpage-strip__scroll picture,
.mpv-revpage-strip__scroll img {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: block;
  width: 200px;
  height: 140px;
}

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

/* -------- Recently shared reviews -------- */
.mpv-revpage-recent {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(32px, 5vw, 52px);
}

.mpv-revpage-recent__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mpv-revpage-recent__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--mpv-line);
  border-radius: 16px;
  padding: 20px;
}

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

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

.mpv-revpage-recent__name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--mpv-ink);
}

.mpv-revpage-recent__name span {
  font-weight: 400;
  opacity: .7;
}

/* -------- Closing WhatsApp CTA -------- */
.mpv-revpage-close {
  background: var(--mpv-teal);
  color: var(--mpv-cream);
  text-align: center;
  padding: clamp(36px, 6vw, 56px) 20px;
}

.mpv-revpage-close p {
  margin: 0 0 18px;
  color: #F5F0E2;
}

.mpv-revpage-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mpv-gold);
  color: var(--mpv-teal-deep);
  border-radius: 10px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}

.mpv-revpage-wa-btn:hover { background: var(--mpv-gold-soft); transform: translateY(-2px); }

.mpv-revpage-wa-btn svg { width: 18px; height: 18px; }
