/* Jangsin event board - scoped */
.jev-board{--jev-ink:#183b35;--jev-gold:#a77d43;--jev-line:#dfe6e2;max-width:1100px;width:100%;margin:0 auto 65px;color:#2d3936;font-family:inherit;box-sizing:border-box;word-break:keep-all}
.jev-board *{box-sizing:border-box}.jev-board a{text-decoration:none}.jev-kicker{display:block;font-size:12px;font-weight:750;letter-spacing:.17em;color:var(--jev-gold);margin-bottom:10px}.jev-top{display:flex;justify-content:space-between;align-items:end;padding:5px 0 28px;border-bottom:2px solid var(--jev-ink);gap:18px}.jev-top h2{font-size:31px;color:var(--jev-ink);margin:0 0 10px;font-weight:750}.jev-top p{margin:0;color:#687771;font-size:15px}.jev-write{display:inline-block;padding:10px 16px;background:var(--jev-ink);color:white!important;font-size:14px;white-space:nowrap}.jev-cats{padding:18px 0}.jev-list{display:block}.jev-item{display:grid;grid-template-columns:250px minmax(0,1fr);gap:30px;padding:30px 0;border-bottom:1px solid var(--jev-line);align-items:start}.jev-thumb{display:block;aspect-ratio:1.55;background:#eef1ee;overflow:hidden}.jev-thumb img{display:block;width:100%;height:100%;object-fit:cover}.jev-thumb-empty{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:100%;padding:25px;background:#e7ece8;color:#1e4b3f}.jev-thumb-empty small{letter-spacing:.2em;font-size:10px;color:#9d7543}.jev-thumb-empty strong{font-size:26px;line-height:1.18;letter-spacing:.02em}.jev-item-body{min-width:0}.jev-item-meta,.jev-view-badges{display:flex;gap:10px;align-items:center;margin-bottom:13px}.jev-status{display:inline-flex;align-items:center;padding:5px 10px;font-size:12px;font-weight:750;line-height:1.3}.jev-open{background:#e6f2eb;color:#21613e}.jev-upcoming{background:#edf1f5;color:#4e6378}.jev-closed{background:#f1f1f1;color:#7d8581}.jev-category{font-size:13px;color:#7e8b84}.jev-item h3{margin:0 0 16px;font-size:22px;line-height:1.45;letter-spacing:-.035em}.jev-item h3 a{color:var(--jev-ink)!important}.jev-item h3 a:hover{text-decoration:underline}.jev-period{margin:0 0 22px;font-size:14px;color:#687771;line-height:1.65}.jev-period b{color:#3d5048;margin-right:12px}.jev-item-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.jev-detail{color:#53655b!important;font-size:14px;font-weight:700}.jev-apply{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:10px 20px;background:var(--jev-ink);color:#fff!important;font-weight:750;font-size:14px;white-space:nowrap}.jev-apply:hover{background:#2a5b4b}.jev-disabled,.jev-disabled:hover{background:#e7e9e8;color:#838b87!important;cursor:default}.jev-empty{text-align:center;padding:75px 0;color:#7d8982}.jev-bottom{padding:26px 0}.jev-view-head{padding:10px 0 30px;border-bottom:1px solid var(--jev-line)}.jev-view-head h1{font-size:clamp(27px,3vw,38px);line-height:1.4;color:var(--jev-ink);margin:10px 0 25px}.jev-view-period{display:flex;gap:20px;align-items:center;font-size:15px}.jev-view-period strong{color:var(--jev-ink)}.jev-view-period span{color:#5b6c64}.jev-view #bo_v_atc{min-height:0;height:auto!important}.jev-content{padding:42px 0 30px;line-height:1.9;word-break:keep-all;overflow-wrap:anywhere;min-height:200px}.jev-content img{max-width:100%;height:auto}.jev-view-action{display:flex;justify-content:center;padding:18px 0 45px;border-bottom:1px solid var(--jev-line)}.jev-view-action .jev-apply{min-width:220px;min-height:52px;font-size:16px}.jev-files{display:flex;gap:12px;flex-wrap:wrap;padding:20px 0}.jev-files a{color:#2b6653!important;text-decoration:underline}.jev-view-footer{display:flex;justify-content:space-between;gap:16px;padding:25px 0}.jev-view-footer a{display:inline-block;border:1px solid #ccd6d0;padding:10px 18px;color:#263e35!important;margin-left:6px}.jev-admin-date .jev-help{display:inline-block;margin-left:12px;font-size:13px;color:#738079}.jev-admin-date input[type=date]{min-width:175px;padding:8px}.jev-board .pg_wrap{display:block;text-align:center}
@media(max-width:700px){.jev-top{align-items:start}.jev-top h2{font-size:27px}.jev-top p{font-size:14px}.jev-item{grid-template-columns:1fr;gap:18px;padding:24px 0}.jev-thumb{max-width:100%;aspect-ratio:1.9}.jev-item h3{font-size:20px}.jev-view-period{display:block}.jev-view-period strong{display:block;margin-bottom:5px}.jev-content{padding:26px 0}.jev-admin-date .jev-help{display:block;margin:8px 0 0}}

/* 행사 일정/관리자/그룹 표시 */
.jev-top .jev-admin{margin-left:auto;display:inline-flex;align-items:center;padding:10px 15px;border:1px solid #9daea5;color:#183b35!important;font-size:14px;white-space:nowrap}
.jev-top .jev-admin+.jev-write{margin-left:0}
.jev-top .jev-write{margin-left:auto}
.jev-group{margin:22px 0 36px}
.jev-group-title{display:flex;align-items:baseline;gap:10px;font-size:23px;color:#183b35;margin:0;padding:0 0 15px;border-bottom:1px solid #cfdad4}
.jev-group-title small{font-size:14px;color:#87948d;font-weight:400}
.jev-event-date-input{width:min(100%,600px)!important;max-width:100%;min-height:38px}
.jev-item .jev-period{margin-bottom:8px}
.jev-item .jev-item-actions{margin-top:18px}
.jev-view-head .jev-view-period{margin-top:10px}
@media(max-width:700px){.jev-top{flex-wrap:wrap}.jev-top>div{width:100%}.jev-top .jev-admin{margin-left:0}.jev-group-title{font-size:20px}}

/* v3: 행사 상태 및 목록 반응형 - 기존 화면과 독립적으로 적용 */
.jev-board .jev-registration-closed{background:#fff0dd;color:#94602c}
.jev-board .jev-event-closed{background:#eceeed;color:#737b76}
.jev-board .jev-group{margin:27px 0 43px}
.jev-board .jev-group-title{margin-bottom:4px}
.jev-board .jev-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;align-items:stretch}
.jev-board .jev-item{display:flex;flex-direction:column;gap:0;min-width:0;padding:22px 0 26px;margin:0;border-bottom:1px solid var(--jev-line)}
.jev-board .jev-thumb{width:100%;aspect-ratio:1.9;flex:none}
.jev-board .jev-item-body{display:flex;flex-direction:column;flex:1;min-width:0;padding-top:18px}
.jev-board .jev-item-meta{margin-bottom:10px}
.jev-board .jev-item h3{font-size:20px;line-height:1.48;margin:0 0 13px}
.jev-board .jev-item .jev-period{margin:0 0 7px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.jev-board .jev-item .jev-period b{display:inline-block;min-width:60px;margin-right:5px}
.jev-board .jev-item .jev-item-actions{margin-top:auto;padding-top:17px;gap:10px 16px}
.jev-board .jev-item .jev-apply{min-height:38px;padding:8px 15px}
.jev-board .jev-list>.jev-empty{grid-column:1/-1}
@media(max-width:980px){
 .jev-board .jev-list{grid-template-columns:1fr;gap:0}
 .jev-board .jev-item{display:grid;grid-template-columns:minmax(170px,34%) minmax(0,1fr);gap:23px;align-items:start;padding:23px 0}
 .jev-board .jev-thumb{aspect-ratio:1.35}
 .jev-board .jev-item-body{padding-top:0;min-height:100%}
}
@media(max-width:620px){
 .jev-board .jev-item{display:flex;flex-direction:column;gap:0;padding:22px 0}
 .jev-board .jev-thumb{aspect-ratio:1.85}
 .jev-board .jev-item-body{padding-top:15px}
 .jev-board .jev-item h3{font-size:19px}
 .jev-board .jev-item .jev-period b{min-width:60px}
 .jev-board .jev-top{gap:12px}
}

/* v4 관리자 선택 작업 */
.jev-board .jev-bulkbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:13px 0;border-bottom:1px solid #dfe6e2}
.jev-board .jev-checkall{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;cursor:pointer}
.jev-board .jev-bulk-actions{display:flex;flex-wrap:wrap;gap:7px}
.jev-board .jev-bulk-actions button{border:1px solid #bfcfc6;background:#fff;color:#244638;padding:8px 12px;font-size:13px;cursor:pointer;min-height:38px}
.jev-board .jev-bulk-actions button:hover{background:#f2f6f3}
.jev-board .jev-item{position:relative}
.jev-board .jev-item-check{position:absolute;top:30px;left:8px;z-index:2;display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#fff;border:1px solid #d8e2dc;box-shadow:0 1px 4px #0001;cursor:pointer}
.jev-board input[type=checkbox]{width:17px;height:17px;accent-color:#183b35;cursor:pointer}
@media(max-width:620px){.jev-board .jev-item-check{top:30px;left:8px}.jev-board .jev-bulk-actions button{padding:8px 10px}}

/* v5: 카테고리 탭과 검색 - 기존 게시판 레이아웃에만 적용 */
.jev-board .jev-cats{padding:22px 0 12px;overflow:visible}
.jev-board .jev-cats ul{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.jev-board .jev-cats li{display:block;margin:0;padding:0;list-style:none}
.jev-board .jev-cats li::marker{content:none}
.jev-board .jev-cats a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 17px;border:1px solid #d8e1db;background:#fff;color:#53635a!important;font-size:14px;line-height:1.35;font-weight:600;transition:background .15s,border-color .15s,color .15s}
.jev-board .jev-cats a:hover,.jev-board .jev-cats a:focus-visible{background:#f3f7f4;border-color:#9bad9f;color:#183b35!important}
.jev-board .jev-cats a#bo_cate_on,.jev-board .jev-cats a[aria-current="page"]{background:#183b35;border-color:#183b35;color:#fff!important}
.jev-board .jev-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:13px 0 20px;border-bottom:1px solid #e2e8e3}
.jev-board .jev-search{display:flex;align-items:stretch;max-width:100%;width:470px;min-height:43px;border:1px solid #cdd9d1;background:#fff}
.jev-board .jev-search select{flex:none;width:112px;min-width:0;border:0;border-right:1px solid #e2e8e3;background:#fff;padding:0 10px;color:#41574b;font-size:13px;border-radius:0}
.jev-board .jev-search input[type="search"]{flex:1;width:0;min-width:0;border:0;background:transparent;padding:0 13px;font-size:14px;color:#243d32;outline-offset:-2px}
.jev-board .jev-search button{flex:none;min-width:79px;border:0;background:#183b35;color:#fff;font-size:14px;font-weight:700;padding:0 14px;cursor:pointer}
.jev-board .jev-search button:hover{background:#2b5548}
.jev-board .jev-search-reset{white-space:nowrap;color:#5b6e63!important;font-size:13px;text-decoration:underline!important}
@media(max-width:620px){.jev-board .jev-cats{padding:17px 0 7px}.jev-board .jev-cats ul{gap:7px}.jev-board .jev-cats a{min-height:37px;padding:8px 12px;font-size:13px}.jev-board .jev-tools{flex-wrap:wrap;padding:12px 0 17px}.jev-board .jev-search{width:100%}.jev-board .jev-search select{width:93px;padding:0 6px;font-size:12px}.jev-board .jev-search button{min-width:65px;padding:0 10px}.jev-board .jev-search-reset{margin-left:auto}}
