/* Карусель фото из Instagram на /pages/gotovyj-otdyh (weekly/build.py) */
.wig { position: relative; border-radius: 14px 14px 0 0; overflow: hidden; background: #e9eef0; max-width: 100%; }
.wig-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.wig-track::-webkit-scrollbar { display: none; }
.wig-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.wig-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wig-prev, .wig-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.88); color: #111; font-size: 28px; line-height: 38px; text-align: center; cursor: pointer; padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.wig-prev { left: 10px; } .wig-next { right: 10px; }
.wig.wig-first .wig-prev, .wig.wig-last .wig-next { opacity: .35; }
.wig-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 3px 9px; border-radius: 12px; }
.wig-credit { margin: 6px 16px 0; font-size: 13px; opacity: .8; }
.wig-credit a { color: inherit; text-decoration: underline; }

html[data-theme] .card .wig-credit + .body > .tag{margin-top:0;margin-bottom:4px}
/* v2: абзацы карточки не делят высоту (style.css .card p{flex:1}) — иначе .note с overflow:hidden обрезает примечание к цене */
.v2old article.card[id] > .body > p{flex:0 0 auto}
.v2old article.card[id] > .wig-credit{margin:8px 18px 12px}
