/* Locally hosted page imagery: scoped away from the home page. */
body.coastal-design .page-hero.quad-page-hero .page-title {
  background-image: linear-gradient(90deg, rgba(48, 34, 23, .83), rgba(48, 34, 23, .4) 48%, rgba(48, 34, 23, .08)), url('assets/quad-coast-hero.webp');
  background-position: center;
}

body .page-hero.villa-page-hero .page-title {
  background: #302014;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.villa-hero-photo,
.villa-page-hero .page-title::before,
.villa-gallery-image {
  position: absolute;
  inset: 0;
}

.villa-hero-photo {
  z-index: -2;
}

.villa-hero-photo img,
.villa-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.villa-hero-photo img {
  object-position: center 10%;
}

.villa-page-hero .page-title::before {
  content: "";
  background: linear-gradient(90deg, rgba(48, 31, 18, .8), rgba(48, 31, 18, .38) 51%, rgba(48, 31, 18, .12));
  z-index: -1;
}

.villa-gallery .villa-gallery-card {
  background: #302014;
}

body.coastal-design .page-hero.about-page-hero .page-title {
  background-image: linear-gradient(90deg, rgba(48, 34, 23, .83), rgba(48, 34, 23, .35) 51%, rgba(48, 34, 23, .08)), url('assets/about-coastal-horses.webp');
  background-position: center;
}

body.coastal-design .about-story .image {
  background-image: url('assets/about-coastal-horses.webp');
}

@media (max-width: 780px) {
  .quad-page-hero .page-title { background-position: 65% center; }
  .about-page-hero .page-title { background-position: 68% center; }
}

@media (max-width: 430px) {
  .villa-hero-photo img { object-position: center top; }
}
