.jvds-office-gallery { --office-gap: 24px; --office-photo-width: 40vw; color: var(--about-ink, #282821); }
body.jvds-about-framed section.jvds-office-gallery { background: var(--about-paper, #f3f1eb); }
.jvds-office-gallery > .jvds-office-gallery__container { max-width: 2400px; }
.jvds-office-gallery__frame { position: relative; border: 1px solid var(--about-line, #d9d7cf); padding: 24px; }
.jvds-office-gallery__frame::after { content: ""; position: absolute; inset: -3px; pointer-events: none; background: linear-gradient(currentColor,currentColor) left top / 5px 5px no-repeat, linear-gradient(currentColor,currentColor) right top / 5px 5px no-repeat, linear-gradient(currentColor,currentColor) left bottom / 5px 5px no-repeat, linear-gradient(currentColor,currentColor) right bottom / 5px 5px no-repeat; }
.jvds-office-gallery__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jvds-office-gallery__viewport::-webkit-scrollbar { display: none; }
.jvds-office-gallery__track { display: flex; width: max-content; }
.jvds-office-gallery__group { display: flex; flex: 0 0 auto; gap: var(--office-gap); padding-right: var(--office-gap); }
.jvds-office-gallery__group[aria-hidden="true"] { display: none; }
.jvds-office-gallery__slide { flex: 0 0 var(--office-photo-width); width: var(--office-photo-width); min-width: 0; margin: 0; scroll-snap-align: start; }
.jvds-office-gallery__slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; user-select: none; -webkit-user-drag: none; }
.jvds-office-gallery[data-office-ready="true"]:not([data-office-reduced="true"]) .jvds-office-gallery__viewport { overflow: hidden; touch-action: pan-y; user-select: none; }
.jvds-office-gallery[data-office-ready="true"]:not([data-office-reduced="true"]) .jvds-office-gallery__track { animation: jvds-office-loop var(--office-duration, 132s) linear infinite; will-change: transform; }
.jvds-office-gallery[data-office-ready="true"]:not([data-office-reduced="true"]) .jvds-office-gallery__group[aria-hidden="true"] { display: flex; }
.jvds-office-gallery:is([data-office-user-paused="true"], [data-office-visible="false"], [data-office-interacting="true"]):not([data-office-reduced="true"]) .jvds-office-gallery__track { animation-play-state: paused !important; }
.jvds-office-gallery[data-office-reduced="true"] .jvds-office-gallery__viewport { scroll-snap-type: x proximity; }
.jvds-office-gallery[data-office-reduced="false"] .jvds-office-gallery__viewport,
.jvds-office-gallery[data-office-reduced="false"] .jvds-office-gallery__viewport img { cursor: grab !important; }
.jvds-office-gallery .jvds-office-gallery__viewport.is-dragging,
.jvds-office-gallery .jvds-office-gallery__viewport.is-dragging img { cursor: grabbing !important; }
.jvds-office-gallery__tools { display: flex; justify-content: flex-end; margin-top: 12px; }
.jvds-office-gallery__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--about-line, #d9d7cf); border-radius: 0; background: transparent; color: inherit; cursor: pointer; }
.jvds-office-gallery__toggle[hidden], .jvds-office-gallery[data-office-reduced="true"] .jvds-office-gallery__tools { display: none; }
.jvds-office-gallery__toggle:hover { background: #e0f94c; border-color: #282821; }
.jvds-office-gallery__toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.jvds-office-gallery__play-icon, .jvds-office-gallery__toggle[aria-pressed="true"] .jvds-office-gallery__pause-icon { display: none; }
.jvds-office-gallery__toggle[aria-pressed="true"] .jvds-office-gallery__play-icon { display: block; }
.jvds-office-gallery :is(button, [tabindex]):focus-visible { outline: 2px solid #282821; outline-offset: 5px; }
@keyframes jvds-office-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 800px) {
  .jvds-office-gallery { --office-gap: 12px; }
  .jvds-office-gallery__frame { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .jvds-office-gallery .jvds-office-gallery__track { animation: none !important; will-change: auto; }
  .jvds-office-gallery .jvds-office-gallery__viewport { overflow-x: auto !important; scroll-snap-type: x proximity; }
  .jvds-office-gallery .jvds-office-gallery__group[aria-hidden="true"], .jvds-office-gallery__tools { display: none !important; }
}
