/* ============================================================
   news.css — News List Page Styles
   Red-House WordPress Theme
   ============================================================ */

/* ---------- Page Wrapper ---------- */
.news-page-wrap {
	background-color: #0a3d20;
	min-height: 60vh;
}

.news-page-inner {
	background-color: #0a3d20;
}

/* ---------- Main Body Container ---------- */
.news-main-body {
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #0a3d20;
}

.news-content-row {
	display: flex;
	align-items: flex-start;
}

.news-content-row > .col-md-3 {
	flex: 0 0 25%;
	max-width: 25%;
}

.news-content-row > .col-md-9 {
	flex: 0 0 75%;
	max-width: 75%;
}

/* ============================================================
   LEFT SIDEBAR — Category Navigation
   ============================================================ */
.news-sidebar {
	background-color: #0a3d20;
	padding: 0 10px;
}

.news-sidebar-inner {
	padding-right: 10px;
}

.news-sidebar-title h2 {
	font-family: Arial Black, Arial, sans-serif;
	font-size: 22px;
	color: #daecee;
	font-weight: bold;
	margin: 0 0 18px 0;
	padding: 0;
	line-height: 1.3;
	letter-spacing: 0;
}

.news-sidebar-links {
	font-size: 16px;
	line-height: 1.7em;
}

.news-cat-item {
	margin-bottom: 6px;
}

.news-cat-link {
	display: block;
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
	color: #c6d4ef;
	font-weight: bold;
	text-decoration: none;
	line-height: 40px;
	padding: 0;
	transition: color 0.2s;
}

.news-cat-link:hover {
	color: #f6931b;
	text-decoration: none;
}

.news-cat-arrow {
	display: inline-block;
	margin-right: 4px;
	color: #c6d4ef;
}

/* ============================================================
   RIGHT SECTION — Article List
   ============================================================ */
.news-list-section {
	padding: 0 0 0 10px;
}

.news-list-title {
	margin-bottom: 10px;
}

.news-list-title h2 {
	font-family: Arial Black, Arial, sans-serif;
	font-size: 22px;
	color: #daecee;
	font-weight: bold;
	margin: 0 0 8px 0;
	padding: 0;
	line-height: 1.3;
	border-bottom: 1px solid #1a3a6b;
	padding-bottom: 8px;
}

/* ---------- Article List UL ---------- */
.news-article-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Single Article Item ---------- */
.news-article-item {
	display: flex;
	align-items: flex-start;
	padding: 12px 0;
	border-bottom: 1px solid #0e2f5e;
	position: relative;
	overflow: hidden;
}

.news-article-item:last-child {
	border-bottom: none;
}

/* ---------- Thumbnail ---------- */
.news-article-thumb {
	width: 120px;
	min-width: 120px;
	flex-shrink: 0;
}

.news-article-thumb a {
	display: block;
	line-height: 0;
}

.news-article-thumb img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	display: block;
	border: none;
	background-color: #0a2040;
}

/* ---------- Summary Area ---------- */
.news-article-summary {
	flex: 1;
	padding-left: 14px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 120px;
}

.news-article-summary-inner {
	flex: 1;
}

/* ---------- Title Row ---------- */
.news-article-title-row {
	margin-bottom: 6px;
	line-height: 1.5;
}

.news-article-category {
	font-family: Verdana, Arial, sans-serif;
	font-size: 14px;
	color: #ddd;
	margin-right: 4px;
}

.news-cat-bracket {
	font-family: Verdana, Arial, sans-serif;
	font-size: 14px;
	color: #ddd;
	font-weight: normal;
	text-decoration: none;
}

.news-category-link {
	font-family: Verdana, Arial, sans-serif;
	font-size: 14px;
	color: #ddd;
	text-decoration: none;
	transition: color 0.2s;
}

.news-category-link:hover {
	color: #f6931b;
	text-decoration: none;
}

.news-article-link {
	font-family: Verdana, Arial, sans-serif;
	font-size: 15px;
	color: #c6d4ef;
	text-decoration: none;
	font-weight: normal;
	line-height: 1.5;
	word-break: break-word;
	transition: color 0.2s;
}

.news-article-link:hover {
	color: #f6931b;
	text-decoration: none;
}

/* ---------- Excerpt ---------- */
.news-article-excerpt {
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: #a0b4c8;
	line-height: 1.7em;
	margin-top: 6px;
	word-break: break-word;
	-webkit-line-clamp: 3;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Date ---------- */
.news-article-date {
	display: block;
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	color: #6a84a8;
	margin-top: 8px;
	line-height: 1;
}

/* ---------- No Posts ---------- */
.news-no-posts {
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: #a0b4c8;
	padding: 20px 0;
	list-style: none;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.news-pagination-wrap {
	margin-top: 28px;
	padding-top: 12px;
	border-top: 1px solid #0e2f5e;
}

.news-pagination {
	list-style: none;
	margin: 0 0 10px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
}

.news-pagination li a,
.news-pagination li span {
	display: inline-block;
	min-width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	padding: 0 8px;
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	color: #c6d4ef;
	background-color: #082050;
	border: 1px solid #1a3a6b;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
	border-radius: 2px;
}

.news-pagination li.active span,
.news-pagination li a:hover {
	background-color: #1f69ad;
	color: #fff;
	border-color: #1f69ad;
}

.news-pagination li.news-page-prev a,
.news-pagination li.news-page-next a {
	font-size: 15px;
	font-weight: bold;
	padding: 0 10px;
}

/* ---------- Jump To Page ---------- */
.news-pagination-jump {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.news-pagination-jump span {
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	color: #7a92b2;
}

.news-jump-input {
	width: 40px;
	height: 26px;
	padding: 0 4px;
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	color: #c6d4ef;
	background-color: #082050;
	border: 1px solid #1a3a6b;
	border-radius: 2px;
	text-align: center;
	outline: none;
}

.news-jump-input:focus {
	border-color: #1f69ad;
}

.news-jump-btn {
	display: inline-block;
	height: 26px;
	line-height: 26px;
	padding: 0 14px;
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	color: #fff;
	background-color: #1f69ad;
	border-radius: 2px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s;
}

.news-jump-btn:hover {
	background-color: #f6931b;
	color: #fff;
	text-decoration: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
	.news-content-row {
		flex-direction: column;
	}

	.news-sidebar,
	.news-list-section {
		width: 100%;
		padding: 0 10px;
	}

	.news-sidebar {
		margin-bottom: 20px;
	}
}

@media (max-width: 767px) {
	.news-main-body {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.news-article-item {
		flex-direction: column;
	}

	.news-article-thumb {
		width: 100%;
		min-width: unset;
		margin-bottom: 10px;
	}

	.news-article-thumb img {
		width: 100%;
		height: auto;
		max-height: 200px;
		object-fit: cover;
	}

	.news-article-summary {
		padding-left: 0;
		min-height: unset;
	}

	.news-pagination {
		gap: 3px;
	}

	.news-pagination li a,
	.news-pagination li span {
		min-width: 26px;
		height: 26px;
		line-height: 26px;
		font-size: 12px;
		padding: 0 6px;
	}

	.news-sidebar-title h2,
	.news-list-title h2 {
		font-size: 18px;
	}
}

/* ============================================================
   sr-only (accessibility)
   ============================================================ */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
