﻿
.t_container {
	width: 1200px;
	margin: 0 auto;
	padding: 0;
	position: relative;
	top: 40px;
}

.t_content {
	width: 890px;
	margin: 0 0 20px;
	padding: 0;
	position: relative;
	float: left;
}

.main-area {
	flex: 1;
	width: 890px;
	margin: 0 0 20px;
	padding: 0;
	position: relative;
	float: left;
}

.sidebar {
	width: 320px;
	margin-left: 20px;
}

/* 뉴톱방 배너 */
.news-top-banner {
	background: linear-gradient(135deg, #e53e3e, #c53030);
	color: #fff !important;
	padding: 22px 20px;
	/*border-radius:10px;*/
	margin-bottom: 5px;
}

	.news-top-banner h2 {
		font-size: 24px;
		font-weight: bold;
		margin-bottom: 5px;
	}

	.news-top-banner p {
		padding-top: 5px;
		font-size: 14px;
		opacity: 0.9;
	}

.unified-nav {
	background-color: #F0F0F0;
	border: 1px solid #ddd;
	border-radius: 10px;
	margin: 10px 0;
	overflow: hidden;
}

/* 네비게이션 헤더 */
.nav-header {
	background-color: #f0f0f0;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #666;
	border-bottom: 1px solid #ddd;
}

/* 탭 메뉴 */
.tab-menu {
	background-color: white;
	padding: 5px 0;
	/*border-bottom: 1px solid #ddd;*/
}

	.tab-menu ul {
		display: flex;
		list-style: none;
		justify-content: center;
		gap: 25px;
	}


	.tab-menu li a {
		display: block;
		font-size: 15px;
		font-weight: 700;
		color: #333;
		text-decoration: none;
		padding: 8px 50px;
		border: 1px solid #ddd;
		border-radius: 5px;
	}

	/* 4개일 때 */
	.tab-menu li:first-child:nth-last-child(4) a,
	.tab-menu li:first-child:nth-last-child(4) ~ li a {
		padding: 8px 70px;
	}

	/* 5개일 때 */
	.tab-menu li:first-child:nth-last-child(5) a,
	.tab-menu li:first-child:nth-last-child(5) ~ li a {
		padding: 8px 46px;
	}

	/* 5개일 때 */
	.tab-menu li:first-child:nth-last-child(6) a,
	.tab-menu li:first-child:nth-last-child(6) ~ li a {
		padding: 8px 33px;
	}

	.tab-menu .active a {
		color: #e53e3e;
		/*border-bottom: 2px solid #e53e3e;*/
	}

/* 메인 콘텐츠 */
.main-content {
	display: flex;
	gap: 20px;
	padding: 10px 0 !important;
	font-size: 14px !important;
}

.left-column {
	width: 570px;
}

.right-column {
	width: 300px;
}

/* 섹션 공통 스타일 */
.section {
	margin-bottom: 20px;
	border: 1px solid #ddd;
	border-radius: 10px;
	overflow: hidden;
}

	/* 첫 번째 행 섹션들 */
	.section.first-row {
		height: 250px;
	}

	/* 두 번째 행 섹션들 */
	.section.second-row {
		height: 290px;
	}

.section-header {
	background-color: #f5f5f5;
	padding: 8px 15px;
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.section-title {
	font-size: 14px;
	font-weight: bold;
	color: #666;
}

.more-link {
	font-size: 11px;
	color: #666;
	text-decoration: none;
}

	.more-link:hover {
		color: #e53e3e;
	}

.section-content {
	padding: 7px 14px;
	height: calc(100% - 35px);
	overflow: hidden;
}

/* 자유게시판 스타일 */
.board-item {
	padding: 2px 0;
	border-bottom: 1px solid #f5f5f5;
	display: flex;
	align-items: flex-start;
}

	.board-item:last-child {
		border-bottom: none;
	}

.board-thumbnail {
	width: 90px;
	height: 60px;
	background-color: #f0f0f0;
	margin-right: 10px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #ddd;
}

	.board-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

.board-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 60px; /* 썸네일과 같은 높이 */
}

.board-title {
	font-size: 13px;
	color: #333;
	margin-bottom: 3px;
	line-height: 1.3;
}

	.board-title a {
		color: inherit;
		text-decoration: none;
	}

		.board-title a:hover {
			color: #e53e3e;
		}

.board-meta {
	font-size: 12px;
	color: #999;
}


/* HOT 뉴스 스타일 */
.hot-badge {
	background-color: #e53e3e;
	color: white;
	font-size: 11px;
	font-weight: bold;
	padding: 2px 5px;
	border-radius: 3px;
	margin-right: 6px;
}

.news-item {
	padding: 2px 0;
	border-bottom: 1px solid #f5f5f5;
	display: flex;
	align-items: flex-start;
}

	.news-item:last-child {
		border-bottom: none;
	}

.news-thumbnail {
	width: 110px;
	height: 70px;
	background-color: #f0f0f0;
	margin-right: 10px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #ddd;
}

	.news-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

.news-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 65px; /* 썸네일과 같은 높이 */
}

.news-title {
	font-size: 13px;
	color: #333;
	margin-bottom: 3px;
	line-height: 1.3;
}

	.news-title a {
		color: inherit;
		text-decoration: none;
	}

		.news-title a:hover {
			color: #e53e3e;
		}

.news-meta {
	font-size: 12px;
	color: #999;
}

/* 설문 스타일 */
.poll-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.poll-label {
	background-color: #e53e3e;
	color: white;
	font-size: 10px;
	font-weight: bold;
	padding: 3px 6px;
	border-radius: 3px;
}

.poll-date {
	font-size: 10px;
	color: #999;
}

.poll-question {
	font-size: 13px;
	color: #333;
	margin-bottom: 15px;
	font-weight: normal;
}

.poll-item {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
	font-size: 12px;
}

.poll-option {
	color: #333;
	width: 100px;
	margin-right: 8px;
}

.poll-bar-container {
	flex: 1;
	height: 8px;
	background-color: #f0f0f0;
	margin-right: 8px;
	border-radius: 4px;
	overflow: hidden;
}

.poll-bar {
	height: 100%;
	background-color: #e53e3e;
	border-radius: 4px;
	transition: width 0.3s ease;
}

.poll-percent {
	color: #e53e3e;
	font-weight: bold;
	width: 30px;
	font-size: 10px;
	text-align: right;
}

.poll-total {
	text-align: right;
	font-size: 10px;
	color: #999;
	margin-top: 10px;
}

/* 공지 스타일 */
.notice-item {
	display: flex;
	align-items: center;
	padding: 5px 0;
	border-bottom: 1px solid #f5f5f5;
}

	.notice-item:last-child {
		border-bottom: none;
	}

.notice-title {
	flex: 1;
	font-size: 13px;
	color: #333;
}

	.notice-title a {
		color: inherit;
		text-decoration: none;
	}

		.notice-title a:hover {
			color: #e53e3e;
		}

.notice-number {
	color: #e53e3e;
	font-size: 12px;
	font-weight: bold;
	margin-right: 6px;
	min-width: 25px;
}

.notice-date {
	font-size: 12px;
	color: #999;
	min-width: 35px;
	text-align: right;
}

.board-detail-container {
	width: 800px;
	margin: 0 auto;
	margin-top: 20px;
	background-color: white;
	border: 1px solid #ddd;
	border-radius: 10px;
	overflow: hidden;
}

/* 뉴톱방 배너 */
.board-detail-banner {
	background: linear-gradient(135deg, #e53e3e, #c53030);
	color: white;
	padding: 15px 20px;
}

	.board-detail-banner h2 {
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 5px;
	}

	.board-detail-banner p {
		font-size: 11px;
		opacity: 0.9;
	}

/* 자유게시판 헤더 */
.board-detail-header {
	/*background-color: #f8f8f8;*/
	padding: 15px 20px;
	border-bottom: 1px solid #ddd;
	display: flex;
	justify-content: space-between;
	align-items: center;
	/*border-radius:10px;*/
}

.board-detail-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.board-detail-edit-icon {
	cursor: pointer;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	color: #666;
	text-decoration: none;
	padding: 8px 30px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #fff;
}

	.board-detail-edit-icon a {
		color: #666 !important;
	}
/*.board-detail-edit-icon:after {
		content: "✏️";
	}*/
/* 게시물 리스트 */
.board-detail-content {
	padding: 15px;
}

.board-detail-item {
	display: flex;
	align-items: flex-start;
	padding: 5px 0;
	border-bottom: 1px solid #f0f0f0;
}

	.board-detail-item:first-child {
		padding-top: 0;
	}

.board-detail-thumbnail {
	width: 110px;
	height: 70px;
	background-color: #e0e0e0;
	border-radius: 8px;
	margin-right: 25px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-weight: bold;
	font-size: 16px;
	border: 1px solid #ddd;
}

	.board-detail-thumbnail a {
		width: 100%;
		height: 100%;
	}

	.board-detail-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 8px;
	}

.board-detail-post-content {
	height: 70px;
	flex: 1;
	padding-top: 6px;
}

.board-detail-post-header {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.board-detail-badge {
	font-size: 11px;
	font-weight: bold;
	padding: 4px 10px;
	border-radius: 4px;
	margin-right: 12px;
	color: white;
}

	.board-detail-badge.hot {
		background-color: #e53e3e;
	}

	.board-detail-badge.new {
		background-color: #f39c12;
	}

.board-detail-post-title {
	font-size: 16px;
	color: #333;
	font-weight: normal;
	line-height: 1.4;
}

	.board-detail-post-title a {
		color: inherit;
		text-decoration: none;
	}

		.board-detail-post-title a:hover {
			color: #e53e3e;
		}

.board-detail-post-meta {
	font-size: 13px;
	color: #666;
	margin-top: 10px;
}

/* 더보기 점 */
.board-detail-more-dots {
	text-align: center;
	padding: 40px 0;
	color: #999;
}

	.board-detail-more-dots span {
		display: inline-block;
		width: 8px;
		height: 8px;
		background-color: #999;
		border-radius: 50%;
		margin: 0 6px;
	}

/* 페이지네이션 */
/* ===== PAGINATION ===== */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	margin-top: 25px;
}

	.pagination button {
		background: white;
		border: 1px solid #ddd;
		padding: 5px 6px;
		cursor: pointer;
		border-radius: 6px;
		font-size: 12px;
		transition: all 0.2s;
		min-width: 36px;
	}

		.pagination button.active {
			background: #a82127;
			color: white;
			border-color: #a82127;
		}

		.pagination button:hover:not(.active) {
			background: #f8f9fa;
			border-color: #ccc;
		}

		.pagination button:disabled {
			background: #f8f9fa;
			color: #ccc;
			cursor: not-allowed;
		}



/* 뉴톱방 배너 */
.write-banner {
	background: linear-gradient(135deg, #e53e3e, #c53030);
	color: white;
	padding: 15px 20px;
}

	.write-banner h2 {
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 5px;
	}

	.write-banner p {
		font-size: 11px;
		opacity: 0.9;
	}

/* 글쓰기 헤더 */
.write-header {
	/*background-color: #f8f8f8;*/
	padding: 15px 20px;
	border-bottom: 1px solid #ddd;
}

.write-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

/* 폼 콘텐츠 */
.write-content {
	padding: 30px;
}

.write-form-group {
	margin-bottom: 25px;
}

.write-form-label {
	display: block;
	font-size: 15px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}

.write-form-input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
	/*background-color: #fafafa;*/
}

	.write-form-input:focus {
		outline: none;
		border-color: #e53e3e;
		background-color: white;
	}

	.write-form-input::placeholder {
		color: #999;
	}

.write-form-select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

/* 에디터 툴바 */
.write-editor-toolbar {
	display: flex;
	align-items: center;
	padding: 8px 12px;
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	border-bottom: none;
	border-radius: 5px 5px 0 0;
	gap: 8px;
}

.write-font-select {
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 12px;
	background-color: white;
}

.write-editor-btn {
	padding: 4px 8px;
	border: 1px solid #ccc;
	background-color: white;
	border-radius: 3px;
	cursor: pointer;
	font-size: 12px;
	min-width: 24px;
	text-align: center;
}

	.write-editor-btn:hover {
		background-color: #f0f0f0;
	}

	.write-editor-btn.bold {
		font-weight: bold;
	}

	.write-editor-btn.italic {
		font-style: italic;
	}

	.write-editor-btn.underline {
		text-decoration: underline;
	}

.write-editor-separator {
	width: 1px;
	height: 20px;
	background-color: #ddd;
	margin: 0 4px;
}

/* 에디터 텍스트 영역 */
.write-form-textarea {
	width: 100%;
	min-height: 300px;
	padding: 15px;
	border: 1px solid #ddd;
	border-top: none;
	border-radius: 0 0 5px 5px;
	font-size: 14px;
	line-height: 1.6;
	resize: vertical;
	background-color: white;
}

	.write-form-textarea:focus {
		outline: none;
		border-color: #e53e3e;
	}

	.write-form-textarea::placeholder {
		color: #999;
	}

/* 파일 업로드 */
.write-upload-group {
	display: flex;
	align-items: center;
	gap: 15px;
}

.write-upload-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.write-upload-icon {
	width: 40px;
	height: 40px;
	background-color: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.write-upload-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.write-upload-label {
	font-size: 12px;
	color: #333;
}

.write-upload-btn {
	padding: 6px 12px;
	background-color: #666;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 11px;
	cursor: pointer;
}

	.write-upload-btn:hover {
		background-color: #555;
	}

.write-upload-limit {
	font-size: 10px;
	color: #999;
}

/* 등록 버튼 */
.write-submit-group {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #f0f0f0;
}

.write-submit-btn {
	padding: 12px 40px;
	background-color: #666;
	color: #fff !important;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
	text-decoration: none;
}

	.write-submit-btn:hover {
		background-color: #555;
	}

/* 파일 입력 숨기기 */
.write-file-input {
	display: none;
}

.TB_ToolbarSet {
	height: auto !important;
}

.TB_Toolbar {
	display: block !important;
}

/* 게시글 헤더 */
.view-header {
	background-color: #f8f8f8;
	padding: 15px 20px;
	border-bottom: 1px solid #ddd;
}

.view-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.3;
}

.view-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #666;
}

.view-meta-left {
	display: flex;
	align-items: center;
	gap: 15px;
}

.view-meta-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.view-meta span {
	font-size: 12px;
	color: #666;
}

.view-badge {
	background-color: #e53e3e;
	color: white;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: bold;
}

/* 게시글 본문 */
.view-content {
	padding: 30px;
}

.view-article {
	font-size: 14px;
	line-height: 1.8;
	color: #333;
	min-height: 200px;
	margin-bottom: 30px;
	word-break: keep-all;
}

	.view-article img {
		max-width: 100%;
		height: auto;
		margin: 10px 0;
	}

	.view-article p {
		margin-bottom: 10px;
	}

/* 좋아요/싫어요 */
.view-reaction {
	text-align: center;
	padding: 30px 0;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
}

.view-reaction-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.view-reaction-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 5px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	background-color: white;
}

	.view-reaction-btn:hover {
		border-color: #ccc;
		transform: translateY(-2px);
	}

	.view-reaction-btn.like:hover {
		border-color: #4CAF50;
		color: #4CAF50;
	}

	.view-reaction-btn.dislike:hover {
		border-color: #f44336;
		color: #f44336;
	}

	.view-reaction-btn.active.like {
		border-color: #4CAF50;
		color: #4CAF50;
		background-color: #f8fff8;
	}

	.view-reaction-btn.active.dislike {
		border-color: #f44336;
		color: #f44336;
		background-color: #fff8f8;
	}

.view-reaction-icon {
	font-size: 24px;
	margin-bottom: 5px;
}

.view-reaction-text {
	font-size: 12px;
	font-weight: bold;
}

.view-reaction-count {
	font-size: 16px;
	font-weight: bold;
	margin-top: 5px;
}

/* 댓글 영역 */
.view-comments {
	padding: 30px;
	border-top: 1px solid #f0f0f0;
}

.view-comments-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #333;
}

.view-comments-count {
	color: #e53e3e;
}

/* 댓글 작성 */
.view-comment-form {
	background-color: #f8f8f8;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.view-comment-textarea {
	width: 100%;
	min-height: 80px;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 13px;
	resize: vertical;
	margin-bottom: 10px;
}

	.view-comment-textarea:focus {
		outline: none;
		border-color: #e53e3e;
	}

.view-comment-submit {
	text-align: right;
}

.view-comment-btn {
	padding: 8px 20px;
	background-color: #a82127;
	color: #fff !important;
	border: none;
	border-radius: 5px;
	font-size: 12px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

	.view-comment-btn:hover {
		background-color: #d63031;
	}

/* 댓글 리스트 */
.view-comment-list {
	margin-top: 20px;
}

.view-comment-item {
	padding: 5px 0;
	border-bottom: 1px solid #f0f0f0;
}

	.view-comment-item:last-child {
		border-bottom: none;
	}

/* 답글 들여쓰기 */
.view-comment-reply {
	margin-left: 40px;
	border-left: 3px solid #f0f0f0;
	padding-left: 20px;
}

.view-comment-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2px;
}

.view-comment-author {
	font-weight: bold;
	color: #333;
	font-size: 13px;
}

.view-comment-date {
	color: #999;
	font-size: 11px;
}

.view-comment-content {
	font-size: 13px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 3px;
}

.view-comment-actions {
	display: flex;
	gap: 10px;
}

.view-comment-action {
	background: none;
	border: 1px solid #ddd;
	padding: 4px 10px;
	font-size: 11px;
	color: #666;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.3s ease;
}

	.view-comment-action:hover {
		background-color: #f0f0f0;
	}

	.view-comment-action.active {
		border-color: #c53030;
		color: #e53e3e;
	}

/* 답글 입력 폼 */
.view-reply-form {
	margin-top: 15px;
	padding: 15px;
	background-color: #f8f8f8;
	border-radius: 8px;
	border-left: 3px solid #e53e3e;
}

.view-reply-textarea {
	width: 100%;
	min-height: 60px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 12px;
	resize: vertical;
	/*margin-bottom: 10px;*/
}

	.view-reply-textarea:focus {
		outline: none;
		border-color: #e53e3e;
	}

.view-reply-buttons {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.view-reply-btn {
	padding: 2px 8px;
	border: none;
	border-radius: 4px;
	font-size: 11px;
	cursor: pointer;
	transition: all 0.3s ease;
}

	.view-reply-btn.com-submit {
		background-color: #c53030;
		color: white;
	}

	.view-reply-btn.submit:hover {
		background-color: #d63031;
	}

	.view-reply-btn.cancel {
		background-color: #f0f0f0;
		color: #666;
		border: 1px solid #ddd;
	}

		.view-reply-btn.cancel:hover {
			background-color: #e0e0e0;
		}

/* 하단 네비게이션 */
.view-navigation {
	padding: 20px 30px;
	border-top: 1px solid #f0f0f0;
	display: flex;
	text-align: center;
	justify-content: space-around;
}

.view-nav-btn {
	padding: 10px 20px;
	border: 1px solid #ddd;
	background-color: white;
	color: #666;
	text-decoration: none;
	border-radius: 5px;
	font-size: 13px;
	transition: all 0.3s ease;
}

	.view-nav-btn:hover {
		background-color: #f0f0f0;
		color: #333;
	}

	.view-nav-btn.primary {
		background-color: #c53030;
		color: white;
		border-color: #e53e3e;
	}

		.view-nav-btn.primary:hover {
			background-color: #d63031;
		}

.level-0 {
	margin-left: 0px;
}

.level-1 {
	margin-left: 20px;
	border-left: 2px solid #e0e0e0;
	padding-left: 15px;
}

.level-2 {
	margin-left: 40px;
	border-left: 2px solid #e0e0e0;
	padding-left: 15px;
}

.level-3 {
	margin-left: 60px;
	border-left: 2px solid #e0e0e0;
	padding-left: 15px;
}

.level-4 {
	margin-left: 80px;
	border-left: 2px solid #e0e0e0;
	padding-left: 15px;
}

.level-5 {
	margin-left: 100px;
	border-left: 2px solid #e0e0e0;
	padding-left: 15px;
}

/* 뉴스 리스트 컨테이너 */
.news-list-container {
	margin-top: 5px;
	display: grid;
	gap: 5px;
}

/* 뉴스 카드 아이템 */
.news-card-item {
	display: flex;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

	.news-card-item:hover {
		box-shadow: 0 4px 12px rgba(0,0,0,0.1);
		transform: translateY(-2px);
	}

/* 뉴스 썸네일 */
.news-card-thumbnail {
	width: 240px;
	height: 150px;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
	background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
	display: flex;
	align-items: center;
	justify-content: center;
}

	.news-card-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.news-card-thumbnail a {
		display: block;
		width: 100%;
		height: 100%;
		text-decoration: none;
		color: #999;
		font-size: 20px;
		font-weight: bold;
		display: flex;
		align-items: center;
		justify-content: center;
	}

/* 뉴스 콘텐츠 */
.news-card-content {
	flex: 1;
	padding: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

	.news-card-content a {
		text-decoration: none;
		color: inherit;
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

.news-card-header {
	margin-bottom: 10px;
}

.news-card-title {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	line-height: 1.4;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

	.news-card-title .comment-badge {
		color: #f37e2b;
		font-weight: 700;
	}

.news-card-summary {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-right: 10px;
}

.news-card-meta {
	font-size: 12px;
	color: #999;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* 배지 스타일 */
.news-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: bold;
	border-radius: 3px;
	color: white;
	background-color: #e53e3e;
}

	.news-badge.new {
		background-color: #ff9800;
		left: 40px;
	}



/* 투표 헤더 */
.vote-header {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin-bottom: 20px;
}

/* 투표 섹션 */
.vote-section {
	padding-top: 20px;
	padding-bottom: 5px;
	border-bottom: 1px solid #dee2e6;
}

.vote-title {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content:space-between
}

.vote-badge {
	background-color: #e53e3e;
	color: white;
	font-size: 12px;
	font-weight: bold;
	padding: 3px 18px;
	border-radius: 3px;
}

	.vote-badge.completed {
		background-color: #adb5bd;
	}

/* 투표 옵션들 - 회색 박스로 감싸기 */
.vote-options {
	background-color: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 16px;
	padding: 15px;
	margin-bottom: 0;
}

.vote-option {
	background-color: #ffffff;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 12px 20px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 14px;
	color: #333;
	position:relative;
	overflow:hidden;
}

	.vote-option:hover {
		background-color: #f8f9fa;
		border-color: #e53e3e;
	}

	.vote-option.selected {
		/*background-color: #d1ecf1;*/
		border: 3px solid #e53e3e;
		color: #0c5460;
	}

	.vote-option:last-child {
		margin-bottom: 0;
	}

.vote-option-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	transition: width 0.5s ease;
	/* width는 인라인 스타일로만 설정 */
}

/* 진행 (옅은회색) */
.vote-option .vote-option-bar {
	background-color: #e9e9e9;
	overflow: hidden;
}

.vote-option-content {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.vote-option-percent {
	display: flex;
	align-items: center;
	gap: 5px;
}
/* 투표 결과 스타일 - 막대바 수정 */
.vote-result-option {
	position: relative;
	padding: 12px 20px;
	margin-bottom: 2px;
	border-radius: 0;
	overflow: hidden;
	color: white;
	font-weight: bold;
	font-size: 14px;
	background-color: #e9ecef; /* 기본 배경 */
	border-radius:8px;
}

.vote-result-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	transition: width 0.5s ease;
	/* width는 인라인 스타일로만 설정 */
}

/* 1위 (주황색) */
.vote-result-option.winner .vote-result-bar {
	background-color: #ff8676;
}

/* 일반 (파란색) */
.vote-result-option.normal .vote-result-bar {
	background-color: #a0cfff;
}

/* 진행 (옅은회색) */
/*.vote-option.normal  {
	background-color: #e9e9e9;
}*/

.vote-result-content {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.vote-result-percent {
	display: flex;
	align-items: center;
	gap: 5px;
}

.crown-icon {
	color: #ffd700;
	font-size: 14px;
}

/* 투표 하단 영역 - 버튼과 통계를 같은 라인에 */
.vote-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 15px;
}

.vote-submit-btn {
	background-color: #a82127;
	color: #fff !important;
	border: none;
	padding: 8px 40px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	transition: background-color 0.2s;
	cursor: pointer;
}



/* 투표 메타 정보 */
.vote-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
	font-size: 12px;
	color: #999;
}

.vote-stats {
	display: flex;
	gap: 15px;
}

.vote-end-date {
	font-size: 11px;
}


.cke_notification, .cke_notification_warning {
	display: none !important;
}

.mypage-container {
	max-width: 800px;
	margin: 0 auto;
	background-color: white;
}

.mypage-content {
	padding: 20px;
}

/* 뉴토랑 배너 - 마이페이지용 */
.mypage-banner {
	background: #e53e3e;
	color: white;
	padding: 15px 20px;
	margin-bottom: 25px;
}

	.mypage-banner h2 {
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 5px;
	}

	.mypage-banner p {
		font-size: 12px;
		opacity: 0.9;
	}

/* 마이페이지 타이틀 */
.mypage-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 3px solid #ddd;
	padding-left:10px;
}

.mypage-input{
	width:120px;
	padding: 4px 8px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
}
.mypage-verify-btn {
	background: #a82127;
	color: #fff !important;
	border: none;
	padding: 8px;
	border-radius: 3px;
	font-size: 11px;
	cursor: pointer;
	margin-left: 5px;
}

/* 프로필 섹션 */
.profile-section {
	margin-bottom: 30px;
}

.profile-header {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	padding-top:5px;
	margin-bottom: 5px;
	padding-left:5px;
}

.mypage-profile-value .mypage-input {
	width: 120px;
	padding: 4px 8px;
	border: 1px solid #ddd;
	border-radius: 5px;
}

.profile-table {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
}

	.profile-table tr {
		border: 1px solid #e9ecef;
	}

	.profile-table td {
		padding: 12px 15px;
		vertical-align: middle;
	}

.profile-label {
	background-color: #f8f9fa;
	font-weight: bold;
	width: 120px;
	color: #495057;
}

.profile-value {
	background-color: #fff;
}

/* 등급 스타일 */
.grade-badge {
	background-color: #6c757d;
	color: white;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: bold;
	display: inline-block;
}

/* 점수 진행바 */
.score-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.score-text {
	font-weight: bold;
	color: #333;
	min-width: 40px;
}

.score-bar {
	flex: 1;
	height: 20px;
	background-color: #e9ecef;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}

.score-fill {
	height: 100%;
	background: linear-gradient(90deg, #e53e3e, #ff6b6b);
	border-radius: 10px;
	transition: width 0.3s ease;
}

.score-percent {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 11px;
	font-weight: bold;
	color: white;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

/* 인증 버튼 */
.auth-btn {
	background-color: #6c757d;
	color: #fff !important;
	border: none;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
}

	.auth-btn:hover {
		background-color: #5a6268;
		color: #fff !important;
	}

/* 활동 섹션 */
.activity-section {
	margin-bottom: 30px;
}

.activity-header {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	margin-bottom: 5px;
	padding-left:5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.more-link {
	font-size: 12px;
	color: #666;
	text-decoration: none;
}

	.more-link:hover {
		text-decoration: underline;
	}

.activity-list {
	background-color: #fff;
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
}

.activity-item {
	padding: 8px 20px;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 45px;
	cursor:pointer;
}

	.activity-item:last-child {
		border-bottom: none;
	}

	.activity-item:hover {
		background-color: #fafafa;
	}

.activity-title {
	color: #333;
	font-size: 14px;
	line-height: 1.4;
	font-weight:600;
}

.activity-date {
	color: #999;
	font-size: 12px;
	white-space: nowrap;
	margin-left: 15px;
}

/* 댓글글 섹션 */
.comment-section {
	margin-bottom: 30px;
}

.comment-header {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	margin-bottom: 5px;
	padding-left:5px;

}

.comment-list {
	background-color: #fff;
	border: 1px solid #e9ecef;
}

.comment-item {
	padding: 15px;
	border-bottom: 1px solid #f8f9fa;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

	.comment-item:last-child {
		border-bottom: none;
	}

	.comment-item:hover {
		background-color: #f8f9fa;
	}

.comment-content {
	flex: 1;
}

.comment-title {
	color: #333;
	font-size: 13px;
	margin-bottom: 4px;
}

	.comment-title:hover {
		color: #e53e3e;
		cursor: pointer;
	}

.comment-meta {
	color: #6c757d;
	font-size: 11px;
}

.comment-btn {
	background-color: #6c757d;
	color: white;
	border: none;
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 11px;
	cursor: pointer;
	margin-left: 10px;
}

	.comment-btn:hover {
		background-color: #5a6268;
	}


/* 웹 검색 결과 전용 CSS */
.web-search {
	font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
	background-color: #ffffff;
	margin: 0;
	padding: 0;
	color: #333;
	line-height: 1.6;
}

.web-search-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.web-search-header {
	padding: 10px 5px;
	border-bottom: 2px solid #ddd;
	margin-bottom: 15px;
}

.web-search-title {
	font-size: 20px;
	color: #333;
	margin: 0 0 8px 0;
}

.web-search-summary {
	color: #666;
	font-size: 14px;
}

.web-search-keyword {
	color: #a82127;
	font-weight: 700;
}

.web-search-main {
	min-height: 600px;
}

.web-search-sidebar {
	background-color: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	height: fit-content;
}

/* 검색 결과 섹션 */
.web-result-section {
	margin-bottom: 45px;
	padding-left:5px;
}

.web-section-title {
	font-size: 17px;
	color: #333;
	margin: 0 0 5px 0;
	padding: 0 0 8px 5px;
	border-bottom: 1px solid #e6e6e6;
	font-weight: 600;
}

.web-section-meta {
	color: #666;
	font-size: 13px;
	margin-bottom: 20px;
}

/* 게시판 결과 스타일 - 수정됨 */
.web-board-results {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.web-board-item {
	display: flex;
	padding: 3px;
	border-bottom: 1px solid #e5e5e5;
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
	background-color: #fff;
	align-items: flex-start;
	padding-left:10px;
}



/* 게시판 썸네일 스타일 */
.web-board-thumbnail {
	width: 60px;
	height: 42px;
	background-color: #f0f0f0;
	border-radius: 4px;
	flex-shrink: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e5e5;
}

	.web-board-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 4px;
	}

	/* 썸네일이 없는 경우를 위한 기본 스타일 */
	.web-board-thumbnail:empty::before {
		content: "📝";
		color: #999;
		font-size: 20px;
	}

/* 게시판 컨텐츠 영역 */
.web-board-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.web-board-title {
	font-size: 16px;
	color: #1a73e8;
	text-decoration: none;
	font-weight: 400;
	margin: 0;
	line-height: 1.4;
	display: block;
}

	.web-board-title:hover {
		text-decoration: underline;
	}

/* 게시판 메타 정보 */
.web-board-meta {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: auto;
}

.web-board-author {
	font-size: 13px;
	color: #666;
	font-weight: 500;
}

.web-board-date {
	font-size: 13px;
	color: #999;
}

.web-board-views {
	font-size: 13px;
	color: #999;
}

/* 뉴스 결과 스타일 - 수정됨 */
.web-news-results {
	display: flex;
	flex-direction: column;
	
}

.web-news-item {
	display: flex;
	gap: 15px;
	padding: 3px;
	border-bottom: 1px solid #e5e5e5;
	cursor: pointer;
}

.web-news-thumbnail {
	width: 80px;
	height: 60px;
	background-color: #f0f0f0;
	border-radius: 4px;
	flex-shrink: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e5e5;
}

	.web-news-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 4px;
	}

	/* 뉴스 썸네일이 없는 경우 */
	.web-news-thumbnail:empty::before {
		content: "📰";
		color: #999;
		font-size: 24px;
	}

.web-news-content {
	flex: 1;
	min-width: 0;
}

.web-news-title {
	font-size: 16px;
	color: #000 !important;
	margin: 8px 0 4px 0;
	line-height: 1.2;
	font-weight: 400;
}

.web-news-snippet {
	font-size: 14px;
	color: #666;
	margin: 0 0 8px 0;
	line-height: 1.5;
}

.web-news-meta {
	font-size: 13px;
	color: #999;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

/* 사이드바 스타일 */
.web-sidebar-section {
	margin-bottom: 25px;
}

.web-sidebar-title {
	font-size: 16px;
	color: #333;
	margin: 0 0 12px 0;
	font-weight: 500;
}

.web-sidebar-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.web-sidebar-item {
	margin-bottom: 8px;
}

.web-sidebar-link {
	color: #666;
	text-decoration: none;
	font-size: 14px;
	display: block;
	padding: 4px 0;
	transition: color 0.2s ease;
}

	.web-sidebar-link:hover {
		color: #1a73e8;
	}

/* 페이지네이션 */
.web-pagination {
	margin-top: 40px;
	text-align: center;
}

.web-pagination-list {
	display: inline-flex;
	gap: 5px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.web-pagination-item {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e5e5;
	background-color: #fff;
	color: #666;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
}

	.web-pagination-item:hover {
		background-color: #f8f9fa;
		border-color: #1a73e8;
		color: #1a73e8;
	}

	.web-pagination-item.active {
		background-color: #1a73e8;
		border-color: #1a73e8;
		color: white;
	}

/* 더보기 링크 */
.web-more-link {
	width:100%;
	text-align:right;
	display: inline-block;
	color: #666 !important;
	text-decoration: none !important;
	font-size: 14px;
	margin-top: 5px;
	padding: 8px 10px;
}

	.web-more-link:hover {
		text-decoration: underline;
	}

/* 검색어 하이라이트 */
.web-highlight {
	background-color: #fff3cd;
	padding: 1px 2px;
	border-radius: 2px;
}

/* 빈 결과 */
.web-empty-result {
	text-align: center;
	padding: 60px 20px;
	color: #999;
}

.web-empty-icon {
	font-size: 48px;
	margin-bottom: 15px;
	opacity: 0.5;
}


/* ASP.NET 코드에 맞는 추가 스타일 */
/* 썸네일이 없는 게시판 아이템을 위한 스타일 */
.web-board-item > div:first-child:not(.web-board-thumbnail) {
	flex: 1;
	min-width: 0;
}


/* 댓글 수 스타일 */
#ComCnt {
	color: #f37e2b !important;
	font-weight: 700 !important;
	margin-left: 5px;
}

/* 썸네일이 없는 경우 레이아웃 조정 */
.web-board-item:not(:has(.web-board-thumbnail)) {
	padding: 5px;
}

.web-news-item:not(:has(.web-news-thumbnail)) {
	padding: 5px;
}
.web-board-item-with-thumbnail {
	display: flex;
	gap: 15px;
	align-items: flex-start;
}
.web-board-item-without-thumbnail {
	display: block;
}
.web-board-meta {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 13px;
	color: #999;
}