/**
 * CozyHome PC 가독성 + 커뮤니티 톤 (2026-10-02)
 * - 본문/목록 14~15px, 공유 토큰(brand_tokens.css) 색 사용
 * - 끄려면 layout.html 의 readability.css load 한 줄 제거
 */
body,
#wrapper {
	font-size: 14px;
	line-height: 1.6;
	color: var(--hl-ink, #111827);
	-webkit-font-smoothing: antialiased;
}

#wrapper a {
	color: var(--hl-ink, #111827);
}

/* 상단 메뉴 — 크기만 조정 (스킨 하늘색 바·흰 글씨 유지) */
#gnb a {
	font-size: 14px !important;
}
#gnb > ul > li > a {
	height: 40px;
	line-height: 40px;
	color: #FFF !important;
}
.gnb_dummy > div > ul > li > ul > li > a {
	font-size: 13px !important;
}

/* 사이트 타이틀 */
.h1_bottom span,
.h1_top span,
.h1_mid span {
	font-size: 22px !important;
	font-weight: 800;
	letter-spacing: -0.04em;
}

/* 사이드바·로그인 (글자만 키움, 사이드바이사이드 배치 유지) */
.sidebar,
.sidebar a {
	color: #444;
	font-size: 13px;
}
.login,
.login .message,
.l_login_form input,
button.bt_l_login,
.m_button,
.logged_in .bt_logout,
.c_notify {
	font-size: 13px !important;
}
.l_login_form {
	height: auto !important;
}
.l_login_form input {
	height: 28px;
	line-height: 26px;
}
button.bt_l_login {
	height: 56px !important;
}

/* 홈 위젯: 고정 height(320px)+overflow:hidden 때문에 글자 키우면 잘림/겹침 */
#content .xe-widget-wrapper {
	height: auto !important;
	overflow: visible !important;
}
#content > .xe-widget-wrapper:nth-child(2n+1) {
	clear: left;
}

/* 메인 위젯 목록 */
.c_widget {
	font-size: 14px;
}
#sidebar .c_widget {
	font-size: 13px;
}
.w_box .w_title,
.w_list .w_title,
.c_widget .w_title,
.w_box h2,
.w_box .title_area {
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	color: var(--hl-ink, #111827) !important;
	border-bottom: 2px solid var(--hl-blue, #2563EB) !important;
	display: inline-block;
	padding-bottom: 4px !important;
	margin-bottom: 8px !important;
}

/* 본문 영역 대비만 살짝 (레이아웃 구조 유지) */
#content {
	color: var(--hl-ink, #111827);
}
#content .xe-widget-wrapper .w_box {
	border-color: var(--hl-line, #E5E7EB);
}
.w_n_unit {
	margin-bottom: 10px;
	line-height: 1.45 !important;
	font-size: 14px;
	border-bottom: 1px solid var(--hl-line, #E5E7EB);
	padding-bottom: 7px;
}
.w_n_unit:last-child {
	margin-bottom: 0 !important;
	border-bottom: 0;
}
.w_n_unit .title,
.w_n_unit a {
	font-size: 14px;
	color: var(--hl-ink, #111827);
}
.w_n_info {
	margin-left: 8px;
}
.w_w_summary,
.w_w_info,
.w_c_unit,
.w_ga_summary,
.w_ga_info2 {
	font-size: 13px !important;
	line-height: 1.55 !important;
	color: #555 !important;
}
.w_c_body {
	height: auto !important;
	min-height: 78px;
}
.w_box .w_tab_unit a {
	height: 34px;
	line-height: 34px;
	font-size: 13px;
}
.w_list.w_box {
	padding: 16px 18px;
}

/* 링크 미리보기 카드는 모듈 CSS 유지 */
.preview_card_wrapper {
	font-size: 12px;
	line-height: 1.3;
}

/* ========== CozyHome 게시판 ========== */
.list_normal th {
	font-size: 13px !important;
	padding: 14px 0 14px 12px !important;
	color: #333 !important;
	border-bottom: 2px solid var(--hl-blue, #2563EB) !important;
}
.list_normal td {
	font-size: 13px !important;
	padding: 12px 0 12px 12px !important;
	color: #333;
}
.list_normal td.title {
	font-size: 14px !important;
	line-height: 1.45;
}
.list_normal td.title a {
	color: var(--hl-ink, #111827);
}
.category_list {
	font-size: 13px !important;
}

.article_header h1 {
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.4;
	color: #111;
}
.article_header .under_title {
	font-size: 12px !important;
	color: #777 !important;
}
article .xe_content,
article .xe_content p,
.ms_mode .xe_content {
	font-size: 14px !important;
	line-height: 1.7 !important;
	color: #222 !important;
}
.wz_summary,
.blog_summary {
	font-size: 13px !important;
	color: #444 !important;
	line-height: 1.65 !important;
}
.wz_title {
	font-size: 15px !important;
}

.commenter_area,
.comment_list,
.c_board .comment {
	font-size: 14px;
}
textarea {
	font-size: 14px !important;
	line-height: 1.6 !important;
}

/* ========== Sketchbook 게시판 (자유/뉴스 등 커뮤니티) ========== */
.bd,
.bd table {
	font-size: 14px !important;
	line-height: 1.55 !important;
}
.bd_bc {
	font-size: 12px !important;
	color: #777 !important;
}
.bd_set a,
.bd_font {
	font-size: 12px !important;
}
.bd_cnb a,
.bd .cTab ul li {
	font-size: 13px !important;
}

/* 목록 */
.bd_tb_lst th {
	font-size: 13px !important;
	padding: 12px 10px !important;
	color: #333 !important;
	border-bottom: 2px solid var(--hl-blue, #2563EB) !important;
}
.bd_tb_lst td {
	font-size: 13px !important;
	padding: 11px 10px !important;
	color: #444 !important;
}
.bd_tb_lst td.title,
.bd_tb_lst td.title a,
.bd_lst td.title a {
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	color: var(--hl-ink, #111827) !important;
}
.bd_tb_lst .author a,
.bd_tb_lst .cate,
.bd_tb_lst .cate span {
	font-size: 12px !important;
}
.bd_pg a,
.bd_pg strong {
	font-size: 13px !important;
	height: 28px !important;
	line-height: 28px !important;
}

/* 글 보기 — 제목·본문 과한 확대 완화 */
.rd_hd .board h1,
.rd_hd h1,
.rd_hd h1.np_18px,
.rd_hd h1[class*="np_"] {
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	color: #111 !important;
	padding: 2px 0 !important;
}
.rd_hd .board .nick,
.rd_hd .btm_area span,
.rd_hd .board .cate,
.rd_preview {
	font-size: 12px !important;
}
.rd_body .xe_content,
.rd_body .xe_content p,
.bd .xe_content,
.bd .xe_content p {
	font-size: 14px !important;
	line-height: 1.7 !important;
	color: #222 !important;
}
.rd_hd .blog h1 {
	font-size: 17px !important;
	font-weight: 700 !important;
}
.bd_hd h1,
.bd .bd_hd h1 {
	font-size: 16px !important;
	font-weight: 700 !important;
}

/* 댓글 */
.fdb_tag,
.fdb_itm,
.fdb_itm .meta,
.fdb_itm .xe_content,
.fdb_itm .xe_content p {
	font-size: 14px !important;
	line-height: 1.6 !important;
}
.fdb_itm .meta .date {
	font-size: 12px !important;
}

/* 버튼·폼 라벨 */
#wrapper .bt_basic,
.lb_basic,
.ip_basic,
.sbHolder {
	font-size: 13px !important;
}

/* 게시판 글쓰기 — 스킨 버튼톤에 맞춘 담백한 스타일 */
#wrapper .bd_set a[href*="dispBoardWrite"],
#wrapper .bd .btm_mn a.btn_img[href*="dispBoardWrite"],
#wrapper .bd .fr a.btn_img[href*="dispBoardWrite"] {
	display: inline-flex !important;
	align-items: center;
	gap: 3px;
	height: 28px !important;
	padding: 0 10px !important;
	margin-left: 2px;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: -0.01em;
	color: #374151 !important;
	background: #f9fafb !important;
	border: 1px solid #d1d5db !important;
	border-radius: 6px;
	box-shadow: none !important;
	vertical-align: middle;
}
#wrapper .bd_set a[href*="dispBoardWrite"]:hover,
#wrapper .bd .btm_mn a.btn_img[href*="dispBoardWrite"]:hover,
#wrapper .bd .fr a.btn_img[href*="dispBoardWrite"]:hover {
	background: #f3f4f6 !important;
	border-color: #9ca3af !important;
	color: #111827 !important;
}
#wrapper .bd_set a[href*="dispBoardWrite"] .ico_16px,
#wrapper .bd a.btn_img[href*="dispBoardWrite"] .ico_16px {
	filter: none;
	opacity: 0.85;
}
