.qws2-gallery, .qws2-gallery * { box-sizing: border-box; }
.qws2-gallery { min-width: 0; margin: 32px 0 24px; padding: clamp(20px, 2.4vw, 36px); border: 1px solid #333940; border-radius: 18px; background: #191c21; color: #fff; }
.qws2-gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.qws2-gallery-eyebrow { margin: 0 0 9px; color: #ff942f; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 1.2px; text-transform: uppercase; }
.qws2-gallery h2 { margin: 0; color: #fff; font: 700 clamp(24px, 2.6vw, 34px)/1.2 Lato, Arial, sans-serif; letter-spacing: -.5px; }
.qws2-gallery-controls { display: flex; flex: 0 0 auto; gap: 10px; }
.qws2-gallery [hidden] { display: none !important; }
.qws2-gallery-controls button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 1px solid #747d88; border-radius: 50%; background: transparent; color: #fff; font: 400 24px/1 Arial, sans-serif; cursor: pointer; }
.qws2-gallery-controls button:hover:not(:disabled) { border-color: #ee7203; background: #ee7203; color: #191c21; }
.qws2-gallery-controls button:disabled { opacity: .35; cursor: default; }
.qws2-gallery-controls button:focus-visible, .qws2-gallery-track:focus-visible { outline: 2px solid #ff942f; outline-offset: 4px; }
.qws2-gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; min-width: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #ee7203 #353c45; padding: 0 0 14px; }
.qws2-gallery-item { min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.qws2-gallery-image { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: #101317; }
.qws2-gallery-image img, .qws2-gallery-image svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.qws2-gallery-item figcaption { padding: 11px 2px 0; color: #f1f3f5; font-size: 14px; font-weight: 600; line-height: 1.5; }
.qws2-gallery-caption { margin: 14px 0 0; color: #c5ccd4; font-size: 13px; line-height: 1.6; }
@media (max-width: 1000px) { .qws2-gallery-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 600px) {
    .qws2-gallery-header { align-items: flex-end; }
    .qws2-gallery-track { grid-auto-columns: 88%; gap: 14px; }
    .qws2-gallery-controls { gap: 6px; }
    .qws2-gallery-controls button { width: 36px; height: 36px; min-height: 36px; }
}
