/* BSK Photo Gallery 0.4.2 — consolidated styles */
.bsk-gallery{--bsk-blue:#205fa7;--bsk-border:#e1e8ef;color:#18273d}
.bsk-gallery *{box-sizing:border-box}
.bsk-gallery__lead{margin:0 0 28px;color:#68788c;font-size:16px;line-height:1.6}
.bsk-gallery__featured,.bsk-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bsk-gallery__hero,.bsk-gallery__grid .bsk-gallery__tile{display:block;position:relative;overflow:hidden;aspect-ratio:3/2;border:0;border-radius:6px;background:#e7edf3;color:#fff!important;text-decoration:none!important;box-shadow:none;transform:none}
.bsk-gallery__hero>img,.bsk-gallery__grid .bsk-gallery__tile>img{display:block;width:100%;height:100%;object-fit:cover;transform:none}
.bsk-gallery__hero-shade{position:absolute;inset:30% 0 0;background:linear-gradient(to bottom,transparent 0%,rgba(8,25,45,.25) 35%,rgba(8,25,45,.88) 100%);pointer-events:none}
.bsk-gallery__hero-info{position:absolute;left:24px;right:64px;bottom:20px;display:flex;flex-direction:column;gap:8px;line-height:1.3}
.bsk-gallery__hero-info strong,.bsk-gallery__grid .bsk-gallery__tile .bsk-gallery__hero-info strong{font-size:21px;font-weight:600;line-height:1.3;color:#fff}
.bsk-gallery__hero-info>span,.bsk-gallery__grid .bsk-gallery__tile .bsk-gallery__hero-info>span{font-size:13px;color:#e4edf8}
.bsk-gallery__hero-arrow{position:absolute;right:20px;bottom:20px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.2);font-size:22px;color:#fff}
.bsk-gallery__hero:hover .bsk-gallery__hero-arrow,.bsk-gallery__grid .bsk-gallery__tile:hover .bsk-gallery__hero-arrow{background:var(--bsk-blue)}
.bsk-gallery__products{margin-top:60px}
.bsk-gallery__products h2{font-size:28px;font-weight:500;margin:0 0 22px;color:#18273d}
.bsk-gallery__filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.bsk-gallery__filter{appearance:none;border:0;box-shadow:none;background:#f5f7fa;border-radius:5px;padding:10px 17px;font:500 14px Inter,Arial,sans-serif;color:#253b57;cursor:pointer;transition:background .2s,color .2s}
.bsk-gallery__filter:hover:not(.is-active){background:#eaf3fc}
.bsk-gallery__filter.is-active,.bsk-gallery__filter.is-active:hover{background:var(--bsk-blue);color:#fff}
.bsk-gallery__filter:focus-visible,.bsk-gallery__hero:focus-visible,.bsk-gallery__tile:focus-visible{outline:2px solid var(--bsk-blue);outline-offset:3px}
.bsk-gallery__grid .bsk-gallery__tile:hover{box-shadow:none;transform:none}
.bsk-gallery__grid .bsk-gallery__tile[hidden]{display:none!important}
.bsk-gallery__empty{font-size:14px;color:#68788c}
@media(max-width:1000px){.bsk-gallery__featured,.bsk-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bsk-gallery__hero-info strong,.bsk-gallery__grid .bsk-gallery__tile .bsk-gallery__hero-info strong{font-size:19px}}
@media(max-width:650px){.bsk-gallery__featured,.bsk-gallery__grid{grid-template-columns:1fr;gap:16px}.bsk-gallery__lead{font-size:14px}.bsk-gallery__products{margin-top:40px}.bsk-gallery__products h2{font-size:23px}.bsk-gallery__hero-info{left:18px;bottom:17px}.bsk-gallery__hero-info strong,.bsk-gallery__grid .bsk-gallery__tile .bsk-gallery__hero-info strong{font-size:20px}.bsk-gallery__filter{padding:9px 12px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.bsk-gallery__filter{transition:none}}
/* BSK Photo Gallery — диагональная стрелка */

.bsk-gallery__hero-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .20);
    color: #fff;
    font-size: 0;
    transition: background-color .2s ease;
}

.bsk-gallery__hero-arrow svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bsk-gallery__hero:hover .bsk-gallery__hero-arrow,
.bsk-gallery__tile:hover .bsk-gallery__hero-arrow {
    background: #205FA7;
}

/* БСК — Стандарты 1.5.11: единый фильтр */
.bsk-gallery .bsk-gallery__filters{display:flex;align-items:stretch;gap:0;flex-wrap:nowrap;width:fit-content;max-width:100%;min-width:0;background:var(--bsk-filter-bg,#F5F7FA);border:0;border-radius:.25rem;box-shadow:none;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;margin-bottom:1.4375rem}
.bsk-gallery .bsk-gallery__filter{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:.4375rem;margin:0;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;box-shadow:none;color:var(--bsk-text-tab,#535d67);cursor:pointer;white-space:nowrap;line-height:1.25;font-family:Inter,Arial,sans-serif;font-weight:400;transition:color .2s,border-color .2s;appearance:none;min-height:3.1875rem;padding:.875rem 1.25rem .6875rem;font-size:.9375rem}
.bsk-gallery .bsk-gallery__filter:hover,.bsk-gallery .bsk-gallery__filter:hover:not(.is-active){background:transparent;box-shadow:none;color:var(--bsk-filter-blue,#1a60b0)}
.bsk-gallery .bsk-gallery__filter[aria-pressed="true"],.bsk-gallery .bsk-gallery__filter[aria-pressed="true"]:hover{background:transparent;box-shadow:none;color:var(--bsk-filter-blue,#1a60b0);border-bottom-color:var(--bsk-filter-blue,#1a60b0);font-weight:500}
.bsk-gallery .bsk-gallery__filter:focus-visible{outline:2px solid var(--bsk-filter-blue,#1a60b0);outline-offset:-.25rem}
.bsk-gallery [hidden]{display:none!important}
.bsk-gallery{--bsk-filter-blue:#1a60b0}.bsk-gallery__hero:hover .bsk-gallery__hero-arrow,.bsk-gallery__grid .bsk-gallery__tile:hover .bsk-gallery__hero-arrow{background:#205fa7}
@media(max-width:40.625rem){.bsk-gallery .bsk-gallery__filters{width:100%}.bsk-gallery .bsk-gallery__filter{padding:.75rem .9375rem .5625rem;font-size:.9375rem;gap:.375rem}}
@media(prefers-reduced-motion:reduce){.bsk-gallery .bsk-gallery__filter{transition:none}}
