/* Viloria 16.8 — Let the new homepage photography shine through.
 * The gradients remain strongest behind captions and CTAs for legibility.
 * Loaded after the existing theme styles; scoped to the homepage only.
 */

/* Hero: replace the former nearly opaque burgundy veil with a soft vignette. */
.viloria-home .viloria-hero--slider .viloria-hero__slide::before,
.viloria-home .viloria-hero--slider .viloria-hero__slide--2::before,
.viloria-home .viloria-hero--slider .viloria-hero__slide--3::before {
  background:
    linear-gradient(90deg,
      rgba(32, 14, 25, .55) 0%,
      rgba(43, 20, 32, .39) 35%,
      rgba(42, 18, 30, .18) 68%,
      rgba(32, 14, 24, .06) 100%),
    linear-gradient(0deg, rgba(20, 9, 17, .22) 0%, transparent 31%) !important;
}
.viloria-home .viloria-hero--slider .viloria-hero__background img {
  filter: saturate(.98) contrast(1.015);
}

/* Collections: preserve a dark base for white category names, clear the rest. */
.viloria-home .viloria-collection-tile__shade {
  background: linear-gradient(0deg,
    rgba(33, 15, 25, .57) 0%,
    rgba(30, 15, 24, .02) 66%,
    rgba(30, 15, 24, .14) 100%);
}

/* Editorial portrait: keep its small caption legible without muddying the photo. */
.viloria-home .viloria-editorial__photo::after {
  background: linear-gradient(0deg, rgba(24, 13, 18, .24), transparent 54%);
}

/* Final CTA: a lighter tint reveals the duo photograph behind its heading. */
.viloria-home .viloria-final-cta::before {
  background: linear-gradient(90deg,
    rgba(36, 13, 25, .45),
    rgba(64, 28, 42, .36),
    rgba(36, 13, 25, .45));
}
.viloria-home .viloria-final-cta__image { filter: saturate(.96); }
.viloria-home .viloria-final-cta__inner h2,
.viloria-home .viloria-final-cta__description {
  text-shadow: 0 2px 15px rgba(23, 9, 16, .35);
}

/* Narrow screens place hero text over the lower half of the image. */
@media (max-width: 760px) {
  .viloria-home .viloria-hero--slider .viloria-hero__slide::before,
  .viloria-home .viloria-hero--slider .viloria-hero__slide--2::before,
  .viloria-home .viloria-hero--slider .viloria-hero__slide--3::before {
    background: linear-gradient(0deg,
      rgba(30, 10, 23, .69) 0%,
      rgba(34, 13, 25, .53) 30%,
      rgba(41, 17, 31, .22) 66%,
      rgba(31, 13, 24, .04) 100%) !important;
  }
}
