/* 갤러리 전용 최신 트렌드 4열 그리드 스타일 (상위 컨테이너 1300px 기준) */
#bo_gall { max-width: 1400px !important; margin: 0 auto !important; box-sizing: border-box !important; padding: 30px 15px 10px 15px !important; font-family: inherit !important; }
#bo_gall * { box-sizing: border-box !important; }
#bo_gall .elc_gall_top_bar { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 24px !important; flex-wrap: wrap !important; gap: 15px !important; }
#bo_gall .elc_gall_total { font-size: 15px !important; font-weight: 700 !important; color: #475569 !important; }
#bo_gall .elc_gall_actions { display: flex !important; gap: 10px !important; align-items: center !important; }
#bo_gall .elc_gall_btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; padding: 10px 18px !important; border-radius: 10px !important; font-size: 14px !important; font-weight: 700 !important; text-decoration: none !important; cursor: pointer !important; background: #ffffff !important; border: 1px solid #cbd5e1 !important; color: #334155 !important; transition: all 0.2s ease !important; }
#bo_gall .elc_gall_btn:hover { border-color: #1e3a8a !important; color: #1e3a8a !important; }
#bo_gall .elc_gall_btn_primary { background: #1e3a8a !important; color: #ffffff !important; border: none !important; box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2) !important; }
#bo_gall .elc_gall_btn_primary:hover { background: #152c67 !important; color: #ffffff !important; }

/* 4열 그리드 카드 레이아웃 (모바일 2열) */
#bo_gall .elc_gall_grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; list-style: none !important; padding: 0 !important; margin: 0 0 40px 0 !important; }
#bo_gall .elc_gall_card { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 16px !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; position: relative !important; transition: transform 0.2s ease, box-shadow 0.2s ease !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important; }
#bo_gall .elc_gall_card:hover { transform: translateY(-4px) !important; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important; }
#bo_gall .elc_gall_img_box { width: 100% !important; height: 220px !important; background: #f8fafc !important; position: relative !important; overflow: hidden !important; border-bottom: 1px solid #f1f5f9 !important; }
#bo_gall .elc_gall_img_box img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.3s ease !important; }
#bo_gall .elc_gall_card:hover .elc_gall_img_box img { transform: scale(1.03) !important; }
#bo_gall .elc_gall_no_img { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100% !important; color: #94a3b8 !important; font-size: 14px !important; font-weight: 600 !important; background: #f1f5f9 !important; }
#bo_gall .elc_gall_content { padding: 20px !important; display: flex !important; flex-direction: column !important; flex: 1 !important; }
#bo_gall .elc_gall_badge_cate { display: inline-block !important; padding: 3px 8px !important; background: #e0f2fe !important; color: #0369a1 !important; font-size: 11px !important; font-weight: 700 !important; border-radius: 6px !important; margin-bottom: 8px !important; text-decoration: none !important; width: fit-content !important; }
#bo_gall .elc_gall_title { font-size: 16px !important; font-weight: 700 !important; color: #1e293b !important; text-decoration: none !important; line-height: 1.4 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; margin-bottom: 8px !important; }
#bo_gall .elc_gall_title:hover { color: #1e3a8a !important; }
#bo_gall .elc_gall_desc { font-size: 13px !important; color: #64748b !important; line-height: 1.5 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; margin-bottom: 15px !important; flex: 1 !important; }
#bo_gall .elc_gall_footer { display: flex !important; justify-content: space-between !important; align-items: center !important; border-top: 1px solid #f1f5f9 !important; padding-top: 12px !important; font-size: 12px !important; color: #94a3b8 !important; }
#bo_gall .elc_gall_author { font-weight: 600 !important; color: #475569 !important; }
#bo_gall .elc_gall_stats { display: flex !important; gap: 10px !important; }
#bo_gall .elc_gall_chk { position: absolute !important; top: 12px !important; left: 12px !important; z-index: 5 !important; background: rgba(255, 255, 255, 0.9) !important; padding: 4px !important; border-radius: 6px !important; }
#bo_gall .elc_empty_grid { grid-column: 1 / -1 !important; text-align: center !important; padding: 80px 0 !important; color: #94a3b8 !important; font-weight: 600 !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 16px !important; }

/* 모바일 2열 반응형 설정 */
@media (max-width: 1024px) {
    #bo_gall .elc_gall_grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
}
@media (max-width: 480px) {
    #bo_gall { padding: 15px 10px 50px 10px !important; }
    #bo_gall .elc_gall_grid { gap: 10px !important; }
    #bo_gall .elc_gall_img_box { height: 160px !important; }
    #bo_gall .elc_gall_content { padding: 12px !important; }
    #bo_gall .elc_gall_title { font-size: 14px !important; }
}

#bo_v { width: 100% !important; box-sizing: border-box !important; font-family: inherit !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 18px !important; padding: 45px 40px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important; margin-bottom: 30px !important; }
#bo_v * { box-sizing: border-box !important; }
#bo_v_title { border-bottom: 1px solid #e2e8f0 !important; padding-bottom: 25px !important; margin-bottom: 25px !important; display: flex !important; justify-content: space-between !important; align-items: flex-start !important; flex-wrap: wrap !important; gap: 15px !important; }
#bo_v_title .bo_v_tit_box { flex: 1 !important; }
#bo_v_title .bo_v_cate { display: inline-block !important; padding: 4px 12px !important; background: #e0f2fe !important; color: #0369a1 !important; font-size: 13px !important; font-weight: 700 !important; border-radius: 6px !important; margin-bottom: 10px !important; }
#bo_v_title .bo_v_tit { display: block !important; font-size: 26px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; word-break: break-all !important; }
#bo_v_title .bo_v_date { font-size: 14px !important; color: #94a3b8 !important; font-weight: 600 !important; white-space: nowrap !important; }
#bo_v_top { display: flex !important; align-items: center !important; }
#bo_v_top .btn_bo_user { display: flex !important; gap: 8px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; position: relative !important; }
#bo_v_top .btn_b01 { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 40px !important; height: 40px !important; border-radius: 10px !important; background: #f8fafc !important; border: 1px solid #cbd5e1 !important; color: #475569 !important; text-decoration: none !important; font-size: 16px !important; transition: all 0.2s ease !important; cursor: pointer !important; }
#bo_v_top .btn_b01:hover { border-color: #1e3a8a !important; color: #1e3a8a !important; background: #ffffff !important; }
#bo_v_top .more_opt { display: none; position: absolute; right: 0; top: 48px; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); list-style: none; padding: 8px 0; margin: 0; z-index: 10; min-width: 160px; }
#bo_v_top .more_opt li a { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; font-size: 13px; color: #334155; text-decoration: none; font-weight: 600; }
#bo_v_top .more_opt li a:hover { background: #f1f5f9; color: #1e3a8a; }
#bo_v_atc { min-height: 200px !important; padding: 10px 0 30px 0 !important; }
#bo_v_atc #bo_v_img { text-align: center !important; margin-bottom: 35px !important; }
#bo_v_atc #bo_v_img img { max-width: 100% !important; height: auto !important; border-radius: 14px !important; margin-bottom: 15px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; }
#bo_v_con { font-size: 16px !important; color: #334155 !important; line-height: 1.8 !important; word-break: break-all !important; }
.bo_v_nb { list-style: none !important; padding: 0 !important; margin: 30px 0 0 0 !important; border-top: 1px solid #e2e8f0 !important; }
.bo_v_nb li { padding: 14px 0 !important; border-bottom: 1px solid #f1f5f9 !important; font-size: 14px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; }
.bo_v_nb li .nb_tit { font-weight: 700 !important; color: #64748b !important; width: 80px !important; }
.bo_v_nb li a { color: #334155 !important; text-decoration: none !important; flex: 1 !important; font-weight: 600 !important; }
.bo_v_nb li a:hover { color: #1e3a8a !important; }
.bo_v_nb li .nb_date { color: #94a3b8 !important; font-size: 12px !important; }
@media (max-width: 768px) { #bo_v { padding: 25px 20px !important; } }
@media (max-width: 768px) { #bo_v_title .bo_v_tit { font-size: 20px !important; } }
#bo_w { width: 100% !important; box-sizing: border-box !important; font-family: inherit !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 18px !important; padding: 45px 40px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important; margin-bottom: 30px !important; }
#bo_w * { box-sizing: border-box !important; }
#bo_w .write_div { margin-bottom: 24px !important; }
#bo_w .elc_form_label { display: block !important; font-size: 15px !important; font-weight: 700 !important; color: #1e293b !important; margin-bottom: 8px !important; }
#bo_w .frm_input { width: 100% !important; height: 48px !important; padding: 0 16px !important; font-size: 15px !important; color: #334155 !important; background: #ffffff !important; border: 1px solid #cbd5e1 !important; border-radius: 10px !important; outline: none !important; transition: border-color 0.2s ease !important; }
#bo_w .frm_input:focus { border-color: #1e3a8a !important; box-shadow: 0 0 0 3px rgba(30,58,138,0.1) !important; }
#bo_w .bo_w_info { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
#bo_w select.frm_input { -webkit-appearance: none !important; appearance: none !important; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center !important; }

/* 공지 등 옵션 체크박스 디자인 */
#bo_w .bo_v_option { display: flex !important; flex-wrap: wrap !important; gap: 20px !important; list-style: none !important; padding: 16px 20px !important; margin: 0 !important; background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 10px !important; }
#bo_w .bo_v_option li { display: inline-flex !important; align-items: center !important; gap: 8px !important; font-size: 14px !important; font-weight: 600 !important; color: #334155 !important; cursor: pointer !important; }
#bo_w .bo_v_option input[type="checkbox"] { width: 18px !important; height: 18px !important; accent-color: #1e3a8a !important; cursor: pointer !important; }

/* 대형 드래그 앤 드롭 업로드 박스 디자인 */
#bo_w .elc_dropzone { border: 2px dashed #cbd5e1 !important; border-radius: 16px !important; background: #f8fafc !important; padding: 50px 20px !important; text-align: center !important; cursor: pointer !important; transition: all 0.2s ease !important; }
#bo_w .elc_dropzone:hover, #bo_w .elc_dropzone.dragover { border-color: #1e3a8a !important; background: #eff6ff !important; }
#bo_w .elc_dropzone i { font-size: 48px !important; color: #64748b !important; margin-bottom: 12px !important; display: block !important; }
#bo_w .elc_dropzone p { font-size: 15px !important; font-weight: 600 !important; color: #334155 !important; margin: 0 0 6px 0 !important; }
#bo_w .elc_dropzone span { font-size: 13px !important; color: #94a3b8 !important; }

/* 기본 순정 파일 인풋 영역 숨김 처리 */
#bo_w .elc_hidden_file_inputs { display: none !important; }

/* 업로드된 이미지 미리보기 그리드 */
#bo_w .elc_preview_grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important; gap: 15px !important; margin-top: 15px !important; }
#bo_w .elc_preview_item { position: relative !important; width: 100% !important; height: 110px !important; border-radius: 10px !important; overflow: hidden !important; border: 1px solid #e2e8f0 !important; background: #ffffff !important; box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important; }
#bo_w .elc_preview_item img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
#bo_w .elc_preview_name { position: absolute !important; bottom: 0 !important; left: 0 !important; width: 100% !important; background: rgba(0,0,0,0.6) !important; color: #ffffff !important; font-size: 11px !important; padding: 4px 6px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

#bo_w .btn_confirm { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-top: 40px !important; border-top: 1px solid #e2e8f0 !important; padding-top: 25px !important; }
#bo_w .btn_confirm .btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 12px 30px !important; border-radius: 30px !important; font-size: 15px !important; font-weight: 700 !important; text-decoration: none !important; cursor: pointer !important; transition: background 0.2s ease !important; }
#bo_w .btn_cancel { background: #f1f5f9 !important; color: #475569 !important; border: 1px solid #cbd5e1 !important; }
#bo_w .btn_submit { background: #1e3a8a !important; color: #ffffff !important; border: none !important; box-shadow: 0 4px 12px rgba(30,58,138,0.2) !important; }
#bo_w .btn_submit:hover { background: #152c67 !important; }
@media (max-width: 768px) { #bo_w { padding: 25px 20px !important; } }
@media (max-width: 768px) { #bo_w .bo_w_info { grid-template-columns: 1fr !important; gap: 0 !important; } }
.elc_comment_wrap { margin-top: 40px !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 18px !important; padding: 35px 30px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important; font-family: inherit !important; box-sizing: border-box !important; }
.elc_comment_wrap * { box-sizing: border-box !important; }
.elc_cmt_toggle_btn { width: 100% !important; background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 12px !important; padding: 14px 20px !important; font-size: 15px !important; font-weight: 700 !important; color: #1e293b !important; display: flex !important; justify-content: space-between !important; align-items: center !important; cursor: pointer !important; margin-bottom: 25px !important; transition: background 0.2s ease !important; }
.elc_cmt_toggle_btn:hover { background: #f1f5f9 !important; }
#bo_vc article { padding: 20px 0 !important; border-bottom: 1px solid #f1f5f9 !important; position: relative !important; }
#bo_vc article:last-child { border-bottom: none !important; }
#bo_vc .pf_img { float: left !important; margin-right: 15px !important; border-radius: 50% !important; overflow: hidden !important; width: 44px !important; height: 44px !important; background: #f1f5f9 !important; }
#bo_vc .pf_img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
#bo_vc .cm_wrap { overflow: hidden !important; }
#bo_vc header h2 { font-size: 14px !important; font-weight: 700 !important; color: #1e293b !important; margin: 0 0 4px 0 !important; display: inline-block !important; }
#bo_vc .bo_vc_hdinfo { color: #94a3b8 !important; font-size: 13px !important; margin-left: 8px !important; }
#bo_vc .cmt_contents { margin-top: 8px !important; font-size: 15px !important; color: #334155 !important; line-height: 1.6 !important; word-break: break-all !important; }
#bo_vc .bo_vl_opt { position: absolute !important; top: 20px !important; right: 0 !important; }
.btn_cm_opt { background: transparent !important; border: none !important; color: #64748b !important; font-size: 16px !important; cursor: pointer !important; padding: 5px 10px !important; }
.bo_vc_act { display: none; position: absolute; right: 0; top: 35px; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); list-style: none; padding: 6px 0; margin: 0; z-index: 10; min-width: 80px; }
.bo_vc_act li a { display: block; padding: 8px 16px; font-size: 13px; color: #334155; text-decoration: none; font-weight: 600; }
.bo_vc_act li a:hover { background: #f1f5f9; color: #1e3a8a; }
.bo_vc_w { margin-top: 30px !important; background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 14px !important; padding: 20px !important; }
.bo_vc_w textarea { width: 100% !important; height: 110px !important; padding: 15px !important; font-size: 15px !important; color: #334155 !important; background: #ffffff !important; border: 1px solid #cbd5e1 !important; border-radius: 10px !important; resize: none !important; outline: none !important; transition: border-color 0.2s ease !important; }
.bo_vc_w textarea:focus { border-color: #1e3a8a !important; box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1) !important; }
.bo_vc_w_wr { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-top: 15px !important; flex-wrap: wrap !important; gap: 12px !important; }
.bo_vc_w_info { display: flex !important; align-items: center !important; gap: 10px !important; flex-wrap: wrap !important; }
.bo_vc_w_info .frm_input { height: 40px !important; padding: 0 12px !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important; font-size: 14px !important; }
.btn_confirm { display: flex !important; align-items: center !important; gap: 15px !important; }
.btn_submit { background: #1e3a8a !important; color: #ffffff !important; border: none !important; padding: 10px 24px !important; border-radius: 20px !important; font-size: 14px !important; font-weight: 700 !important; cursor: pointer !important; box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2) !important; transition: background 0.2s ease !important; }
.btn_submit:hover { background: #152c67 !important; }
#bo_vc_empty { text-align: center !important; color: #94a3b8 !important; padding: 40px 0 !important; font-weight: 600 !important; font-size: 15px !important; }