@charset "utf-8";

.sound_only,
.hidden { height: 0; overflow: hidden; position: absolute; }
.view-comment { display: none; }

/* =========================================================
   공통 관리자 UI 
========================================================= */
.bo-admin { position: absolute; top: 1.5rem; left: 1.5rem; z-index: 10; background: rgba(255, 255, 255, 0.95); padding: 0.5rem; border-radius: 0.6rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.05); }
.bo-admin label { height: 0; overflow: hidden; display: none; }
.bo-admin input[type="checkbox"] { margin: 0; cursor: pointer; width: 2rem; height: 2rem; }
.board-chkall { display: none; }

/* =========================================================
   카테고리 - Category
========================================================= */
.cate { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.cate ul { align-items: center; margin-bottom: 5rem; padding: 1rem; gap: 0.5rem; border-radius: 10rem; background-color: #f3f3f3; display: inline-flex; justify-content: center; }
.cate a { position: relative; display: block; font-size: 1.8rem; font-weight: 500; color: #555; padding: 0.5em 1.8em; border-radius: 10rem; transition: 0.3s ease-in-out; }
.cate a:hover,
.cate a#bo_cate_on { color: #fff; background: #233be0; font-weight: 700; }

/* =========================================================
   말머리 - Tag
========================================================= */
.tabmenu { margin-bottom: 4.5rem; background: #fbfcfe; }
.tabmenu ul { display: flex; align-items: center; flex-wrap: wrap; padding: 1.7rem 5rem; border: 1px solid #d4d4d4; border-radius: 0.5rem; }
.tabmenu li { padding: 0.5rem 5rem 0.5rem 0; }
.tabmenu a { position: relative; font-family: pb; font-size: 1.7rem; color: #666666 !important; }
.tabmenu a.on,
.tabmenu a:hover { color: #00baff !important; }
.tabmenu a.on::before,
.tabmenu a:hover::before { content: ''; position: absolute; left: 50%; top: -1rem; width: 0.6rem; height: 0.6rem; background: #00baff; border-radius: 100%; transform: translate(-50%, 0); }
.tabmenu a.on::after,
.tabmenu a:hover::after { content: ''; position: absolute; left: 0; bottom: -1rem; width: 100%; height: 0.2rem; background: #00baff; }

@media screen and (max-width: 1500px) {
    .tabmenu ul { padding: 1.5rem 3rem; }
    .tabmenu li { padding: 1rem 4rem 1rem 0; }
}

/* =========================================================
   검색 - Search
========================================================= */
.srch_box { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5rem; }
.srch_box .srch_counts { font-size: 1.5rem; font-weight: 500; color: #1e293b; padding-left: 0.5rem; }
.srch_box .srch_counts strong { font-weight: 700; color: #005FDE; }

.srch_box .board-serch { width: 50rem; max-width: 100%; }
.srch_box .board-serch fieldset { border: none; padding: 0; margin: 0; }
.srch_box .board-serch form > .flex_row { display: flex; align-items: center; height: 5.2rem; border: 1px solid rgba(0, 0, 0, 0.1); background-color: #fff; border-radius: 5rem; padding: 0 0.5rem 0 2rem; box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.02); transition: border-color 0.3s, box-shadow 0.3s; }
.srch_box .board-serch form > .flex_row:focus-within { border-color: #005FDE; box-shadow: 0 0.4rem 1.2rem rgba(0, 95, 222, 0.08); }

.srch_box .board-serch .select_box { position: relative; width: 11rem; flex-shrink: 0; border-right: 1px solid #e2e8f0; }
.srch_box .board-serch .select { width: 100%; height: 100%; border: none; background: transparent; font-size: 1.5rem; font-weight: 600; color: #334155; -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; padding-right: 2rem; letter-spacing: -0.05rem; }
.srch_box .board-serch .select:focus { outline: none; }
.srch_box .board-serch .select_box::after { content: ''; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); border-top: 0.5rem solid #64748b; border-left: 0.4rem solid transparent; border-right: 0.4rem solid transparent; pointer-events: none; }

.srch_box .board-serch .input_box { display: flex; align-items: center; flex: 1; position: relative; }
.srch_box .board-serch .input_box input[type="text"] { width: 100%; height: 5rem; border: none; background: transparent; font-size: 1.5rem; color: #0f172a; padding-left: 1.5rem; }
.srch_box .board-serch .input_box input[type="text"]:focus { outline: none; }
.srch_box .board-serch .input_box input[type="text"]::placeholder { color: rgba(114, 114, 114, 0.6); font-weight: 400; }
.srch_box .board-serch .input_box input[type="text"]::-webkit-search-cancel-button { display: none; }

.srch_box .board-serch .sch_btn { margin-left: 0.5rem; }
.srch_box .board-serch input[type="submit"] { width: 4.2rem; height: 4.2rem; border: none; border-radius: 50%; background-color: #005FDE; color: transparent; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='20px' height='20px'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; transition: background-color 0.3s; }
.srch_box .board-serch input[type="submit"]:hover { background-color: #004bbb; }

@media screen and (max-width: 800px) {
    .srch_box { flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 2.5rem; }
    .srch_box .board-serch { width: 100%; }
}

@media screen and (max-width: 480px) {
    .srch_box .board-serch form > .flex_row { height: 4.6rem; padding-left: 1.5rem; }
    .srch_box .board-serch .select_box { width: 9rem; }
    .srch_box .board-serch .select { font-size: 1.3rem; padding-right: 1.5rem; }
    .srch_box .board-serch .select_box::after { right: 1rem; }
    .srch_box .board-serch .input_box input[type="text"] { height: 4.4rem; font-size: 1.4rem; padding-left: 1rem; }
    .srch_box .board-serch input[type="submit"] { width: 3.6rem; height: 3.6rem; background-size: 1.8rem; }
}

/* =========================================================
   페이징 - paging
========================================================= */
._paging .pg_wrap { display: flex; justify-content: center; width: 100%; }
._paging .pg { display: flex; align-items: center; margin: 0 1rem; }
._paging .pg_page,
._paging .pg_current { display: flex; justify-content: center; align-items: center; width: 3.5rem; height: 3.5rem; margin: 0 0.25rem; border-radius: 0.3rem; }
._paging .pg_page { background: #f5f5f5; color: #555555; }
._paging .pg_page:hover { background: #e5e5e5; }
._paging .pg_current { background: #5b5b5b; color: #fff; font-weight: 500; }
._paging .pg_start, 
._paging .pg_prev, 
._paging .pg_next, 
._paging .pg_end { width: 3rem; height: 3.5rem; background-color: transparent !important; text-indent: -99999rem; overflow: hidden; margin: 0 0.2rem; }

._paging .pg_start { background: url('./images/btn-first.png') center no-repeat; }
._paging .pg_prev { background: url('./images/btn-prev.png') center no-repeat; }
._paging .pg_next { background: url('./images/btn-next.png') center no-repeat; }
._paging .pg_end { background: url('./images/btn-last.png') center no-repeat; }

@media screen and (max-width: 768px) {
    ._paging .pg_page,
    ._paging .pg_start,
    ._paging .pg_prev,
    ._paging .pg_next,
    ._paging .pg_end { display: none; }
    ._paging .pg_current { background: transparent; color: #00baff; font-size: 2.5rem; width: auto; height: auto; }
    ._paging .pg_current::after { content: ' / 전체'; color: #000; margin-left: 1rem; }
}

/* =========================================================
   기능 버튼 - button
========================================================= */
.btn-control .row { display: flex; justify-content: center; gap: 0.5rem; }
.btn-control .row_l { display: flex; justify-content: left; }
.btn-control .row_r { display: flex; justify-content: right; }
.btn-control .row_space { display: flex; justify-content: space-between; }

a._bbs_btn,
input._bbs_btn,
._bbs_btn { display: flex; font-weight: 500; justify-content: center; align-items: center; min-width: 13rem; height: 5rem; padding: 0 1.5rem; border-radius: 0.5rem; font-size: 1.6rem; color: #fff; transition: 0.35s; }

.btn01 { background: #0066ff; }
.btn01:hover { background: #0d5dbe; }
.btn02 { background: #fff; border: 2px solid #d10000; color: #d10000 !important; }
.btn02:hover {background: #d10000;color: #fff !important;}
.btn03 {background: #828282;}
.btn03:hover { background: #006274; }
.btn04 { background: #39329c; }
.btn04:hover { background: #302a6c; }
.btn05 { background: #ff8400; }
.btn05:hover { background: #934c00; }
.btn06 { background: #9f9f9f; }
.btn06:hover { background: #616161; }

._bbs_btn_small { display: flex; white-space: nowrap; font-size: 1.4rem; transition: ease all 0.5s; color: #333; background: #fff; font-weight: 500; align-items: center; padding: 0.3rem 2rem; margin: 0 0.3rem; border-radius: 0.5rem; }
._bbs_btn_small.plus { gap: 1rem; margin: 0 auto; }
._bbs_btn_small.plus:after { content: '+'; }

._s_btn01 { border: 0.1rem solid #0d5dbe; color: #0d5dbe; }
._s_btn02 { border: 0.1rem solid #ac1212; color: #ac1212; }
._s_btn03 { border: 0.1rem solid #000000; }
._s_btn04 { background: #ff8400; color: #fff; }
._s_btn04:hover { background: #8d4d09; }
._s_btn05 { background: #00baff; color: #fff; }
._s_btn05:hover { background: #0d5dbe; }

/* =========================================================
   [공통] 뷰페이지 (모던 클린 & 라운드 스타일)
========================================================= */
/* 뷰 컨테이너 전체를 둥글고 부드러운 카드로 감쌈 */
.view { background: #ffffff; border-radius: 2rem; border: 1px solid #e2e8f0; padding: 5rem; box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.02); margin-bottom: 4rem; }

/* 1. 타이틀 영역 */
.view .title { position: relative; padding-bottom: 3rem; border-bottom: 1px solid #e2e8f0; }
.view .title strong {font-size: 3.2rem;color: #333;font-weight: 600;line-height: 1.4;letter-spacing: -0.05rem;word-break: keep-all;}

/* 메타 정보 (작성자, 날짜, 조회수) */
.view .detail { display: flex; align-items: center; margin-top: 2rem; color: #64748b; font-size: 1.5rem; justify-content: flex-start; }
.view .detail li {position: relative;margin-right: 1.5rem;padding-right: 1.5rem;font-weight: 300;font-size: 1.4rem;}
.view .detail li::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 0.1rem; height: 1.2rem; background: #cbd5e1; }
.view .detail li:last-child::after { display: none; }
.view .detail span {font-weight: 500;color: #333;}

/* 우측 기능 버튼 (좋아요 등) */
.view .right_fnct { position: absolute; right: 0; bottom: 3rem; }
.view .right_fnct > ul { display: flex; align-items: center; gap: 1rem; }
.view .right_fnct > ul > li { position: relative; }
.view .right_fnct > ul > li > a { display: flex; align-items: center; font-size: 1.4rem; color: #64748b; font-weight: 500; transition: color 0.3s; }
.view .right_fnct > ul > li > a:hover { color: #005FDE; }
.view .right_fnct .like,
.view .right_fnct .dislike,
.view .right_fnct .reportIcon { display: inline-flex; width: 2.4rem; height: 2.4rem; margin-right: 0.5rem; text-indent: -99999rem; opacity: 0.7; transition: opacity 0.3s; }
.view .right_fnct > ul > li > a:hover [class*="Icon"],
.view .right_fnct > ul > li > a:hover .like,
.view .right_fnct > ul > li > a:hover .dislike { opacity: 1; }

.view .right_fnct .like { background: url('./images/btn-like.png') no-repeat center / contain; }
.view .right_fnct .dislike { background: url('./images/btn-dislike.png') no-repeat center / contain; }
.view .right_fnct .reportIcon { background: url('./images/btn-reportIcon.png') no-repeat center / contain; }

/* 2. 본문 텍스트 영역 */
.view .txt { min-height: 30rem; padding: 5rem 0; border-bottom: 1px solid #e2e8f0; font-size: 1.8rem; color: #334155; line-height: 1.8; word-break: keep-all; }
.view .txt p,
.view .txt span { font-size: inherit; color: inherit; line-height: inherit; }

.view .view-images { text-align: center; margin-bottom: 4rem; }
.view .view-images img { margin-bottom: 3rem; border-radius: 1.6rem; max-width: 100%; box-shadow: 0 0.4rem 1.5rem rgba(0,0,0,0.05); }

/* 3. 첨부파일 영역 (부드러운 박스 처리) */
.view .attachment { padding: 2.5rem 3rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1.6rem; display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3rem; }
.view .attachment.column { flex-direction: column; gap: 1rem; }
.view .attachment a,
.view .attachment .no-file { display: inline-flex; align-items: center; padding-left: 3.5rem; background: url('./images/ic-file.png') no-repeat left center; font-size: 1.5rem; color: #005FDE; font-weight: 600; transition: color 0.3s; }
.view .attachment a:hover { color: #004bbb; text-decoration: underline; }
.view .attachment span { position: relative; }

/* 4. 추가 필드 (스펙 시트 느낌의 모던 리스트) */
.view .add_view { margin-top: 3rem; }
.view .add_view dl { display: flex; border-bottom: 1px dashed #cbd5e1; padding: 1.5rem 0; align-items: center; }
.view .add_view dl:last-child { border: none; }
.view .add_view dl dt { width: 14rem; background: #f1f5f9; color: #475569; font-weight: 600; font-size: 1.4rem; border-radius: 0.8rem; display: flex; align-items: center; justify-content: center; padding: 0.8rem; margin-right: 2rem; flex-shrink: 0; }
.view .add_view dl dd { flex: 1; color: #1e293b; font-size: 1.6rem; font-weight: 500; word-break: keep-all; }

/* =========================================================
   이전글 / 다음글 (모던 호버 카드 스타일)
========================================================= */
.before_nect_use { margin-top: 4rem; }
.before_nect_use .bbs-anchor { display: flex; gap: 2rem; }
.before_nect_use .bbs-anchor li {position: relative;flex: 1;background: #ffffff;border: 1px solid #e2e8f0;border-radius: 1.6rem;padding: 3rem;transition: all 0.3s ease;display: flex;flex-direction: column;justify-content: center;box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.02);width: 50%;flex-shrink: 0;}
/* 호버 시 카드가 살짝 떠오르며 브랜드 컬러 하이라이트 */
.before_nect_use .bbs-anchor li:hover { border-color: #005FDE; box-shadow: 0 1rem 2rem rgba(0, 95, 222, 0.08); transform: translateY(-0.4rem); }

.before_nect_use .bbs-anchor li a { color: #64748b; font-size: 1.6rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.3s; }
.before_nect_use .bbs-anchor li:hover a { color: #1e293b; }

.before_nect_use .bbs-anchor span { font-size: 1.3rem; color: #005FDE; font-weight: 700; margin-bottom: 1rem; display: block; letter-spacing: 0.1rem; text-transform: uppercase; }

/* 기존의 촌스러운 가운데 선과 화살표 제거 */
.before_nect_use .bbs-anchor li:first-child::after,
.before_nect_use .bbs-anchor li a::after,
.before_nect_use .bbs-anchor span::after { display: none; }
.before_nect_use .bbs-anchor li p { display: none; }
.before_nect_use .bbs-anchor li:last-child { text-align: right; }

/* =========================================================
   버튼 영역
========================================================= */
.board-view .btns { margin-top: 4rem; }
.board-button .row { display: flex; justify-content: center; gap: 1rem; }

/* =========================================================
   반응형 (Responsive)
========================================================= */
@media screen and (max-width: 1100px) {
    .before_nect_use .bbs-anchor { flex-direction: column; gap: 1.5rem; }
    .before_nect_use .bbs-anchor li { width: 100%; padding: 2.5rem; }
}

@media screen and (max-width: 800px) {
    .view { padding: 3rem; border-radius: 1.5rem; }
    .view .title { padding-bottom: 2rem; }
    .view .title strong { font-size: 2.4rem; }
    .view .detail { flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
    .view .detail li { margin-right: 1rem; padding-right: 1rem; }
    .view .right_fnct { position: static; margin-top: 2rem; padding-top: 2rem; border-top: 1px dashed #e2e8f0; }
    
    .view .txt { padding: 3rem 0; min-height: 20rem; font-size: 1.6rem; }
    .view .attachment { padding: 2rem; }
    
    .view .add_view dl { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .view .add_view dl dt { width: auto; padding: 0.6rem 1.5rem; margin-right: 0; }
}

@media screen and (max-width: 560px) {
    .view { padding: 2rem; }
    .view .title strong { font-size: 2.2rem; }
    .view .detail { font-size: 1.4rem; }
}

/* =========================================================
   [공통] 한줄 댓글 
========================================================= */
.view-comment { position: relative; margin-top: 5rem; padding: 5rem; background: #fff; border: 1px solid #cccccc; }
.view-comment::after { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: #575050; }
.view-comment-write .name { display: flex; margin-bottom: 1rem; font-size: 1.7rem; }
.view-comment-write .name::before { content: ''; display: block; width: 2.5rem; height: 2.5rem; margin-right: 1rem; background: #fff url('./images/ic-reply.png') no-repeat center; border: 1px solid #d7d7d7; border-radius: 100%; }
.view-comment-write .name label { margin-right: 1rem; }
.view-comment-write .name input { position: relative; top: -0.1rem; font-size: 1.7rem; }
.view-comment-write .comment-text { margin-bottom: 1rem; }
.view-comment-write .comment-text textarea { width: 100%; padding: 1rem; border: 1px solid #cccccc; border-radius: 0.5rem; min-height: 10rem; }
.view-comment-write .small-btn-box { display: flex; justify-content: flex-end; }

.view-comment-list { margin-top: 2.5rem; }
.view-comment-list > li { position: relative; margin-bottom: 2rem; padding: 2rem 1.5rem; background: #f5f5f5; border-radius: 0.3rem; }
.view-comment-list > li:last-child { margin-bottom: 0; }
.view-comment-list .title { display: flex; align-items: center; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid #e0e0e0; font-size: 1.5rem; color: #00baff; }
.view-comment-list .title::before { content: ''; display: block; width: 2.5rem; height: 2.5rem; margin-right: 1rem; background: #fff url('./images/ic-reply.png') no-repeat center; border: 1px solid #d7d7d7; border-radius: 100%; }
.view-comment-list .title .date { position: relative; margin-left: 1.5rem; padding-left: 1.5rem; color: #777; }
.view-comment-list .title .date::after { content: ''; position: absolute; left: 0; top: 0.5rem; width: 1px; height: 1rem; background: #d7d7d7; }
.view-comment-list .comment { padding-left: 3.5rem; font-family: pr; font-size: 1.5rem; color: #333333; }
.view-comment-list .comment .del input { position: relative; top: 0.1rem; width: 1.5rem; height: 1.5rem; margin-left: 1rem; background: url('./images/ic-reply-del.png') no-repeat center; text-indent: -99999rem; }
.view-comment-list .repBtn .tiny-btn { display: flex; height: 3rem; padding: 0 1rem; background: #fff; border: 1px solid #0d5dbe; border-radius: 0.5rem; font-size: 1.4rem; color: #0d5dbe; }
.view-comment-list .repBtn .tiny-btn:hover { background: #0d5dbe; color: #fff; }
.view-comment-list .comment-cmntWrap { position: absolute; right: 2rem; top: 1.5rem; }
.view-comment-list .comment-reportWrap { position: absolute; right: 7.5rem; top: 1.5rem; }
.view-comment-list .comment_sttemnt { display: none; position: absolute; right: 0; top: calc(100% + 1.1rem); z-index: 1; padding: 1.5rem; background: #fff; border-radius: 1rem; box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.3); }
.view-comment-list .comment_sttemnt ul { display: flex; }
.view-comment-list .comment_sttemnt li { display: flex; align-items: center; margin-right: 1rem; font-size: 1.6rem; }
.view-comment-list .comment_sttemnt ul input { top: 0; margin: 0 1rem 0 0; }
.view-comment-list .comment_sttemnt .btn05 { width: 100%; margin: 1rem 0 0 0; }

.view-comment-reply-write { display: none; margin-top: 2rem; padding: 2rem; background: #fff; border: 1px solid #e1e1e1; border-radius: 0.3rem; }
.view-comment-reply-write .name { display: flex; align-items: center; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid #e0e0e0; }
.view-comment-reply-write .name::before { content: ''; display: block; width: 2.5rem; height: 2.5rem; margin-right: 1rem; background: #fff url('./images/ic-reply.png') no-repeat center; border: 1px solid #d7d7d7; border-radius: 100%; }
.view-comment-reply-write .name label,
.view-comment-reply-write .name input { font-size: 1.5rem; }
.view-comment-reply-write .name input { margin-left: 1rem; }
.view-comment-reply-write .comment { padding-left: 0; }
.view-comment-reply-write .comment-text textarea { width: 100%; padding: 1rem; border: 1px solid #cccccc; border-radius: 0.5rem; color: #666; }
.view-comment-reply-write .small-btn-box input { display: inline-flex; height: 3rem; padding: 0 1rem; background: #fff; border: 1px solid #0d5dbe; border-radius: 0.5rem; font-size: 1.4rem; color: #0d5dbe; }

@media screen and (max-width: 1100px) {
    .view-comment { padding: 3rem; }
}

/* =========================================================
   [공통] 답글 
========================================================= */
.view-answer { position: relative; margin-top: 5rem; background: #f5f5f5; border: 1px solid #cccccc; }
.view-answer::after { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: #575050; }
.view-answer .answer-title { display: flex; align-items: center; padding: 3rem 5rem; background: #fff; }
.view-answer .answer-title::before { content: ''; display: block; width: 5rem; height: 5rem; margin-right: 2rem; background: #302a6c url('./images/ic-reply2.png') no-repeat center; border-radius: 100%; }
.view-answer .answer-title .title { font-family: pb; font-size: 2rem; line-height: 1.2; color: #121212; }
.view-answer .answer-title .answer-info { font-family: pr; font-size: 1.5rem; color: #777777; }
.view-answer .answer-title .answer-info span { position: relative; margin-right: 1.5rem; padding-right: 1.5rem; }
.view-answer .answer-title .answer-info span::after { content: ''; position: absolute; right: 0; top: 0.4rem; width: 1px; height: 1rem; background: #e5e5e5; }
.view-answer .answer-title .answer-info span:last-child::after { display: none; }
.view-answer .answer { padding: 3rem 5rem; font-family: pr; font-size: 1.7rem; color: #333333; }
.view-answer .row { padding: 2rem 5rem; background: #fff; border-top: 1px solid #c3c3c3; }
.view-answer .row .title { display: none; }
.view-answer .row a { display: inline-block; padding: 1rem 0 1rem 3.5rem; background: url('./images/ic-file.png') no-repeat left center; font-family: pr; font-size: 1.5rem; color: #333333; }
.view-answer .row span { position: relative; }
.view-answer .row span::after { content: ''; position: absolute; left: 0; bottom: -0.2rem; width: 0; height: 1px; background: #000; transition: width 0.35s; }
.view-answer .row a:hover span::after { width: 100%; }
.view-answer .flag { display: none; }

@media screen and (max-width: 1100px) {
    .view-answer .answer-title { padding: 3rem; }
    .view-answer .answer { padding: 3rem; }
    .view-answer .row { padding: 2rem 3rem; }
}

/* =========================================================
   [공통] 비밀번호 딤 
========================================================= */
.password_check_view { display: none; }
.password_check_view .dim { position: fixed; left: 0; top: 0; z-index: 200; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.password_check_view .box { position: relative; padding: 5rem; background: #fff; border-radius: 1rem; }
.password_check_view input { padding: 1.5rem; border: 1px solid #d1d1d1; border-radius: 0.5rem; }
.password_check_view .btn05 { width: 100%; margin: 2rem 0 0 0; }
.password_check_view .close { display: block; position: absolute; right: 2rem; top: 2rem; width: 1.5rem; height: 1.5rem; background: url('./images/ic-reply-del.png') no-repeat center; text-indent: -99999rem; }

/* =========================================================
   글쓰기 - write
========================================================= */
@charset "utf-8";

/* =========================================================
   글쓰기 - write (모던 라운드 폼 스타일)
========================================================= */
/* 1. 전체 폼 래퍼 */
.resist{margin-bottom:5rem;}
.writeForm { background: #f8fafc; border-radius: 2rem; padding: 4rem 5rem; border: 1px solid #e2e8f0;}

/* 2. 폼 행(Row) 공통 구조 */
.writeForm .artclForm { display: flex; align-items: flex-start; margin-bottom: 2.5rem; width: 100%; }
.writeForm .artclForm:last-child { margin-bottom: 0; }
.writeForm .artclForm.total { flex-direction: column; padding: 0; border: none; }

/* 멀티 폼 (링크1, 링크2 등 묶음 처리) */
.writeForm .multiForm {gap: 2.5rem; }
.writeForm .multiForm .form_row { display: flex; width: 100%; align-items: center; }

/* 3. 라벨 (제목, 작성자 등) */
.writeForm .artclLabel { display: flex; align-items: center; flex-shrink: 0; width: 12rem; font-size: 1.8rem; font-weight: 500; color: #1e293b; min-height: 6rem; }
.writeForm .artclLabel.hidden { display: none; }
/* 필수 입력 마크 (레드 닷) */
.writeForm .artclLabel .must { display: inline-block; width: 0.6rem; height: 0.6rem; margin-left: 0.8rem; background: #e94747; border-radius: 50%; text-indent: -99999rem; vertical-align: top; margin-top: 0.4rem; }

/* 4. 입력 영역 래퍼 */
.writeForm .artclInsert { flex-grow: 1; display: flex; align-items: center; font-size: 1.6rem; color: #333; width: 100%; position: relative; flex-wrap: wrap; gap: 1rem; }
.writeForm .total .artclInsert { padding: 1.5rem 0 0 0; }
.writeForm .attch .artclInsert { flex-direction: column; align-items: flex-start; }

/* 5. 텍스트 인풋 (알약 형태) */
.writeForm .artclInsert input[type="text"] { width: 100%; height: 6rem; padding: 0 3rem; font-size: 1.6rem; color: #1e293b; font-weight: 500; border: 1px solid #cbd5e1; outline: none; background: #fff; border-radius: 6rem; transition: all 0.3s ease; flex: 1; }
.writeForm .artclInsert input[type="text"]:hover,
.writeForm .artclInsert input[type="text"]:focus { border-color: #005FDE; box-shadow: 0 0.4rem 1.2rem rgba(0, 95, 222, 0.08); }

/* 6. 게시물 옵션 (체크박스 스위치) */
.writeForm .artclInsert .switch ul { display: flex; align-items: center; flex-wrap: wrap; gap: 2.5rem; height: 6rem; }
.writeForm .artclInsert .switch li { display: flex; align-items: center; gap: 0.8rem; font-size: 1.6rem; font-weight: 500; color: #475569; cursor: pointer; }
.writeForm .artclInsert .switch input[type="checkbox"] { width: 2.2rem; height: 2.2rem; cursor: pointer; accent-color: #005FDE; margin: 0; }
.writeForm .artclInsert .switch label { cursor: pointer; }
.writeForm .artclInsert .switch label.del{color: #666;font-size: 1.3rem;}
.writeForm .artclInsert .switch label.del i{display: inline-block;background: #cc1a1a;padding: .3rem 1rem;border-radius: 0.5rem;font-size: 1.2rem;color: #fff;margin-left: 1rem;}

/* 7. 글 내용 (에디터/텍스트에리어) */
.writeForm .artclInsert ._w_100per { width: 100%; }
.writeForm .artclInsert textarea { width: 100%; padding: 2.5rem 3rem; border: 1px solid #cbd5e1; border-radius: 2rem; font-size: 1.6rem; color: #1e293b; background: #fff; transition: all 0.3s; min-height: 30rem; resize: vertical; outline: none; }
.writeForm .artclInsert textarea:focus { border-color: #005FDE; }

/* 8. 파일 첨부 (가상 선택자로 디자인 커스텀) */
.writeForm .artclInsert .flex_row { display: flex; width: 100%; align-items: center; }
.writeForm .artclInsert input[type="file"] {display: block; border: 1px solid #cbd5e1;border-radius: 6rem;background: #fff;font-size: 1.5rem;color: #64748b;cursor: pointer;padding: 0.3rem;transition: border-color 0.3s;}
.writeForm .artclInsert input[type="file"]:hover { border-color: #005FDE; }
.writeForm .artclInsert input[type="file"]::file-selector-button { height: 5.2rem; padding: 0 3rem; background: #005FDE; color: #fff; border: none; border-radius: 6rem; font-size: 1.5rem; font-weight: 600; cursor: pointer; margin-right: 2rem; transition: background 0.3s; }
.writeForm .artclInsert input[type="file"]::file-selector-button:hover { background: #004bbb; }

/* 9. 임시저장 버튼 및 팝업 (포지셔닝 최적화) */
.writeForm .autosave-area { position: relative; display: flex; align-items: center; }
#btn_autosave { height: 6rem; padding: 0 2.5rem; background: #fff; border: 1px solid #cbd5e1; border-radius: 6rem; font-size: 1.5rem; font-weight: 600; color: #475569; cursor: pointer; transition: all 0.3s; }
#btn_autosave:hover { border-color: #005FDE; color: #005FDE; }
#btn_autosave span { background: #e94747; color: #fff; padding: 0.2rem 0.8rem; border-radius: 2rem; margin-left: 0.5rem; font-size: 1.3rem; }

#autosave_pop { position: absolute; right: 0; top: 7rem; background: #fff; border: 1px solid #cbd5e1; box-shadow: 0 1rem 3rem rgba(0,0,0,0.1); border-radius: 1.5rem; padding: 2.5rem; min-width: 40rem; z-index: 100; display: none; }
#autosave_pop strong { font-size: 1.8rem; font-weight: 700; padding-bottom: 1.5rem; margin-bottom: 1.5rem; display: block; border-bottom: 1px solid #e2e8f0; color: #1e293b; }
#autosave_pop ul li { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; border-bottom: 1px dashed #e2e8f0; padding-bottom: 1rem; }
#autosave_pop ul li a { color: #64748b; font-size: 1.4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; transition: color 0.3s; }
#autosave_pop ul li a:hover { color: #005FDE; }
#autosave_pop ul li span { font-size: 1.3rem; color: #94a3b8; display: flex; align-items: center; gap: 1rem; }
#autosave_pop ul li span button { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; padding: 0.4rem 1rem; border-radius: 0.5rem; font-size: 1.2rem; cursor: pointer; transition: all 0.3s; }
#autosave_pop ul li span button:hover { background: #e94747; color: #fff; border-color: #e94747; }
#autosave_pop .btn-pop-close { width: 100%; height: 4.5rem; background: #f1f5f9; border: none; border-radius: 0.8rem; font-size: 1.5rem; font-weight: 600; color: #475569; cursor: pointer; margin-top: 1.5rem; }

/* 10. 글자 수 카운트 및 부가 텍스트 */
.writeForm .align_r { text-align: right; margin-top: 1rem; }
.writeForm .emTxt { font-size: 1.4rem; color: #64748b; position: relative; padding-left: 1.6rem; }
.writeForm .emTxt::before { content: '*'; position: absolute; left: 0; top: 0.2rem; color: #e94747; font-weight: 700; font-size: 1.6rem; }

/* =========================================================
   반응형 (Responsive)
========================================================= */
@media screen and (max-width: 1200px) {
    .writeForm { padding: 3rem 4rem; }
    .writeForm .artclLabel { width: 14rem; font-size: 1.7rem; }
}

@media screen and (max-width: 800px) {
    .writeForm { padding: 2.5rem 2rem; border-radius: 1.5rem; }
    .writeForm .artclForm { flex-direction: column; align-items: flex-start; margin-bottom: 2rem; }
    .writeForm .multiForm .form_row { flex-direction: column; align-items: flex-start; }
    .writeForm .artclLabel { width: 100%; min-height: auto; font-size: 1.6rem; margin-bottom: 0.8rem; }
    
    .writeForm .artclInsert input[type="text"],
    .writeForm .artclInsert input[type="file"] { height: 5rem; padding: 0 2rem; font-size: 1.5rem; line-height: 4.8rem; }
    .writeForm .artclInsert input[type="file"]::file-selector-button { height: 4.2rem; padding: 0 2rem; font-size: 1.4rem; }
    
    .writeForm .artclInsert .switch ul { height: auto; gap: 1.5rem; }
    .writeForm .artclInsert textarea { padding: 2rem; border-radius: 1.5rem; min-height: 20rem; }
    
    #btn_autosave { height: 5rem; font-size: 1.4rem; }
    #autosave_pop { min-width: 100%; width: 100%; right: auto; left: 0; padding: 2rem; }
}

/* =========================================================
   임시저장 
========================================================= */
#autosave_pop { position: absolute; right: 0; background: #ebebeb; border: 1px solid #ddd; padding: 2rem; top: 4rem; min-width: 46rem; display: none; }
#autosave_pop strong { font-size: 2rem; font-weight: 700; padding-bottom: 1rem; margin-bottom: 1rem; display: block; border-bottom: 1px solid #ddd; }
#autosave_pop ul { display: flex; flex-direction: column; }
#autosave_pop ul li { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
#autosave_pop ul li a { color: #666; width: 100%; font-size: 1.5rem; }
#autosave_pop ul li span { width: 15rem; font-size: 1.4rem; display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
#autosave_pop ul li span button { background: #e94747; color: #fff; font-size: 1.2rem; padding: 0.5rem 1rem; border-radius: 0.5rem; }

/* =========================================================
   유틸리티 (Flex, Gap, Point 등)
========================================================= */
.flex_column { flex-direction: column; align-items: flex-start; gap: 0.5rem; } 
.flex_row {display: flex;align-items: center;gap: 1.5rem;flex-wrap: wrap;}
.flex_a_center { justify-content: center; }
.flex_a_right { justify-content: right; }
.flex_a_left { justify-content: flex-start; }
.flex_a_space { justify-content: space-between; }
.noGap { gap: 0; }
.gap10 { gap: 1rem; }
.gap20 { gap: 2rem; }

#board-wrap .emTxt { position: relative; padding-left: 1.2rem; font-size: 1.5rem; font-weight: 400; }
#board-wrap .emTxt:before { content: ''; width: 1rem; height: 1rem; background: url('./images/ic-must.png') left center no-repeat; display: block; position: absolute; left: 0; top: 0.6rem; }

/* =========================================================
   테이블 입력 폼
========================================================= */
#board-wrap ._inputTable { position: relative; }
#board-wrap ._inputTable:after { content: ''; position: absolute; right: 0; top: 0; width: 1px; height: 100%; background: #fff; }
#board-wrap ._inputTable table { position: relative; border-top: 1px solid #005baa; }
#board-wrap ._inputTable tbody { display: table-header-group; }
#board-wrap ._inputTable tbody th { background: #bdbdbd; }
#board-wrap ._inputTable th { background: #f9f9f9; font-weight: 400; color: #333; }
#board-wrap ._inputTable th,
#board-wrap ._inputTable td { padding: 0.5rem; border-bottom: 0.1rem solid #e1e1e1; font-size: 1.5rem; border-right: 1px solid #e1e1e1; text-align: center; }
#board-wrap ._inputTable td input,
#board-wrap ._inputTable td select { width: 100%; min-width: 100%; height: 3.5rem !important; }

/* =========================================================
   기타 공통 스타일
========================================================= */
.no-data { color: #555; }
.writeForm .alignC { text-align: center; }

#board-wrap .bbs_l_title { font-size: 4rem; color: #222; text-align: center; display: block; margin-bottom: 3rem; }
#board-wrap .bbs_m_title { font-size: 2rem; font-weight: 500; margin-bottom: 2rem; color: #000; }