/* 원본 CSS는 수정하지 않는다. 새로 더한 요소·결함 수정만 여기에 둔다. (PC·모바일 화면 공용) */

/* C-BBS-8: 권한 없음 안내(원본은 alert 후 뒤로가기) */
.kw-no-access { padding: 60px 20px; text-align: center; color: #333; font-size: 16px; }
.kw-no-access p { margin-bottom: 24px; }
.kw-no-access .btn { display: inline-block; min-width: 120px; }

/* 검색 버튼: 원본은 <a href="javascript:submit_searchFrom()"> → 폼 제출 <button>. 원본 a.btn 규칙을 button 에도 그대로 */
.search_wrap button.btn, .sort_area button.btn { border: 0; padding: 0; cursor: pointer; font-family: inherit; }
/* PC 목록·갤러리(common.css .search_wrap a.btn) */
.search_wrap .Search button.btn { display: block; float: left; height: 33px; line-height: 33px; width: 41px; background: #555; border-left: 1px solid #ddd; }
.search_wrap .Search button.btn .hide { color: #fff; }
/* 모바일(mobile/css/common.css .Search a.btn) — section#container 는 모바일 화면에만 있다 */
section#container .Search button.btn { display: block; float: none; width: 40px; height: 34px; background: url(/images/btn_search.gif) no-repeat center center; position: absolute; top: 0; right: 0; font-size: 0; border: 0; }

/* 레이어 팝업: 원본 include/popup.asp 인라인 스타일 */
.A_pop { position: absolute; background: #fff; z-index: 600; }
.A_pop .con p { margin: 0; }
.A_pop .con img { max-width: 100%; }
.A_pop .A_ch { display: table; padding: 9px 18px; width: 100%; box-sizing: border-box; background: #333; line-height: 22px; }
.A_pop .A_ch .txt { display: table-cell; font-size: 13px; color: #fff; width: 50%; text-align: left; vertical-align: middle; }
.A_pop .A_ch .bt { display: table-cell; width: 50%; text-align: right; }
.A_pop .A_ch a { display: inline-block; color: #fff; font-size: 13px; padding-right: 18px; background: url(/images/pop_close_btn.png) no-repeat right center; }

/* 회원·게시판 쓰기(새 서버) — 서버 오류 안내(원본은 alert 후 뒤로가기) */
.kw-form-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #e0b4b4; background: #fff6f6; color: #9f3a38; font-size: 14px; text-align: left; }
.kw-form-ok { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #b7d9b9; background: #f4fbf4; color: #2c662d; font-size: 14px; text-align: left; }
.kw-hidden { display: none; }
/* 글쓰기 에디터(Quill, 원본 DaumEditor 자리) · 보안문자 · 첨부 삭제 */
.kw-editor { min-height: 320px; background: #fff; text-align: left; }
.ql-toolbar.ql-snow { border-color: #ddd; text-align: left; }
.ql-container.ql-snow { border-color: #ddd; font-size: 15px; }
.kw-captcha svg { vertical-align: middle; height: 40px; width: auto; background: #f5f5f5; }
.kw-captcha a { margin: 0 8px; font-size: 13px; color: #666; text-decoration: underline; }
.kw-file-del { display: block; margin-top: 6px; font-size: 13px; color: #666; }
.kw-comment-login { padding: 16px 0; font-size: 14px; color: #666; }
.kw-comment-login a { text-decoration: underline; }

/* 사이트맵(/sitemap/sitemap_1) — GNB 메뉴를 펼친 목록. 원본 사이트맵 화면은 500 이라 디자인 기준이 없어 단순 격자로 둔다 */
.kw-sitemap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px 24px; padding: 20px 0 60px; }
.kw-sitemap-list > li > a.depth1 { display: block; font-size: 18px; font-weight: 700; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 2px solid #333; }
.kw-sitemap-list .depth2 { position: static; display: block; opacity: 1; visibility: visible; width: auto; height: auto; background: none; padding: 0; }
.kw-sitemap-list .depth2 > li > a { display: block; padding: 5px 0; font-size: 15px; color: #333; }
.kw-sitemap-list .depth2 ul { position: static; display: block; padding-left: 12px; }
.kw-sitemap-list .depth2 ul a { display: block; padding: 3px 0; font-size: 14px; color: #666; }
