/* Small repairs so the mirrored Burgess CSS survives the app shell. */
#burgess-root {
  background: #fff;
  color: #27292e;
  min-height: 100vh;
  overflow-x: hidden;
}

#burgess-root .svg-symbols svg {
  height: 0;
  width: 0;
  position: absolute;
}

#burgess-root .glide__slides {
  transition: transform 0.45s ease;
}

#burgess-root .yp__visual {
  overflow: hidden;
}

#burgess-root .yp__glide,
#burgess-root .yp__glide .glide__track {
  inset: 0;
  width: 100%;
  height: 100%;
}

#burgess-root .yp__glide.glide--fade .glide__slides {
  width: 100% !important;
  height: 100%;
  transform: none !important;
}

#burgess-root .yp__glide .glide__slide,
#burgess-root .yp__glide picture {
  width: 100%;
  height: 100%;
}

#burgess-root .yp__glide img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover;
}

/* Hover-video cards must keep the still photo on top until the film actually plays. */
#burgess-root .yp__visual > picture,
#burgess-root .yp__visual > img.yp__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

#burgess-root .yp__visual > video.yp__media {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

#burgess-root .yp__visual.is-playing > video.yp__media {
  opacity: 1;
  z-index: 2;
}

#burgess-root .c-y-feats__img,
#burgess-root .m-grid__img,
#burgess-root .y-acc__desc-img,
#burgess-root .t-sect__img,
#burgess-root .yg__fig-img,
#burgess-root .d-p__img {
  max-width: 100%;
  height: auto;
}

#burgess-root .dest__map {
  min-height: 420px;
  position: relative;
  background: #e7e2d8;
}

#burgess-root .dest__map .leaflet-container {
  height: 100%;
  min-height: 420px;
  width: 100%;
  font: inherit;
}

#burgess-root .leaflet-top,
#burgess-root .leaflet-bottom {
  z-index: 3;
}

#burgess-root .b-rnd.is-compared {
  background: #18c0d6;
  color: #fff;
}

.burgess-compare {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #d9d3c8;
  box-shadow: 0 -8px 24px rgba(20, 16, 12, 0.12);
}

.burgess-compare__bar {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
}

.burgess-compare__count {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.burgess-compare__names {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #5c574e;
}

.burgess-compare__dialog {
  width: min(1100px, 96vw);
  border: 0;
  padding: 24px;
}

.burgess-compare__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.burgess-compare__card {
  display: block;
  border: 1px solid #d9d3c8;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.burgess-compare__card p {
  margin: 8px 0 0;
  color: #5c574e;
}

.burgess-video {
  width: min(960px, 94vw);
  border: 0;
  padding: 0;
  background: #111;
  color: #fff;
}

.burgess-video__stage video,
.burgess-video__stage iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #111;
}

.burgess-video__close,
.burgess-compare__close {
  margin: 8px;
}

.burgess-video__wait,
.burgess-form-note {
  margin: 16px;
}

#burgess-root .field-validation-error {
  color: #9d2c2c;
}

