.ol-gallery-video-tile { position: relative; }
.ol-gallery-video-tile::after {
  content: ''; position: absolute; z-index: 3; pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: rgba(2,57,33,.88);
  border: 2px solid white; box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.ol-gallery-video-tile::before {
  content: ''; position: absolute; z-index: 4; pointer-events: none;
  left: calc(50% + 2px); top: 50%; transform: translate(-50%, -50%);
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
  border-left: 16px solid white;
}
html .ol-gallery-dialog {
  box-sizing: border-box; position: fixed; inset: 0; margin: 0;
  width: 100vw; max-width: none; height: 100vh; height: 100svh; max-height: none;
  padding: 0; border: 0; background: rgba(0,0,0,.92); color: white;
  font-family: inherit; overflow: hidden;
}
.ol-gallery-dialog::backdrop { background: rgba(0,0,0,.85); }
html .ol-gallery-dialog[open] { display: flex; flex-direction: column; }
.ol-gallery-bar { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 20px; flex: 0 0 auto; }
html .ol-gallery-dialog button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; min-width: 48px; min-height: 48px; border: 0; border-radius: 4px;
  background: transparent; color: white; font: 44px/1 Arial,sans-serif; cursor: pointer;
}
html .ol-gallery-dialog button:hover { background: rgba(255,255,255,.12); }
html .ol-gallery-dialog button:focus-visible { outline: 2px solid white; outline-offset: -3px; }
html .ol-gallery-dialog button[hidden] { display: none; }
.ol-gallery-counter { font-size: 15px; }
.ol-gallery-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 65px; }
html .ol-gallery-image, html .ol-gallery-player { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.ol-gallery-embed { position: relative; width: min(100%, var(--ol-video-width)); max-height: 100%; aspect-ratio: var(--ol-video-ratio); }
.ol-gallery-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
html .ol-gallery-dialog .ol-gallery-prev, html .ol-gallery-dialog .ol-gallery-next { position: absolute; top: 50%; transform: translateY(-50%); }
.ol-gallery-prev { left: 8px; } .ol-gallery-next { right: 8px; }
.ol-gallery-caption { padding: 12px 60px 20px; text-align: center; flex: 0 0 auto; max-height: 18svh; overflow: auto; font-size: 15px; line-height: 1.5; }
.ol-gallery-caption strong, .ol-gallery-caption span { display: block; }
.ol-gallery-caption:empty { padding: 8px; }
.ol-gallery-error { color: white; text-align: center; }
.ol-gallery-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 767px) {
  .ol-gallery-stage { padding: 0 42px; }
  .ol-gallery-bar { padding: 0 10px; }
  html .ol-gallery-dialog .ol-gallery-prev { left: 0; }
  html .ol-gallery-dialog .ol-gallery-next { right: 0; }
  html .ol-gallery-dialog button { min-width: 40px; }
  .ol-gallery-caption { padding: 10px 35px 15px; font-size: 13px; }
}
