html:has(.muse-ug-panel[open]) {
    overflow: hidden;
}

.muse-ug-panel {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    padding: 0;
    margin: 0;
    border: 0;
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    color: #111;
}

.muse-ug-header {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 16px clamp(16px, 5vw, 80px);
    background: #fff;
}

.muse-ug-back {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gs-green, #008458);
  cursor: pointer;
  position: absolute;
  left: 4%;
  top: 35px;
  display: block;
}

.muse-ug-back svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transform: rotate(-90deg);
}

.muse-ug-content {
    width: 82%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
  padding-bottom: 80px;
}

.muse-ug-section + .muse-ug-section {
    margin-top: 48px;
}

.muse-ug-grid {
    --gallery-gap: 16px;
    columns: 3 240px;
    column-gap: var(--gallery-gap);
}

.muse-ug-image {
    display: block;
    break-inside: avoid;
    margin-bottom: var(--gallery-gap);
}

.muse-ug-image img {
    display: block;
    width: 100%;
    height: auto;
}

.muse-ug-lightbox {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 56px clamp(46px, 7vw, 96px);
    border: 0;
    overflow: hidden;
    background: transparent;
}

.muse-ug-lightbox[open] {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    touch-action: pan-y pinch-zoom;
}

.muse-ug-lightbox::backdrop {
    background: rgb(0 0 0 / 86%);
}

.muse-ug-full {
    grid-area: 1 / 1;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.muse-ug-lightbox button {
    position: absolute;
    z-index: 1;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(0 0 0 / 60%);
    color: #fff;
    font: 28px / 1 sans-serif;
    cursor: pointer;
}

.muse-ug-close { top: 8px; right: 8px; }
.muse-ug-prev { top: calc(50% - 22px); left: 4px; }
.muse-ug-next { top: calc(50% - 22px); right: 4px; }

.muse-ug-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.muse-ug-panel:not([open]),
.muse-ug-lightbox:not([open]),
.muse-ug-lightbox [hidden] {
    display: none;
}

.muse-ug-panel::backdrop {
    background: transparent;
}