/* =========================================================
   게시판 목록·상세 (공지·이벤트 등, board/list.html · board/view.html) dial 2026-11-12
   - CSS 만 바꿈. 마크업·글쓰기·검색 동작은 그대로
   - 로그인·장바구니와 같은 톤: 진한 윗선, 연회색 표 머리, 둥근 검색칸·버튼, 현재 페이지 파랑
   ========================================================= */
.board_zone_sec { font-family: Pretendard, "Noto Sans KR", sans-serif; }
.board_zone_sec .board_zone_tit { border-bottom: 0 !important; }
.board_zone_sec .board_zone_tit h2 { font-size: 26px !important; font-weight: 800 !important; color: #222 !important; letter-spacing: -0.5px; }

/* 목록 표 */
.board_zone_sec .board_list_table { border-top: 1px solid #222 !important; }
.board_zone_sec .board_list_table thead th { height: 44px; background: #f7f8fa !important; color: #666 !important; font-size: 13px !important; font-weight: 600 !important; border-bottom: 1px solid #eee !important; }
.board_zone_sec .board_list_table tbody td { height: 56px; border-bottom: 1px solid #eee !important; color: #888; font-size: 13px; }
/* (11-13 디자인 QA 25번) FAQ 펼친 답변 줄(tr.toggle_faq)은 빼고 — 답변 본문 안 버튼형 링크(남색 바탕·흰 글자)까지 검정 글자로 덮어 안 보이던 것 */
.board_zone_sec .board_list_table tbody tr:not(.toggle_faq) td.board_tit a,
.board_zone_sec .board_list_table tbody tr:not(.toggle_faq) td a { color: #222 !important; font-size: 15px; }
.board_zone_sec .board_list_table tbody tr:not(.toggle_faq):hover td a { color: #1798c0 !important; }
/* 공지글이 없는 게시판(이벤트 등)에 빈 표 머리만 남던 것 숨김 */
.board_zone_sec .board_zone_cont:has(.board_list_table):not(:has(.board_list_table tbody tr)) { display: none; }

/* 이벤트 목록 */
.board_zone_sec .board_hot_list { border: 0 !important; padding: 0 0 12px !important; }
.board_zone_sec .board_hot_list ul li a { display: inline-block; padding: 6px 14px; border: 1px solid #e3e3e3; border-radius: 16px; color: #555 !important; font-size: 13px; text-decoration: none !important; }
.board_zone_sec .board_hot_list ul li.on a, .board_zone_sec .board_hot_list ul li a.on { border-color: #1798c0; background: #f2f8fb; color: #1798c0 !important; font-weight: 700; }
@media (max-width: 769px) {
    /* 모바일은 스킨이 탭을 1/3 칸으로 나눠서, 글자가 잘리지 않게 칸을 꽉 채움 */
    .board_zone_sec .board_hot_list ul li a { display: block; padding: 7px 4px; font-size: 12px; text-align: center; white-space: nowrap; }
}
.board_zone_sec .event_list li { border-bottom: 1px solid #eee !important; }
.board_zone_sec .event_list .board_img img { border-radius: 12px; }
.board_zone_sec .event_list .board_tit strong { font-size: 17px; font-weight: 700; color: #222; }

/* 페이지 번호 */
.board_zone_sec .pagination li span, .board_zone_sec .pagination li a { min-width: 32px; height: 32px; line-height: 32px; border-radius: 8px !important; }
.board_zone_sec .pagination li.on span, .board_zone_sec .pagination li.on a { background: #1798c0 !important; border-color: #1798c0 !important; color: #fff !important; font-weight: 700; }

/* 검색 */
.board_zone_sec .board_search_box { border: 0 !important; background: #f7f8fa !important; border-radius: 12px; }
.board_zone_sec .board_search_box input.text { height: 40px !important; padding: 0 12px !important; border: 1px solid #d9d9d9 !important; border-radius: 8px !important; background: #fff; box-sizing: border-box; }
.board_zone_sec .board_search_box .chosen-container .chosen-single { height: 40px !important; line-height: 38px !important; border: 1px solid #d9d9d9 !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; }
.board_zone_sec .board_search_box .btn_board_search { height: 40px !important; padding: 0 16px !important; border: 0 !important; border-radius: 8px !important; background: #222 !important; color: #fff !important; font-weight: 600; }

/* 상세 */
.board_zone_sec .board_view_tit { border-top: 1px solid #222 !important; background: #fff !important; }
.board_zone_sec .board_view_tit h3 { font-size: 20px !important; font-weight: 700 !important; color: #222 !important; line-height: 1.5; }
.board_zone_sec .board_view_info { color: #999 !important; font-size: 13px; border-bottom: 1px solid #eee !important; }
.board_zone_sec .board_view_content { font-size: 15px; line-height: 1.8; color: #333; }
.board_zone_sec .btn_board_list { height: 40px !important; padding: 0 20px !important; border: 1px solid #222 !important; border-radius: 8px !important; background: #fff !important; color: #222 !important; font-weight: 600; }

/* =========================================================
   게시판 글쓰기 (1:1 문의 등, board/write.html — 고객센터 1:1문의는 이 화면을 iframe 으로 띄움) 2026-11-12
   - PC: 제목 칸 회색·입력칸 44px 둥글게·본문 칸 전체 폭 / 모바일: 제목 위·입력칸 아래 전체 폭
   - 버튼: 이전(흰) · 저장(파랑)
   ========================================================= */
.board_zone_sec:has(.board_write_table) { font-family: Pretendard, "Noto Sans KR", sans-serif; }
.board_zone_sec:has(.board_write_table) .board_zone_tit h2 { font-size: 22px !important; font-weight: 700 !important; color: #222 !important; }
.board_write_table { border-top: 1px solid #222 !important; }
.board_write_table th { width: 130px; padding: 14px 16px !important; border-bottom: 1px solid #eee !important; background: #f7f8fa !important; text-align: left !important; vertical-align: top; font-size: 13px !important; font-weight: 600 !important; line-height: 44px; color: #555 !important; }
.board_write_table td { padding: 14px 16px !important; border-bottom: 1px solid #eee !important; font-size: 14px !important; color: #333; }
.board_write_table input[type="text"], .board_write_table input[type="password"], .board_write_table select { box-sizing: border-box; height: 44px !important; padding: 0 12px !important; border: 1px solid #d9d9d9 !important; border-radius: 8px !important; background-color: #fff; font-size: 14px !important; }
.board_write_table input[name="subject"] { width: 100% !important; }
.board_write_table select { min-width: 200px; }
/* 본문: 스킨이 style 로 min-width:510px 를 넣어 모바일에서 옆으로 넘치던 것 */
.board_write_table textarea { box-sizing: border-box; width: 100% !important; min-width: 0 !important; max-width: 100%; min-height: 220px; padding: 12px 14px !important; border: 1px solid #d9d9d9 !important; border-radius: 8px !important; font-size: 14px !important; line-height: 1.6; }
.board_write_table input:focus, .board_write_table select:focus, .board_write_table textarea:focus { border-color: #1798c0 !important; outline: 0; }
/* 첨부파일: 파일 이름 칸 + 찾아보기 + 추가 한 줄 (찾아보기 위에 투명한 파일 선택 칸을 겹쳐 그대로 누르면 열림) */
.board_write_table .file_upload_sec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.board_write_table .file_upload_sec .file_text { flex: 1 1 200px; min-width: 0; }
.board_write_table .btn_upload_box, .board_write_table .btn_gray_list { display: inline-block; width: auto !important; position: relative; }
.board_write_table .btn_upload, .board_write_table .btn_gray_big, .board_write_table .btn_gray_small { width: auto !important; min-width: 0 !important; height: 44px !important; padding: 0 14px !important; border: 1px solid #d9d9d9 !important; border-radius: 8px !important; background: #fff !important; color: #555 !important; font-size: 13px !important; white-space: nowrap; }
.board_write_table .btn_upload em { color: inherit !important; font-style: normal; }
.board_write_table .btn_upload_box .file { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; cursor: pointer; }
/* 자동등록방지 */
.board_write_table .capcha { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.board_write_table .capcha_img img { border: 1px solid #eee; border-radius: 8px; }
.board_write_table .capcha_txt p { margin: 0 0 8px !important; font-size: 12px !important; line-height: 1.5; color: #888 !important; }
.board_write_table .capcha_txt .captcha { width: 200px !important; }
/* 아래 버튼 */
.board_zone_sec:has(.board_write_table) .btn_center_box { display: flex; justify-content: center; gap: 8px; margin: 28px 0 0 !important; }
.board_zone_sec:has(.board_write_table) .btn_center_box button { width: 160px !important; height: 50px !important; margin: 0 !important; border-radius: 10px !important; font-size: 15px !important; font-weight: 700 !important; }
.board_zone_sec:has(.board_write_table) .btn_before { border: 1px solid #d9d9d9 !important; background: #fff !important; color: #444 !important; }
.board_zone_sec:has(.board_write_table) .btn_write_ok { border: 1px solid #1798c0 !important; background: #1798c0 !important; color: #fff !important; }

@media (max-width: 769px) {
    /* 숨긴 줄(style="display:none"·.dn)은 건드리지 않음 */
    .board_write_table, .board_write_table tbody, .board_write_table tr:not([style*="none"]):not(.dn) { display: block !important; width: 100% !important; }
    .board_write_table colgroup { display: none !important; }
    .board_write_table tr { padding: 0 0 12px; border-bottom: 1px solid #f2f2f2; background: none !important; }
    .board_write_table th { display: block !important; width: auto !important; padding: 14px 0 6px !important; border: 0 !important; background: none !important; line-height: 1.4; font-size: 13px !important; color: #444 !important; }
    .board_write_table td { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; }
    .board_write_table select { width: 100% !important; }
    .board_write_table textarea { min-height: 180px; }
    .board_write_table .capcha_txt .captcha { width: 100% !important; }
    .board_zone_sec:has(.board_write_table) .btn_center_box button { flex: 1 1 0; width: auto !important; }
}

/* 이벤트 게시판 위 탭(전체·진행중·종료) (2026-11-12): 스킨이 지금 고른 탭을 표시하지 않아(클래스 없음) 밑줄 탭 대신 둥근 칩 3개
   — li::before/::after 로 그리던 칸 선은 숨김 */
.board_hot_list > ul { display: flex !important; gap: 8px; margin: 0 0 20px !important; padding: 0 !important; border: 0 !important; }
.board_hot_list > ul > li { flex: 0 0 auto; float: none !important; width: auto !important; margin: 0 !important; border: 0 !important; background: none !important; }
.board_hot_list > ul > li::before, .board_hot_list > ul > li::after { display: none !important; }
.board_hot_list > ul > li > a { display: block !important; height: 38px !important; line-height: 38px !important; padding: 0 16px !important; border: 1px solid #d9d9d9 !important; border-radius: 19px !important; background: #fff !important; color: #444 !important; font-size: 14px !important; font-weight: 500; white-space: nowrap; text-decoration: none !important; }
.board_hot_list > ul > li > a:hover { border-color: #1798c0 !important; color: #1798c0 !important; }
.board_hot_list > ul > li > a span { color: inherit !important; font-size: inherit !important; }
@media (max-width: 769px) { .board_hot_list > ul { gap: 6px; } .board_hot_list > ul > li > a { height: 34px !important; line-height: 34px !important; padding: 0 12px !important; font-size: 13px !important; } }
/* 디자인 QA 24번 (2026-11-13) FAQ 구분 버튼 글자 세로 가운데 — 고도몰 기본(service.css)이 글자(span)를 5px 위로 올려 둠(top:-5px) */
.board_hot_list > ul > li > a span { position: static !important; top: auto !important; }
/* 디자인 QA 25번 (2026-11-13) FAQ 답변 본문에 붙여 넣으며 딸려 온 흰 글자 바탕(style 의 background white)이 회색 답변 칸에서 흰 띠로 보이던 것 → 투명.
   글 내용·다른 색 바탕(남색 버튼 등)은 그대로 */
.toggle_faq [style*="background-color: rgb(255, 255, 255)"],
.toggle_faq [style*="background: rgb(255, 255, 255)"] { background-color: transparent !important; }
