/* Галереи статей «почему WEISAN лучше» (бывшие Zero-галереи Tilda), 28.11.2026. Поведение — assets/js/wsn-article-slider.js.
   Размеры как у Tilda: стрелки 30px (размер s) в 20px от краёв по центру высоты, фото — cover по центру;
   миниатюры (элементы thumber, скрипт mo-ti) — 65×65, скругление 10px, отступ 10px, ряд на 55px ниже фото; до 480px — 45×45. */
.wsn-agal { position: relative; width: 100%; height: 100%; }
.wsn-agal__view { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.wsn-agal__track { display: flex; width: 100%; height: 100%; transition: transform .3s ease-in-out; will-change: transform; }
.wsn-agal__slide { flex: 0 0 100%; width: 100%; height: 100%; }
.wsn-agal__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; cursor: zoom-in; -webkit-user-drag: none; }
.wsn-agal__arrow { position: absolute; top: 50%; z-index: 2; width: 30px; height: 30px; margin-top: -15px; padding: 0; border: 0; border-radius: 100%;
	background-color: var(--agal-arrow-bg, #e8e8e8); color: var(--agal-arrow-color, #000); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.wsn-agal__arrow svg { display: block; width: 7px; height: 13px; }
.wsn-agal__arrow_left { left: 20px; }
.wsn-agal__arrow_left svg { transform: rotate(180deg); }
.wsn-agal__arrow_right { right: 20px; }
@media screen and (max-width: 410px) { .wsn-agal__arrow_left { left: 10px; } .wsn-agal__arrow_right { right: 10px; } }
@media screen and (max-width: 320px) { .wsn-agal__arrow_left { left: 8px; } .wsn-agal__arrow_right { right: 8px; } }
.wsn-agal__thumbs { position: absolute; left: 0; top: calc(100% + 55px); display: flex; flex-wrap: wrap; justify-content: flex-start; width: 100%; }
.wsn-agal__thumb { flex: none; width: 65px; height: 65px; margin: 0 10px 10px 0; padding: 0; border: 0; border-radius: 10px;
	background-size: cover; background-position: 0 0; cursor: pointer; }
.wsn-agal__thumb.is-active { box-shadow: inset 0 0 0 4px #fff; }
/* у Tilda ряд сдвинут на (высота миниатюры + 10) − 20 px ниже фото */
@media screen and (max-width: 480px) { .wsn-agal__thumb { width: 45px; height: 45px; } .wsn-agal__thumbs { top: calc(100% + 35px); } }
