@charset "utf-8";

/* ═══════════════════════════════════════════
   게시판 스킨 - GeneratePress 스타일
   ═══════════════════════════════════════════ */

/* ── 기본 리셋 ── */
#bo_list { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* ── 카테고리 ── */
#bo_cate { margin-bottom: 20px; }
#bo_cate_ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
#bo_cate_ul li a {
    display: inline-block; padding: 6px 14px; font-size: 13px; color: #555;
    border: 1px solid #ddd; border-radius: 20px; text-decoration: none; transition: all 0.2s;
}
#bo_cate_ul li a:hover, #bo_cate_ul li.on a { color: #1e73be; border-color: #1e73be; background: #f0f7ff; }

/* ── 상단 바 ── */
#bo_btn_top {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; margin-bottom: 10px; border-bottom: 2px solid #222;
}
#bo_list_total { font-size: 13px; color: #888; }
#bo_list_total span { font-weight: 600; color: #333; }

.btn_bo_user { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.btn_bo_user .btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 6px; border: 1px solid #ddd;
    background: #fff; color: #555; font-size: 14px; text-decoration: none; cursor: pointer;
    transition: all 0.15s;
}
.btn_bo_user .btn:hover { border-color: #1e73be; color: #1e73be; }
.more_opt { display: none; position: absolute; right: 0; top: 40px; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.1); z-index: 10; min-width: 120px; }
.more_opt li button { display: block; width: 100%; padding: 8px 14px; border: none; background: none; text-align: left; cursor: pointer; font-size: 13px; }
.more_opt li button:hover { background: #f5f5f5; }

/* ── 카드형 글 목록 ── */
.bo_card_list { }

.bo_card {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 20px 0; border-bottom: 1px solid #eee;
    transition: background 0.15s;
}
.bo_card:first-child { padding-top: 15px; }
.bo_card:hover { background: #fafbfc; }
.bo_card.is_notice { background: #f8f9ff; border-left: 3px solid #1e73be; padding-left: 15px; }

/* 체크박스 */
.card_chk { flex-shrink: 0; padding-top: 4px; }

/* 썸네일 */
.card_thumb {
    flex-shrink: 0; width: 200px; height: 120px;
    border-radius: 8px; overflow: hidden; display: block;
}
.card_thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.3s;
}
.card_thumb:hover img { transform: scale(1.05); }

/* 콘텐츠 */
.card_content { flex: 1; min-width: 0; }

.card_cate {
    display: inline-block; font-size: 12px; font-weight: 600; color: #1e73be;
    text-transform: uppercase; text-decoration: none; margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.card_cate:hover { color: #155a96; }

.card_title {
    font-size: 18px; font-weight: 700; line-height: 1.4; margin: 0 0 8px;
    color: #222;
}
.card_title a { color: inherit; text-decoration: none; }
.card_title a:hover { color: #1e73be; }

.notice_badge {
    display: inline-block; font-size: 11px; font-weight: 700; color: #fff;
    background: #1e73be; padding: 2px 8px; border-radius: 3px; margin-right: 6px;
    vertical-align: middle;
}
.new_icon {
    display: inline-block; font-size: 10px; font-weight: 700; color: #1e73be;
    background: #e8f4fd; padding: 1px 5px; border-radius: 3px; margin-left: 4px;
    vertical-align: middle;
}
.cnt_cmt {
    display: inline-block; font-size: 11px; color: #1e73be;
    background: #e9eff5; padding: 1px 6px; border-radius: 10px; margin-left: 4px;
    vertical-align: middle;
}

.card_desc {
    font-size: 14px; color: #666; line-height: 1.6; margin: 0 0 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.card_meta { font-size: 12px; color: #999; display: flex; gap: 12px; }
.card_meta .meta_author { color: #555; font-weight: 500; }

/* 빈 목록 */
.bo_card_empty { text-align: center; padding: 60px 0; color: #999; font-size: 15px; }

/* ── 페이지네이션 ── */
.pg_wrap { text-align: center; padding: 30px 0 15px; }
.pg_wrap .pg { display: inline-flex; gap: 4px; }
.pg_wrap .pg a, .pg_wrap .pg strong {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 8px; border-radius: 6px;
    font-size: 14px; text-decoration: none; transition: all 0.15s;
}
.pg_wrap .pg a { color: #555; border: 1px solid #ddd; background: #fff; }
.pg_wrap .pg a:hover { border-color: #1e73be; color: #1e73be; }
.pg_wrap .pg strong { color: #fff; background: #1e73be; border: 1px solid #1e73be; }
.pg_wrap .pg .pg_start a, .pg_wrap .pg .pg_prev a, .pg_wrap .pg .pg_next a, .pg_wrap .pg .pg_end a {
    font-size: 12px;
}

/* ── 하단 바 ── */
.bo_fx { display: flex; justify-content: flex-end; padding: 10px 0; }

/* ── 검색 오버레이 ── */
.bo_sch_wrap { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; }
.bo_sch_bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); }
.bo_sch {
    position: relative; z-index: 1; max-width: 500px; margin: 15% auto 0; padding: 30px;
    background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.bo_sch h3 { font-size: 18px; font-weight: 700; margin: 0 0 15px; }
.bo_sch select { padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 10px; font-size: 14px; }
.sch_bar { display: flex; gap: 8px; }
.sch_input {
    flex: 1; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px;
    font-size: 15px; outline: none; transition: border-color 0.2s;
}
.sch_input:focus { border-color: #1e73be; }
.sch_btn {
    padding: 10px 20px; background: #1e73be; color: #fff; border: none;
    border-radius: 6px; cursor: pointer; font-size: 15px;
}
.sch_btn:hover { background: #155a96; }
.bo_sch_cls {
    position: absolute; top: 15px; right: 15px; background: none; border: none;
    font-size: 18px; color: #999; cursor: pointer;
}

/* ── 뷰 페이지 ── */
#bo_v_top { display: none; }
#container_title { display: none; }

/* 본문 시맨틱 태그 */
#bo_v_con h2 { font-size: 22px; font-weight: 700; margin: 35px 0 15px; padding-bottom: 10px; border-bottom: 2px solid #1e73be; color: #222; }
#bo_v_con h3 { font-size: 18px; font-weight: 600; margin: 25px 0 10px; color: #333; }
#bo_v_con p { margin: 0 0 16px; line-height: 1.8; color: #444; }
#bo_v_con ul, #bo_v_con ol { margin: 15px 0; padding-left: 24px; }
#bo_v_con li { margin-bottom: 8px; line-height: 1.7; }
#bo_v_con strong { font-weight: 700; color: #111; }
#bo_v_con em { font-style: italic; color: #555; }
#bo_v_con blockquote {
    border-left: 4px solid #1e73be; background: #f7f8f9; padding: 16px 20px;
    margin: 20px 0; border-radius: 0 6px 6px 0; font-size: 15px; color: #555;
}
#bo_v_con table { width: 100%; border-collapse: collapse; margin: 20px 0; }
#bo_v_con th, #bo_v_con td { border: 1px solid #ddd; padding: 10px 14px; text-align: left; }
#bo_v_con th { background: #f5f7fa; font-weight: 600; }

/* ── 반응형 ── */
@media (max-width: 768px) {
    .bo_card { flex-direction: column; gap: 12px; }
    .card_thumb { width: 100%; height: 180px; }
    .card_title { font-size: 16px; }
    .card_desc { font-size: 13px; }
    .card_meta { flex-wrap: wrap; gap: 8px; }
    .bo_sch { margin: 5% 15px 0; padding: 20px; }
}
@media (max-width: 480px) {
    .card_thumb { height: 150px; }
    .card_title { font-size: 15px; }
}
