.hero.hb-active{height:clamp(440px,34vw,650px);background:#fff}
.hero.hb-active.hb-active{min-height:0;max-height:none}
.hb-arrow[hidden],.hb-dots[hidden],.hb-count[hidden]{display:none!important}
.hb-admin-form>.hb-wide{grid-column:1/-1;min-width:0}
.hb-admin-form>label{align-content:start}
.hb-media-preview.is-empty:not(.is-error):after{content:'사진을 선택하거나 등록된 배너의 수정을 눌러 주세요.';position:absolute;inset:0;display:grid;place-items:center;padding:20px;color:#68716a;text-align:center;font-size:13px}
.hb-viewport,.hb-slide,.hb-slide>a,.hb-slide picture,.hb-slide picture img{position:absolute;inset:0;width:100%;height:100%}
.hb-slide{opacity:0;visibility:hidden;transition:opacity .55s ease;overflow:hidden}
.hb-slide.is-active{opacity:1;visibility:visible}
.hb-slide picture img{object-fit:contain;object-position:center}
.hero.hb-active:after{display:none}
.hb-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;display:grid;place-items:center;width:52px;height:52px;padding:0;border:1px solid rgba(30,35,31,.12);border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 3px 14px rgba(0,0,0,.12);color:#272d29;cursor:pointer}
.hb-arrow svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero.hb-active button.hb-arrow:hover{transform:translateY(-50%)}
@media(hover:hover) and (pointer:fine){.hero.hb-active .hb-arrow{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,background .18s ease,color .18s ease}.hero.hb-active:hover .hb-arrow,.hero.hb-active:focus-within .hb-arrow{opacity:1;visibility:visible;pointer-events:auto}}
.hb-prev{left:22px}.hb-next{right:22px}.hb-arrow:hover,.hb-arrow:focus-visible{background:#29332d;color:#fff}.hb-arrow:focus-visible{outline:3px solid #759889;outline-offset:3px}
.hb-dots{position:absolute;z-index:4;bottom:25px;left:50%;transform:translateX(-50%);display:flex;gap:10px}
.hb-dots button{width:11px;height:11px;border:1px solid #fff;border-radius:50%;background:transparent;cursor:pointer;padding:0}
.hb-dots button[aria-current]{background:#fff}
.hb-count{position:absolute;z-index:4;bottom:22px;right:28px;color:#fff;background:rgba(0,0,0,.5);padding:6px 12px;border-radius:20px;font-size:13px}
.hb-admin{margin:25px 0;padding:24px;background:#f7f6f2;border:1px solid #ddd9d0;border-radius:12px}
.hb-admin h3{margin:0 0 8px;font-size:22px}.hb-admin>p{margin:0 0 20px;color:#5d625d}
.hb-admin-list{display:grid;gap:8px;margin-bottom:24px}.hb-admin-row{display:flex;align-items:center;gap:8px;padding:8px;background:#fff;border:1px solid #e0ded8;border-radius:8px}
.hb-admin-row img{width:80px;height:58px;object-fit:cover;border-radius:4px}.hb-admin-row>div{min-width:0;flex:1;display:grid}.hb-admin-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb-admin-row small{color:#666}
.hb-admin button{min-height:42px;padding:8px 11px;cursor:pointer}.hb-admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hb-admin-form label{display:grid;gap:6px;font-weight:650}.hb-admin-form input{width:100%;min-height:44px;padding:9px;border:1px solid #bbb;border-radius:5px;background:#fff}.hb-admin-form label:first-child,.hb-admin-form label:nth-child(2),.hb-check,.hb-admin-actions,.hb-admin-status{grid-column:1/-1}.hb-admin-form .hb-check{display:flex;align-items:center}.hb-check input{width:20px;min-height:auto}.hb-admin-actions{display:flex;gap:8px}.hb-admin-actions button:first-child{background:#29332d;color:#fff}.hb-admin-status{min-height:1.4em;color:#36453a}


@media(prefers-reduced-motion:reduce){.hb-slide{transition:none}}

/* v20.1 — rotating banners share the softer homepage frame */
.home-v20 .hero.hb-active{width:min(1540px,calc(100% - 48px));height:clamp(470px,34vw,650px);margin:0 auto;border-radius:26px;box-shadow:0 20px 55px rgba(32,37,33,.08)}
.home-v20 .hero.hb-active .hb-arrow{width:54px;height:54px;border-color:rgba(30,35,31,.08);box-shadow:0 8px 24px rgba(0,0,0,.12);transition:opacity .18s ease,visibility .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease}
.home-v20 .hero.hb-active .hb-arrow:hover{box-shadow:0 12px 30px rgba(0,0,0,.17)}
.home-v20 .hero.hb-active .hb-count{right:32px;bottom:28px;background:rgba(17,20,18,.58);backdrop-filter:blur(8px)}


.event-page{min-height:60vh;background:#fff;color:#242824}.event-inner{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:36px 0 90px}.event-breadcrumb{font-size:14px;color:#777;margin-bottom:52px}.event-breadcrumb a{text-decoration:none;color:inherit}.event-eyebrow{font-size:13px;font-weight:700;letter-spacing:.2em;color:#68756a;margin:0 0 12px}.event-inner>h1{font-size:clamp(34px,4vw,56px);line-height:1.15;margin:0 0 16px;word-break:keep-all}.event-summary{font-size:19px;line-height:1.7;color:#555;white-space:pre-wrap;margin:0 0 34px}.event-visual{margin:0 0 36px;background:#f5f2eb;border-radius:8px;overflow:hidden;text-align:center}.event-visual img{display:block;width:100%;max-height:900px;object-fit:contain}.event-link{display:inline-flex;align-items:center;min-height:48px;padding:13px 22px;background:#29332d;color:#fff;text-decoration:none;font-weight:700;border-radius:5px;margin:0 0 34px}.event-back{display:block;width:max-content;color:#38483e;text-decoration:underline;text-underline-offset:4px;margin-top:20px}.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.event-card{display:block;text-decoration:none;color:inherit;border:1px solid #e4e2dc;border-radius:8px;overflow:hidden}.event-card img{display:block;width:100%;aspect-ratio:2.2;object-fit:contain;background:#f5f2eb}.event-card div{padding:20px}.event-card h2{font-size:23px;margin:0 0 8px}.event-card p{color:#666;margin:0 0 16px;line-height:1.5}.event-card span{font-weight:700}.event-empty,.event-loading{max-width:1120px;margin:0 auto;padding:70px 20px;color:#666}

.hb-admin-form textarea{width:100%;min-height:130px;padding:11px;border:1px solid #bbb;border-radius:5px;background:#fff;resize:vertical}.hb-admin-form label:nth-child(3){grid-column:1/-1}.event-body{font-size:17px;line-height:1.9;white-space:pre-wrap;word-break:keep-all;max-width:850px;margin:0 0 34px}
.hb-slide picture img{object-fit:var(--hb-pc-fit,contain);object-position:var(--hb-pc-pos,center);transform:scale(var(--hb-pc-scale,1));transform-origin:var(--hb-pc-origin,center)}

.hb-media-controls{grid-column:1/-1;display:grid;gap:16px}.hb-media-controls fieldset{min-width:0;margin:0;padding:16px;border:1px solid #d6d3ca;border-radius:8px;background:#fff}.hb-media-controls legend{padding:0 6px;font-weight:700}.hb-media-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hb-media-fields label{grid-column:auto!important;font-size:14px}.hb-media-fields select{width:100%;min-height:44px;padding:8px;border:1px solid #bbb;border-radius:5px;background:#fff}.hb-media-fields input[type=range]{padding:0;min-height:34px}.hb-media-fields output{font-weight:500;color:#656965}.hb-preview-meta{margin:15px 0 7px;color:#535a55;font-size:13px;font-weight:650}.hb-media-preview{position:relative;width:100%;min-height:140px;max-height:380px;margin:0 0 7px;overflow:hidden;background:#fff;border:1px solid #cfd3ce;border-radius:5px;transition:aspect-ratio .18s ease}.hb-media-preview:empty:after,.hb-media-preview.is-error:after{content:'사진을 불러오지 못했습니다. 사진을 다시 선택해 주세요.';position:absolute;inset:0;display:grid;place-items:center;padding:20px;color:#8a4e48;text-align:center}.hb-media-preview img{display:block;width:100%;height:100%}.hb-media-controls [data-media=mobile] .hb-media-preview{max-width:320px;margin-right:auto;margin-left:auto}.hb-media-controls small{color:#666}.hb-detail-file{grid-column:1/-1!important}.hb-detail-source{display:block;padding:9px 11px;border-radius:5px;background:#f0f3f0;color:#405047;font-size:13px}.event-visual{margin-left:auto;margin-right:auto}.event-visual picture,.event-visual img{display:block;width:100%;height:100%}.event-visual img{max-height:none}
.hb-edit-note{grid-column:1/-1;margin:0;padding:14px 16px;border:1px solid #a9b9ae;border-radius:7px;background:#eef4f0;color:#2f4537;line-height:1.55}.hb-admin-form label>small{font-weight:400;color:#6a6f6b}

.hb-media-preview.is-empty:after{content:none}.hb-media-controls [data-media=detail] .hb-media-preview.is-empty:after{content:'상세 전용 사진이 없습니다. 상세페이지에는 글만 표시됩니다.';position:absolute;inset:0;display:grid;place-items:center;padding:20px;color:#59625c;text-align:center}
.hb-admin-form [hidden],.hb-admin-form .hb-detail-file,.hb-admin-form [data-media=detail]{display:none!important}
.admin-modern .hb-admin{padding:24px}.hb-easy-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:20px}.hb-easy-head h3{margin:0;font-size:21px}.hb-easy-head p{max-width:680px;margin:0;color:#717870;font-size:13px}.admin-modern .hb-admin-list{padding:10px;border-radius:12px;background:#f4f5f2}.admin-modern .hb-admin-row{border:0;box-shadow:0 1px 0 #e0e3dd}.admin-modern .hb-admin-row button{min-height:38px;border:1px solid #d8dcd5;border-radius:7px;background:#fff}.admin-modern .hb-admin-form{margin-top:20px;padding-top:22px;border-top:1px solid #e2e5df}.admin-modern .hb-admin-form input,.admin-modern .hb-admin-form select{border-color:#d4d9d1;border-radius:8px}.admin-modern .hb-media-controls fieldset{padding:0;overflow:hidden;border-radius:11px}.hb-field-toggle{display:flex!important;align-items:center;justify-content:space-between;width:100%;min-height:52px!important;padding:13px 16px!important;border:0!important;background:#f6f7f4!important;font-weight:800}.hb-field-toggle i{margin-right:4px}.hb-media-controls fieldset>legend{display:block;width:100%;padding:0}.hb-media-controls fieldset.is-collapsed>:not(legend){display:none}.hb-media-controls fieldset:not(.is-collapsed)>.hb-media-fields,.hb-media-controls fieldset:not(.is-collapsed)>.hb-preview-meta,.hb-media-controls fieldset:not(.is-collapsed)>.hb-media-preview,.hb-media-controls fieldset:not(.is-collapsed)>small{margin-left:16px;margin-right:16px}.hb-media-controls fieldset:not(.is-collapsed)>.hb-media-fields{margin-top:16px}.hb-media-controls fieldset:not(.is-collapsed)>small{display:block;margin-bottom:16px}.admin-modern .hb-admin-actions{position:sticky;bottom:14px;z-index:12;padding:10px;border-radius:12px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(30,36,31,.14);backdrop-filter:blur(10px)}.admin-modern .hb-admin-actions button{flex:1;border:1px solid #d7dbd4;border-radius:8px}.admin-modern .hb-admin-actions button:first-child{background:#263029}


/* v22.3: natural Korean event typography; collapse accidental repeated spaces. */
.event-page{font-family:"Pretendard Variable",Pretendard,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;letter-spacing:-.015em;word-spacing:normal}
.event-eyebrow{letter-spacing:.12em}
.event-inner>h1{line-height:1.2;letter-spacing:-.045em}
.event-summary{line-height:1.75;white-space:pre-line;word-break:keep-all}
.event-body{font-size:16px;line-height:1.85;letter-spacing:-.01em;word-spacing:normal;word-break:keep-all;overflow-wrap:break-word}
.event-body .kr-text{white-space:pre-line;overflow-wrap:break-word}
.event-card h2{letter-spacing:-.035em;word-break:keep-all}
.event-card p{line-height:1.65;word-break:keep-all}

/* v22.5: blog-like event article rhythm. */
.event-body{max-width:820px;margin:0 auto 42px;color:#252925;font-size:16px;line-height:1.8}
.event-body .kr-text{margin:0 0 22px;white-space:pre-line}
.event-body .kr-photo{margin-top:30px;margin-bottom:30px}

