/* Blog Page Styles */
body {
	font-family: "Quicksand", sans-serif;
	letter-spacing: 1px;
}

.blog-page {
	background: white;
	padding: 70px 0;
}

.search-header {
	margin-bottom: 40px;
}

.search-header h1 {
	font-size: 32px;
	font-weight: 700;
	color: #079393;
	margin: 0 0 30px 0;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.blog-intro {
	font-size: 18px;
	color: #636363;
	line-height: 1.6;
	margin-bottom: 20px;
	font-weight: 400;
	letter-spacing: 1px;
}

.category-header h1,
.blog-header h1 {
	font-size: 32px;
	font-weight: 700;
	color: #079393;
	margin: 0 0 30px 0;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.blog-intro p {
	margin-bottom: 20px;
}

.who-helps-section {
	margin: 40px 0;
}

.who-helps-section h2 {
	font-size: 28px;
	font-weight: 700;
	color: #079393;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.who-helps-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.who-helps-list li {
	margin-bottom: 15px;
	font-size: 18px;
	line-height: 1.6;
	color: #636363;
	position: relative;
	padding-left: 25px;
	font-weight: 400;
	letter-spacing: 1px;
}

.who-helps-list li:before {
	content: "•";
	color: #079393;
	font-weight: bold;
	position: absolute;
	left: 0;
	font-size: 20px;
}

.who-helps-list li strong {
	color: #079393;
	font-weight: 700;
}

.posts-separator {
	height: 1px;
	background: #e0e0e0;
	margin: 50px 0 40px 0;
	position: relative;
}

.posts-separator::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 100%;
	height: 3px;
	background: #079393;
}

.blog-posts-section h3 {
	font-size: 30px;
	color: #079393;
	margin-bottom: 20px;
	font-weight: 700;
	line-height: normal;
}

.blog-post-card {
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 30px;
	transition: box-shadow 0.3s ease;
	display: flex;
	align-items: self-start;
}

.blog-post-card:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-post-image {
	width: 100px;
	height: 80px;
	float: left;
	margin-right: 20px;
	margin-bottom: 15px;
	border-radius: 4px;
	overflow: hidden;
}

.blog-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-post-content {
	padding: 15px;
	overflow: hidden;
	width: 100%;
}

.blog-post-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px 0;
	line-height: 1.4;
	letter-spacing: 1px;
}

.blog-post-title a {
	color: #079393;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-post-title a:hover {
	color: #065a5a;
}

.blog-post-meta {
	font-size: 14px;
	color: #636363;
	margin-bottom: 5px;
	font-weight: 400;
	letter-spacing: 1px;
}

.blog-post-meta .author {
	font-weight: 600;
	color: #079393;
}

.blog-post-excerpt {
	font-size: 16px;
	color: #636363;
	line-height: 1.6;
	margin: 0;
	clear: both;
	font-weight: 400;
	letter-spacing: 1px;
}

.sidebar {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 8px;
}

.sidebar-widget {
	background: white;
	border-radius: 8px;
	padding: 20px;
	border: 1px solid #e0e0e0;
}

.sidebar-widget h4 {
	font-size: 24px;
	font-weight: 700;
	color: #079393;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.sidebar-widget p {
	font-size: 16px;
	color: #636363;
	line-height: 1.6;
	margin-bottom: 20px;
	font-weight: 400;
	letter-spacing: 1px;
}

.search-form input[type="search"]:focus {
	border-color: #079393;
	outline: none;
}

.search-form button {
	background: #079393;
	color: white;
	border: none;
	padding: 15px 30px;
	border-radius: 0;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
	transition: background 0.3s ease;
	font-family: "Quicksand", sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.search-form button:hover {
	background: #065a5a;
}

.search-form input[type="search"] {
	width: 100%;
	padding: 15px;
	border: 2px solid #ddd;
	border-radius: 0;
	font-size: 16px;
	margin-bottom: 20px;
	font-family: "Quicksand", sans-serif;
	font-weight: 400;
	letter-spacing: 1px;
}

.blog-pagination {
	text-align: center;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.blog-pagination a,
.blog-pagination span {
	display: inline-block;
	padding: 12px 20px;
	margin: 0 5px;
	border: 2px solid #079393;
	border-radius: 0;
	color: #079393;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.blog-pagination a:hover,
.blog-pagination .current {
	background: #079393;
	color: white;
}

.no-posts {
	text-align: center;
	padding: 40px 20px;
	color: #666;
}

/* Responsive Design */
@media (max-width: 991px) {
	.blog-page {
		padding: 40px 0;
	}

	.sidebar {
		margin-top: 40px;
	}
}

@media (max-width: 768px) {
	.search-header h1 {
		font-size: 28px;
	}

	.blog-post-image {
		float: none;
		width: 100%;
		height: 200px;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.sidebar {
		margin-top: 30px;
		padding: 20px 15px;
	}

	.sidebar-widget {
		padding: 20px;
	}

	article.blog-post-card {
		display: block !important;
	}

	.blog-post-thumbnail {
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 15px !important;
		max-width: 100% !important;
	}

	article.blog-post-card .blog-post-content {
		width: 100% !important;
	}
}

@media (max-width: 480px) {
	.search-header h1 {
		font-size: 24px;
	}

	.blog-intro,
	.who-helps-list li {
		font-size: 15px;
	}

	.blog-post-content {
		padding: 15px;
	}
}

/* Newsletter Form Styling to Match Email Form */
.tnp.tnp-subscription {
	margin-bottom: 0;
}

/* Hide newsletter form labels */
.tnp .tnp-field label {
	display: none !important;
}

/* Style newsletter email input to match our email form */
.tnp .tnp-field-email input.tnp-email {
	width: 100% !important;
	padding: 15px !important;
	border: 2px solid #ddd !important;
	border-radius: 0 !important;
	font-size: 16px !important;
	margin-bottom: 20px !important;
	font-family: "Quicksand", sans-serif !important;
	font-weight: 400 !important;
	letter-spacing: 1px !important;
	box-sizing: border-box !important;
	background-color: inherit;
}

/* Focus state for newsletter email input */
.tnp .tnp-field-email input.tnp-email:focus {
	border-color: #079393 !important;
	outline: none !important;
}

/* Style newsletter submit button to match our email form */
.tnp .tnp-field-button input.tnp-submit {
	background: #079393 !important;
	color: white !important;
	border: none !important;
	padding: 15px 30px !important;
	border-radius: 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	width: 100% !important;
	transition: background 0.3s ease !important;
	font-family: "Quicksand", sans-serif !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	box-sizing: border-box !important;
}

/* Hover state for newsletter submit button */
.tnp .tnp-field-button input.tnp-submit:hover {
	background: #065a5a !important;
}

/* Remove any default margins/padding from newsletter form fields */
.tnp .tnp-field {
	margin: 0 !important;
	padding: 0 !important;
}

.tnp .tnp-field-button {
	text-align: left !important;
	margin: 0 !important;
}

.blog-post-content h3.blog-post-title {
	margin-bottom: 15px;
}

.blog-post-meta strong,
.blog-post-excerpt a.view-full-post-btn {
	color: #000;
	font-weight: 500;
}

article.blog-post-card .blog-post-content {
	width: 100%;
}

article.blog-post-card {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.blog-post-thumbnail {
	width: 100%;
	max-width: 300px;
	height: -webkit-fill-available;
	margin: 20px 0px 15px 15px;
}

.blog-post-thumbnail img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

body.single.single-post .blogListing.singlePost h1 {
	font-size: 32px;
	font-weight: 700;
	color: #079393;
	margin: 0 0 30px 0;
	line-height: 1.3;
}

a.view-full-post-btn {
	color: #337ab7 !important;
	font-weight: 500;
}

body.search .no-posts p {
	font-size: 20px;
}

.search-header span {
	color: #000;
}