/* =================================================================
   HERO TESTIMONIALS
   Rotating guest reviews overlaid on the homepage hero banner.
   Markup is injected in front-page.php (.lux-hero-wrap wraps the
   parent's .post-thumbnail; .lux-hero-quotes holds the quotes).
   ================================================================= */
.lux-hero-wrap {
  position: relative;
}

/* Homepage hero: near the top, nudged down a little so a bit of the chair
   stays in view. Overrides the parent's `background-position: center`. */
body.home .post-thumbnail {
  background-position: center 15%;
}

/* Soft top scrim so white text stays legible over any photo, fading to
   transparent before the search bar that overlaps the hero's bottom edge. */
.lux-hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(22, 40, 42, .50) 0%,
    rgba(22, 40, 42, .22) 42%,
    rgba(22, 40, 42, 0)   70%
  );
}

.lux-hero-quotes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;   /* never block the hero / search bar */
}

.lux-hero-quote {
  position: absolute;
  left: 50%;             /* block centred over the image… */
  top: 40%;
  transform: translate(-50%, -50%);
  width: min(680px, 84%);
  margin: 0;
  padding: 0;            /* drop the theme blockquote padding */
  border: 0;             /* drop the theme blockquote left accent rule */
  text-align: left;      /* …but the text itself reads left-aligned */
  color: #fff;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(.85rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  letter-spacing: .01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5);

  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
.lux-hero-quote.is-active {
  opacity: 1;
  visibility: visible;
}

/* Decorative opening quotation mark */
.lux-hero-quote::before {
  content: "\201C";
  display: block;
  font-size: 2.4em;
  line-height: .4;
  margin-bottom: .35rem;
  color: var(--lux-accent);
  opacity: .9;
}

@media (max-width: 40em) {
  .lux-hero-quote { top: 38%; width: 88%; }
}

/* "Read more" link under the Paleopetres intro. */
.lux-intro__more {
  text-align: center;
  margin: 1.4rem 0 0;
}
.lux-read-more {
  display:        inline-block;
  font-family:    "Poppins", sans-serif;
  font-size:      .72rem;
  font-weight:    600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color:          var(--lux-accent);
  text-decoration: none;
  border-bottom:  1px solid var(--lux-accent);
  padding-bottom: 2px;
  transition:     color .2s, border-color .2s;
}
.lux-read-more:hover {
  color:        var(--lux-accent-deep);
  border-color: var(--lux-accent-deep);
}
