.destination-card--gallery { grid-template-columns:minmax(210px,clamp(32%,480px,50%)) 1fr; }
.destination-gallery {
  position:relative;
  min-width:0;
  min-height:0;
  aspect-ratio:3/2;
  align-self:start;
  overflow:hidden;
  border-radius:0 16px 16px 0;
  background:#d8e0df;
}
.destination-gallery-open {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:zoom-in;
}
.destination-gallery-picture { position:absolute; inset:0; display:block; }
.destination-gallery .destination-image {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  aspect-ratio:auto;
  object-fit:cover;
}
.destination-gallery-arrow {
  position:absolute;
  z-index:1;
  top:50%;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0 0 4px;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.85);
  border-radius:50%;
  background:rgba(255,253,249,.9);
  box-shadow:0 2px 12px rgba(0,0,0,.16);
  color:#25211d;
  cursor:pointer;
  font:38px/1 Georgia,serif;
}
.destination-gallery-prev { left:14px; }
.destination-gallery-next { right:14px; }
.destination-gallery-dots {
  position:absolute;
  z-index:1;
  bottom:12px;
  left:50%;
  display:flex;
  gap:2px;
  align-items:center;
  max-width:calc(100% - 110px);
  overflow-x:auto;
  padding:3px 5px;
  transform:translateX(-50%);
  border-radius:999px;
  background:rgba(34,33,31,.52);
  scrollbar-width:none;
}
.destination-gallery-dots::-webkit-scrollbar { display:none; }
.destination-gallery-dot {
  display:grid;
  flex:0 0 24px;
  place-items:center;
  width:24px;
  height:24px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
}
.destination-gallery-dot::after {
  content:'';
  display:block;
  width:8px;
  height:8px;
  border:1px solid white;
  border-radius:50%;
  background:transparent;
}
.destination-gallery-dot[aria-pressed="true"]::after { background:white; }
.destination-gallery-count {
  position:absolute;
  z-index:1;
  right:12px;
  bottom:12px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(34,33,31,.65);
  color:white;
  font:600 12px/1.2 Arial,sans-serif;
}
.destination-gallery[data-single="true"] .destination-gallery-arrow,
.destination-gallery[data-single="true"] .destination-gallery-dots,
.destination-gallery[data-single="true"] .destination-gallery-count { display:none; }
.destination-gallery button:focus-visible { outline:3px solid #b9975d; outline-offset:-3px; }
.destination-lightbox {
  max-width:calc(100vw - 24px);
  max-height:calc(100vh - 24px);
  padding:0;
  overflow:visible;
  border:0;
  border-radius:16px;
  background:transparent;
  box-shadow:0 24px 70px rgba(0,0,0,.35);
}
.destination-lightbox::backdrop { background:rgba(17,20,23,.84); }
.destination-lightbox-stage {
  position:relative;
  width:min(92vw,112.5vh,var(--gallery-large-max,1500px));
  max-width:calc(100vw - 24px);
}
.destination-lightbox-picture,
.destination-lightbox-picture img { display:block; width:100%; }
.destination-lightbox-picture img {
  height:auto;
  aspect-ratio:3/2;
  object-fit:contain;
  border-radius:16px;
  background:#dedbd5;
}
.destination-lightbox button {
  position:absolute;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0 0 4px;
  border:1px solid rgba(255,255,255,.8);
  border-radius:50%;
  background:rgba(255,253,249,.94);
  color:#25211d;
  cursor:pointer;
  font:38px/1 Georgia,serif;
}
.destination-lightbox-prev,
.destination-lightbox-next { top:50%; transform:translateY(-50%); }
.destination-lightbox-prev { left:14px; }
.destination-lightbox-next { right:14px; }
.destination-lightbox .destination-lightbox-close {
  z-index:2;
  top:12px;
  right:12px;
  padding:0;
  font:30px/1 Arial,sans-serif;
}
.destination-lightbox-count {
  position:absolute;
  right:14px;
  bottom:14px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(34,33,31,.68);
  color:white;
  font:600 12px/1.2 Arial,sans-serif;
}
.destination-lightbox[data-single="true"] .destination-lightbox-prev,
.destination-lightbox[data-single="true"] .destination-lightbox-next,
.destination-lightbox[data-single="true"] .destination-lightbox-count { display:none; }
.destination-lightbox button:focus-visible { outline:3px solid #b9975d; outline-offset:2px; }
@media(max-width:1100px) {
  .destination-card--gallery { grid-template-columns:1fr; }
  .destination-gallery { min-height:0; border-radius:0 0 16px 16px; }
}
@media(max-width:420px) {
  .destination-gallery-arrow { width:38px; height:38px; font-size:34px; }
  .destination-gallery-prev { left:9px; }
  .destination-gallery-next { right:9px; }
  .destination-lightbox button { width:38px; height:38px; font-size:34px; }
  .destination-lightbox-prev { left:8px; }
  .destination-lightbox-next { right:8px; }
  .destination-lightbox .destination-lightbox-close { top:8px; right:8px; font-size:28px; }
}
