/*
 * Dr. Brandy Travels Phase 1 revision layer.
 *
 * Loaded after foundation-v2-2-2.css. Every rule is scoped to the project body
 * class and the Phase 1 photo, Blog, or exact unfinished-video section hooks so
 * the frozen destination and Sarah layouts retain their approved V2.2.2 behavior.
 */

/* Brandy approved edited video products only; suppress the two legacy raw-video
 * sections without mutating their Elementor structure or loading their media. */
body.drbt-site .elementor-element.elementor-element-a1000007,
body.drbt-site .elementor-element.elementor-element-aa00000b {
  display: none !important;
}

body.drbt-site .drbt-phase1-photo {
  display: block;
  margin: 0;
  overflow: hidden;
}

body.drbt-site .drbt-phase1-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.drbt-site .drbt-phase1-photo--hero {
  min-width: 0;
}

body.drbt-site .drbt-phase1-photo--card {
  aspect-ratio: 16 / 9;
}

body.drbt-site .drbt-phase1-photo--card img {
  aspect-ratio: 16 / 9;
}

body.drbt-site.drbt-blog .phase1-blog-hero img,
body.drbt-site.single-post .phase1-blog-hero img {
  object-position: 54% 58%;
}

body.drbt-site.drbt-blog .phase1-blog-card-fallback img,
body.drbt-site.search .phase1-blog-card-fallback img,
body.drbt-site.archive .phase1-blog-card-fallback img {
  object-position: 55% 58%;
}

body.drbt-site.drbt-blog .blog-topic-card .card-image {
  background: #f7ece7;
}

body.drbt-site.drbt-blog .blog-topic-card .card-image img {
  transition: transform 220ms ease;
}

body.drbt-site.drbt-blog .blog-topic-card:focus-within .card-image img,
body.drbt-site.drbt-blog .blog-topic-card:hover .card-image img {
  transform: scale(1.025);
}

body.drbt-site.drbt-blog .blog-topic-walt-disney-world-resort-planning .card-image img {
  object-position: center 70%;
}

body.drbt-site.drbt-blog .blog-topic-planning-your-land-tours .card-image img,
body.drbt-site.drbt-blog .blog-topic-physical-health-and-vacationing .card-image img {
  object-position: center 34%;
}

body.drbt-site.drbt-blog .blog-topic-traveling-with-disabilities-and-special-needs .card-image img {
  object-position: center 45%;
}

body.drbt-site.category .phase1-blog-category-hero img {
  object-position: center 48%;
}

body.drbt-site.category-walt-disney-world-resort-planning .phase1-blog-category-hero img {
  object-position: center 70%;
}

@media (prefers-reduced-motion: reduce) {
  body.drbt-site.drbt-blog .blog-topic-card .card-image img {
    transition: none;
  }
}

@media (max-width: 767px) {
  body.drbt-site.drbt-blog .phase1-blog-hero img,
  body.drbt-site.single-post .phase1-blog-hero img {
    object-position: 54% 62%;
  }
}
