@charset "utf-8";


/* ============================================================
   FONTS & GLOBAL
   ============================================================ */

@font-face {
    font-family: 'BookkMyungjo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Lt.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'BonmyeongjoSourceHanSerif';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NotoSerifKR.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BelovedMyoeunttobak';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-1@1.0/Griun_Myoeunddobak-Rg.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}


/* ============================================================
   LIST SKIN
   ============================================================ */

.board-notice	{ width: 264px; padding: 10px; margin: 0 auto; text-align: center; box-sizing: border-box; }

#bo_list {
    width: 1170px;
    height: 800px;
    position: absolute;
    top: calc(50% - 400px);
    left: calc(50% - 420px);
    padding: 10px;
}

.list-layout {
    width: 100%;
    height: 800px;
    display: flex;
    flex-direction: column;
    position: relative;   /* #bo_sch(데스크탑 absolute)의 기준 컨테이너 */
}

.list-header {
    width: 100%;
    height: 170px;
    flex-shrink: 0;
    position: relative;
}

.list-content {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px 0 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.list-content::-webkit-scrollbar { display: none; }

/* Chrome/Safari */
.list-footer {
    width: 100%;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ── 헤더: 버튼 그룹 ── */
.star-button-group {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 25px;
    z-index: 99;
}

.star-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.star-shape {
    width: 30px;
    height: 40px;
    background-color: var(--primary-color);
    clip-path: polygon(
        50% 0%,
        62% 35%, 100% 50%, 62% 65%,
        50% 100%,
        38% 65%, 0% 50%, 38% 35%
    );
    transition: background-color 0.3s ease;
}

.star-text {
    font-family: 'NexonLv1Gothic';
    font-size: 9px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 6px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.star-btn:hover .star-shape { background-color: var(--secondary-color); }

.star-btn:hover .star-text  { color: var(--secondary-color); }

.star-btn:active             { transform: translateY(1px); }

.star-btn.disabled           { cursor: not-allowed; pointer-events: none; }

/* ── 헤더: 타이틀 ── */
.title-main {
    font-family: 'PuradakGentleGothic';
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.title-sub {
    font-family: var(--content-font-family);
    font-size: 14px;
    color: var(--content-font-color);
    line-height: 1.4;
    margin-bottom: 20px;
    padding-top: 3px;
}

/* ── 헤더: 검색창 ── */
#bo_sch {
    position: absolute;
    /* 마크업상 footer 뒤로 이동했지만, 데스크탑에선 헤더 우하단에 그대로 보이도록
       list-layout 기준으로 재고정: top = 헤더(170) - 하단여백(30) - 검색창높이(32) */
    top: 108px;
    right: 20px;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 10;
}

#bo_sch form {
    margin: 0 !important;
    display: block !important;
}

/* 1. 전체 테두리 박스 크기 및 내부 여백 조절 */
.search-box-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* 내부 요소를 양 끝으로 밀착 */
    width: 250px; /* 전체 검색창 박스의 직관적인 너비 설정 */
    height: 32px;
    border: 1.5px solid var(--primary-color); /* 캐릭터 리본색 라인 테두리 */
    border-radius: 8px; /* image_cec826 느낌의 부드러운 라운딩으로 조율 */
    background-color: #fff;
    padding: 0 10px; /* 좌우 여백을 줄여 버튼이 테두리와 가까워지게 설정 */
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.search-box-wrapper:hover,
.search-box-wrapper:focus-within {
    border-color: var(--primary-color);
}

/* 2. 글자 입력창 너비 최적화 */
.search-box-wrapper .sch_input {
    flex: 1 !important; /* 남은 공간을 꽉 채우되 */
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 8px 0 2px !important; /* 오른쪽에 마진을 살짝 주어 글자가 버튼과 겹치지 않게 방지 */
    margin: 0 !important;
    font-family: var(--content-font-family);
    font-size: 12px;
    color: var(--primary-color);
    outline: none !important;
}

.search-box-wrapper .sch_input::placeholder {
    color: var(--secondary-color);
    font-size: 13px;
}

/* 3. 돋보기 버튼을 우측 끝 테두리 안쪽으로 밀착 */
.search-box-wrapper .sch_btn {
    flex-shrink: 0; /* 크기가 압축되지 않도록 고정 */
    width: 24px; /* 아이콘 크기에 맞는 슬림한 너비 */
    height: 100%;
    border: none !important;
    background: transparent !important;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    transition: color 0.2s ease;
}

.search-box-wrapper .sch_btn:hover {
    color: var(--primary-color);
}

.search-box-wrapper .sch_btn i {
    font-size: 13px;
}

/* ── 푸터: 페이지네이션 ── */
.pg_wrap_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
}

.pg_group { display: flex; gap: 15px; }

.pg_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pg_btn:hover { opacity: 0.7; }

.triangle      { width: 0; height: 0; display: inline-block; }

.triangle.left  { border-right: 10px solid var(--primary-color); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

.triangle.right { border-left:  10px solid var(--primary-color); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

.bar { width: 2px; height: 14px; background-color: var(--primary-color); display: inline-block; }

.pg_btn.first .bar { margin-right: 2px; }

.pg_btn.last  .bar { margin-left:  2px; }

.avocado-list	{
	display: flex;
	flex-direction: column;
	gap: 15px;
	position: relative;
	margin: 0;
	padding: 10px 20px;
	width: 100%;
	box-sizing: border-box;
}

.avocado-list li {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.25);
}

.avocado-list li:hover {
    transform: translateY(-2px);
}

.avocado-list li.no-data {
    display: block;
    grid-template-columns: none;
}

.avocado-list li.bo_notice	{  }

.avocado-list li.no-data	{ 
	text-align: center;
	line-height: 200px;
}

.avocado-list li .td_chk {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avocado-list li strong .highlight {font-weight:normal;}

.avocado-list li strong .cnt_cmt:before	{ content: "( "; }

.avocado-list li strong .cnt_cmt:after	{ content: " )"; }

.avocado-list li .ico-cate	{
	display: block;
	position: absolute;
	top: 0; 
	left: 20px;
	width: 100px;
	text-align: center;
}

.avocado-list li a {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    line-height: 1.4;
}

.list-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    margin-bottom: 10px;
}

.list-title .title-main {
    font-family: 'BookkMyungjo', serif !important;
    font-size: 16px;
}

.list-subtitle {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
    white-space: nowrap;
    font-family: 'BookkMyungjo', serif !important;
text-overflow: ellipsis;
overflow: hidden;
min-width: 0;
flex: 1 1 auto;
display: inline-block;
max-width: 100%;
}

.avocado-list li a {
    min-width: 0;
}

.avocado-list li .info {
    display: flex;
justify-content:flex-end;
gap: 10px;
    grid-template-columns: 110px auto;
    column-gap: 6px;
    align-items: center;
    font-size: 11px;
    white-space: nowrap;
margin-right: 24px;
}

.avocado-list li .info .name {
    text-align: right;
    overflow: hidden;
max-width: 80px;
	gap: 4px;
	justify-content: flex-end;
	text-overflow: ellipsis;
	padding-right:5px;
}

.avocado-list li .highlight {
flex: 0 0 auto;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 0;
padding-right: 4px;
    border-radius: 3px;
    line-height: 1.4;
font-size: 8px;
margin-bottom: 0px !important;
font-family: inherit;
}

.avocado-list li .info .date {
    text-align: right;
flex-shrink: 0;
padding-right: 6px;
}

.avocado-list li .hit	{
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	text-align: center;
	opacity: .6;
	font-size: 11px;
}

.board-category	{
	display: block;
	position: relative;
	margin-bottom: 10px; 
	
}

.avocado-list li a.bo_row {
    display: grid;
	grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
	gap: 12px;
width: 100%;
}

.avocado-list li .bo_title {
	flex-direction: column;
	gap: 4px;
	display: flex;
    min-width: 0; 
}

.avocado-list li .bo_title .list-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.avocado-list li .list-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.avocado-list li .title-main {
    display: block;
   width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avocado-list li .list-subtitle {
	display: block;
	width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #999;
}

.no-data-row {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    color: #888;
    font-size: 15px;
}

.subtitle-wrap {
    display: block;
    width: 100%;
    overflow: hidden;
}

.comment-count {
    font-size: 12px;
    color: var(--primary-color);
font-weight: 700;
}

.bo_title .list-preview { 
    display: block; 
    font-size: 0.9em; 
    color: #999; 
    line-height: 1.6; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.list-layout .td_chk { 
    visibility: hidden;
    opacity: 0;
}

/* 리스트 내용 미리보기 폰트 */
.text-area {
    font-family: 'ChosunIlboMyungjo', serif !important;
}

/* 검색 input autofill 하이라이트 제거 */
#bo_sch input:-webkit-autofill,
#bo_sch input:-webkit-autofill:hover,
#bo_sch input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    transition: background-color 5000s ease-in-out 0s;
}


/* ============================================================
   VIEW SKIN  (뷰어 · 댓글 · 다크/라이트 테마)
   ============================================================ */

.bo_fx {position:relative;padding:20px 0;}

.board-viewer.theme-box	{
	display: block;
	position: relative;
	padding: 20px;
	max-width: 1000px !important;
	margin: 0 auto;
}

/* 컨텐츠 위아래로 whitesmoke 배경을 화면 끝까지 채움 */
.board-viewer.theme-box::before,
.board-viewer.theme-box::after {
	content: '';
	position: fixed;
	left: 0;
	right: 0;
	background: whitesmoke;
	z-index: -1;
}

.board-viewer.theme-box::before {
	top: 0;
	height: 100vh;
}

.board-viewer .subject	{
	text-align: left;
	margin-bottom:8px;
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.board-viewer .subject em	{
	display: block;
	position: relative;
	font-size: 14px;
	line-height: 1.2em;
	padding-bottom: 10px;
}

.board-viewer .subject strong	{
	display: block;
	position: relative;
	font-size: 25px;
	font-family: 'BookkMyungjo', serif;
	line-height: 1.3em;
	margin-bottom: 8px;
	margin-left: 0;
	padding-left: 0;
}

.board-viewer .info	{
	margin-top: -10px;
	padding-left: 2px;
}

.board-viewer .info span	{ display: inline-block; }

.board-viewer .info span + span:before	{
	content: "";
	display: inline-block;
	width: 1px;
	height: 8px;
	vertical-align: middle;
	margin: 0 10px;
}

.board-viewer .contents	{
	display: block;
	position: relative;
	margin: 20px 0;
	padding: 40px 5px;
	border-left-width: 0;
	border-right-width: 0;
	margin-bottom: 30px;
}

/* 본문 내용 전용 폰트 (댓글 제외) */
#bo_v_con {
	font-family: 'BonmyeongjoSourceHanSerif', serif;
	font-size: 12px;
    letter-spacing: -0.5px;
}

.board-viewer .contents hr{
    display:block;
    border:0;
    border-top:1px solid #999;
    margin:20px 0;
}

#bo_v_bot	{ padding: 20px 0; overflow: visible; }

.view-nav-item {
    display: block;
    padding: 8px 0;
margin-bottom: 10px; 

}

.view-nav {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bo_v_nb,
.bo_v_com {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 16px;
}

/* ── 댓글 섹션 ── */
#bo_vc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
}

#bo_vc_w {
    padding: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.board-comment-write { margin-top: 30px; }

/* 댓글 아이템 */
.comment_item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: box-shadow 0.2s;
}

.comment_item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.13); }

/* 헤더 */
.cmt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.cmt-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 아바타 */
.cmt-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #ececec;
}

.cmt-avatar img { width: 100%; height: 100%; object-fit: cover; }

.cmt-avatar .fa-user-circle { font-size: 32px; color: #bbb; line-height: 1; }

.cmt-author { font-size: 0.92em; font-weight: 700; color: var(--content-font-color); }

.cmt-date   { font-size: 0.78em; color: #999; }

.cmt-secret-icon { font-size: 0.8em; color: #999; margin-right: -4px; }

/* 수정·삭제 버튼 (hover 시 노출) */
.cmt-header-right {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s;
}

.comment_item:hover .cmt-header-right { opacity: 1; }

.cmt-action-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: none;
    background: none;
    color: #bbb;
    font-size: 0.82em;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.cmt-action-btn:hover  { color: var(--primary-color); background: none; }

.cmt-delete-btn:hover  { color: var(--primary-color); }

/* 본문 */
.cmt-content {
    font-size: 0.93em;
    line-height: 1.7;
    color: var(--content-font-color);
    word-wrap: break-word;
    margin-bottom: 10px;
}

/* 하단 액션 */
.cmt-footer {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.cmt-footer-btn {
    width: 32px; height: 32px;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 1em;
    color: #bbb;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: color 0.15s;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
}

.cmt-like-btn              { color: #bbb; }

.cmt-footer .cmt-footer-btn:hover { color: var(--primary-color); }

.cmt-footer .cmt-like-btn:hover   { color: #e0245e; }

.cmt-footer .cmt-like-btn.liked   { color: #e0245e; }

.cmt-like-btn.like-pop     { transform: scale(1.3); transition: transform 0.15s; }

.cmt-like-count            { font-size: 0.8em; font-weight: 700; margin-left: 2px; }

body.light-mode .cmt-footer .cmt-footer-btn,
body.light-mode .cmt-footer .cmt-like-btn { color: #bbb !important; }

body.light-mode .cmt-footer .cmt-footer-btn:hover  { color: var(--primary-color) !important; }

body.light-mode .cmt-footer .cmt-like-btn:hover    { color: #e0245e !important; }

body.light-mode .cmt-footer .cmt-like-btn.liked    { color: #e0245e !important; }

/* 댓글 입력 폼 */
.comment_form_container { display: flex; flex-direction: column; gap: 0; }

.cmt-guest-row {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

.cmt-guest-input {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid #eee;
    border-radius: 20px;
    font-size: 0.9em;
    outline: none;
}

.cmt-guest-input:focus { border-color: var(--primary-color); }

.cmt-write-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px 10px;
}

.cmt-write-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #ececec;
    margin-top: 2px;
}

.cmt-write-avatar img { width: 100%; height: 100%; object-fit: cover; }

.cmt-write-avatar .fa-user-circle { font-size: 34px; color: #bbb; line-height: 1; }

.cmt-write-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmt-textarea {
    width: 100%;
    min-height: 68px;
    padding: 6px 0;
    border: none;
    border-bottom: 1.5px solid #eee;
    background: transparent;
    color: var(--content-font-color);
    font-size: 0.97em;
    line-height: 1.6;
    resize: none;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.cmt-textarea:focus { border-bottom-color: var(--primary-color); }

.cmt-textarea::placeholder { color: #bbb; opacity: 0.8; }

.cmt-write-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.cmt-char-counter { font-size: 0.8em; color: #999; margin-right: auto; }

.cmt-secret-label {
    cursor: pointer;
    color: #999;
    font-size: 0.95em;
    display: flex; align-items: center; gap: 4px;
    transition: color 0.15s;
}

.cmt-secret-label input { display: none; }

.cmt-secret-label:has(input:checked) { color: var(--primary-color); }

.cmt-submit-btn {
    padding: 5px 18px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.88em;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s, transform 0.15s;
}

.cmt-submit-btn:hover { filter: brightness(0.93); transform: translateY(-1px); }

/* dark mode 댓글 */
body.dark-mode .comment_item,
body.dark-mode #bo_vc_w {
    background: #1E2F5A;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body.dark-mode .cmt-avatar,
body.dark-mode .cmt-write-avatar { background: #111B3A; border-color: #2a3a60; }

body.dark-mode .cmt-textarea     { border-bottom-color: #2a3a60; }

body.dark-mode .cmt-guest-row    { border-bottom-color: #2a3a60; }

body.dark-mode .cmt-guest-input  { background: #111B3A; color: #e3e3e2; border-color: #2a3a60; }

body.dark-mode .cmt-author       { color: var(--secondary-color); }

body.dark-mode .cmt-content      { color: #999; }

body.dark-mode .cmt-action-btn:hover,
body.dark-mode .cmt-footer-btn:hover { color: var(--secondary-color); }

body.dark-mode .cmt-like-btn:hover   { color: #e0245e; }

#bo_v_con.indent-on p {
    text-indent: 0.8em;
}

#bo_v_con.indent-on p:has(img),
#bo_v_con.indent-on p:has(iframe) {
    text-indent: 0 !important;
    margin-left: 0 !important;
}

#bo_v_con img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

#bo_v_con p {
    margin-left: 0;
    padding-left: 0;
}

.view-font-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

#bo_v_con {
    line-height: 1.8;
}

.view-font-control {
    margin-bottom: 30px;
    display: flex;
    gap: 6px;
justify-content: right;
}

.view-font-control button {
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
}

.view-subtitle {
    font-size: 15px;
    font-weight: bold;
    font-family: 'BookkMyungjo', serif;
    margin: 0 0 18px;
    color: #555;
    padding-left: 1px;
}

#bo_v_con em,
#bo_v_con i {
    font-style: italic;
}

.btn_submit {
font-size: 13.5px;
}

#bo_v_nav {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.view-nav-item {
    flex: 1;
    min-width: 0;
    display: block;
    padding: 8px 0;
    border-radius: 12px;
    background: none;
    text-decoration: none;
    color: inherit;
    transition: background .2s ease;
}

.view-nav-item:hover {
    background: none;
}

.view-nav-item.prev {
    text-align: left;
}

.view-nav-item.next {
    text-align: right;
}

.view-nav-item.empty {
    opacity: 0.35;
    cursor: default;
}

.nav-empty {
    font-weight: 400;
    font-style: italic;
}

.view-nav-item .nav-label {
    font-size: 11px;
    opacity: .5;
    display: block;
    margin-bottom: 6px;
}

.nav-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-subtitle {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-nav-item .nav-content {
    min-width: 0;
}

.video-inline {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16 / 9;
    vertical-align: middle;
}

.video-inline iframe {
    display: block; 
    width: 100%;
    height: 100%;

    border: 0;
    outline: none;
    box-shadow: none;
}

html.dark-mode,
body.dark-mode {
    background: #000;
    color: #e3e3e2;
}

body.dark-mode #header .gnb_1da,
body.dark-mode #header .gnb_1da a {
    color: #fff !important;
}

body.dark-mode .board-viewer,
body.dark-mode .board-viewer.theme-box,
body.dark-mode #bo_v_con {
    background: #111B3A;
    color: #e3e3e2;
}

body.dark-mode .board-viewer.theme-box::before {
    background: #111B3A;
}

body.dark-mode .subject strong {
    color: #e3e3e2;
}

body.dark-mode .view-subtitle {
    color: #c7c7c7;
}

body .info {
    color: #777;
}

body.dark-mode .info,
body.dark-mode .sv_member {
    color: #999;
}

body.dark-mode a {
    color: #e3e3e2;
}

.view-category,
.view-category a {
    color: #777;
}

body.dark-mode .view-category,
body.dark-mode .view-category a {
    color: #999;
}

body.dark-mode .nav-title {
    color: #e3e3e2;
}

body.dark-mode .nav-subtitle {
    color: #999;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #000;
    color: #fff;
    border-color: #555;
}

body.dark-mode .required,
body.dark-mode .frm_file,
body.dark-mode .frm_input.full {
    border: 1px solid #999;
}

body.dark-mode .ui-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

body.dark-mode .theme-box {
    border-color: #000;
}

body.dark-mode::-webkit-scrollbar-track {
    background: #222;
}

body.dark-mode::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 5px;
}

body.dark-mode #gnb_wrapper {
        background: #000;
    }

blockquote.se2_quote2 {
    display: table !important;
    margin: 20px auto !important;
    position: relative !important;
    padding: 10px 10px 10px 50px !important;
    border: 0 !important;
    background: none !important;
    text-indent: 0 !important;
    min-width: 50px;
text-align: left;
}

blockquote.se2_quote2 p {
    display: inline-block !important;
vertical-align: middle;
    text-align: inherit;
    margin: 0 !important;
    text-indent: 0 !important;
}

blockquote.se2_quote2::before {
    content: "\201C" !important;
    position: absolute !important;
    left: 10px !important;
    top: 2px !important;
    font-size: 70px !important;
    color: #777 !important;
    font-family: Georgia, serif !important;
    z-index: 999 !important;
    line-height: 1 !important;
}

blockquote.se2_quote2[style*="text-align: left"],
blockquote.se2_quote2:has(p[style*="text-align: left"]) {
    margin-left: 0.8em !important;
    margin-right: auto !important;
}

blockquote.se2_quote2[style*="text-align: right"],
blockquote.se2_quote2:has(p[style*="text-align: right"]) {
    margin-left: auto !important;
    margin-right: 0.8em !important;
}

.view-font-control button {
    width: 40px; 
    height: 25px;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    vertical-align: middle;
    border: none;
    background: #EEF0F0;
    cursor: pointer;
}

.view-font-control button:hover {
    background-color: #e2e6ea;
}

.light-mode .emoji {
    color: #555 !important;
}

html.light-mode,
body.light-mode {
    background: #fff;
    color: #555;
}

body.light-mode #header .gnb_1da,
body.light-mode #header .gnb_1da a {
    color: #555 !important;
}

body.light-mode .board-viewer,
body.light-mode .board-viewer.theme-box,
body.light-mode #bo_v_con {
    background: whitesmoke;
    color: #555;
}

body.light-mode .board-viewer.theme-box::before {
    background: whitesmoke;
}

body.light-mode .subject strong {
    color: #555;
}

body.light-mode .view-subtitle {
    color: #555;
}

body .info,
body .sv_member {
    color: #999;
}

body.light-mode .info,
body.light-mode .sv_member {
    color: #777;
}

body.light-mode a {
    color: #333;
}

body.dark-mode #bo_v_con {
    color: #e3e3e2; 
}

body.dark-mode #bo_v_con span, 
body.dark-mode #bo_v_con p, 
body.dark-mode #bo_v_con div {
    color: inherit; 
}

body.light-mode #bo_v_con {
    color: #555;
}

body.light-mode #bo_v_con span, 
body.light-mode #bo_v_con p, 
body.light-mode #bo_v_con div {
    color: inherit;
}

body.light-mode .nav-title {
    color: #333;
}

body.light-mode .nav-subtitle {
    color: #777;
}

body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: #fff;
    color: #555;
}

body.light-mode .required,
body.light-mode .frm_file,
body.light-mode .frm_input.full {
    border: 1px solid rgb(227,227,226);
}

body.light-mode .ui-btn {
    background: #fff;
    color: #555;
    border: 1px solid #fff;
}

body.light-mode .theme-box {
    border-color: #fff;
}

body.light-mode #gnb_wrapper {
        background: #fff;
    }

body.light-mode .view-category,
body.light-mode .view-category a {
    color: #777;
}

body.light-mode::-webkit-scrollbar-track {
    background: #f5f5f5;
}

body.light-mode::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 5px;
}

.edit-mode .td_chk { 
    visibility: visible;
    opacity: 1;
}

.theme-box {
padding: 12px 10px !important;
}

.light-mode #header {
background-color: #fff;
}

/* 본문 이미지 클릭 비활성화 */
a.view_image { cursor: default !important; pointer-events: none; }


/* ============================================================
   WRITE SKIN
   ============================================================ */

.board-write	{  padding: 0 10px; }

.board-write h3	{
	font-size: 26px;
	text-align: center;
	padding: 30px 0 20px;
}

.board-write .write-notice	{
	padding: 10px;
	font-size: 11px;
}

.board-write > dl {position:relative;}

.board-write > dl > dt { width:70px;position:absolute;line-height:32px;text-align:center; }

.board-write > dl > dd { width:100%;margin-left:0;padding-left:80px;box-sizing:border-box;line-height:32px;}

.board-write input.frm_input.full	{ width: 100%; display:block;margin:1px 0;}

.temp-check {
    width: 20px;
    height: 20px;
    transform: scale(1.3);
    cursor: pointer;
}

.board-write > dl > dt {
text-align: right;
}

/* ════════════════════════════════════════
   WRITE SKIN
════════════════════════════════════════ */
#bo_w {
    width: 1170px;
    height: 800px;
    position: absolute;
    top: calc(50% - 400px);
    left: calc(50% - 420px);
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#bo_w::-webkit-scrollbar { display: none; }

.board-write.theme-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 행 */
.write-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-end;
}

/* 필드 */
.write-field {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.write-field-grow { flex: 2; }

.write-field-fixed { flex: 0 0 auto; }

.write-field label {
    display: block;
    font-family: 'BookkMyungjo', serif;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 13px;
}

.write-field input[type="text"],
.write-field input[type="password"],
.write-field select {
    width: 100%;
    padding: 4px 2px;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    border-radius: 0;
    background: transparent;
    font-family: 'BelovedMyoeunttobak', var(--content-font-family);
    font-size: 15px;
    box-sizing: border-box;
    color: var(--content-font-color);
    outline: none;
}

.write-field input[type="text"]:focus,
.write-field input[type="password"]:focus,
.write-field select:focus {
    border-bottom-color: var(--secondary-color);
}

/* 에디터 영역 */
.write-editor-wrap {
    margin-bottom: 10px;
}

/* 글자 수 */
#editor_char_count_display {
    text-align: center;
    padding: 10px;
    margin: 8px 0 16px;
    border: 1px solid #ddd;
    background: transparent;
    font-size: 13px;
    color: #888;
    border-radius: 5px;
    line-height: 1.6;
}

/* 불러오기 버튼 */
.write-load-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    height: 30px;
    transition: filter 0.15s;
}

.write-load-btn:hover { filter: brightness(0.88); }

/* 버튼 박스 */
.write-btn-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 10px;
}

.write-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: filter 0.15s;
}

.write-btn-submit {
    background: var(--primary-color);
    color: #fff;
}

.write-btn-cancel {
    background: #888;
    color: #fff;
}

.write-btn-temp {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.write-btn:hover { filter: brightness(0.88); }

/* 공지 작성 notice */
.write-notice {
    padding: 8px 12px;
    background: rgba(0,0,0,0.04);
    border-left: 3px solid var(--primary-color);
    font-size: 13px;
    margin-bottom: 14px;
    border-radius: 0 4px 4px 0;
}

/* dark mode */
body.dark-mode .write-field input[type="text"],
body.dark-mode .write-field input[type="password"],
body.dark-mode .write-field select {
    color: #e3e3e2;
}

body.dark-mode #editor_char_count_display {
    border-color: #2a3a60;
    color: #aaa;
}


/* ============================================================
   MOBILE / 반응형 (모바일 최적화)
   ============================================================ */

@media all and (max-width: 768px) {
#bo_v_con * {max-width:100%;}

.board-category	{
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 0 10px;
}
.board-category select	{
		width: 100%;
}

.bo_fx	{
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 20px 10px !important;
}

.bo_fx a.ui-btn {
    font-weight: bold;
}
}

@media all and (max-width: 768px) {

.avocado-list li a {
    display: flex;
    align-items: center;
    padding: 6px 16px;
}
.avocado-list li .ico-cate,
.avocado-list li .name,
.avocado-list li .date,
.avocado-list li .hit	{
		position: relative;
		width: auto;
		left: auto;
		right: auto;
		bottom: auto;
		line-height: 1.2em;
	}

	

.avocado-list li .ico-cate	{ display: inline; }
.avocado-list li .ico-cate:before	{ content: "[ "; }
.avocado-list li .ico-cate:after	{ content: " ]"; }

.avocado-list li strong	{ display: flex; min-width: 0; line-height: 1.2em; }

.avocado-list li .name,
.avocado-list li .date,
.avocado-list li .hit	{ display: inline; padding: 0 5px; }

}

@media (max-width: 768px) {

  a.bo_row {
        display: block !important;
    }

a.bo_row .bo_title {
        display: block;
        width: 100%;
    }

a.bo_row .info {
        display: block;
        width: 100%;
        margin-top: 6px;
    }

.avocado-list li .highlight {
padding-left: 0px;
padding-right: 10px;
}
.avocado-list li .info .name {
        padding-left: 0;
	padding-right: 5px;
    }

.view-nav {
        grid-template-columns: 1fr;
    }

.avocado-list li .bo_title .list-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 5px;
}

.list-preview {
    margin-top: 5px;
}
}

@media screen and (max-width: 768px) {
    .board-viewer.theme-box {
        padding-left: 25px !important;
        padding-right: 25px !important;
        
    }
.light-mode #header {
background-color: #none;
}
}

@media screen and (min-width: 1100px) and (max-width: 1500px) {
    #bo_list {
        width: 860px;
        height: 700px;
        position: absolute;
        top: calc(50% - 350px);
        left: calc(50% - 310px);
    }

    .star-button-group {
        top: 0px;
    }
}

@media screen and (max-width: 1099px) {
    #bo_list {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 10px;
        left: 0px;
        padding: 30px;
    }

    .star-button-group {
    display: none;
    }

    /* 헤더가 검색창까지 감싸도록 고정높이 해제 */
    .list-header {
    height: auto;
    }

    /* 검색창: absolute 해제하고 본문 흐름상 상단 중앙에 배치 */
    #bo_sch {
    position: static;
    width: 100%;
    margin: 15px 0 0;
    padding: 0;
    border: 0;
    display: flex;
    justify-content: center;
    z-index: auto;
    }

    #bo_sch form {
    width: 100%;
    max-width: 400px;
    }

    .search-box-wrapper {
    width: 100%;
    }

}