.zone-gallery{width:min(1440px,calc(100% - 48px));margin:0 auto;padding:72px 0 110px;color:#171713}.zone-gallery-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:38px}.zone-gallery-kicker{margin:0 0 8px;color:#657849;font-size:12px;font-weight:900;letter-spacing:.08em}.zone-gallery-head h1{margin:0;font-size:clamp(32px,4vw,60px);line-height:1.05}.zone-gallery-head>div>p:last-child{margin:14px 0 0;color:#5e5a50}.zone-gallery-write{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border:2px solid #171713;background:#b2d26e;font-weight:900;box-shadow:4px 4px 0 #171713}.zone-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.zone-gallery-item{position:relative;min-width:0;aspect-ratio:4/3;overflow:hidden;background:#e7dfcf}.zone-gallery-open{width:100%;height:100%;display:block;padding:0;border:0;background:transparent;cursor:zoom-in}.zone-gallery-open img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease,filter .35s ease}.zone-gallery-open:hover img,.zone-gallery-open:focus img{transform:scale(1.035);filter:saturate(1.08)}.zone-gallery-open:focus-visible{outline:4px solid #111;outline-offset:-4px}.zone-gallery-check{position:absolute;z-index:2;top:12px;left:12px;padding:8px;background:#fff}.zone-gallery-admin-actions{display:flex;gap:14px;align-items:center;margin-top:20px}.zone-gallery-admin-actions button{padding:10px 16px;border:2px solid #111;background:#fff;font-weight:800}.zone-gallery-modal[hidden]{display:none}.zone-gallery-modal{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:28px}.zone-gallery-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(15,15,13,.74);cursor:zoom-out}.zone-gallery-modal-dialog{position:relative;z-index:1;width:min(1120px,100%);max-height:calc(100vh - 56px);overflow:auto;border:2px solid #111;background:#f8f1df;box-shadow:10px 10px 0 #111}.zone-gallery-modal-close{position:absolute;z-index:3;top:14px;right:14px;width:44px;height:44px;border:2px solid #111;border-radius:50%;background:#fff;font-size:30px;line-height:1;cursor:pointer}.zone-gallery-modal-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);min-height:520px}.zone-gallery-modal-media{display:grid;place-items:center;min-height:0;background:#161612}.zone-gallery-modal-media img{width:100%;height:100%;max-height:78vh;display:block;object-fit:contain}.zone-gallery-modal-copy{align-self:center;padding:54px 38px}.zone-gallery-modal-copy h2{margin:0 0 18px;font-size:32px;line-height:1.2}.zone-gallery-description{color:#555047;line-height:1.8}.zone-gallery-product{display:grid;grid-template-columns:76px 1fr auto;align-items:center;gap:14px;margin-top:30px;padding:12px;border:2px solid #111;background:#fff;box-shadow:4px 4px 0 #111}.zone-gallery-product img{width:76px!important;height:76px!important;object-fit:cover}.zone-gallery-product span{display:grid;gap:3px;min-width:0}.zone-gallery-product small{color:#657849;font-weight:900}.zone-gallery-product strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zone-gallery-product em{font-size:12px;font-style:normal;color:#777}.zone-gallery-product b{font-size:24px}.zone-gallery-modal-open{overflow:hidden}.pg_wrap{display:block;margin:36px 0 0;text-align:center}
@media(max-width:900px){.zone-gallery{width:min(100% - 28px,720px);padding:44px 0 76px}.zone-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.zone-gallery-modal{padding:14px}.zone-gallery-modal-dialog{max-height:calc(100vh - 28px);box-shadow:5px 5px 0 #111}.zone-gallery-modal-body{display:block}.zone-gallery-modal-media img{max-height:58vh}.zone-gallery-modal-copy{padding:28px 20px 24px}.zone-gallery-modal-copy h2{font-size:25px}.zone-gallery-head{align-items:flex-start}.zone-gallery-head>div>p:last-child{font-size:13px}}@media(max-width:520px){.zone-gallery-head{display:grid}.zone-gallery-write{justify-self:start}.zone-gallery-grid{grid-template-columns:1fr 1fr}.zone-gallery-item{aspect-ratio:1/1}.zone-gallery-product{grid-template-columns:58px 1fr auto}.zone-gallery-product img{width:58px!important;height:58px!important}}

/* Gallery editor */
.zone-gallery-write-page{box-sizing:border-box;width:min(920px,calc(100% - 48px));margin:0 auto;padding:64px 0 100px;color:#171713}
.zone-gallery-write-page *{box-sizing:border-box}
.zone-gallery-write-head{margin-bottom:28px}
.zone-gallery-write-head h2{margin:0;font-size:clamp(30px,4vw,48px);line-height:1.12}
.zone-gallery-write-head>p:last-child{margin:12px 0 0;color:#625d52;line-height:1.6}
.zone-gallery-write-page #fwrite{width:100%!important;padding:32px;border:2px solid #171713;background:#fffdf8;box-shadow:8px 8px 0 #171713}
.zone-gallery-write-page .write_div{position:relative;margin:0 0 20px}
.zone-gallery-write-page .zone-gallery-field>label{display:block;margin:0 0 9px;font-size:14px;font-weight:900}
.zone-gallery-write-page .zone-gallery-field>label strong{color:#e95048;font-size:12px}
.zone-gallery-meeting-filters{display:grid;grid-template-columns:minmax(240px,1fr) 150px 150px;gap:8px;margin-bottom:8px}
.zone-gallery-write-page .zone-gallery-meeting-filters input,.zone-gallery-write-page .zone-gallery-meeting-filters select{min-height:46px}
.zone-gallery-meeting-result{min-height:20px;margin:7px 0 0;color:#686257;font-size:12px}
.zone-gallery-write-page .frm_input,.zone-gallery-write-page select,.zone-gallery-write-page textarea{width:100%;max-width:none;min-height:52px;padding:13px 15px;border:1px solid #aaa396;border-radius:0;background:#fff;color:#171713;font:inherit}
.zone-gallery-write-page textarea{min-height:150px;resize:vertical;line-height:1.65}
.zone-gallery-write-page .frm_input:focus,.zone-gallery-write-page select:focus,.zone-gallery-write-page textarea:focus{border-color:#171713;outline:2px solid #b2d26e;outline-offset:0}
.zone-gallery-write-page .bo_w_info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.zone-gallery-write-page .bo_w_info:empty{display:none}
.zone-gallery-write-page .bo_v_option{display:flex;flex-wrap:wrap;gap:14px;margin:0;padding:0;list-style:none}
.zone-gallery-write-page #autosave_wrapper{margin:0}
.zone-gallery-write-page #btn_autosave{position:absolute;right:7px;top:7px;min-height:38px;padding:0 12px;border:1px solid #171713;background:#f5f0e5}
.zone-gallery-write-page .wr_content iframe{max-width:100%}
.zone-gallery-upload{padding:16px;border:1px dashed #8e897e;background:#f7f2e7}
.zone-gallery-upload .file_wr{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:14px;margin:0!important}
.zone-gallery-upload .lb_icon{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 14px;border:2px solid #171713;background:#b2d26e;font-weight:900;cursor:pointer}
.zone-gallery-upload .frm_file{display:block;width:100%;min-width:0;padding:10px;border:1px solid #c6c0b4;background:#fff}
.zone-gallery-upload .file_del{display:block;margin-top:12px;font-size:13px}
.zone-gallery-write-page .btn_confirm{display:flex;justify-content:flex-end;gap:10px;margin:30px 0 0}
.zone-gallery-write-page .btn_confirm .btn{display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:50px;padding:0 20px;border:2px solid #171713;border-radius:0;font-weight:900}
.zone-gallery-write-page .btn_cancel{background:#fff;color:#171713}
.zone-gallery-write-page .btn_submit{background:#b2d26e;color:#171713;box-shadow:4px 4px 0 #171713}
@media(max-width:700px){.zone-gallery-write-page{width:min(100% - 28px,620px);padding:42px 0 72px}.zone-gallery-write-page #fwrite{padding:20px;box-shadow:5px 5px 0 #171713}.zone-gallery-write-page .bo_w_info{grid-template-columns:1fr}.zone-gallery-meeting-filters{grid-template-columns:1fr 1fr}.zone-gallery-meeting-search{grid-column:1/-1}.zone-gallery-upload .file_wr{grid-template-columns:1fr}.zone-gallery-write-page #btn_autosave{position:static;width:100%;margin-top:8px}.zone-gallery-write-page .btn_confirm{display:grid;grid-template-columns:1fr 1fr}.zone-gallery-write-page .btn_confirm .btn{min-width:0;width:100%}}

/* Gallery detail */
.zone-gallery-view{width:min(1180px,calc(100% - 48px))!important;margin:0 auto;padding:64px 0 100px;color:#171713}
.zone-gallery-view *{box-sizing:border-box}
.zone-gallery-view-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.zone-gallery-view-head h1{margin:0;font-size:clamp(30px,4vw,54px);line-height:1.12}
.zone-gallery-view-date{margin:10px 0 0;color:#716b5f;font-size:13px;font-weight:800}
.zone-gallery-view-list{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border:2px solid #171713;background:#fff;font-weight:900;white-space:nowrap}
.zone-gallery-view-body{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr);border:2px solid #171713;background:#fffdf8;box-shadow:8px 8px 0 #171713}
.zone-gallery-view-images{display:grid;align-content:start;gap:2px;min-width:0;background:#171713}
.zone-gallery-view-images img{display:block;width:100%!important;height:auto!important;max-width:none!important;margin:0!important}
.zone-gallery-view-copy{align-self:center;padding:38px 30px}
.zone-gallery-view-description{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.zone-gallery-view-description:empty:after{content:'사진으로 남긴 사색지대의 순간입니다.';color:#777064}
.zone-gallery-view-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:26px}
.zone-gallery-view-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:2px solid #171713;background:#fff;font-weight:900}
.zone-gallery-view-actions a:first-child{background:#b2d26e}
.zone-gallery-view-actions .is-danger{color:#b8322b}
@media(max-width:760px){.zone-gallery-view{width:min(100% - 28px,680px)!important;padding:42px 0 72px}.zone-gallery-view-head{align-items:flex-start}.zone-gallery-view-body{display:block;box-shadow:5px 5px 0 #171713}.zone-gallery-view-copy{padding:26px 20px}.zone-gallery-view-actions{display:grid;grid-template-columns:repeat(3,1fr)}.zone-gallery-view-actions a{padding:0 8px}.zone-gallery-view-list{min-height:42px;padding:0 13px;font-size:13px}}

/* Compact gallery preview */
.zone-gallery-modal-dialog{width:min(980px,100%)}
.zone-gallery-modal-body{grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);min-height:0}
.zone-gallery-modal-media{min-height:0;padding:22px}
.zone-gallery-modal-media img{width:auto;height:auto;max-width:100%;max-height:70vh;object-fit:contain}
.zone-gallery-modal-copy{align-self:start;padding:68px 30px 32px}
.zone-gallery-modal-copy h2{margin-bottom:22px}
.zone-gallery-description{margin-bottom:22px}
.zone-gallery-product{grid-template-columns:76px minmax(0,1fr);margin-top:0;cursor:default}
.zone-gallery-edit{position:absolute;z-index:4;top:12px;right:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border:2px solid #171713;background:#fff;color:#171713;font-size:13px;font-weight:900;box-shadow:3px 3px 0 #171713}
.zone-gallery-edit:hover,.zone-gallery-edit:focus{background:#b2d26e;color:#171713}
@media(max-width:900px){.zone-gallery-modal-media{padding:12px}.zone-gallery-modal-media img{max-height:58vh}.zone-gallery-modal-copy{padding:28px 20px 24px}}
