/* BERMOR V252: V251-equivalent gallery rebuilt independently. One authoritative stylesheet. */
#bmGallery251{position:relative;box-sizing:border-box;width:100%;margin:0;padding:14px 0 84px;background:transparent;}
#bmGallery251 *{box-sizing:border-box;}
#bmGallery251 .bm-gallery-251__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;width:min(910px, 88.8671875vw);margin:0 auto;align-items:start;}
#bmGallery251 .bm-gallery-251__item{appearance:none;display:block;position:relative;overflow:hidden;min-width:0;width:100%;padding:0;margin:0;border:0;border-radius:18px;background:transparent;cursor:inherit;box-shadow:0 14px 38px rgba(22,42,44,.12);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;}
#bmGallery251 .bm-gallery-251__item::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(74,114,114,.14);pointer-events:none;}
#bmGallery251 .bm-gallery-251__item:hover,#bmGallery251 .bm-gallery-251__item:focus-visible{transform:translateY(-4px);box-shadow:0 18px 46px rgba(22,42,44,.18);filter:saturate(1.02);outline:none;}
#bmGallery251 .bm-gallery-251__item img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;pointer-events:none;user-select:none;-webkit-user-drag:none;}
#bmGallery251 .bm-gallery-251__thumbs{display:none;}
#bmGalleryLightbox251{position:fixed;inset:0;z-index:1400;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease;}
#bmGalleryLightbox251.is-open{opacity:1;visibility:visible;pointer-events:auto;}
#bmGalleryLightbox251 .bm-gallery-lightbox-251__backdrop{position:absolute;inset:0;background:rgba(7,18,20,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}
#bmGalleryLightbox251 .bm-gallery-lightbox-251__dialog{position:relative;z-index:1;display:grid;grid-template-columns:70px minmax(0,1fr) 70px;align-items:center;gap:20px;width:min(92vw,1360px);height:min(88vh,900px);margin:6vh auto;}
#bmGalleryLightbox251 .bm-gallery-lightbox-251__figure{margin:0;min-width:0;height:100%;display:grid;place-items:center;}
#bmGalleryLightbox251 .bm-gallery-lightbox-251__image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.28);cursor:inherit;}
#bmGalleryLightbox251 .bm-gallery-lightbox-251__nav{appearance:none;border:0;padding:0;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(208,214,214,.18);color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:inherit;transition:background-color .18s ease,transform .18s ease;}
#bmGalleryLightbox251 .bm-gallery-lightbox-251__nav svg{display:block;width:32px;height:32px;pointer-events:none;}
#bmGalleryLightbox251 .bm-gallery-lightbox-251__next svg{transform:rotate(180deg);}
#bmGalleryLightbox251 .bm-gallery-lightbox-251__nav:hover,#bmGalleryLightbox251 .bm-gallery-lightbox-251__nav:focus-visible{background:#4a7272;transform:translateY(-1px);outline:2px solid rgba(134,185,178,.35);outline-offset:2px;}
@media(max-width:1100px){#bmGallery251 .bm-gallery-251__grid{grid-template-columns:repeat(2,minmax(0,1fr));width:min(910px, 88.8671875vw);}}
@media(max-width:680px){
 #bmGallery251{padding:16px 0 66px;}
 #bmGallery251 .bm-gallery-251__grid{display:block;width:100%;margin:0;}
 #bmGallery251 .bm-gallery-251__item{display:none;width:calc(100% - 28px);max-width:560px;margin:0 auto;border-radius:14px;box-shadow:none;transform:none;filter:none;}
 #bmGallery251 .bm-gallery-251__item.is-mobile-active{display:block;}
 #bmGallery251 .bm-gallery-251__item img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
 #bmGallery251 .bm-gallery-251__thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:calc(100% - 28px);max-width:560px;margin:12px auto 0;}
 #bmGallery251 .bm-gallery-251__thumb{appearance:none;display:block;overflow:hidden;min-width:0;width:100%;padding:0;border:2px solid transparent;border-radius:8px;background:transparent;opacity:.64;cursor:inherit;}
 #bmGallery251 .bm-gallery-251__thumb.is-active{border-color:#86b9b2;opacity:1;}
 #bmGallery251 .bm-gallery-251__thumb img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;pointer-events:none;}
 #bmGalleryLightbox251 .bm-gallery-lightbox-251__dialog{width:min(96vw,720px);height:min(86vh,760px);margin:7vh auto;grid-template-columns:52px minmax(0,1fr) 52px;gap:8px;}
 #bmGalleryLightbox251 .bm-gallery-lightbox-251__nav{width:44px;height:44px;}
 #bmGalleryLightbox251 .bm-gallery-lightbox-251__nav svg{width:27px;height:27px;}
}
@media(prefers-reduced-motion:reduce){#bmGallery251 .bm-gallery-251__item,#bmGalleryLightbox251,#bmGalleryLightbox251 .bm-gallery-lightbox-251__nav{transition:none;}}
