
.vtgm-gallery{--vtgm-columns:4;--vtgm-height:220px;--vtgm-gap:22px;--vtgm-radius:22px;--vtgm-page-radius:10px;--vtgm-accent:#f59a17;--vtgm-active-text:#fff;--vtgm-text:#27313b;--vtgm-surface:#fff;--vtgm-border:#e2e6ec;--vtgm-overlay:#0b1c3440;font-family:inherit;color:var(--vtgm-text);scroll-margin-top:24px;}
.vtgm-gallery,.vtgm-gallery *{box-sizing:border-box;}
.vtgm-grid{display:grid;grid-template-columns:repeat(var(--vtgm-columns),minmax(0,1fr));gap:var(--vtgm-gap);}
.vtgm-gallery .vtgm-item{display:block;position:relative;height:var(--vtgm-height);border-radius:var(--vtgm-radius);overflow:hidden;background:#e6eaee;isolation:isolate;}
.vtgm-gallery .vtgm-item img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform 360ms cubic-bezier(.2,0,0,1);}
.vtgm-gallery .vtgm-item:after{content:"";position:absolute;inset:0;background:var(--vtgm-overlay);opacity:0;transition:opacity 220ms ease;pointer-events:none;}
.vtgm-gallery .vtgm-open{position:absolute;z-index:1;top:14px;right:14px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#ffffffd9;color:#17232e;opacity:0;transition:opacity 220ms ease;pointer-events:none;}
.vtgm-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:26px 0 0;}
.vtgm-gallery .vtgm-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:8px 13px;border:1px solid var(--vtgm-border);border-radius:var(--vtgm-page-radius);color:var(--vtgm-text);background:var(--vtgm-surface);text-decoration:none;font:inherit;line-height:1.4;transition:background-color 180ms ease,border-color 180ms ease;}
.vtgm-gallery .vtgm-pagination [aria-current=page]{color:var(--vtgm-active-text);background:var(--vtgm-accent);border-color:var(--vtgm-accent);}
.vtgm-gallery .vtgm-status{margin:16px 0 0;text-align:center;font-size:.9em;color:var(--vtgm-text);line-height:1.5;}
.vtgm-gallery [aria-busy=true]{cursor:progress;}
.vtgm-gallery a:focus-visible{outline:2px solid var(--vtgm-accent);outline-offset:4px;}
.vtgm-gallery .vtgm-item:focus-visible .vtgm-open,.vtgm-gallery .vtgm-item:focus-visible:after{opacity:1;}
.vtgm-empty{padding:30px;border:1px dashed #bdc8cf;border-radius:12px;text-align:center;}
@media(hover:hover) and (pointer:fine){.vtgm-gallery .vtgm-item:hover:after,.vtgm-gallery .vtgm-item:hover .vtgm-open{opacity:1;}.vtgm-gallery.vtgm-zoom .vtgm-item:hover img{transform:scale(1.025);}.vtgm-gallery .vtgm-pagination a:hover{border-color:var(--vtgm-accent);}}
@media(max-width:1024px){.vtgm-gallery{--vtgm-columns:2;}}
@media(max-width:767px){.vtgm-gallery{--vtgm-columns:1;--vtgm-gap:16px;}.vtgm-pagination{gap:6px;}}
@media(prefers-reduced-motion:reduce){.vtgm-gallery .vtgm-item img,.vtgm-gallery .vtgm-item:after,.vtgm-gallery .vtgm-open,.vtgm-gallery .vtgm-pagination a{transition:none;}.vtgm-gallery.vtgm-zoom .vtgm-item:hover img{transform:none;}}
/* A single native dialog is shared by all galleries on the current document. */
dialog.vtgm-lightbox {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  padding: 20px; margin: 0; border: 0; box-sizing: border-box; color: #fff; background: #07121af5;
  font-family: system-ui, sans-serif;
}
dialog.vtgm-lightbox[open] { display: flex; flex-direction: column; gap: 14px; }
.vtgm-lightbox::backdrop { background: #07121a; }
.vtgm-lightbox .vtgm-lb-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 0 0 auto; }
.vtgm-lightbox .vtgm-lb-counter { font-size: 13px; color: #c7d2da; padding-inline: 12px; }
.vtgm-lightbox .vtgm-lb-stage { position: relative; display: grid; place-items: center; min-height: 0; flex: 1; width: 100%; touch-action: pan-y pinch-zoom; }
.vtgm-lightbox .vtgm-lb-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; margin: 0; gap: 16px; }
.vtgm-lightbox .vtgm-lb-image { display: block; object-fit: contain; min-height: 0; max-height: 100%; max-width: calc(100% - 128px); flex: 0 1 auto; width: auto; height: auto; border-radius: 5px; }
.vtgm-lightbox .vtgm-lb-caption { color: #e6edf2; font-size: 14px; line-height: 1.5; max-width: min(800px, 90%); max-height: 18vh; overflow: auto; text-align: center; flex: 0 0 auto; overflow-wrap: anywhere; }
.vtgm-lightbox .vtgm-lb-status { position: absolute; inset: 45% 10% auto; text-align: center; pointer-events: none; font-size: 14px; }
.vtgm-lightbox button.vtgm-lb-button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #ffffff40; border-radius: 50%; color: #fff; background: #ffffff0d;
  cursor: pointer; transition: background-color 180ms ease; appearance: none;
}
.vtgm-lightbox button.vtgm-lb-button:hover { background: #ffffff20; }
.vtgm-lightbox .vtgm-lb-button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.vtgm-lightbox .vtgm-lb-button svg { width: 22px; height: 22px; }
.vtgm-lightbox .vtgm-lb-prev, .vtgm-lightbox .vtgm-lb-next { position: absolute; top: calc(50% - 22px); }
.vtgm-lightbox .vtgm-lb-prev { left: 0; }.vtgm-lightbox .vtgm-lb-next { right: 0; }
.vtgm-lightbox [hidden] { display: none !important; }
@media (max-width: 767px) {
  dialog.vtgm-lightbox { padding: 14px; }
  .vtgm-lightbox .vtgm-lb-image { max-width: 100%; max-height: calc(100% - 65px); }
  .vtgm-lightbox .vtgm-lb-stage { padding-bottom: 60px; box-sizing: border-box; }
  .vtgm-lightbox .vtgm-lb-prev, .vtgm-lightbox .vtgm-lb-next { top: auto; bottom: 0; }
  .vtgm-lightbox .vtgm-lb-prev { left: calc(50% - 52px); }.vtgm-lightbox .vtgm-lb-next { right: calc(50% - 52px); }
}
@media (prefers-reduced-motion: reduce) {
  .vtgm-gallery .vtgm-image, .vtgm-gallery .vtgm-overlay, .vtgm-gallery .vtgm-open, .vtgm-gallery .vtgm-caption { transition: none; }
  .vtgm-gallery[class] .vtgm-item:hover .vtgm-image { transform: none !important; }
  .vtgm-lightbox button.vtgm-lb-button { transition: none; }
}

.vtgm-lightbox .vtgm-lb-image{opacity:0;transform:scale(.99);transition:opacity 180ms ease,transform 220ms ease;}
.vtgm-lightbox .vtgm-lb-image.is-loaded{opacity:1;transform:none;}
.vtgm-lightbox button.vtgm-lb-button,.vtgm-lightbox button.vtgm-lb-button:hover,.vtgm-lightbox button.vtgm-lb-button:focus{background:#ffffff0d!important;color:#fff!important;background-image:none!important;box-shadow:none!important;text-transform:none;padding:0!important;}
@media(prefers-reduced-motion:reduce){.vtgm-lightbox .vtgm-lb-image{transition:none;transform:none;}}
