/* News Section - Classic WoW Theme */

/* Content Header */
.content_header {
	background: #252525;
	padding: 14px 18px;
	border: 1px solid #2a2a2a;
	border-radius: 3px;
	margin-bottom: 20px;
}

.content_header-left .content_header-title {
	font-size: 14px;
	font-weight: 600;
	color: #e5cc9f;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.content_header-title .icon-pageinfo {
	color: #c9a860;
	margin-right: 8px;
	font-size: 16px;
}

.content_header-title i {
	color: #c9a860;
	font-style: normal;
}

/* Pagination */
.pagination {
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	gap: 6px;
	align-items: center;
	border: none !important;
}

.pagination .page-item {
	display: inline-block;
	border: none !important;
	margin: 0 !important;
}

.pagination .page-link {
	display: inline-block;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.pagination .page-link a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px !important;
	background: rgba(0, 0, 0, 0.3) !important;
	border: none !important;
	border-radius: 3px !important;
	color: #999 !important;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	transition: all 0.3s ease;
	box-shadow: none !important;
	outline: none !important;
}

.pagination .page-item.active .page-link a {
	background: linear-gradient(135deg, #c9a860 0%, #d4b374 100%) !important;
	color: #1a1a1a !important;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(201, 168, 96, 0.4) !important;
	transform: scale(1.05);
	border: none !important;
}

.pagination .page-item.disabled .page-link a {
	background: rgba(0, 0, 0, 0.2) !important;
	color: #555 !important;
	cursor: not-allowed;
	opacity: 0.4;
	border: none !important;
}

.pagination .page-link a:hover {
	background: rgba(201, 168, 96, 0.2) !important;
	color: #e5cc9f !important;
	transform: translateY(-2px);
	border: none !important;
}

.pagination .page-item.active .page-link a:hover {
	transform: scale(1.05);
	background: linear-gradient(135deg, #c9a860 0%, #d4b374 100%) !important;
	border: none !important;
}

.pagination .page-item.disabled .page-link a:hover {
	background: rgba(0, 0, 0, 0.2) !important;
	color: #555 !important;
	transform: none;
	border: none !important;
}

/* News Post Container */
#content_ajax {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
}

/* Single News Post */
.post {
	background: #202020;
	border: 1px solid #2a2a2a;
	border-radius: 3px;
	margin: 0 0 16px 0;
	padding: 0;
	display: block;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.post:last-child {
	margin-bottom: 0;
}

.post:hover {
	background: #252525;
	border-color: #333;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Remove old expand/collapse system */
.post.expandable .post-right .post_header .icon-expand,
.post.collapsed .post-right .post_header .icon-expand {
	display: none;
}

/* New Layout - Remove left sidebar, make full width */
.post .post-left {
	display: none !important;
}

.post .post-right {
	width: 100% !important;
	float: none !important;
	display: flex !important;
	flex-direction: row !important;
	gap: 0 !important;
	margin: 0 !important;
}

/* News Image Section (added via JS) */
.post .news-image {
	flex: 0 0 280px;
	min-height: 200px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #181818;
	border-right: 1px solid #2a2a2a;
	transition: transform 0.3s ease;
}

.post:hover .news-image {
	transform: scale(1.02);
}

/* News Content Section */
.post-content-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Wrapper for header and body */
.post .post-right > div:not(.news-image) {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Post Header */
.post_header {
	padding: 16px 20px 12px !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid #2a2a2a !important;
	margin: 0 !important;
	width: 100% !important;
}

.post_title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 10px 0;
	line-height: 1.3;
}

.post_title a {
	color: #e5cc9f;
	text-decoration: none;
	transition: color 0.2s ease;
}

.post_title a:hover {
	color: #c9a860;
}

.post_title i {
	color: #c9a860;
	font-style: normal;
}

/* Post Meta */
.post_author,
.post_date,
.post_comment {
	display: inline-block;
	font-size: 11px;
	color: #888;
	margin-right: 15px;
}

.post_author a,
.post_comment a {
	color: #999;
	text-decoration: none;
	transition: color 0.2s ease;
}

.post_author a:hover,
.post_comment a:hover {
	color: #c9a860;
}

.post_comment i {
	color: #c9a860;
	font-style: normal;
}

/* Post Body */
.post_body {
	display: block !important;
	opacity: 1 !important;
	height: auto !important;
}

.post_body-inner {
	padding: 16px 20px;
	background: transparent;
	border: none;
}

.post_content {
	font-size: 13px;
	line-height: 1.6;
	color: #aaa;
	margin-bottom: 12px;
}

.post_content p {
	margin: 0 0 10px 0;
}

.post_content p:last-child {
	margin-bottom: 0;
}

/* Read More Link */
.post_body-inner::after {
	content: 'Devamını Oku →';
	display: inline-block;
	color: #c9a860;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 6px 12px;
	background: #252525;
	border: 1px solid #2a2a2a;
	border-radius: 2px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.post_body-inner:hover::after {
	background: #2a2a2a;
	color: #e5cc9f;
}

/* Comments Section */
.comments {
	padding: 0 20px 16px;
	background: #1a1a1a;
}

/* Border Fix */
.border_fix {
	display: none !important;
}

/* Responsive Design */
@media (max-width: 968px) {
	.post .post-right {
		flex-direction: column !important;
	}

	.post .news-image {
		flex: 0 0 auto !important;
		width: 100% !important;
		height: 200px !important;
		border-right: none !important;
		border-bottom: 1px solid #2a2a2a !important;
	}
}

@media (max-width: 768px) {
	.post {
		margin-bottom: 14px;
	}

	.content_header {
		padding: 12px 15px;
		margin-bottom: 16px;
	}

	.content_header-left .content_header-title {
		font-size: 13px;
	}

	.content_header-right {
		margin-top: 10px;
	}

	.post .news-image {
		height: 180px !important;
	}

	.post_header {
		padding: 14px 16px 10px !important;
	}

	.post_title {
		font-size: 15px;
	}

	.post_body-inner {
		padding: 14px 16px;
	}

	.post_content {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.post {
		margin-bottom: 12px;
	}

	.content_header {
		padding: 10px 12px;
		margin-bottom: 14px;
	}

	.content_header-left .content_header-title {
		font-size: 12px;
	}

	.pagination .page-link a {
		min-width: 28px;
		height: 28px;
		padding: 0 8px;
		font-size: 11px;
	}

	.post .news-image {
		height: 160px !important;
	}

	.post_header {
		padding: 12px 14px 10px !important;
	}

	.post_title {
		font-size: 14px;
		margin-bottom: 8px;
	}

	.post_author,
	.post_date,
	.post_comment {
		font-size: 10px;
		margin-right: 10px;
		display: block;
		margin-bottom: 3px;
	}

	.post_body-inner {
		padding: 12px 14px;
	}

	.post_content {
		font-size: 11px;
		line-height: 1.5;
	}

	.post_body-inner::after {
		font-size: 11px;
		padding: 5px 10px;
	}
}

/* Animation for posts */
.post {
	animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.post:nth-child(1) { animation-delay: 0.1s; }
.post:nth-child(2) { animation-delay: 0.2s; }
.post:nth-child(3) { animation-delay: 0.3s; }
.post:nth-child(4) { animation-delay: 0.4s; }
.post:nth-child(5) { animation-delay: 0.5s; }

/* Print styles */
@media print {
	.post .post-right::before {
		display: none;
	}

	.post_body-inner::after {
		display: none;
	}

	.pagination,
	.post_comment {
		display: none;
	}
}

