@charset "utf-8";
/**
 * gc_basic - 자연으로 Green Circle 스타일 게시판 스킨
 * 홈페이지(메인) 분위기와 통일
 */

/* 테마 색상 (green-theme.css 변수와 동일, 미로드 시 대비) */
#bo_gall.gc-gallery,
#bo_list,
#bo_v,
#bo_w,
#bo_vc {
    --gc-primary: #1e2a3a;
    --gc-primary-dark: #121a24;
    --gc-primary-light: #2c3e50;
    --gc-gold: #b8956a;
    --gc-gold-light: #c9a227;
    --gc-cream: #f5f1ea;
    --gc-border: #e0e6dc;
    --gc-bg: #fafaf8;
}

/* ===== 갤러리 목록 ===== */
#bo_gall h2 { margin: 0; padding: 0; width: 1px; height: 1px; font-size: 0; line-height: 0; overflow: hidden; }
#bo_gall #bo_btn_top { margin: 0 0 20px; overflow: hidden; }
#bo_gall #bo_list_total {
    background: var(--gc-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9em;
    float: left;
    line-height: 1.4;
}
#bo_gall .btn_bo_user { float: right; margin: 0; padding: 0; list-style: none; }
#bo_gall .btn_bo_user li { float: left; margin-left: 8px; }
#bo_gall .btn_b01 { background: var(--gc-primary-light); color: #fff; border: none; padding: 8px 16px; border-radius: 6px; display: inline-block; }
#bo_gall .btn_b01:hover { background: var(--gc-primary); color: #fff; }
#bo_gall .btn_b02 { background: var(--gc-gold); color: #fff; border: none; padding: 0px 16px; border-radius: 6px; display: inline-block; }
#bo_gall .btn_b02:hover { background: var(--gc-gold-light); color: #fff; }
#bo_gall .btn_admin { background: #5a5a5a; color: #fff; border: none; padding: 0px 16px; border-radius: 6px; }
#bo_gall .btn_admin:hover { background: #333; color: #fff; }

#bo_gall #bo_cate {
    background: var(--gc-cream);
    padding: 10px 14px;
    margin: 12px 0 20px;
    border-radius: 8px;
    border: 1px solid var(--gc-border);
}
#bo_gall #bo_cate ul { margin: 0; padding: 0; list-style: none; }
#bo_gall #bo_cate li { display: inline-block; margin: 0 4px 4px 0; }
#bo_gall #bo_cate a { padding: 6px 12px; border-radius: 4px; color: var(--gc-primary); display: block; }
#bo_gall #bo_cate a:hover, #bo_gall #bo_cate #bo_cate_on {
    background: var(--gc-primary);
    color: #fff;
}

/* 갤러리 그리드 */
#bo_gall #gall_ul { margin: 0 -12px 24px; padding: 0; list-style: none; overflow: hidden; }
#bo_gall #gall_ul:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_gall .gall_row .gall_li {
    position: relative;
    float: left;
    padding: 0 12px 24px;
    box-sizing: border-box;
}
#bo_gall .gall_row .col-gn-2 { width: 50%; }
#bo_gall .gall_row .col-gn-3 { width: 33.33333333%; }
#bo_gall .gall_row .col-gn-4 { width: 25%; }
#bo_gall .gall_row .col-gn-5 { width: 20%; }
#bo_gall .gall_row .col-gn-6 { width: 16.66666667%; }
#bo_gall .gall_row .box_clear { clear: both; }

@media (max-width: 992px) {
    #bo_gall .gall_row .col-gn-4 { width: 33.33333333%; }
    #bo_gall .gall_row .col-gn-5 { width: 33.33333333%; }
    #bo_gall .gall_row .col-gn-6 { width: 33.33333333%; }
}
@media (max-width: 768px) {
    #bo_gall .gall_row .col-gn-2,
    #bo_gall .gall_row .col-gn-3,
    #bo_gall .gall_row .col-gn-4,
    #bo_gall .gall_row .col-gn-5,
    #bo_gall .gall_row .col-gn-6 { width: 50%; }
}
@media (max-width: 480px) {
    #bo_gall .gall_row .gall_li { width: 100% !important; padding-left: 12px; padding-right: 12px; }
}

#bo_gall .gall_box {
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
#bo_gall .gall_box:hover { box-shadow: 0 8px 24px rgba(45, 90, 39, 0.12); border-color: var(--gc-primary-light); }
#bo_gall .gall_li.gall_now .gall_box { border-color: var(--gc-primary); box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.2); }
#bo_gall .gall_chk { position: absolute; top: 8px; left: 8px; z-index: 2; }
#bo_gall .gall_chk input { margin: 0; }

#bo_gall .gall_img {
    position: relative;
    overflow: hidden;
    background: var(--gc-cream);
    border-bottom: 1px solid var(--gc-border);
    aspect-ratio: 4/3;
}
#bo_gall .gall_img a, #bo_gall .gall_img .no_image, #bo_gall .gall_img .is_notice { display: block; width: 100%; height: 100%; }
#bo_gall .gall_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}
#bo_gall .gall_img .no_image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
#bo_gall .gall_img .is_notice {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gc-gold);
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

#bo_gall .gall_con { padding: 14px; }
#bo_gall .gall_text_href { margin-bottom: 8px; }
#bo_gall .gall_text_href .bo_cate_link { font-size: 0.85em; color: var(--gc-primary); margin-bottom: 4px; display: inline-block; }
#bo_gall .gall_text_href .bo_tit {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9em;
    line-height: 1.4;
    word-break: break-word;
}
#bo_gall .gall_text_href .bo_tit:hover { color: var(--gc-primary); }
#bo_gall .gall_text_href .cnt_cmt { background: var(--gc-primary-light); color: #fff; font-size: 0.8em; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
#bo_gall .gall_name { font-size: 0.9em; color: #555; margin-bottom: 6px; }
#bo_gall .gall_info {
    font-size: 0.85em;
    color: #666;
    padding-top: 8px;
    border-top: 1px solid var(--gc-border);
}
#bo_gall .gall_info i { margin-right: 2px; }
#bo_gall .gall_info strong { margin-left: 8px; }
#bo_gall .gall_date { float: right; color: #888; }

#bo_gall .bo_fx { overflow: hidden; margin-bottom: 16px; }
#bo_gall .bo_fx .btn_bo_user { float: right; }
#bo_gall .bo_fx .btn_bo_user button { cursor: pointer; border: none; padding: 0px 14px; border-radius: 6px; font-size: 0.9em; }
#bo_gall li.empty_list { padding: 60px 20px; text-align: center; color: #666; list-style: none; }

#bo_gall #bo_sch {
    background: var(--gc-bg);
    border: 1px solid var(--gc-border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 20px;
}
#bo_gall #bo_sch legend { position: absolute; font-size: 0; overflow: hidden; }
#bo_gall #bo_sch .sch_input { border: 1px solid var(--gc-border); border-radius: 4px; padding: 6px 10px; margin: 0 4px; }
#bo_gall #bo_sch .sch_btn { background: var(--gc-primary); color: #fff; border: none; padding: 6px 14px; border-radius: 4px; cursor: pointer; }

/* 갤러리 페이지네이션 */
#bo_gall .pg_wrap { margin-top: 24px; text-align: center; }
#bo_gall .pg_wrap a, #bo_gall .pg_wrap .pg_current {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 4px;
    border: 1px solid var(--gc-border);
}
#bo_gall .pg_wrap a:hover { background: var(--gc-cream); border-color: var(--gc-primary); color: var(--gc-primary); }
#bo_gall .pg_wrap .pg_current { background: var(--gc-primary); color: #fff; border-color: var(--gc-primary); }

/* ===== 읽기 ===== */
#bo_v {
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--gc-border);
    margin-bottom: 24px;
}
#bo_v #bo_v_title .bo_v_cate {
    background: var(--gc-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.9em;
}
#bo_v #bo_v_title .bo_v_tit { font-size: 1.35em; color: #1a1a1a; margin-top: 6px; display: block; }
#bo_v #bo_v_info { padding: 14px 0; margin-bottom: 20px; border-bottom: 1px solid var(--gc-border); color: #555; }
#bo_v #bo_v_info a { color: var(--gc-primary); }
#bo_v #bo_v_con { line-height: 1.8; color: #333; }
#bo_v #bo_v_file, #bo_v #bo_v_link {
    border: 1px solid var(--gc-border);
    border-radius: 6px;
    margin: 14px 0;
}
#bo_v #bo_v_file h2, #bo_v #bo_v_link h2 {
    background: var(--gc-cream);
    padding: 10px 14px;
    margin: 0;
    font-size: 0.95em;
    border-bottom: 1px solid var(--gc-border);
}
#bo_v #bo_v_file a, #bo_v #bo_v_link a { color: var(--gc-primary); }
#bo_v .bo_v_good, #bo_v .bo_v_nogood {
    border: 1px solid var(--gc-border) !important;
    background: var(--gc-cream) !important;
    color: var(--gc-primary) !important;
    border-radius: 8px;
    padding: 10px 18px;
}
#bo_v .bo_v_good:hover, #bo_v .bo_v_nogood:hover { background: var(--gc-primary) !important; color: #fff !important; }
#bo_v .btn_b01 { background: var(--gc-primary-light); color: #fff; border: none; padding: 8px 14px; border-radius: 6px; }
#bo_v .btn_b02 { background: var(--gc-gold); color: #fff; border: none; padding: 8px 14px; border-radius: 6px; }
#bo_v .btn_b03 { background: #6b6b6b; color: #fff; border: none; padding: 6px 12px; border-radius: 4px; font-size: 0.9em; }
#bo_v .bo_v_nb li { border-color: var(--gc-border); }
#bo_v .bo_v_nb li:hover { background: var(--gc-cream); }
#bo_v .bo_v_nb .nb_tit { color: var(--gc-primary); }

/* 읽기: 스크랩·SNS */
#bo_v #bo_v_share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    float: none;
    position: relative;
}
#bo_v #bo_v_share:after { display: none; }
#bo_v #bo_v_share .btn,
#bo_v #bo_v_share a.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto !important;
    min-height: 38px;
    height: auto !important;
    line-height: 1.25 !important;
    font-size: 0.9em !important;
    font-weight: 600;
    padding: 8px 16px !important;
    box-sizing: border-box;
    text-align: center;
}
#bo_v #bo_v_share .btn i {
    margin: 0;
    line-height: 1;
    vertical-align: middle;
}

/* 읽기: 하단 버튼 줄 배치 (default.css·테마 float 규칙 보정) */
#bo_v #bo_v_top {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--gc-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    justify-content: flex-start;
    zoom: 1;
}
#bo_v #bo_v_top:after {
    display: none;
}
#bo_v #bo_v_top .bo_v_left,
#bo_v #bo_v_top .bo_v_com {
    float: none !important;
    margin: 0 !important;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
#bo_v #bo_v_top .bo_v_left li,
#bo_v #bo_v_top .bo_v_com li {
    float: none !important;
    position: relative;
    margin: 0 !important;
}
/* default.css a.btn 과 충돌 방지: 아이콘+텍스트 수직·수평 가운데 */
#bo_v #bo_v_top a.btn,
#bo_v #bo_v_top .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    height: auto !important;
    line-height: 1.25 !important;
    font-size: 0.95em !important;
    font-weight: 600;
    padding: 8px 14px !important;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
}
#bo_v #bo_v_top a.btn i,
#bo_v #bo_v_top .btn i {
    margin: 0;
    line-height: 1;
    font-size: 1em;
    vertical-align: middle;
}
#bo_v #bo_v_top .bo_v_nb {
    flex: 0 0 100%;
    width: 100%;
    margin: 16px 0 0;
    padding: 0;
    float: none;
    clear: both;
}
#bo_v #bo_v_top .bo_v_nb li { float: none; }

@media (max-width: 768px) {
    #bo_v #bo_v_top {
        flex-direction: column;
        align-items: stretch;
    }
    #bo_v #bo_v_top .bo_v_left,
    #bo_v #bo_v_top .bo_v_com {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ===== 쓰기 ===== */
#bo_w { max-width: 100%; }
#bo_w .frm_input, #bo_w .frm_file, #bo_w select {
    border: 1px solid var(--gc-border);
    border-radius: 6px;
    padding: 10px 12px;
}
#bo_w .frm_input:focus, #bo_w select:focus { border-color: var(--gc-primary); outline: none; }
#bo_w .btn_submit { background: var(--gc-primary); color: #fff; border: none; padding: 12px 24px; border-radius: 6px; font-weight: 500; cursor: pointer; }
#bo_w .btn_submit:hover { background: var(--gc-primary-dark); }
#bo_w .btn_cancel { background: #fff; color: #555; border: 1px solid var(--gc-border); padding: 10px 20px; border-radius: 6px; }
#bo_w .btn_cancel:hover { background: var(--gc-cream); border-color: var(--gc-primary); color: var(--gc-primary); }
#bo_w .required { color: var(--gc-primary); }

/* ===== 댓글 ===== */
#bo_vc .cmt_btn {
    background: var(--gc-primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    margin-bottom: 16px;
}
#bo_vc .cmt_btn_op { background: var(--gc-primary-dark); }
#bo_vc article { border: 1px solid var(--gc-border); border-radius: 6px; margin-bottom: 12px; padding: 14px; background: #fff; }
#bo_vc .cmt_contents { background: var(--gc-cream); padding: 12px; border-radius: 6px; border: 1px solid var(--gc-border); margin-top: 8px; }
#bo_vc .bo_vc_act a { color: var(--gc-primary); }
#bo_vc .bo_vc_w #wr_content { border: 1px solid var(--gc-border); border-radius: 6px; padding: 10px; min-height: 80px; }
#bo_vc .bo_vc_w .btn_submit { background: var(--gc-primary); color: #fff; border: none; padding: 10px 20px; border-radius: 6px; }
#bo_vc #bo_vc_empty { color: #888; padding: 40px 0; text-align: center; }
