/* ============================================================
   시그니아 게시판 디자인 v2
   board.css 맨 하단에 추가
============================================================ */

/* ===== subTit ===== */
.subTit { padding: 200px 20px 0; text-align: center; }
.subTit h1 { font-size: 40px; font-weight: 700; color: #111; letter-spacing: -0.03em; padding-bottom: 16px; }
.subTit p { font-size: 14px; letter-spacing: 8px; color: #aaa; text-transform: uppercase; }
#site-header.transparent .gnb-link{color:#333}
#site-header.transparent .gnb-link:hover{color:#1051af}
/* ===== 래퍼 ===== */
.bbs-wrap { margin: 60px auto 160px; padding: 0 20px; }

/* ===== 카테고리 ===== */
.bbs-cate-nav { margin-bottom: 28px; }
.bbs-cate-nav #bo_cate_ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.bbs-cate-nav #bo_cate_ul li { padding: 0; border: none; margin: 0; }
.bbs-cate-nav #bo_cate_ul li a { display: inline-block; padding: 8px 20px; border: 1.5px solid #e0e0e0; border-radius: 100px; font-size: 14px; font-weight: 500; color: #555; transition: all 0.2s; line-height: 1.4; height: auto; }
.bbs-cate-nav #bo_cate_ul li a:hover { border-color: #1051af; color: #1051af; background: #fff; }
.bbs-cate-nav #bo_cate_ul li #bo_cate_on { background: #1051af !important; border-color: #1051af !important; color: #fff !important; box-shadow: none !important; height: auto; line-height: 1.4; }

/* ===== 상단 바 ===== */
.bbs-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0 2px; }
.bbs-total { font-size: 14px; color: #999; letter-spacing: -0.01em; }
.bbs-total strong { color: #111; font-weight: 700; }
.bbs-btns { display: flex; align-items: center; gap: 8px; }

/* ===== 버튼 ===== */
.bbs-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; border: none; transition: all 0.2s; white-space: nowrap; line-height: 1; }
.bbs-btn-red { background: #1051af; color: #fff; }
.bbs-btn-red:hover { background: #1b3d6e; color: #fff; }
.bbs-btn-gray { background: #fff; color: #555; border: 1.5px solid #e0e0e0; }
.bbs-btn-gray:hover { border-color: #1051af; color: #1051af; }

/* ===== 테이블 ===== */
.bbs-table-wrap { border-radius: 12px; overflow: hidden; border: 1px solid #ebebeb; margin-bottom: 20px; }
.bbs-table { width: 100%; border-collapse: collapse; background: #fff; }
.bbs-table caption { font-size: 0; line-height: 0; overflow: hidden; padding: 0; }
.bbs-table thead tr { background: #f7f7f7; border-bottom: 1.5px solid #e8e8e8; }
.bbs-table thead th { padding: 14px 12px; text-align: center; font-size: 14px; font-weight: 600; color: #666; letter-spacing: -0.01em; border: none; height: auto; }
.bbs-table thead th a { color: #666; text-decoration: none; }
.bbs-table tbody tr { border-bottom: 1px solid #f2f2f2; transition: background 0.15s; }
.bbs-table tbody tr:last-child { border-bottom: none; }
.bbs-table tbody tr:hover { background: #fafafa; border-left: 2px solid #1051af; }
.bbs-table tbody tr.bbs-notice-row { background: #f4f8fc; }
.bbs-table tbody tr.bbs-notice-row:hover { background: #eef3f9; }
.bbs-table td { padding: 18px 12px; font-size: 15px; color: #444; vertical-align: middle; border: none; word-break: keep-all; }

/* 번호 */
.bbs-td-num { text-align: center; color: #ccc; font-size: 14px; width: 80px; }
.bbs-badge-notice { display: inline-block; background: #1051af; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 4px; letter-spacing: 0.02em; white-space: nowrap; }
.bbs-badge-current { display: inline-block; background: #333; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }

/* 제목 */
.bbs-td-subj { text-align: left; }
.bbs-cate-badge { display: inline-block; background: #1051af; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-right: 8px; text-decoration: none; vertical-align: middle; white-space: nowrap; }
.bbs-subj-link { color: #222; text-decoration: none; font-weight: 500; letter-spacing: -0.01em; line-height: 1.5; vertical-align: middle; }
.bbs-subj-link:hover { color: #1051af; }
.bbs-cmt-cnt { display: inline-block; background: #1051af; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }

/* 중앙 정렬 */
.bbs-td-c { text-align: center; color: #aaa; font-size: 14px; }

/* 체크박스 */
.bbs-td-chk { text-align: center; width: 44px; }
.bbs-table .selec_chk + label { display: inline-flex; align-items: center; cursor: pointer; }
.bbs-table .selec_chk + label span { float: none; display: inline-block; width: 16px; height: 16px; border: 1.5px solid #ddd; border-radius: 4px; background: #fff; transition: all 0.2s; flex-shrink: 0; }
.bbs-table .selec_chk:checked + label span { background: #1051af url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; border-color: #1051af; }

/* 빈 목록 */
.bbs-empty { text-align: center !important; padding: 60px 0 !important; color: #bbb; font-size: 15px; height: auto !important; }

/* ===== 페이지네이션 ===== */
.bbs-paging { margin: 20px 0 28px; text-align: center; }
.bbs-paging .pg_wrap { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; margin: 0; padding: 0; }
.bbs-paging .pg_wrap a,
.bbs-paging .pg_wrap strong,
.bbs-paging .pg_wrap span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid #e8e8e8; font-size: 14px; color: #555; text-decoration: none; transition: all 0.2s; background: #fff; font-weight: 400; }
.bbs-paging .pg_wrap strong { background: #1051af; border-color: #1051af; color: #fff; font-weight: 700; }
.bbs-paging .pg_wrap a:hover { border-color: #1051af; color: #1051af; }

/* ===== 하단 버튼 ===== */
.bbs-foot { display: flex; justify-content: flex-end; margin-top: 4px; }

/* ===== 검색 팝업 ===== */
.bo_sch_wrap { display: none; width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 9999; }
.bbs-sch { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index:1;background: #fff; width: 400px; border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,0.15); border: 1px solid #ebebeb; padding: 32px 28px 28px; }
.bbs-sch h3 { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 20px; letter-spacing: -0.02em; }
.bbs-sch-cls { position: absolute; right: 20px; top: 20px; border: none; background: none; color: #aaa; cursor: pointer; padding: 4px; display: flex; align-items: center; transition: color 0.2s; }
.bbs-sch-cls:hover { color: #1051af; }
.bbs-sch-select { width: 100%; height: 44px; border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 0 12px; font-size: 14px; color: #333; margin-bottom: 12px; background: #fff; appearance: none; -webkit-appearance: none; outline: none; }
.bbs-sch-bar { display: flex; border: 1.5px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.bbs-sch-input { flex: 1; height: 46px; border: none; padding: 0 14px; font-size: 14px; color: #333; background: transparent; outline: none; }
.bbs-sch-btn { width: 50px; height: 46px; border: none; background: #1051af; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; flex-shrink: 0; }
.bbs-sch-btn:hover { background: #1b3d6e; }
.bo_sch_bg { position: fixed; inset: 0; background: rgba(0,0,0,0.4); }

/* ============================================================
   반응형 820px
============================================================ */
/* ============================================================
   모바일 820px 이하 - 완전 재정의
============================================================ */
@media all and (max-width:820px) {
    .subTit { padding: 140px 20px 0; }
    .subTit h1 { font-size: 28px; }
    .subTit p { letter-spacing: 4px; }

    .bbs-wrap { margin: 32px auto 80px; padding: 0 16px; }

    /* 카테고리 가로 스크롤 */
    .bbs-cate-nav #bo_cate_ul { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 6px; -ms-overflow-style: none; scrollbar-width: none; }
    .bbs-cate-nav #bo_cate_ul::-webkit-scrollbar { display: none; }
    .bbs-cate-nav #bo_cate_ul li { flex-shrink: 0; }
    .bbs-cate-nav #bo_cate_ul li a { font-size: 13px; padding: 7px 14px; white-space: nowrap; }

    /* 상단 바 */
    .bbs-bar { flex-wrap: wrap; gap: 10px; }
    .bbs-btn { padding: 9px 14px; font-size: 13px; }

    /* 테이블 틀 */
    .bbs-table-wrap { border-radius: 0; border-left: none !important; border-right: none !important; margin: 0 -16px 20px; }
    .bbs-table { width: 100%; }

    /* thead 숨김 */
    .bbs-table thead { display: none !important; }

    /* tbody tr → 블록 */
    .bbs-table tbody tr { display: block !important; width: 100%; padding: 14px 16px; border-bottom: 1px solid #f0f0f0!important; box-sizing: border-box; }
    .bbs-table tbody tr:hover { border-left: none !important; background: #fafafa; }

    /* 모든 td 기본 숨김 */
    .bbs-table tbody tr td { display: none !important; padding: 0 !important; border: none !important; height: auto !important; }

    /* 번호 숨김 유지 */
    .bbs-table td.bbs-td-num { display: none !important; }

    /* 제목 셀만 표시 */
    .bbs-table td.bbs-td-subj { display: block !important; width: 100% !important; padding: 0 0 6px !important; box-sizing: border-box; }
    .bbs-cate-badge { display: inline-block; margin-bottom: 4px; }
    .bbs-subj-link { display: inline !important; font-size: 14px !important; font-weight: 500; color: #222; word-break: break-all !important; white-space: normal !important; overflow: visible !important; text-overflow: unset !important; line-height: 1.6; }

    /* 날짜/조회 셀 표시 */
    .bbs-table td.bbs-td-c { display: inline !important; font-size: 12px !important; color: #ccc !important; padding: 0 6px 0 0 !important; }

    /* 검색 팝업 */
    .bbs-sch { width: calc(100% - 40px); padding: 24px 20px 20px; }
    .bbs-sch h3 { font-size: 16px; margin-bottom: 16px; }

	 /* 테이블 구조 전체 블록으로 전환 */
    .bbs-table { display: block !important; width: 100% !important; }
    .bbs-table tbody { display: block !important; width: 100% !important; }
    .bbs-table thead { display: none !important; }
    .bbs-table colgroup { display: none !important; }

    /* tr */
    .bbs-table tbody tr { display: block !important; width: 100% !important; padding: 14px 16px; border-bottom: 1px solid #f0f0f0 !important; box-sizing: border-box; }
    .bbs-table tbody tr:hover { border-left: none !important; background: #fafafa; }

    /* 모든 td 숨김 */
    .bbs-table tbody tr td { display: none !important; padding: 0 !important; border: none !important; height: auto !important; width: auto !important; }

    /* 제목 td */
    .bbs-table td.bbs-td-subj { display: block !important; width: 100% !important; padding: 0 0 6px !important; box-sizing: border-box; }
    .bbs-subj-link { display: inline !important; font-size: 14px !important; font-weight: 500; color: #222; word-break: break-all !important; white-space: normal !important; overflow: visible !important; text-overflow: unset !important; line-height: 1.6; }
    .bbs-cate-badge { display: inline-block; margin-bottom: 4px; vertical-align: middle; }

    /* 날짜/조회 td */
    .bbs-table td.bbs-td-c { display: inline !important; font-size: 12px !important; color: #ccc !important; padding: 0 6px 0 0 !important; width: auto !important; }

    /* 번호 숨김 */
    .bbs-table td.bbs-td-num { display: none !important; }

    /* 테이블 래퍼 */
    .bbs-table-wrap { border-radius: 0; border-left: none !important; border-right: none !important; margin: 0 -16px 20px; width: calc(100% + 32px); }
}

@media all and (max-width:520px) {
    .subTit h1 { font-size: 22px; }
    .subTit p { letter-spacing: 2px; font-size: 12px; }
    .bbs-subj-link { font-size: 13px !important; }
    .bbs-btn { padding: 8px 12px; font-size: 12px; gap: 4px; }
    .bbs-btn svg { width: 12px; height: 12px; }
}

/* ===== 게시물 뷰 ===== */
.bbs-view-wrap { margin: 60px auto 160px; padding: 0 20px; }

/* 뷰 헤더 */
.bbs-view-head { padding-bottom: 24px; border-bottom: 2px solid #111; margin-bottom: 32px; }
.bbs-view-cate { display: inline-block; background: #1051af; color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }
.bbs-view-title { color: #111; letter-spacing: -0.03em; line-height: 1.4; margin-bottom: 16px; word-break: keep-all; }
.bbs-view-meta { display: flex; align-items: center; gap: 20px; }
.bbs-view-meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #aaa; }

/* 본문 */
.bbs-view-body { min-height: 200px; padding: 0 0 40px; border-bottom: 1px solid #f0f0f0; margin-bottom: 32px; }
#bo_v_con { line-height: 1.9; color: #333; font-size: 16px; word-break: break-all; overflow: hidden; }
#bo_v_con img { max-width: 100%; height: auto; }
#bo_v_con a { color: #1051af; text-decoration: underline; }

/* 첨부파일 */
.bbs-view-files { background: #f8f8f8; border-radius: 10px; padding: 20px 24px; margin-bottom: 32px; }
.bbs-view-files-title { display: flex; align-items: center; gap: 6px; color: #555; margin-bottom: 12px; }
.bbs-view-file-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bbs-view-file-link { display: inline-flex; align-items: center; gap: 8px; color: #333; text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.bbs-view-file-link:hover { color: #1051af; }
.bbs-view-file-link em { color: #aaa; font-style: normal; }

/* 추천/비추천 */
.bbs-view-act { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.bbs-act-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 32px; border-radius: 100px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1.5px solid #e0e0e0; color: #555; transition: all 0.2s; }
.bbs-act-good:hover { border-color: #1051af; color: #1051af; }
.bbs-act-nogood:hover { border-color: #555; color: #333; }
.bbs-act-btn strong { font-weight: 700; }
#bo_v_act_good, #bo_v_act_nogood { display: none; font-size: 12px; color: #1051af; }

/* 이전/다음 */
.bbs-view-nb { list-style: none; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; margin-bottom: 24px; }
.bbs-nb-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f8f8f8; }
.bbs-nb-item:last-child { border-bottom: none; }
.bbs-nb-label { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #aaa; white-space: nowrap; flex-shrink: 0; width: 60px; }
.bbs-nb-link { flex: 1; font-size: 14px; color: #333; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s; }
.bbs-nb-link:hover { color: #1051af; }
.bbs-nb-date { font-size: 13px; color: #ccc; flex-shrink: 0; }

/* 하단 버튼 */
.bbs-view-btns { display: flex; align-items: center; gap: 8px; justify-content: center; }

/* 반응형 */
@media all and (max-width:820px) {
    .bbs-view-wrap { margin: 32px auto 80px; }
    .bbs-view-title { font-size: 22px !important; }
    .bbs-view-head { padding-bottom: 18px; margin-bottom: 24px; }
    .bbs-view-body { padding-bottom: 28px; margin-bottom: 24px; }
    #bo_v_con { font-size: 15px; }
    .bbs-view-act { flex-wrap: wrap; }
    .bbs-act-btn { padding: 10px 24px; font-size: 14px; }
    .bbs-nb-link { white-space: normal; }
    .bbs-view-files { padding: 16px; }
}
@media all and (max-width:520px) {
    .bbs-view-title { font-size: 18px !important; }
    #bo_v_con { font-size: 14px; }
    .bbs-view-meta { gap: 12px; flex-wrap: wrap; }
    .bbs-nb-date { display: none; }
}



/* ===== 글쓰기 ===== */
.bbs-write-wrap { margin: 60px auto 160px; padding: 0 20px; }
.bbs-write-head { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid #111; }
.bbs-write-title { color: #111; letter-spacing: -0.03em; }

/* 폼 */
.bbs-write-form { display: flex; flex-direction: column; gap: 0; border-top: 1px solid #e8e8e8; }
.bbs-write-row { display: grid; grid-template-columns: 120px 1fr; align-items: start; border-bottom: 1px solid #f0f0f0; }
.bbs-write-row-content { align-items: start; }
.bbs-write-label { padding: 18px 16px 18px 0; font-size: 14px; font-weight: 600; color: #555; line-height: 1.4; flex-shrink: 0; }
.bbs-write-label em { color: #1051af; font-style: normal; margin-left: 2px; }
.bbs-write-field { padding: 14px 0; }
.bbs-write-field-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* 인풋 */
.bbs-write-input { height: 44px; border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 0 14px; font-size: 14px; color: #333; outline: none; transition: border-color 0.2s; background: #fff; }
.bbs-write-input:focus { border-color: #1051af; }
.bbs-write-input-full { width: 100%; box-sizing: border-box; }
.bbs-write-input::placeholder { color: #ccc; }

/* 셀렉트 */
.bbs-write-select { height: 44px; border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 0 14px; font-size: 14px; color: #333; outline: none; background: #fff; width: 100%; max-width: 320px; appearance: none; -webkit-appearance: none; transition: border-color 0.2s; }
.bbs-write-select:focus { border-color: #1051af; }

/* 옵션 체크박스 */
.bbs-write-options { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 4px 0; }
.bbs-write-options .chk_box { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #555; }
.bbs-write-options .selec_chk + label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.bbs-write-options .selec_chk + label span { display: inline-block; width: 16px; height: 16px; border: 1.5px solid #ddd; border-radius: 4px; background: #fff; transition: all 0.2s; flex-shrink: 0; }
.bbs-write-options .selec_chk:checked + label span { background: #1051af; border-color: #1051af; }

/* 임시저장 */
.bbs-write-autosave { margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #aaa; background: none; border: 1px solid #e8e8e8; border-radius: 4px; padding: 4px 10px; cursor: pointer; transition: all 0.2s; }
.bbs-write-autosave:hover { border-color: #1051af; color: #1051af; }

/* 파일 */
.bbs-write-file-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bbs-write-file-label { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1.5px solid #e0e0e0; border-radius: 6px; font-size: 13px; color: #555; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.bbs-write-file-label:hover { border-color: #1051af; color: #1051af; }
.bbs-write-file-input { display: none; }
.bbs-write-file-del { margin-top: 8px; font-size: 13px; color: #aaa; display: flex; align-items: center; gap: 6px; }
.bbs-write-file-del input { accent-color: #1051af; }
.bbs-write-char-desc { font-size: 13px; color: #aaa; margin-bottom: 8px; }
.bbs-write-char-count { font-size: 13px; color: #aaa; margin-top: 6px; text-align: right; }

/* 버튼 */
.bbs-write-btns { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }

/* 반응형 */
@media all and (max-width:820px) {
    .bbs-write-wrap { margin: 32px auto 80px; }
    .bbs-write-row { grid-template-columns: 1fr; }
    .bbs-write-label { padding: 14px 0 4px; }
    .bbs-write-field { padding: 0 0 14px; }
    .bbs-write-field-row { flex-direction: column; }
    .bbs-write-input { width: 100%; box-sizing: border-box; }
    .bbs-write-select { max-width: 100%; }
    .bbs-write-title { font-size: 20px !important; }
}
@media all and (max-width:520px) {
    .bbs-write-btns { flex-direction: column; align-items: stretch; }
    .bbs-btn { justify-content: center; }
}



/* ===== 유튜브 리스트 ===== */
.yt-wrap { margin: 60px auto 160px; padding: 0 20px; }

/* 그리드 */
.yt-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-bottom: 40px; }

/* 카드 */
.yt-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.yt-card-chk { position: absolute; top: 10px; left: 10px; z-index: 2; }

/* 썸네일 */
.yt-thumb { display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #111;width:100% }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.yt-card:hover .yt-thumb img { transform: scale(1.04); }

/* 플레이 버튼 */
.yt-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); opacity: 0; transition: opacity 0.3s; }
.yt-card:hover .yt-play-btn { opacity: 1; }
.yt-play-btn svg { width: 64px; height: 44px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }

/* 공지 배지 */
.yt-notice-badge { position: absolute; top: 10px; right: 10px; background: #1051af; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }

/* 정보 */
.yt-info { display: flex; flex-direction: column; gap: 6px; }
.yt-cate { display: inline-block; background: #1051af; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; width: fit-content; }
.yt-title { font-size: 15px; font-weight: 600; color: #111; line-height: 1.5; letter-spacing: -0.02em; word-break: keep-all; text-decoration: none; display: block; }
.yt-title:hover { color: #1051af; }
.yt-date { font-size: 13px; color: #bbb; }

/* 빈 목록 */
.yt-empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: #bbb; font-size: 15px; }

/* 반응형 */
@media all and (max-width:1000px) { .yt-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; } }
@media all and (max-width:820px) {
    .yt-wrap { margin: 32px auto 80px; }
    .yt-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
    .yt-play-btn { opacity: 1; }
    .yt-play-btn svg { width: 48px; height: 34px; }
	.yt-card{width:100%}
}
@media all and (max-width:520px) {
    .yt-grid { grid-template-columns: 1fr; gap: 24px; }
    .yt-title { font-size: 14px; }
}

/* ===== 유튜브 ID 입력 ===== */
.yt-write-input-wrap { display: flex; align-items: center; border: 1.5px solid #e0e0e0; border-radius: 8px; overflow: hidden; max-width: 480px; transition: border-color 0.2s; }
.yt-write-input-wrap:focus-within { border-color: #1051af; }
.yt-write-prefix { display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f8f8f8; height: 44px; font-size: 13px; color: #999; white-space: nowrap; border-right: 1px solid #e0e0e0; flex-shrink: 0; }
.yt-write-prefix svg { fill: #1051af; }
.yt-write-id-input { flex: 1; height: 44px; border: none !important; border-radius: 0 !important; padding: 0 14px; font-size: 14px; color: #333; outline: none; background: #fff; }
.yt-write-hint { margin-top: 8px; font-size: 13px; color: #aaa; }
.yt-write-hint strong { color: #555; font-weight: 500; }
.yt-write-hint em { color: #1051af; font-style: normal; font-weight: 700; }

/* 썸네일 미리보기 */
.yt-write-preview { margin-top: 14px; width: 280px; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; position: relative; background: #111; }
.yt-write-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-preview-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); }

/* 썸네일 힌트 */
.yt-write-file-hint { font-size: 12px; color: #bbb; margin-left: 10px; }



/* ===== 칼럼 리스트 ===== */
.col-wrap { margin: 60px auto 160px; padding: 0 20px; }

/* 그리드: 3컬럼 */
.col-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; margin-bottom: 40px; }

/* 카드 */
.col-card { display: flex; flex-direction: column; gap: 16px; position: relative; }

/* 썸네일 */
.col-thumb { display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #f5f5f5; }
.col-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.col-card:hover .col-thumb img { transform: scale(1.04); }
.col-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f5f5f5; }

/* 공지 배지 */
.col-notice-badge { position: absolute; top: 10px; left: 10px; background: #1051af; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 2; }

/* 정보 */
.col-info { display: flex; flex-direction: column; gap: 8px; }
.col-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.col-cate { display: inline-block; background: #1051af; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 4px; text-decoration: none; }
.col-hit { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #ccc; }

/* 제목 */
.col-title { font-size: 17px; font-weight: 700; color: #111; line-height: 1.5; letter-spacing: -0.03em; word-break: keep-all; text-decoration: none; display: block; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.col-title:hover { color: #1051af; }

/* 날짜 */
.col-date { font-size: 13px; color: #bbb; }

/* 체크박스 */
.col-card-chk { position: absolute; top: 10px; right: 10px; z-index: 2; }

/* 빈 목록 */
.col-empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: #bbb; font-size: 15px; }

/* 반응형 */
@media all and (max-width:1000px) { .col-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }
@media all and (max-width:820px) {
    .col-wrap { margin: 32px auto 80px; }
    .col-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
    .col-title { font-size: 15px; }
}
@media all and (max-width:520px) {
    .col-grid { grid-template-columns: 1fr; gap: 32px; }
    .col-title { font-size: 16px; -webkit-line-clamp: 3; }
}


/* ===== 후기 리스트 ===== */
.rv-wrap { margin: 60px auto 160px; padding: 0 20px; }

/* 그리드: 4컬럼 */
.rv-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; margin-bottom: 40px; }

/* 카드 */
.rv-card { display: flex; flex-direction: column; gap: 14px; position: relative; }
.rv-card-chk { position: absolute; top: 10px; left: 10px; z-index: 2; }

/* 썸네일 */
.rv-thumb { display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; background: #f5f5f5; }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.rv-card:hover .rv-thumb img { transform: scale(1.05); }
.rv-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f5f5f5; }
.rv-no-img img { width: 60px; height: 60px; object-fit: contain; opacity: 0.3; }

/* 호버 오버레이 */
.rv-thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.38); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity 0.3s; }
.rv-card:hover .rv-thumb-overlay { opacity: 1; }
.rv-thumb-overlay span { color: #fff; font-size: 13px; font-weight: 600; }

/* 공지 배지 */
.rv-notice-badge { position: absolute; top: 10px; right: 10px; background: #1051af; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 2; }

/* 정보 */
.rv-info { display: flex; flex-direction: column; gap: 6px; }
.rv-cate { display: inline-block; background: #1051af; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; text-decoration: none; width: fit-content; }
.rv-title { font-size: 15px; font-weight: 600; color: #111; line-height: 1.5; letter-spacing: -0.02em; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }
.rv-title:hover { color: #1051af; }
.rv-hashtag { font-size: 12px; color: #aaa; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-good { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #1051af; font-weight: 600; }

/* 빈 목록 */
.rv-empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: #bbb; font-size: 15px; }

/* 반응형 */
@media all and (max-width:1100px) { .rv-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; } }
@media all and (max-width:820px) {
    .rv-wrap { margin: 32px auto 80px; }
    .rv-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .rv-thumb-overlay { opacity: 1; }
    .rv-title { font-size: 14px; }
}
@media all and (max-width:520px) {
    .rv-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
    .rv-title { font-size: 13px; }
    .rv-hashtag { font-size: 11px; }
}

/* ===== 후기 뷰 작성자 영역 ===== */
.rv-view-author { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 16px; background: #f8f8f8; border-radius: 10px; }
.rv-view-author-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #e8e8e8; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.rv-view-author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rv-view-author-info { display: flex; flex-direction: column; gap: 4px; }
.rv-view-author-name { color: #111; }
.rv-view-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.rv-view-meta-item { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #aaa; }
.rv-view-meta-link { text-decoration: none; transition: color 0.2s; }
.rv-view-meta-link:hover { color: #1051af; }

/* 댓글 영역 시그니아 스타일 적용 */
#bo_vc { margin-top: 40px; padding-top: 32px; border-top: 1px solid #f0f0f0; }
#bo_vc h2 { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 24px; letter-spacing: -0.02em; }
#bo_vc article { padding: 20px 0; border-bottom: 1px solid #f5f5f5; }
#bo_vc .pf_img img { border-radius: 50%; width: 36px; height: 36px; }
#bo_vc .cmt_contents { font-size: 15px; line-height: 1.8; color: #333; padding: 4px 0 12px; }
.bo_vc_w { margin-top: 24px; }
.bo_vc_w textarea { width: 100%; border: 1.5px solid #e0e0e0; border-radius: 10px; padding: 14px; font-size: 14px; resize: vertical; outline: none; transition: border-color 0.2s; box-sizing: border-box; }
.bo_vc_w textarea:focus { border-color: #1051af; }
.bo_vc_w .btn_submit { background: #1051af; color: #fff; border: none; border-radius: 6px; padding: 10px 24px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s; float: right; height: auto; }
.bo_vc_w .btn_submit:hover { background: #1b3d6e; }

@media all and (max-width:820px) {
    .rv-view-author { padding: 12px; }
    .rv-view-author-avatar { width: 36px; height: 36px; }
    .rv-view-meta { gap: 8px; }
    .rv-view-meta-item { font-size: 12px; }
}

/* ===== 후기 글쓰기 ===== */
.rv-write-desc { color: #888; margin-top: 6px; line-height: 1.6; }

/* 대표 사진 팁 */
.rv-write-photo-tip { font-size: 11px; color: #1051af; font-weight: 600; background: #eef3f9; border: 1px solid #cdddf0; border-radius: 4px; padding: 1px 6px; margin-left: 6px; font-style: normal; }

/* 사진 업로드 영역 */
.rv-write-photo-wrap { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.rv-write-photo-preview { width: 160px; height: 160px; border-radius: 10px; overflow: hidden; border: 1.5px solid #e0e0e0; flex-shrink: 0; background: #f8f8f8; }
.rv-write-photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-write-photo-empty { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.rv-write-photo-empty span { font-size: 12px; color: #ccc; text-align: center; }
.rv-write-photo-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 1.5px solid #e0e0e0; border-radius: 6px; font-size: 13px; color: #555; cursor: pointer; transition: all 0.2s; align-self: flex-end; }
.rv-write-photo-btn:hover { border-color: #1051af; color: #1051af; }

/* ============================================================
   서브페이지(게시판) 헤더 - 흰 배경이므로 텍스트 다크 고정
============================================================ */
/* 서브페이지에서는 헤더가 처음부터 흰색 배경 위에 위치 → 글자를 다크로 */
#site-header.sub-header { background: #fff; border-bottom: 1px solid #eef2f6; }
#site-header.sub-header .gnb-link,
#site-header.sub-header .logo-wrap { color: #1b3d6e; }
#site-header.sub-header .gnb-link { color: #1b3d6e; }
#site-header.sub-header .gnb-link:hover { color: #1051af; }
/* 흰 배경용 로고 표시, 흰색 로고 숨김 */
#site-header.sub-header .logo-img-w { display: none; }
#site-header.sub-header .logo-img-b { display: block; }
/* 햄버거 라인 다크 */
#site-header.sub-header .btn-hamburger span { background: #1b3d6e; }