.tb-item{display:block;color:inherit;text-decoration:none}
.tb-ratio{position:relative;display:block;overflow:hidden;background:#f2f2f2;padding-top:var(--r-m);border-radius:var(--tb-radius,0)}
.tb-ratio img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.tb-contain img{object-fit:contain}
@media (min-width:768px){.tb-ratio{padding-top:var(--r-d)}}
.modules-box .module-item.tb-strip{padding:0;background:var(--tb-bg,transparent)}
.tb-strip .tb-wrap{position:relative;margin:0 auto}
@media (min-width:768px){.tb-strip .tb-wrap:not(.tb-phone){max-width:var(--tb-mw,none)}}
.tb-close{position:absolute;top:50%;right:6px;width:28px;height:28px;margin-top:-14px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:18px;line-height:1;cursor:pointer}
.tb-slider{--swiper-theme-color:var(--bs-primary,#fd560f);--swiper-navigation-size:24px}
.tb-slider .swiper-pagination-bullet{width:9px;height:9px;background:#fff;opacity:.75;box-shadow:0 0 2px rgba(0,0,0,.5)}
.tb-slider .swiper-pagination-bullet-active{background:var(--swiper-theme-color);opacity:1}
.tb-slider .tb-arrow{display:none;width:40px;height:40px;margin-top:-20px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.85);color:#333}
.tb-slider .tb-arrow:after{font-size:16px}
.tb-slider :focus-visible{outline:2px solid var(--swiper-theme-color);outline-offset:-2px}
@media (min-width:768px){.tb-slider .tb-arrow{display:flex}}
.tb-tiles{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.tb-tiles .tb-item{flex:0 0 30.3%;scroll-snap-align:start;min-width:0}
.tb-tiles{--tb-radius:8px}
.tb-caption{display:block;margin-top:6px;font-size:13px;line-height:1.3;text-align:center}
@media (min-width:768px){.tb-tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;overflow:visible}.tb-tiles.tb-scroll{display:flex;overflow-x:auto}.tb-tiles.tb-scroll .tb-item{flex:0 0 calc((100% - 70px)/6)}}
.tb-off .tb-ratio{filter:grayscale(1);opacity:.55}
.tb-label{position:absolute;top:8px;left:8px;padding:2px 8px;border-radius:3px;background:#333;color:#fff;font-size:12px}
.tb-wrap.tb-phone{max-width:375px;margin:0 auto}
.tb-phone .tb-slider .tb-arrow{display:none}
.tb-empty{margin:12px;padding:30px;border:2px dashed #ccc;color:#888;text-align:center}
.tb-hb{position:relative;background:var(--tb-hb-bg)}
.tb-hb .tb-item{width:100%;margin:auto}
.tb-hb .tb-ratio{background:0 0}
@media (min-width:768px){.tb-hb .tb-item{max-width:var(--tb-mw)}}
.tb-hb-x{display:flex;align-items:center;min-height:44px}
.tb-hb a:focus-visible .tb-ratio:after{content:"";position:absolute;inset:0;border:3px solid #0a58ca}
.tb-hb-close{position:absolute;top:50%;right:0;width:44px;height:44px;margin-top:-22px;padding:0;border:0;background:radial-gradient(circle,#000a 12px,#0000 13px);color:#fff;font:20px/1 sans-serif;cursor:pointer}
.tb-hb-close:focus-visible{outline:3px solid #0a58ca;outline-offset:-4px}
@media (max-width:767.98px){.tb-hb .tb-hb-in{max-width:none;padding:0}}
.tb-hb-off .tb-hb{display:none}
