/* ============================================================
   AiRMONO 게시판 스킨 — 흑백 미니멀 (jusomoa.aply.biz 와 같은 디자인 언어)
   XEDITION 게시판 스킨의 마크업을 그대로 쓰고 모양만 바꾼다.
   ============================================================ */
.board { --b-ink: #000; --b-text: #1d1d1d; --b-muted: #6e6e6e; --b-line: #d2d2d2; --b-line-soft: #e1e1e1; --b-band: #f2f2f2;
  --b-accent-bg: #e8e4df; --b-accent-line: #d8d2cb; --b-accent-hover: #ddd7d0;
  color: var(--b-text); font-size: 15px; line-height: 1.65; word-break: keep-all; }
.board, .board * { box-sizing: border-box; }
.board a { color: #000; text-decoration: none; }
.board a:hover { color: var(--b-muted); text-decoration: underline; text-underline-offset: 3px; }
.board i[class^="xi-"], .board i[class*=" xi-"] { display: none; } /* 아이콘 없이 글자로만 */
.board table { border-collapse: collapse; border-spacing: 0; width: 100%; border: 0; }

/* ── 버튼 ── */
.board .btn, .board .btn_insert, .board input.btn, .board button.btn, .board .toggleFile {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: auto;
  font: inherit; font-size: .9rem; line-height: 1.2; letter-spacing: .01em;
  padding: .65rem 1.3rem; border: 1px solid #000; border-radius: 0; background: #fff; color: #000 !important;
  cursor: pointer; text-decoration: none !important; white-space: nowrap; box-shadow: none; text-shadow: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.board .btn:hover, .board input.btn:hover, .board button.btn:hover, .board .toggleFile:hover { background: #000; color: #fff !important; }
.board .btn_insert { background: var(--b-accent-bg); border-color: var(--b-accent-line); color: var(--b-text) !important; padding: .75rem 1.9rem; }
.board .btn_insert:hover { background: var(--b-accent-hover); border-color: #c9c2ba; }
.board .btnArea { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.board .btnArea .etc { margin-left: auto; }

/* ── 입력 ── */
.board .iText, .board input[type=text], .board input[type=password], .board select, .board textarea {
  font: inherit; font-size: 15px; color: var(--b-text); background: #fff; padding: .6rem .8rem; border: 1px solid var(--b-line); border-radius: 0; box-shadow: none; height: auto; max-width: 100%;
}
.board .iText:focus, .board input[type=text]:focus, .board input[type=password]:focus, .board select:focus, .board textarea:focus { outline: 0; border-color: #000; color: #000; }
.board select { -webkit-appearance: none; appearance: none; padding-right: 2rem; background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-width='1.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right .6rem center; background-size: 12px; }
.board .iCheck, .board input[type=checkbox], .board input[type=radio] { width: 16px; height: 16px; margin: 0 4px 0 0; vertical-align: -3px; accent-color: #000; }
.board label { color: var(--b-text); font-size: 14px; margin-right: 14px; }
.board .item { position: relative; display: inline-block; margin: 0 8px 8px 0; vertical-align: top; }
.board .item .iLabel { left: .8rem; top: .62rem; color: #b2b2b2; font-size: 14px; margin: 0; pointer-events: none; white-space: nowrap; }

/* ── 분류 탭 ── */
.board .cTab { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.board .cTab > li { position: relative; }
.board .cTab > li > a { display: block; padding: 8px 14px; border: 1px solid var(--b-line); font-size: 14px; color: #000; }
.board .cTab > li > a:hover { background: #000; border-color: #000; color: #fff; text-decoration: none; }
.board .cTab > li.on > a { background: #000; border-color: #000; color: #fff; }
.board .cTab > li > ul { list-style: none; margin: 0; padding: 0; display: none; position: absolute; top: 100%; left: 0; z-index: 10; min-width: 100%; background: #fff; border: 1px solid #000; }
.board .cTab > li:hover > ul, .board .cTab > li:focus-within > ul { display: block; }
.board .cTab > li > ul a { display: block; padding: 7px 14px; font-size: 13px; white-space: nowrap; color: var(--b-text); }
.board .cTab > li > ul a:hover, .board .cTab > li > ul li.on_ a { background: #000; color: #fff; text-decoration: none; }

/* ── 목록 ── */
.board .board_list { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.board .board_list table { border-top: 1px solid #000; }
.board .board_list thead th { color: #000; font-weight: 500; font-size: 13px; letter-spacing: .02em; text-align: center; padding: .9rem .6rem; border-bottom: 1px solid #000; white-space: nowrap; background: #fff; }
.board .board_list thead th.title { text-align: left; }
.board .board_list thead th a { color: #000; }
.board .board_list td { padding: 1rem .6rem; border-bottom: 1px solid var(--b-line-soft); font-size: 14px; vertical-align: middle; text-align: center; color: var(--b-muted); white-space: nowrap; }
.board .board_list td.title { text-align: left; white-space: normal; color: #000; font-size: 15px; width: 100%; }
.board .board_list td.title a { color: #000; }
.board .board_list td.title img { vertical-align: middle; margin-left: 4px; }
.board .board_list td.author, .board .board_list td.author a { color: var(--b-text); }
.board .board_list .replyNum, .board .board_list .trackbackNum { margin-left: 6px; font-family: "Montserrat", sans-serif; font-size: 12px; color: var(--b-muted) !important; }
.board .board_list tbody tr:hover > td { background: #f8f8f8; }
.board .board_list tr.notice > td { background: var(--b-band); }
.board .board_list td.notice { font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #000; }
.board .board_list td.no { font-variant-numeric: tabular-nums; }
.board .board_list .no_article td { padding: 48px 0; color: var(--b-muted); }
@media (max-width: 640px) {
  .board .board_list thead { display: none; } /* 제목·날짜만 남는 좁은 화면에서는 머리행 없이 */
  .board .board_list td:not(.title):not(.time) { display: none; }
  .board .board_list td.time { font-size: 12px; }
}

/* 목록 하단: 버튼 · 검색 · 쪽 번호 */
.board .list_footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.board .list_footer .btnArea { order: 2; }
.board .board_search { order: 1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.board .board_search .search_input input { width: 220px; }
@media (max-width: 480px) { .board .board_search .search_input, .board .board_search .search_input input { width: 100%; flex: 1 1 100%; } }
.board .pagination { order: 3; width: 100%; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 16px; }
.board .pagination a, .board .pagination strong { min-width: 38px; text-align: center; padding: 7px 11px; border: 1px solid var(--b-line); color: #000; background: #fff; font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }
.board .pagination a:hover { border-color: #000; text-decoration: none; }
.board .pagination strong { background: #000; border-color: #000; color: #fff; }
.board .pagination .direction { color: var(--b-muted); }
.board .pagination .direction span { display: none; }

/* ── 글 읽기 ── */
.board .board_read { margin: 0 0 56px; }
.board .read_header { border-top: 1px solid #000; border-bottom: 1px solid var(--b-line); padding: 28px 0 20px; }
.board .read_header h1 { margin: 0 0 12px; font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 400; line-height: 1.4; letter-spacing: -0.02em; color: #000; overflow-wrap: anywhere; }
.board .read_header h1 a { color: #000; }
.board .read_header h1 a:hover { text-decoration: none; color: #000; }
.board .read_header .category { display: inline-block; vertical-align: middle; margin: 0 8px 4px 0; padding: 2px 8px; border: 1px solid var(--b-line); font-size: 12px; color: var(--b-muted) !important; letter-spacing: 0; }
.board .read_header .meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--b-muted); font-variant-numeric: tabular-nums; }
.board .read_header .meta a { color: var(--b-text); }
.board .exOut { margin: 20px 0 0; }
.board .exOut table, .board .exForm table { border-top: 1px solid #000; }
.board .exOut th, .board .exForm th { width: 140px; text-align: left; font-weight: 400; font-size: 14px; color: var(--b-muted); padding: 12px 12px 12px 0; border-bottom: 1px solid var(--b-line-soft); vertical-align: top; }
.board .exOut td, .board .exForm td { padding: 12px 0; border-bottom: 1px solid var(--b-line-soft); font-size: 15px; color: #000; }
.board .exForm caption { caption-side: bottom; text-align: right; font-size: 12px; color: var(--b-muted); padding-top: 6px; }
.board .exForm em { color: #8a1f2d; font-style: normal; }
.board .read_body { padding: 36px 0 40px; min-height: 120px; overflow-wrap: anywhere; }
.board .read_body img { max-width: 100%; height: auto; }
.board .secretForm p { margin: 0 0 10px; }
.board .secretForm input.iText { margin-right: 8px; }
.board .read_footer { border-top: 1px solid var(--b-line); padding-top: 20px; display: grid; gap: 16px; }
.board .read_footer .sns ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.board .read_footer .sns a { display: inline-block; padding: 6px 12px; border: 1px solid var(--b-line); font-size: 12px; font-family: "Montserrat", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #000; }
.board .read_footer .sns a:hover { background: #000; border-color: #000; color: #fff; text-decoration: none; }
.board .read_footer .sns .twitter::after { content: "X(Twitter)"; }
.board .read_footer .sns .facebook::after { content: "Facebook"; }
.board .read_footer .sns li:has(.google) { display: none; } /* Google+ 서비스 종료 */
.board .fileList .files { list-style: none; margin: 10px 0 0; padding: 12px 16px; background: var(--b-band); display: none; }
.board .fileList .files li { padding: 4px 0; font-size: 14px; }
.board .fileList .fileSize { color: var(--b-muted); font-size: 12px; }
.board .tns { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.board .tns .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.board .tns .tags > span { display: none; }
.board .tns .tag { padding: 3px 10px; border: 1px solid var(--b-line); color: #000; font-size: 12px; }
.board .tns .tag:hover { background: #000; border-color: #000; color: #fff; text-decoration: none; }
.board .tns .action { color: var(--b-muted); }
.board .sign { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--b-band); }
.board .sign .pf { width: 48px; height: 48px; object-fit: cover; }
.board .sign .tx { font-size: 14px; color: var(--b-muted); }

/* ── 댓글 · 엮인글 ── */
.board .feedback { margin: 0 0 48px; }
.board .fbHeader { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; border-bottom: 1px solid #000; padding-bottom: 14px; }
.board .fbHeader h2 { margin: 0; font-size: 1.15rem; font-weight: 400; color: #000; letter-spacing: -0.01em; }
.board .fbHeader h2 em { font-style: normal; font-family: "Montserrat", sans-serif; font-weight: 600; margin-left: 6px; }
.board .trackbackURL { margin: 0; font-size: 12px; color: var(--b-muted); overflow-wrap: anywhere; }
.board .fbList { list-style: none; margin: 0; padding: 0; }
.board .fbItem { padding: 20px 0; border-bottom: 1px solid var(--b-line-soft); }
.board .fbItem.indent { padding-left: 24px; border-left: 2px solid var(--b-line-soft); margin-left: 0; }
.board .fbItem.indent2 { margin-left: 24px; } .board .fbItem.indent3 { margin-left: 48px; } .board .fbItem.indent4, .board .fbItem.indent5, .board .fbItem.indent6 { margin-left: 72px; }
@media (max-width: 640px) { .board .fbItem.indent2, .board .fbItem.indent3, .board .fbItem.indent4, .board .fbItem.indent5, .board .fbItem.indent6 { margin-left: 12px; } }
.board .fbMeta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.board .fbMeta .profile { width: 32px; height: 32px; object-fit: cover; display: inline-block; background: var(--b-band); flex: none; }
.board .fbMeta .author { margin: 0; font-size: 14px; font-weight: 500; color: #000; }
.board .fbMeta .time { margin: 0; font-size: 12px; color: var(--b-muted); font-variant-numeric: tabular-nums; }
.board .fbItem .xe_content { font-size: 15px; line-height: 1.75; }
.board .fbItem .action { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; }
.board .fbItem .action a, .board .fbItem .action span { color: var(--b-muted); }
.board .fbItem .action a:hover { color: #000; }
.board .feedback .pagination { margin: 20px 0 0; }

/* 댓글 쓰기 */
.board .write_comment { margin-top: 24px; padding: 20px; border: 1px solid var(--b-line); background: #fff; }
.board .write_comment::after { content: ""; display: block; clear: both; }
.board .write_comment .write_author { margin: 14px 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.board .context_data { margin: 0 0 20px; padding: 16px 20px; background: var(--b-band); }
.board .context_data .author, .board .context_data .title { margin: 0 0 8px; font-size: 15px; font-weight: 500; }

/* ── 글쓰기 ── */
.board .board_write { border-top: 1px solid #000; padding-top: 24px; }
.board .write_header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 16px; }
.board .write_header .iText { flex: 1 1 320px; font-size: 16px; padding: .75rem .9rem; }
.board .exForm { margin: 0 0 16px; }
.board .write_editor { margin: 0 0 16px; }
.board .write_footer { display: grid; gap: 16px; border-top: 1px solid var(--b-line); padding-top: 16px; }
.board .write_option { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.board .write_author .item .iText { width: auto !important; min-width: 140px; }
.board .write_author .item:last-child .iText { min-width: min(300px, 100%); }
.board .write_footer .btnArea { justify-content: flex-end; }

/* ── 안내 · 비밀번호 · 삭제 확인 ── */
.board .context_message { max-width: 520px; margin: 24px auto; padding: 28px 24px; border: 1px solid var(--b-line); text-align: center; }
.board .context_message h1 { margin: 0 0 20px; font-size: 1.05rem; font-weight: 400; color: #000; line-height: 1.5; }
.board .context_message .btnArea { justify-content: center; }
.board .context_message > .iText { margin: 0 6px 8px 0; }

/* ── 태그 목록 ── */
.board .tagList { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #000; padding-top: 24px; }
.board .tagList a { padding: 6px 12px; border: 1px solid var(--b-line); font-size: 13px; color: var(--b-muted); }
.board .tagList a:hover { background: #000; border-color: #000; color: #fff; text-decoration: none; }
.board .tagList a.rank1 { color: #000; border-color: #000; font-weight: 500; font-size: 15px; }
.board .tagList a.rank2 { color: #000; font-size: 14px; }
.board .tagList a.rank3 { color: var(--b-text); }
.board .tagFooter { margin-top: 24px; }

/* ── 보정: 원래 마크업의 border="1", XE 공통 표 글꼴, 회원 아이콘이 붙은 글쓴이 칸 ── */
.board table, .board th, .board td { font-family: inherit; }
.board .board_list th, .board .board_list td { border-width: 0 0 1px 0; border-style: solid; border-color: var(--b-line-soft); }
.board .board_list thead th { border-bottom-color: #000; }
.board .board_list td.author { min-width: 130px; padding-left: 12px; padding-right: 12px; }
.board .board_list td.author img { vertical-align: -3px; margin-right: 4px; }
.board .board_list td.readNum, .board .board_list td.voteNum { min-width: 64px; font-variant-numeric: tabular-nums; }
.board .board_list td.time { min-width: 96px; font-variant-numeric: tabular-nums; }
.board .exOut th, .board .exOut td, .board .exForm th, .board .exForm td { border-width: 0 0 1px 0; border-style: solid; border-color: var(--b-line-soft); }
/* XE 공통 CSS(xe.min.css)의 .btn !important 고정값 덮어쓰기 */
.board .btn, .board button.btn, .board input.btn { height: auto !important; line-height: 1.2 !important; padding: .65rem 1.3rem !important; background-image: none; filter: none; }
.board .item { display: inline-flex; align-items: center; }
