/* News gallery — XD 1:1 */
.news_board.news_board_gallery{padding:129px 0 201px;}
.news_board_gallery .cont{max-width:1200px;margin:0 auto;padding:0 var(--padding,24px);}
.news_board_gallery h2{margin:0;font-size:50px;font-weight:700;line-height:.9;letter-spacing:-0.015em;text-align:center;color:#111;}
.news_gallery_head{margin:0;padding:0;border:0;}
.news_gallery_filters{margin-top:80px;display:flex;justify-content:flex-start;}
.news_gallery_filters ul{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:5px;margin:0;padding:0;list-style:none;}
.news_gallery_filters li{margin:0;padding:0;}
.news_gallery_filters a{box-sizing:border-box;height:49px;padding:0 24px;border:1px solid #e0e0e0;border-radius:20px;background-color:#f2f4f9;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:400;line-height:1.4;letter-spacing:-0.015em;color:#111;white-space:nowrap;transition:background-color .25s ease,border-color .25s ease;}
.news_gallery_filters a.is-active{border-color:#22264e;background-color:#fff;}
.news_gallery_top{margin-top:24px;padding-bottom:18px;border-bottom:2px solid var(--point-color-2,#22264e);display:flex;align-items:center;justify-content:space-between;gap:20px;}
.news_gallery_total{margin:0;font-size:20px;line-height:1.5;letter-spacing:-0.025em;color:#111;}
.news_gallery_total strong{font-weight:700;}
.news_gallery_total .sit-manage-gallery-checkall{display:inline-flex;align-items:center;gap:8px;margin-left:12px;font-size:0.875rem;font-weight:400;color:#666;cursor:pointer;user-select:none;vertical-align:middle;}
.news_gallery_total .sit-manage-gallery-checkall input{width:16px;height:16px;margin:0;cursor:pointer;flex-shrink:0;}
.news_gallery_top .search{width:367px;max-width:100%;flex:none;padding-left:40px;border:1px solid #e0e0e0;border-radius:20px;display:flex;align-items:stretch;overflow:hidden;background-color:#fff;}
.news_gallery_top .search input[type="text"]{width:100%;height:auto;padding:17px 10px 17px 0;border:0;border-radius:0;font-size:20px;line-height:1.45;letter-spacing:-0.025em;color:#111;background:transparent;}
.news_gallery_top .search input::placeholder{color:#111;opacity:1;}
.news_gallery_top .search button{min-width:66px;flex:none;border:0;border-radius:0 20px 20px 0;background-color:#111;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.news_gallery_top .search button img{display:block;width:22px;height:auto;}
.news_gallery_grid{margin:44px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:28px;row-gap:48px;}
.news_gallery_card{position:relative;min-width:0;margin:0;padding:0;}
.news_gallery_chk{position:absolute;left:12px;top:12px;z-index:2;width:22px;height:22px;border-radius:4px;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.08);}
.news_gallery_chk input{width:16px;height:16px;margin:0;}
.news_gallery_link{display:flex;flex-direction:column;height:100%;color:#111;text-decoration:none;}
.news_gallery_thumb{display:block;border-radius:12px;overflow:hidden;aspect-ratio:275/184;background-color:#f2f4f9;}
.news_gallery_thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease;}
.news_gallery_link:hover .news_gallery_thumb img{transform:scale(1.03);}
.news_gallery_body{margin-top:16px;display:flex;flex-direction:column;flex:1;min-height:0;}
.news_gallery_meta{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.news_gallery_cat{padding:5px 14px;border:1px solid #e0e0e0;border-radius:999px;background-color:#fff;font-style:normal;font-size:14px;font-weight:400;line-height:1.4;letter-spacing:-0.02em;color:var(--point-color-2,#22264e);}
.news_gallery_notice{padding:5px 14px;border:0;border-radius:999px;background-color:#edeff7;font-style:normal;font-size:14px;font-weight:400;line-height:1.4;letter-spacing:-0.02em;color:var(--point-color-2,#22264e);}
.news_gallery_title{margin:12px 0 0;font-size:18px;font-weight:700;line-height:1.5;letter-spacing:-0.04em;color:#111;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;}
.news_gallery_date{margin-top:12px;font-size:16px;line-height:1.5;letter-spacing:0;color:#999;}
.news_gallery_empty{grid-column:1/-1;padding:80px 20px;border:1px dashed #ddd;border-radius:16px;text-align:center;font-size:18px;color:#666;}
.news_board_gallery .paging{margin-top:71px;}
.news_board_gallery .paging ul{display:flex;align-items:center;justify-content:center;gap:8px;}
.news_board_gallery .paging li{flex:none;}
.news_board_gallery .paging a,.news_board_gallery .paging strong{width:50px;aspect-ratio:1/1;border-radius:50%;background-color:#f6f6f6;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1.5;color:#111;}
.news_board_gallery .paging .arrow{border:1px solid #e7e7e7;background-color:transparent;}
.news_board_gallery .paging strong{background-color:var(--point-color-2);font-weight:700;color:#fff;}
.news_board_gallery .board_admin_btns{margin-top:32px;display:flex;justify-content:flex-end;gap:10px;}

@media (max-width:1440px){
.news_board.news_board_gallery{padding:100px 0 150px;}
.news_gallery_filters{margin-top:60px;}
}
@media (max-width:1280px){
.news_gallery_grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:22px;row-gap:40px;}
}
@media (max-width:1024px){
.news_board.news_board_gallery{padding:80px 0 100px;}
.news_board_gallery h2{font-size:38px;}
.news_gallery_filters{margin-top:40px;}
.news_gallery_filters a{height:46px;padding:0 20px;font-size:16px;}
.news_gallery_top{margin-top:20px;flex-wrap:wrap;}
.news_gallery_top .search{width:300px;padding-left:24px;}
.news_gallery_top .search input[type="text"]{padding:13px 8px 13px 0;font-size:16px;}
.news_gallery_top .search button{min-width:54px;}
.news_gallery_total{font-size:16px;}
.news_gallery_grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:32px;margin-top:32px;}
.news_gallery_title{font-size:16px;}
.news_board_gallery .paging{margin-top:50px;}
}
@media (max-width:768px){
.news_board.news_board_gallery{padding:60px 0 80px;}
.news_board_gallery h2{font-size:30px;}
.news_gallery_filters{margin-left:calc(var(--padding,24px) * -1);margin-right:calc(var(--padding,24px) * -1);}
.news_gallery_filters ul{width:auto;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:0 var(--padding,24px);gap:6px;}
.news_gallery_filters ul::-webkit-scrollbar{display:none;}
.news_gallery_filters li{flex:none;}
.news_gallery_filters a{height:44px;padding:0 16px;font-size:15px;flex:none;}
.news_gallery_top{flex-direction:column;align-items:stretch;gap:14px;}
.news_gallery_top .search{width:100%;}
.news_gallery_grid{grid-template-columns:1fr;row-gap:28px;}
.news_gallery_date{font-size:14px;}
.news_board_gallery .paging{margin-top:48px;}
}
