@charset "utf-8";
/**
 * KBoard Feed Skin - 공지사항 스타일
 * @author Custom Design
 */

/* ===== 공통 스타일 ===== */
#kboard-feed-list {
	display: block;
	margin: 0 auto;
	margin-top: 50px;
	padding: 0;
	width: 100%;
	max-width: 1200px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#kboard-feed-list * {
	box-sizing: border-box;
}

#kboard-feed-list form {
	margin: 0;
	padding: 0;
}

/* ===== 헤더 영역 ===== */
.kboard-feed-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding: 0;
}

.kboard-feed-total {
	font-size: 14px;
	color: #666;
}

.kboard-feed-total strong {
	color: #333;
	font-weight: 600;
}

/* ===== 검색 영역 ===== */
.kboard-feed-search {
	display: flex;
	align-items: center;
}

.kboard-feed-search form {
	display: flex;
	align-items: center;
	gap: 5px;
}

.kboard-feed-search select {
	display: inline-block;
	margin: 0;
	padding: 0 10px;
	width: auto;
	height: 34px;
	font-size: 13px;
	color: #333;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	outline: none;
	cursor: pointer;
}

.kboard-feed-search input[type="text"] {
	display: inline-block;
	margin: 0;
	padding: 0 12px;
	width: 180px;
	height: 34px;
	font-size: 13px;
	color: #333;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	outline: none;
}

.kboard-feed-search input[type="text"]::placeholder {
	color: #999;
}

.kboard-feed-search input[type="text"]:focus {
	border-color: #333;
}

.kboard-feed-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 16px;
	height: 34px;
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	background: #333;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.kboard-feed-search-btn:hover {
	background: #555;
}

/* ===== 테이블 스타일 ===== */
.kboard-feed-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.kboard-feed-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
}

.kboard-feed-table thead {
	background: #333;
	border-top: none;
}

.kboard-feed-table thead th {
	padding: 14px 10px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	text-align: center;
	border-bottom: none;
}

.kboard-feed-table thead .kboard-feed-th-num {
	width: 80px;
}

.kboard-feed-table thead .kboard-feed-th-title {
	width: auto;
	text-align: left;
	padding-left: 20px;
}

.kboard-feed-table thead .kboard-feed-th-author {
	width: 120px;
}

.kboard-feed-table thead .kboard-feed-th-date {
	width: 100px;
}

/* ===== 테이블 바디 ===== */
.kboard-feed-table tbody tr {
	border-bottom: 1px solid #eee;
	transition: background 0.15s ease;
}

.kboard-feed-table tbody tr:hover {
	background: #fafafa;
}

.kboard-feed-table tbody tr.notice {
	background: #fffef5;
}

.kboard-feed-table tbody tr.notice:hover {
	background: #fffde0;
}

.kboard-feed-table tbody tr.popular {
	background: #fff5f5;
}

.kboard-feed-table tbody tr.popular:hover {
	background: #ffeded;
}

.kboard-feed-table tbody td {
	padding: 14px 10px;
	font-size: 14px;
	color: #333;
	vertical-align: middle;
}

/* ===== 번호 컬럼 ===== */
.kboard-feed-num {
	text-align: center;
	color: #888;
	font-size: 13px;
}

/* ===== 배지 스타일 ===== */
.kboard-feed-badge {
	display: inline-block;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	border-radius: 3px;
}

.kboard-feed-badge.notice {
	background: #333;
}

.kboard-feed-badge.popular {
	background: #ff6b6b;
}

/* ===== 제목 컬럼 ===== */
.kboard-feed-title {
	text-align: left;
	padding-left: 20px !important;
}

.kboard-feed-title a {
	display: inline;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	transition: color 0.15s ease;
}

.kboard-feed-title a:hover {
	color: #000;
	text-decoration: underline;
}

.kboard-feed-title-text {
	word-break: keep-all;
}

.kboard-feed-new {
	display: inline-block;
	margin-right: 5px;
	padding: 2px 5px;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	background: #f61b5d;
	border-radius: 2px;
	vertical-align: middle;
}

.kboard-feed-secret {
	margin-right: 4px;
	font-size: 12px;
	vertical-align: middle;
}

.kboard-feed-comments {
	margin-left: 6px;
	font-size: 13px;
	color: #2196f3;
	font-weight: 500;
}

/* ===== 작성자 컬럼 ===== */
.kboard-feed-author {
	text-align: center;
	color: #666;
	font-size: 13px;
}

/* ===== 날짜 컬럼 ===== */
.kboard-feed-date {
	text-align: center;
	color: #888;
	font-size: 13px;
}

/* ===== 빈 결과 ===== */
.kboard-feed-empty {
	text-align: center !important;
	padding: 60px 20px !important;
	color: #999;
	font-size: 14px;
}

/* ===== 모바일 메타 (기본 숨김) ===== */
.kboard-feed-mobile-meta {
	display: none;
	margin-top: 6px;
	font-size: 12px;
	color: #999;
}

.kboard-feed-mobile-sep {
	margin: 0 6px;
	color: #ddd;
}

/* ===== 페이지네이션 ===== */
.kboard-feed-pagination {
	display: flex;
	justify-content: center;
	margin: 30px 0;
}

.kboard-feed-pagination .kboard-pagination-pages {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kboard-feed-pagination .kboard-pagination-pages li {
	display: inline-block;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	list-style: none;
}

.kboard-feed-pagination .kboard-pagination-pages li::before,
.kboard-feed-pagination .kboard-pagination-pages li::after {
	display: none;
}

.kboard-feed-pagination .kboard-pagination-pages li a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	font-size: 13px;
	color: #666;
	text-decoration: none;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	transition: all 0.2s ease;
}

.kboard-feed-pagination .kboard-pagination-pages li:hover a,
.kboard-feed-pagination .kboard-pagination-pages li.active a {
	color: #fff;
	background: #333;
	border-color: #333;
}

/* ===== 컨트롤 버튼 ===== */
.kboard-feed-control {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 20px;
}

.kboard-feed-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 500;
	color: #fff !important;
	text-decoration: none !important;
	background: #333;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.kboard-feed-button:hover {
	background: #555;
}

/* ===== Powered by ===== */
.kboard-feed-poweredby {
	display: none !important;
}

/* ===== 카테고리 스타일 ===== */
#kboard-feed-list .kboard-category {
	margin-bottom: 20px;
}

#kboard-feed-list .kboard-category .kboard-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
	background: transparent;
}

#kboard-feed-list .kboard-category .kboard-category-list li {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

#kboard-feed-list .kboard-category .kboard-category-list li::before,
#kboard-feed-list .kboard-category .kboard-category-list li::after {
	display: none;
}

#kboard-feed-list .kboard-category .kboard-category-list li a {
	display: block;
	padding: 8px 16px;
	font-size: 13px;
	color: #666;
	text-decoration: none;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	transition: all 0.2s ease;
}

#kboard-feed-list .kboard-category .kboard-category-list li.kboard-category-selected a,
#kboard-feed-list .kboard-category .kboard-category-list li a:hover {
	color: #fff;
	background: #333;
	border-color: #333;
}

/* ===== 버튼 공통 스타일 ===== */
a.kboard-feed-button-small,
input.kboard-feed-button-small,
button.kboard-feed-button-small {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0 12px;
	width: auto;
	height: 30px;
	line-height: 30px;
	font-size: 13px;
	font-weight: normal;
	color: #333 !important;
	background: #f5f5f5 !important;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none !important;
	cursor: pointer;
	vertical-align: middle;
	transition: all 0.2s ease;
	box-sizing: content-box;
}

a.kboard-feed-button-small:hover,
input.kboard-feed-button-small:hover,
button.kboard-feed-button-small:hover {
	background: #eee !important;
	border-color: #ccc;
}

/* ===== 에디터 스타일 ===== */
#kboard-feed-editor {
	overflow: hidden;
}

#kboard-feed-editor form {
	margin: 0;
	padding: 0;
}

#kboard-feed-editor select {
	display: inline;
	margin: 0;
	padding: 0 10px;
	font-size: 14px;
	width: 30%;
	height: 36px;
	line-height: 36px;
	color: #333;
	border-radius: 4px;
	border: 1px solid #ddd;
	background: #fff;
	box-sizing: border-box;
	vertical-align: middle;
}

#kboard-feed-editor input[type=text],
#kboard-feed-editor input[type=email],
#kboard-feed-editor input[type=number],
#kboard-feed-editor input[type=date],
#kboard-feed-editor input[type=password] {
	display: inline;
	margin: 0;
	padding: 0 10px;
	width: 30%;
	height: 36px;
	line-height: 36px;
	font-size: 14px;
	color: #333;
	border-radius: 4px;
	border: 1px solid #ddd;
	background: #fff;
	box-sizing: border-box;
	vertical-align: middle;
}

#kboard-feed-editor input[type=checkbox] {
	width: auto;
}

#kboard-feed-editor input[type=radio] {
	width: auto;
}

#kboard-feed-editor select:focus,
#kboard-feed-editor input[type=text]:focus,
#kboard-feed-editor input[type=email]:focus,
#kboard-feed-editor input[type=number]:focus,
#kboard-feed-editor input[type=date]:focus,
#kboard-feed-editor input[type=password]:focus {
	border-color: #333;
	outline: none;
}

#kboard-feed-editor input[type=file] {
	display: inline;
	margin: 0;
	padding: 0;
	width: 30%;
	font-size: 13px;
	color: #666;
	border: 0;
	background: transparent;
}

#kboard-feed-editor .kboard-attr-title input {
	width: 70%;
}

#kboard-feed-editor .kboard-attr-row {
	float: left;
	padding: 10px 0;
	width: 100%;
	background-color: white;
	border-bottom: 1px solid #f0f0f0;
}

#kboard-feed-editor .kboard-attr-row .attr-name {
	display: inline;
	float: left;
	margin: 0;
	width: 130px;
	line-height: 36px;
	color: #333;
	font-size: 14px;
	font-weight: 600;
}

#kboard-feed-editor .kboard-attr-row .attr-name .attr-required-text {
	color: #f61b5d;
	font-weight: normal;
	font-size: 13px;
}

#kboard-feed-editor .kboard-attr-row.kboard-attr-content .attr-name {
	display: none;
}

#kboard-feed-editor .kboard-attr-row .attr-value {
	margin: 0 0 0 150px;
	padding: 0;
	line-height: 36px;
	font-size: 14px;
}

#kboard-feed-editor .kboard-attr-row .attr-value .attr-value-option {
	display: inline;
	padding-right: 20px;
	width: auto;
	font-size: 14px;
	cursor: pointer;
}

#kboard-feed-editor .kboard-attr-row .attr-value .attr-value-label {
	display: inline;
	padding-right: 10px;
	width: auto;
	cursor: pointer;
}

#kboard-feed-editor .kboard-attr-row .attr-value .description {
	margin: 5px 0 0 0;
	color: #888;
	font-size: 12px;
	line-height: 1.4;
}

#kboard-feed-editor .kboard-content {
	float: left;
	margin: 0;
	padding: 15px 0;
	width: 100%;
	background-color: white;
}

#kboard-feed-editor .kboard-content .editor-textarea {
	display: block;
	margin: 0;
	padding: 10px;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	height: 300px;
	font-size: 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	box-sizing: border-box;
	resize: vertical;
}

#kboard-feed-editor .kboard-control {
	float: left;
	padding: 20px 0;
	width: 100%;
}

#kboard-feed-editor .kboard-control .left {
	float: left;
}

#kboard-feed-editor .kboard-control .right {
	float: right;
	text-align: right;
}

#kboard-feed-editor.confirm {
	margin: 100px auto;
	max-width: 500px;
	padding: 30px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
}

#kboard-feed-editor.confirm input[type=password] {
	width: 100%;
	box-sizing: border-box;
}

/* ===== 문서 보기 스타일 ===== */
#kboard-feed-document {
	display: block;
	margin: 0 auto;
	margin-top: 50px;
	width: 100%;
	max-width: 1200px;
	box-sizing: border-box;
}

#kboard-feed-document .kboard-document-wrap {
	width: 100%;
	background-color: white;
	border-top: 2px solid #333;
}

#kboard-feed-document .kboard-title {
	padding: 25px 20px;
	border-bottom: 1px solid #eee;
}

#kboard-feed-document .kboard-title h1 {
	margin: 0;
	padding: 0;
	color: #1a1a1a;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.4;
	word-break: keep-all;
}

#kboard-feed-document .kboard-detail {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 15px 20px;
	background-color: #f9f9f9;
	border-bottom: 1px solid #eee;
	font-size: 13px;
}

#kboard-feed-document .kboard-detail .detail-attr {
	display: flex;
	align-items: center;
	gap: 8px;
}

#kboard-feed-document .kboard-detail .detail-attr .detail-name {
	font-weight: 600;
	color: #666;
}

#kboard-feed-document .kboard-detail .detail-attr .detail-value {
	color: #333;
}

#kboard-feed-document .kboard-detail .detail-attr .detail-value a {
	color: #333;
	text-decoration: none;
}

#kboard-feed-document .kboard-content {
	min-height: 300px;
	padding: 30px 20px;
	border-bottom: 1px solid #eee;
}

#kboard-feed-document .kboard-content .content-view {
	font-size: 15px;
	line-height: 1.8;
	color: #333;
	word-break: break-all;
}

#kboard-feed-document .kboard-content .content-view img {
	max-width: 100%;
	height: auto;
}

#kboard-feed-document .kboard-content .content-view p {
	margin: 0 0 1em;
}

#kboard-feed-document .kboard-document-action {
	display: flex;
	justify-content: space-between;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
}

#kboard-feed-document .kboard-document-action .left,
#kboard-feed-document .kboard-document-action .right {
	display: flex;
	gap: 8px;
}

#kboard-feed-document .kboard-button-action {
	padding: 6px 12px;
	font-size: 13px;
	color: #666;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

#kboard-feed-document .kboard-button-action:hover {
	background: #f5f5f5;
}

#kboard-feed-document .kboard-button-like {
	color: #ff5959;
}

#kboard-feed-document .kboard-button-unlike {
	color: #3d62aa;
}

#kboard-feed-document .kboard-attach {
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
	font-size: 13px;
}

#kboard-feed-document .kboard-attach .kboard-button-action {
	margin-right: 8px;
	margin-bottom: 8px;
}

#kboard-feed-document .kboard-comments-area {
	width: 100%;
}

#kboard-feed-document .kboard-document-navi {
	display: flex;
	justify-content: space-between;
	padding: 20px 0;
	margin-top: 20px;
	border-top: 1px solid #eee;
}

#kboard-feed-document .kboard-document-navi a {
	display: block;
	max-width: 45%;
	font-size: 14px;
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease;
}

#kboard-feed-document .kboard-document-navi a:hover {
	color: #333;
}

#kboard-feed-document .kboard-document-navi .navi-arrow {
	margin: 0 5px;
}

#kboard-feed-document .kboard-document-navi .navi-document-title {
	display: inline;
	word-break: keep-all;
}

#kboard-feed-document .kboard-control {
	display: flex;
	justify-content: space-between;
	padding: 20px 0;
}

#kboard-feed-document .kboard-control .left,
#kboard-feed-document .kboard-control .right {
	display: flex;
	gap: 8px;
}

/* ===== 최신글 스타일 ===== */
#kboard-feed-latest {
	width: 100%;
}

#kboard-feed-latest table {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid #333;
}

#kboard-feed-latest table tr {
	border-bottom: 1px solid #eee;
}

#kboard-feed-latest table td {
	padding: 12px 10px;
	font-size: 14px;
	vertical-align: middle;
}

#kboard-feed-latest table .kboard-latest-title {
	text-align: left;
}

#kboard-feed-latest table .kboard-latest-title a {
	color: #333;
	text-decoration: none;
}

#kboard-feed-latest table .kboard-latest-title a:hover {
	text-decoration: underline;
}

#kboard-feed-latest table .kboard-latest-date {
	width: 80px;
	text-align: center;
	color: #888;
	font-size: 13px;
}

/* ===== 반응형 - 태블릿 ===== */
@media screen and (max-width: 768px) {
	#kboard-feed-list {
		padding: 0 15px;
	}
	
	.kboard-feed-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	
	.kboard-feed-search {
		width: 100%;
	}
	
	.kboard-feed-search form {
		width: 100%;
		flex-wrap: wrap;
	}
	
	.kboard-feed-search select {
		flex: 0 0 auto;
	}
	
	.kboard-feed-search input[type="text"] {
		flex: 1;
		min-width: 0;
	}
	
	.kboard-feed-table thead .kboard-feed-th-num,
	.kboard-feed-table thead .kboard-feed-th-author,
	.kboard-feed-table tbody .kboard-feed-num,
	.kboard-feed-table tbody .kboard-feed-author {
		display: none;
	}
	
	.kboard-feed-table thead .kboard-feed-th-title {
		padding-left: 10px;
	}
	
	.kboard-feed-table thead .kboard-feed-th-date {
		width: 80px;
	}
	
	.kboard-feed-title {
		padding-left: 10px !important;
	}
	
	.kboard-feed-mobile-meta {
		display: block;
	}
	
	.kboard-feed-pagination .kboard-pagination-pages li {
		display: none;
	}
	
	.kboard-feed-pagination .kboard-pagination-pages li.first-page,
	.kboard-feed-pagination .kboard-pagination-pages li.last-page,
	.kboard-feed-pagination .kboard-pagination-pages li.prev-page,
	.kboard-feed-pagination .kboard-pagination-pages li.next-page,
	.kboard-feed-pagination .kboard-pagination-pages li.active {
		display: inline-block;
	}
	
	#kboard-feed-editor select,
	#kboard-feed-editor input[type=text],
	#kboard-feed-editor input[type=email],
	#kboard-feed-editor input[type=number],
	#kboard-feed-editor input[type=date],
	#kboard-feed-editor input[type=password],
	#kboard-feed-editor input[type=file] {
		width: 100% !important;
	}
	
	#kboard-feed-editor .kboard-attr-row {
		padding: 15px 0;
	}
	
	#kboard-feed-editor .kboard-attr-row .attr-name {
		float: none;
		display: block;
		width: 100%;
		padding: 0;
		margin-bottom: 8px;
		line-height: 1.4;
	}
	
	#kboard-feed-editor .kboard-attr-row .attr-value {
		margin: 0;
	}
	
	
	#kboard-feed-document .kboard-document-wrap {
		width: 100%;
		box-sizing: border-box;
	}
	
	#kboard-feed-document .kboard-title {
		padding: 20px 15px;
	}
	
	#kboard-feed-document .kboard-title h1 {
		font-size: 18px;
	}
	
	#kboard-feed-document .kboard-detail {
		padding: 12px 15px;
		gap: 10px;
	}
	
	#kboard-feed-document .kboard-content {
		padding: 20px 15px;
	}
	
	#kboard-feed-document .kboard-document-action {
		flex-direction: column;
		gap: 10px;
		padding: 15px;
	}
	
	#kboard-feed-document .kboard-control {
		flex-direction: column;
		gap: 10px;
	}
	
	#kboard-feed-document .kboard-control .left,
	#kboard-feed-document .kboard-control .right {
		justify-content: center;
	}
}

