/* 이미지 위젯 덮개(overlay)·호버 덮개는 이미지 상자를 꽉 채운다 */
.widget.image ._img_box > .overlay, .widget.image ._img_box > .hover_overlay { top: 0; bottom: 0; left: 0; right: 0; }

/* 갤러리(/41) 격자: 원본 JS가 계산하던 크기를 CSS로 */
.gallery2.type_grid{display:flex;flex-wrap:wrap;margin:0 -5px;height:auto}
.gallery2.type_grid>._item{box-sizing:border-box;width:25%;padding:5px;position:relative}
.gallery2.type_grid ._img_wrap{aspect-ratio:1.327;min-height:0;background-size:cover;background-position:50% 50%;background-repeat:no-repeat}
@media (max-width:991px){
  .gallery2.type_grid{margin:0 -2.5px}
  .gallery2.type_grid>._item{width:50%;padding:2.5px}
}
._more_btn{display:none}
