/* GALLERY01: compact photographic profiles, scoped to public gallery surfaces. */
/* GALLERY02: dialog links must outrank the five-class generic public link rule.
   Keep the correction inside the gallery; ordinary page links are unchanged. */
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog[data-ec-gallery-dialog] .ec-gallery-dialog__caption a {color:#d9e6ed;text-decoration:underline;text-underline-offset:3px}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog[data-ec-gallery-dialog] .ec-gallery-dialog__navigation > a {color:#d9e6ed}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog[data-ec-gallery-dialog] :is(.ec-gallery-dialog__caption,.ec-gallery-dialog__navigation) > a:hover {color:#fff}
@media(forced-colors:active) {
  .ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog[data-ec-gallery-dialog] :is(.ec-gallery-dialog__caption,.ec-gallery-dialog__navigation) a {color:LinkText}
}
.ec-gallery{--gallery-ink:#142a31;--gallery-line:#dbe4e7;--gallery-blue:#1746e8;color:var(--gallery-ink);margin:1.3rem 0 2.4rem;min-width:0;font-family:Inter,Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ec-gallery [hidden]{display:none!important}.ec-gallery__heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.ec-gallery__heading h2{font-family:inherit;font-size:1rem;font-weight:600;letter-spacing:-.02em;margin:0;line-height:1.4}.ec-gallery__total{font-size:.8rem;color:#527079}.ec-gallery__open{border:1px solid var(--gallery-line);border-radius:999px;background:#fff;color:var(--gallery-ink);padding:.5rem 1rem;min-height:42px;font-family:inherit;font-size:.8rem;font-weight:600;line-height:1.3;cursor:pointer}.ec-gallery__open:hover{border-color:var(--gallery-ink)}
.ec-gallery__mosaic{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:7px;aspect-ratio:3;overflow:hidden;border-radius:16px;background:#e9eef0}
.ec-gallery__tile{margin:0;position:relative;min-width:0;min-height:0;overflow:hidden;background:#e7eef0;isolation:isolate}.ec-gallery__tile--lead{grid-row:1/-1}.ec-gallery__link{display:block;position:relative;width:100%;height:100%;overflow:hidden}.ec-gallery__link img{display:block;width:100%;height:100%;object-fit:contain;transform:none}.ec-gallery__link:after{content:"↗";position:absolute;right:12px;top:12px;display:grid;place-items:center;width:32px;height:32px;background:#142a31aa;color:white;border:1px solid #ffffff50;border-radius:50%;font:18px/1 system-ui;opacity:0;transition:opacity .2s}.ec-gallery__link:hover:after,.ec-gallery__link:focus-visible:after{opacity:1}.ec-gallery__tile-number{position:absolute;top:12px;left:12px;color:#fff;background:#10232bcc;border-radius:99px;padding:5px 10px;font:600 12px/1.2 system-ui;pointer-events:none}
.ec-gallery__tile>figcaption,.ec-gallery__tile>.ec-media-credit{position:absolute;left:0;bottom:0;width:100%;box-sizing:border-box;margin:0;padding:8px 12px;color:#fff;background:linear-gradient(transparent,#07151bd9);font:11px/1.4 system-ui;z-index:2;pointer-events:auto}.ec-gallery__tile :is(figcaption,.ec-media-credit) a{color:inherit;text-decoration:underline;text-underline-offset:2px}.ec-gallery--1 .ec-gallery__mosaic{grid-template-columns:1fr;aspect-ratio:1.5;max-height:520px}.ec-gallery--2 .ec-gallery__mosaic{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.ec-gallery--3 .ec-gallery__mosaic{grid-template-columns:2fr 1fr;aspect-ratio:2.25}.ec-gallery--4 .ec-gallery__mosaic{grid-template-columns:1.7fr 1fr 1fr}.ec-gallery--4 .ec-gallery__tile:nth-child(2){grid-row:1/-1}
.ec-gallery__more{font-size:.83rem;margin-top:.75rem}.ec-gallery__more summary{cursor:pointer;min-height:42px;display:flex;align-items:center;color:#385c6d;gap:8px}.ec-gallery__extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.ec-gallery__extra-item{border:1px solid var(--gallery-line);padding:.8rem;border-radius:8px;min-width:0}.ec-gallery__extra-item a{color:#174a6d;overflow-wrap:anywhere}.ec-gallery__extra-item .ec-media-credit{font-size:.7rem}
.ec-gallery-dialog{--dialog-ink:#f6f8fa;border:0;padding:0;color:var(--dialog-ink);background:#0c151a;width:min(1280px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);border-radius:16px;overflow:auto;box-shadow:0 30px 100px #0006;font-family:Inter,Manrope,system-ui,sans-serif}.ec-gallery-dialog::backdrop{background:#051019e8;backdrop-filter:blur(9px)}.ec-gallery-dialog[hidden]{display:none!important}.ec-gallery-dialog__panel{padding:18px 24px;display:flex;flex-direction:column;gap:10px;min-width:0}.ec-gallery-dialog__header{display:flex;align-items:center;gap:16px;min-width:0}.ec-gallery-dialog__header h2{font-family:inherit;font-size:1rem;line-height:1.4;font-weight:500;letter-spacing:0;color:inherit;margin:0;margin-right:auto;overflow-wrap:anywhere}.ec-gallery-dialog [data-ec-gallery-count]{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#b5c6ce}.ec-gallery-dialog button,.ec-gallery-dialog__navigation>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:inherit;min-height:42px;border:1px solid #ffffff30;border-radius:99px;background:#ffffff08;padding:.6rem 1rem;font:500 .8rem/1.2 system-ui;cursor:pointer;text-decoration:none}.ec-gallery-dialog button:hover{background:#ffffff16}.ec-gallery-dialog button:disabled{opacity:.28;cursor:default}.ec-gallery-dialog__close{flex-shrink:0}.ec-gallery-dialog__figure{margin:0;position:relative;display:flex;flex-direction:column;align-items:center;min-height:220px;background:#091115;border-radius:8px;overflow:hidden}.ec-gallery-dialog__image{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 255px);min-height:0;object-fit:contain;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-drag:none}.ec-gallery-dialog__image[hidden]{display:none!important}.ec-gallery-dialog__caption{width:100%;box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:center;gap:5px 12px;padding:8px 14px;color:#bfccd3;font:12px/1.5 system-ui;text-align:center}.ec-gallery-dialog__caption a{color:#d9e6ed;text-underline-offset:3px}.ec-gallery-dialog__status{font:13px/1.5 system-ui;color:#c4d2da;min-height:1em;text-align:center;margin:0}.ec-gallery-dialog__status:empty{display:none}.ec-gallery-dialog__thumbs{display:flex;justify-content:center;gap:8px;overflow:auto;padding:4px 2px;max-width:100%;box-sizing:border-box;scrollbar-width:thin}.ec-gallery-dialog .ec-gallery-dialog__thumb{border-radius:6px;border:2px solid transparent;padding:0;min-width:56px;width:80px;height:56px;min-height:56px;flex-shrink:0;color:#fff;overflow:hidden;font-variant-numeric:tabular-nums}.ec-gallery-dialog__thumb img{display:block;width:100%;height:100%;object-fit:contain}.ec-gallery-dialog .ec-gallery-dialog__thumb[aria-current=true]{border-color:#cced55;box-shadow:0 0 0 1px #cced55}.ec-gallery-dialog__navigation{display:flex;align-items:center;justify-content:space-between;gap:12px}.ec-gallery-dialog__navigation>a{border-color:transparent;color:#b6c7d0}
.ec-gallery :is(a,button,summary):focus-visible{outline:3px solid #1746e8;outline-offset:3px}.ec-gallery__link:focus-visible{outline-offset:-4px}.ec-gallery-dialog :is(a,button):focus-visible{outline:3px solid #cced55;outline-offset:3px}
/* Align profile headings with the compact public identity; existing content/CTAs stay in place. */
.ec-public-visual .ec-place-profile__heading h1,.ec-public-visual .ec-bestof-detail h1,.ec-public-visual .ec-guide-reading h1,.ec-public-visual .ec-event-profile h1{font-family:Inter,Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:clamp(1.9rem,3.8vw,3.3rem);font-weight:650;line-height:1.08;letter-spacing:-.045em;margin:.25rem 0 .8rem}
.ec-public-visual .ec-place-profile__heading{padding-top:0;gap:1.5rem;margin-bottom:1.1rem}.ec-public-visual .ec-place-profile__summary{font-size:clamp(.98rem,1.15vw,1.12rem);line-height:1.6;max-width:70ch}.ec-public-visual .ec-place-profile__heading-actions{gap:.8rem}.ec-event-profile__hero .ec-gallery{margin:0}

@media(max-width:760px){.ec-gallery{margin:1rem 0 1.6rem}.ec-gallery__mosaic{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:2.4fr 1fr;aspect-ratio:1.1;gap:5px;border-radius:12px}.ec-gallery__tile--lead{grid-column:1/-1;grid-row:1!important}.ec-gallery--1 .ec-gallery__mosaic{grid-template-rows:1fr;aspect-ratio:1.3;max-height:none}.ec-gallery--2 .ec-gallery__mosaic{grid-template-columns:1.35fr 1fr!important;grid-template-rows:1fr;aspect-ratio:1.4}.ec-gallery--2 .ec-gallery__tile--lead{grid-column:auto}.ec-gallery--4 .ec-gallery__mosaic,.ec-gallery--5 .ec-gallery__mosaic{grid-template-rows:2.4fr 1fr 1fr;aspect-ratio:.88}.ec-gallery--4 .ec-gallery__tile:nth-child(2){grid-row:auto}.ec-gallery--4 .ec-gallery__tile:last-child{grid-column:1/-1}.ec-gallery__extra{grid-template-columns:1fr}.ec-gallery__heading{gap:.5rem}.ec-gallery__open{font-size:.76rem;min-height:44px;padding:.5rem .8rem}.ec-gallery-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.ec-gallery-dialog__panel{min-height:100%;box-sizing:border-box;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));gap:12px}.ec-gallery-dialog__header{gap:10px}.ec-gallery-dialog__header h2{font-size:.88rem}.ec-gallery-dialog__close{font-size:.75rem!important;padding:.5rem .8rem!important}.ec-gallery-dialog__figure{flex:1;justify-content:center;min-height:180px}.ec-gallery-dialog__image{max-height:calc(100dvh - 245px)}.ec-gallery-dialog__caption{font-size:11px}.ec-gallery-dialog__thumbs{justify-content:flex-start;flex-shrink:0}.ec-gallery-dialog .ec-gallery-dialog__thumb{width:64px;height:48px;min-height:48px}.ec-gallery-dialog__navigation{gap:4px}.ec-gallery-dialog__navigation button,.ec-gallery-dialog__navigation>a{font-size:.72rem;min-height:44px;padding:.5rem .65rem}.ec-public-visual .ec-place-profile__heading h1,.ec-public-visual .ec-bestof-detail h1,.ec-public-visual .ec-guide-reading h1,.ec-public-visual .ec-event-profile h1{font-size:clamp(1.9rem,7vw,2.6rem)} }
@media(prefers-reduced-motion:reduce){.ec-gallery__link img,.ec-gallery__link:after{transition:none}.ec-gallery__link:hover img{transform:none}}
@media print{.ec-gallery-dialog,.ec-gallery__open,.ec-gallery__more{display:none!important}.ec-gallery__mosaic{max-height:220px}}

/* Native profile styles have stronger selectors and explicit legacy credit rules.
   Keep every approved credit visible and every dialog control legible on all four surfaces. */
[data-ec-gallery] .ec-gallery__tile > .ec-media-credit {
  position:absolute!important;
  background:linear-gradient(transparent,#07151bef)!important;
  color:#fff!important;
  left:0;bottom:0;width:100%;max-width:100%;box-sizing:border-box;
  margin:0;padding:18px 10px 7px;line-height:1.45;font-family:system-ui,sans-serif;font-size:11px;
  overflow-wrap:anywhere;
}
.ec-public-visual .ec-main .ec-gallery .ec-gallery__tile > .ec-media-credit a {
  color:#fff;background:none;text-decoration:underline;
}
.ec-public-visual .ec-main .ec-gallery .ec-gallery__extra-item a {color:#174a6d;text-decoration:underline}
.ec-public-visual .ec-main .ec-gallery .ec-gallery__heading h2 {
  font:600 1rem/1.4 Manrope,system-ui,sans-serif;color:var(--gallery-ink);letter-spacing:-.02em;
}
.ec-public-visual .ec-main .ec-gallery .ec-gallery__open {
  min-height:44px;padding:.5rem 1rem;max-width:100%;background:#fff;color:var(--gallery-ink);
  border:1px solid var(--gallery-line);border-radius:999px;font:600 .8rem/1.3 Manrope,system-ui,sans-serif;
}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog__header h2 {
  font:500 1rem/1.4 Manrope,system-ui,sans-serif;color:var(--dialog-ink);letter-spacing:0;min-width:0;
}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog button,
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog__navigation > a {
  min-height:44px;max-width:100%;padding:.6rem 1rem;border:1px solid #ffffff30;border-radius:99px;
  background:#ffffff08;color:#f6f8fa;font:500 .8rem/1.3 Manrope,system-ui,sans-serif;
  text-decoration:none;white-space:normal;overflow-wrap:anywhere;
}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog button:hover {background:#ffffff16;border-color:#ffffff80}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog button:disabled {opacity:.3;cursor:default}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog__caption a {color:#d9e6ed;text-decoration:underline}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog__navigation > a {color:#b6c7d0;border-color:transparent}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog button.ec-gallery-dialog__thumb {
  padding:0;border:2px solid transparent;border-radius:6px;min-width:56px;width:80px;max-width:none;height:56px;min-height:56px;
}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog button.ec-gallery-dialog__thumb[aria-current=true] {
  border-color:#cced55;box-shadow:0 0 0 1px #cced55;
}
.ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog :is(a,button):focus-visible {
  outline:3px solid #cced55;outline-offset:3px;
}
.ec-public-visual .ec-place-profile[data-ec-place-profile] .ec-place-profile__heading h1,
.ec-public-visual [data-ec-event-profile] .ec-event-profile__heading h1 {
  font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:clamp(1.9rem,3.8vw,3.3rem);font-weight:650;line-height:1.08;letter-spacing:-.045em;
}
.ec-gallery--4 .ec-gallery__mosaic {grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:1.5}
.ec-gallery--4 .ec-gallery__tile--lead,.ec-gallery--4 .ec-gallery__tile:nth-child(2),.ec-gallery--4 .ec-gallery__tile:last-child {grid-row:auto;grid-column:auto}
.ec-gallery-dialog__header,.ec-gallery-dialog__navigation {flex-wrap:wrap}
.ec-gallery-dialog__header h2 {flex:1 1 12rem}
.ec-gallery-dialog__close {margin-left:auto}
.ec-gallery-dialog__navigation > a {text-align:center}
@media(max-width:760px) {
  .ec-gallery--4 .ec-gallery__mosaic {grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr));aspect-ratio:1.25}
  .ec-gallery--4 .ec-gallery__tile--lead {grid-row:auto!important;grid-column:auto}
  .ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog button.ec-gallery-dialog__thumb {width:64px;height:48px;min-height:48px}
  .ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog__header h2 {font-size:.88rem;flex-basis:10rem}
  .ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog__navigation > a {order:3;flex:1 0 100%;box-sizing:border-box;padding:.4rem .6rem}
  .ec-public-visual .ec-main .ec-gallery .ec-gallery-dialog__navigation button {flex:1;min-width:0;font-size:.75rem;padding:.5rem .65rem}
  .ec-public-visual .ec-main .ec-gallery .ec-gallery__open {font-size:.76rem;padding:.5rem .8rem}
  .ec-public-visual .ec-place-profile[data-ec-place-profile] .ec-place-profile__heading h1,
  .ec-public-visual [data-ec-event-profile] .ec-event-profile__heading h1 {font-size:clamp(1.9rem,7vw,2.6rem)}
  .ec-gallery-dialog__image {max-height:calc(100dvh - 310px)}
}
@media print {
  [data-ec-gallery] .ec-gallery__tile > .ec-media-credit {position:absolute!important;background:#fff!important;color:#142a31!important}
  .ec-public-visual .ec-main .ec-gallery .ec-gallery__tile > .ec-media-credit a {color:#142a31}
}
/* Mobile two-photo destination galleries: preserve a useful 3:2 viewing area. */
@media (max-width: 760px) {
  html body.ec-public #main-content
    .ec-bestof-detail--destination
    .ec-gallery--2
    .ec-gallery__mosaic {
    display: flex;
    gap: .55rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 .35rem;
    aspect-ratio: auto;
    scroll-snap-type: inline mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  html body.ec-public #main-content
    .ec-bestof-detail--destination
    .ec-gallery--2
    .ec-gallery__tile {
    flex: 0 0 min(86%, 16rem);
    width: auto;
    min-width: 0;
    aspect-ratio: 3 / 2;
    scroll-snap-align: start;
  }

  html body.ec-public #main-content
    .ec-bestof-detail--destination
    .ec-gallery--2
    :is(.ec-gallery__link, .ec-gallery__link img) {
    width: 100%;
    height: 100%;
  }

  /* A 2:3 portrait at 4/9 of the landscape width keeps both tiles equally tall. */
  html body.ec-public #main-content
    .ec-bestof-detail--destination .ec-destination-intro
    .ec-gallery--2
    .ec-gallery__tile.ec-gallery__tile--portrait {
    flex: 0 0 calc(min(16rem, calc(100vw - 4rem)) * 4 / 9);
    aspect-ratio: 2 / 3;
  }

  /* Outrank destination-experience29.css, which loads after this gallery sheet. */
  html body.ec-public #main-content
    .ec-bestof-detail--destination .ec-destination-intro
    .ec-gallery--2
    .ec-gallery__link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  html body.ec-public #main-content
    .ec-bestof-detail--destination
    .ec-gallery--2
    .ec-gallery__tile {
    outline: 1px solid CanvasText;
  }
}


/* Let portrait photographs keep their full height in desktop destination pairs. */
@media (min-width: 760.001px) {
  html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro .ec-gallery--2 .ec-gallery__mosaic:has(.ec-gallery__tile--portrait) {
    grid-template-columns: minmax(0, 9fr) minmax(0, 4fr) !important;
    aspect-ratio: 13 / 6 !important;
  }
  html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro .ec-gallery--2 .ec-gallery__mosaic:has(> .ec-gallery__tile--portrait:first-child) {
    grid-template-columns: minmax(0, 4fr) minmax(0, 9fr) !important;
  }
  html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro .ec-gallery--2 .ec-gallery__mosaic:has(> .ec-gallery__tile--portrait:first-child):has(> .ec-gallery__tile--portrait:last-child) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    aspect-ratio: 4 / 3 !important;
  }
  html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro .ec-gallery--2 .ec-gallery__mosaic:has(.ec-gallery__tile--portrait) .ec-gallery__link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
  }
}


/* A single tall destination photograph must not determine the whole intro height.
   Bound the image itself so its original ratio survives without a padded frame. */
html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro:has(> .ec-gallery--1 .ec-gallery__tile--portrait) {
  align-items: start;
}
html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro .ec-gallery--1:has(.ec-gallery__tile--portrait) .ec-gallery__mosaic {
  display: flex;
  width: fit-content;
  max-width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin-inline: auto;
  background: transparent;
}
html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro .ec-gallery--1:has(.ec-gallery__tile--portrait) :is(.ec-gallery__tile, .ec-gallery__link) {
  width: auto;
  height: auto;
  max-width: 100%;
  flex: 0 1 auto;
}
html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro .ec-gallery--1:has(.ec-gallery__tile--portrait) .ec-gallery__link img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 34rem !important;
  object-fit: contain !important;
  transform: none !important;
}
@media (max-width: 33.75rem) {
  html body.ec-public #main-content .ec-bestof-detail--destination .ec-destination-intro .ec-gallery--1:has(.ec-gallery__tile--portrait) .ec-gallery__link img {
    max-height: 30rem !important;
  }
}

/* Reserve actual caption/control rows; a long credit can scroll inside the figure. */
.ec-gallery-dialog[data-ec-gallery-dialog] .ec-gallery-dialog__panel {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-auto-rows: auto;
  max-height: calc(100dvh - 32px);
}
.ec-gallery-dialog[data-ec-gallery-dialog] .ec-gallery-dialog__figure {
  display: grid;
  grid-template-rows: minmax(96px, 1fr) auto;
  justify-items: center;
  align-items: stretch;
  min-height: 0;
  overflow: auto;
}
.ec-gallery-dialog[data-ec-gallery-dialog] .ec-gallery-dialog__image {
  width: auto;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
}
@media (max-width: 760px) {
  .ec-gallery-dialog[data-ec-gallery-dialog] .ec-gallery-dialog__panel {
    max-height: 100dvh;
  }
}
