/* 2026-12 리뉴얼: 상세페이지 (메인과 같은 톤) */
#bo_v_table{display:none}                         /* 오른쪽 위 회색 게시판 이름 */

/* 본문 폭을 헤더(.rn-wrap: 최대 1480px, 좌우 여백 동일)와 맞춘다 */
#wrapper{min-width:0}
#container{width:auto;max-width:1480px;margin:0 auto;padding:0 clamp(20px,5.5vw,96px);box-sizing:border-box}
#bo_v{width:auto !important}
#bo_v{--ink:#10204A;--soft:#4A5878;--cobalt:#2B4BFF;--line:#D5DBE4;position:relative;padding:clamp(40px,5vw,72px) 0 0;margin-bottom:0;color:var(--ink)}

/* 제목 */
#bo_v .rn-v-head{padding-bottom:clamp(24px,3vw,36px)}
#bo_v .rn-v-cat{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;font-size:14px;font-weight:700;color:var(--cobalt)}
#bo_v .rn-v-cat::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
#bo_v #bo_v_title{margin:0;padding:0;font-size:clamp(28px,3.4vw,44px);line-height:1.3;font-weight:800;letter-spacing:-.03em;color:var(--ink);word-break:keep-all}

/* 상단 버튼 줄 */
#bo_v #bo_v_top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 clamp(28px,3vw,40px);padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#bo_v #bo_v_top:after{display:none}
#bo_v #bo_v_top ul{display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0;list-style:none;float:none}
#bo_v #bo_v_top li{float:none;margin:0}
#bo_v .bo_v_nb{order:1}
#bo_v .bo_v_com{order:2;margin-left:auto !important}
#bo_v .rn-btn-nb,#bo_v .rn-btn-list,#bo_v #bo_v_top a.btn_b01,#bo_v #bo_v_top a.btn_b02,#bo_v #bo_v_top a.btn_admin{
  display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-size:14px;font-weight:700;line-height:1;text-decoration:none;transition:border-color .15s,background .15s,color .15s}
#bo_v .rn-btn-nb svg,#bo_v .rn-btn-list svg{width:14px;height:14px;flex:none}
#bo_v .rn-btn-nb:hover,#bo_v #bo_v_top a.btn_b01:hover,#bo_v #bo_v_top a.btn_admin:hover{border-color:var(--ink)}
#bo_v .rn-btn-list{background:var(--ink);border-color:var(--ink);color:#fff}
#bo_v .rn-btn-list:hover{background:var(--cobalt);border-color:var(--cobalt)}
#bo_v #bo_v_top a.btn_b02{background:var(--cobalt);border-color:var(--cobalt);color:#fff}
#bo_v #bo_v_top a.btn_admin{color:var(--soft)}

/* 본문 */
#bo_v #bo_v_atc{min-height:0}
#bo_v #bo_v_img img{display:block;width:100% !important;max-width:100%;height:auto !important;margin:0 0 20px;border-radius:12px}   /* 상세 이미지는 모두 본문 폭에 꽉 차게 */
#bo_v #bo_v_con img{max-width:100%;height:auto}

/* 제목 아래 키워드: 알약 버튼 (누르면 메인에서 검색) */
#bo_v .rn-kw{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0;padding:0;list-style:none}
#bo_v .rn-kw li{margin:0}
#bo_v .rn-kw a{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:999px;background:#EEF1F7;color:var(--soft);font-size:14px;font-weight:600;text-decoration:none;transition:background .15s,color .15s}
#bo_v .rn-kw a:hover{background:var(--cobalt);color:#fff}

/* 하단: 이전글 · 목록 · 다음글 */
#bo_v .rn-v-pager{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:stretch;margin:clamp(48px,6vw,80px) 0 clamp(56px,6vw,96px);padding:0}
#bo_v .rn-v-pager:after{display:none}
#bo_v .rn-pg{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;padding:20px 24px;border:1.5px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-decoration:none;transition:border-color .15s,box-shadow .15s}
#bo_v .rn-pg span{font-size:13px;font-weight:700;color:var(--soft)}
#bo_v .rn-pg strong{font-size:16px;font-weight:700;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#bo_v .rn-pg:hover{border-color:var(--ink);box-shadow:0 10px 30px rgba(16,32,74,.08)}
#bo_v .rn-pg-next{text-align:right}
#bo_v .rn-pg-empty{border:0;background:none}
#bo_v .rn-pg-list{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 26px;border-radius:16px;background:var(--ink);color:#fff;font-size:15px;font-weight:800;text-decoration:none;transition:background .15s}
#bo_v .rn-pg-list svg{width:15px;height:15px}
#bo_v .rn-pg-list:hover{background:var(--cobalt)}

@media (max-width:860px){
  #bo_v{padding:28px 0 0}
  #bo_v .rn-v-pager{grid-template-columns:1fr 1fr}
  #bo_v .rn-pg-list{grid-column:1 / -1;grid-row:2;height:52px}
  #bo_v .rn-pg{padding:16px 18px}
  #bo_v .rn-pg strong{font-size:15px}
}
