.gallery-video-clip {
  width: clamp(190px, 38%, 280px);
  margin: 34px auto 0;
  text-align: center;
}

.gallery-video-label {
  display: block;
  margin-bottom: 9px;
  color: #9a793f;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .22em;
}

.gallery-video-launch {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(154, 121, 63, .32);
  background: #eee8dc;
  cursor: pointer;
}

.gallery-video-launch img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 18, 15, .56);
  font-size: 18px;
  transform: translate(-50%, -50%);
}

.gallery-video-clip video {
  display: none;
}

.gallery-video-modal[hidden] { display: none; }
.gallery-video-modal { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 0; background: #000; }
.gallery-video-modal__backdrop { position: absolute; inset: 0; background: rgba(12, 11, 10, .88); }
.gallery-video-modal__dialog { position: relative; z-index: 1; width: 100vw; height: 100dvh; }
.gallery-video-modal__dialog video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.gallery-video-modal__close { position: absolute; z-index: 2; top: -18px; right: -18px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; background: rgba(24,22,20,.9); font: 300 29px/1 Arial,sans-serif; cursor: pointer; }
body.gallery-video-open { overflow: hidden; }

@media (max-width: 620px) {
  .gallery-video-clip {
    width: 50%;
    min-width: 190px;
    max-width: 260px;
    margin-top: 30px;
  }
  .gallery-video-launch img { height: 230px; }
  .gallery-video-modal__close { top: 18px; right: 18px; }
}
