.md-gallery.layout5 .gallery-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}@media(max-width: 600px){.md-gallery.layout5 .gallery-head{margin-bottom:20px}}.md-gallery.layout5 .gallery-title{flex:1;min-width:0;text-transform:uppercase}.md-gallery.layout5 .gallery-nav{display:flex;flex:none;gap:16px}.md-gallery.layout5 .nav-btn{display:flex;align-items:center;justify-content:center;width:50px;height:50px;padding:0;color:var(--g-text-color, #191919);background:rgba(0,0,0,0);border:1px solid currentColor;border-radius:50%;cursor:pointer}.md-gallery.layout5 .nav-btn .iconfont{font-size:18px}.md-gallery.layout5 .nav-btn.btn-disabled{opacity:.4;cursor:not-allowed}.md-gallery.layout5 .gallery-img-wrap{position:relative;overflow:hidden;cursor:pointer}.md-gallery.layout5 .gallery-img-wrap .gallery-img{width:100%;height:100%}.md-gallery.layout5 .gallery-img-wrap .gallery-img img{width:100%;height:100%;object-fit:cover;transition:transform 300ms}.md-gallery.layout5 .gallery-img-wrap .img-mask{position:absolute;inset:0;z-index:1;pointer-events:none}.md-gallery.layout5 .gallery-img-wrap:hover .gallery-img img{transform:scale(1.1)}.md-gallery.layout5 .gallery-group{display:grid;gap:10px;height:420px}.md-gallery.layout5 .gallery-group.count-5{grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr}.md-gallery.layout5 .gallery-group.count-5 .gallery-img-wrap:first-child{grid-row:1/3}.md-gallery.layout5 .gallery-group.count-4{grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr}.md-gallery.layout5 .gallery-group.count-4 .gallery-img-wrap:first-child{grid-row:1/3}.md-gallery.layout5 .gallery-group.count-4 .gallery-img-wrap:nth-child(2){grid-column:2/4}.md-gallery.layout5 .gallery-group.count-3{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.md-gallery.layout5 .gallery-group.count-3 .gallery-img-wrap:first-child{grid-row:1/3}.md-gallery.layout5 .gallery-group.count-2{grid-template-columns:1fr 1fr}.md-gallery.layout5 .gallery-group.count-1{grid-template-columns:1fr}@media(max-width: 800px){.md-gallery.layout5 .gallery-group[class*=count-]{height:auto;grid-template-columns:1fr;grid-template-rows:none}.md-gallery.layout5 .gallery-group[class*=count-] .gallery-img-wrap{height:240px;grid-row:auto;grid-column:auto}}.md-gallery.layout5 .gallery-swiper.mobile .gallery-img-wrap{aspect-ratio:3/2}.md-gallery.layout5 .gallery-pagination{display:flex;justify-content:center;gap:6px;margin-top:16px}.md-gallery.layout5 .gallery-pagination .swiper-pagination-bullet{width:6px;height:6px;border-radius:50%;background-color:var(--g-text-color, #191919);opacity:.2}.md-gallery.layout5 .gallery-pagination .swiper-pagination-bullet-active{opacity:1}
