/* Original photograph colours; contrast is confined to the lettering. */
#home #carousel-1 .item::after {
  content:none; display:none; background:none;
}
#home #carousel-1 .item img {
  object-fit:cover; filter:none; opacity:1; transform-origin:center;
}
#home #carousel-1 .item img { height:100%; width:100%; }
#home #carousel-1 .item:nth-child(1) img { object-position:50% 58%; }
#home #carousel-1 .item:nth-child(2) img { object-position:50% 66%; }
#home #carousel-1 .item:nth-child(3) img { object-position:50% 50%; }
#home #carousel-1 .item:nth-child(4) img { object-position:70% 50%; transform-origin:70% 50%; }
/* Gentle movement avoids enlarging the source excessively or clipping the subjects. */
@media (min-width:768px) and (prefers-reduced-motion:no-preference) {
  #home #carousel-1 .item.active img { animation-name:allInclusivePhotoDrift; }
}
@keyframes allInclusivePhotoDrift {
  from { transform:scale(1); }
  to { transform:scale(1.025); }
}
@media (min-width:992px) {
  #home .all-hero-copy h1 {
    text-shadow:0 1px 2px rgba(0,0,0,.95), 0 0 5px rgba(0,0,0,.8), 0 3px 14px rgba(0,0,0,.7);
  }
  #home .all-hero-copy .all-eyebrow,
  #home .all-hero-copy .all-hero-lead {
    text-shadow:0 1px 2px #000, 0 0 4px #000, 0 0 10px rgba(0,0,0,.95), 0 2px 16px rgba(0,0,0,.7);
  }
  #home .all-hero-copy .all-hero-lead { color:#fff; }
  #home .all-button-ghost,
  #home .hero-discover {
    text-shadow:0 1px 2px #000, 0 0 6px rgba(0,0,0,.9);
  }
}
@media (min-width:768px) {
  .allinclusive-modern #site-header .custom-navbar:not(.top-nav-collapse) .nav li a {
    text-shadow:0 1px 2px rgba(0,0,0,.95), 0 0 6px rgba(0,0,0,.85);
  }
  .allinclusive-modern #site-header .custom-navbar:not(.top-nav-collapse) #logo img {
    filter:drop-shadow(0 1px 2px rgba(0,0,0,.8)) drop-shadow(0 0 5px rgba(0,0,0,.6));
  }
}
/* Match Limay and Manso: a short landscape frame, followed by the copy. */
@media (max-width:991px) {
  #home { overflow:visible; background:var(--all-paper); }
  #home #carousel-1 { height:auto; min-height:0; }
  #home #carousel-1 .carousel-inner { height:auto; min-height:0; aspect-ratio:480/231; }
  #home #carousel-1 .item,
  #home #carousel-1 picture { height:100%; min-height:0; }
  #home #carousel-1 picture { display:block; }
  #home .all-hero-overlay { display:block; position:static; background:var(--all-paper); }
  #home .all-hero-copy { color:var(--all-forest); max-width:none; padding:32px 0 30px; }
  #home .all-hero-copy .all-eyebrow { color:#826514; }
  #home .all-hero-copy h1 { color:var(--all-forest); }
  #home .all-hero-lead { color:var(--all-muted); }
  #home .all-hero-copy h1,
  #home .all-hero-copy .all-eyebrow,
  #home .all-hero-lead { text-shadow:none; }
  #home #carousel-1 .all-hero-copy .all-hero-actions { position:static; bottom:auto; }
  #home .all-button-ghost { border-color:var(--all-forest); color:var(--all-forest); }
  #home .all-button-ghost:hover,
  #home .all-button-ghost:focus { background:var(--all-forest); color:#fff; }
  #home .hero-navigation button { pointer-events:auto; }
  #home.hero-controls .hero-discover { display:none; }
}

@media (min-width:768px) and (max-width:991px) {
  #home .all-hero-copy h1 { font-size:48px; max-width:none; }
  #home .all-hero-lead { font-size:18px; }
}

/* Anchor navigation to the photograph, independently of the copy below it. */
#home #carousel-1 .all-hero-media { position: relative; }
#home #carousel-1 .hero-navigation {
  background: none;
  display: block;
  inset: 0;
  padding: 0;
  pointer-events: none;
  position: absolute;
  z-index: 6;
}
#home #carousel-1 .carousel-indicators {
  bottom: 0;
  gap: 2px;
  left: auto;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  position: absolute;
  right: 8px;
  transform: none;
}
#home #carousel-1 .hero-carousel-arrow {
  color: var(--all-gold);
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
#home #carousel-1 .hero-indicator::after {
  background: rgba(255,255,255,.85);
  box-shadow: 0 1px 4px rgba(0,0,0,.55);
  bottom: 12px;
  height: 2px;
  left: 8px;
  right: 8px;
  top: auto;
  transform: none;
}
#home #carousel-1 .active .hero-indicator::after { background: var(--all-gold); transform: scaleX(1.375); }
/* Smaller visible lines retain a comfortable 32 by 44 pixel touch target. */
#home #carousel-1 .carousel-indicators li,
#home #carousel-1 .carousel-indicators li.active {
  flex-basis: 32px;
  height: 44px;
  width: 32px;
}


/* Restore the approved desktop indicators; retain the compact responsive controls. */
@media (min-width: 1200px) {
  #home #carousel-1 .carousel-indicators {
    bottom: 14px;
    gap: 7px;
    right: 104px;
  }
  #home #carousel-1 .carousel-indicators li,
  #home #carousel-1 .carousel-indicators li.active {
    flex-basis: 44px;
    width: 44px;
  }
  #home #carousel-1 .hero-indicator::after {
    bottom: auto;
    height: 3px;
    left: 7px;
    right: 7px;
    top: 21px;
    transform: scaleX(.87);
  }
  #home #carousel-1 .active .hero-indicator::after { transform: scaleX(1.46); }
}


/* Keep the same desktop actions when the deer slide is selected on small laptops. */
@media (min-width:992px) and (max-width:1199px) {
  #home.hero-controls #carousel-1:has(.all-hero-uncropped:is(.active, .next, .prev)) .all-hero-copy { padding-bottom:100px; }
  #home.hero-controls #carousel-1:has(.all-hero-uncropped:is(.active, .next, .prev)) .all-hero-actions { bottom:22px; position:absolute; }
}
