

/* =========================================
   CATEGORY HERO
========================================= */

.category-hero {
	width: 100%;
	/*min-height: 220px;*/
	background: #111;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 91px;
}

.category-hero-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 55px 20px;
}

.category-hero h1 {
	margin: 0 0 15px;
	color: #fff;
	font-size: 48px;
	line-height: 1.2;
	font-weight: 700;
}

.category-description {
	max-width: 800px;
	margin: 0 auto;
	color: #fff;
	font-size: 18px;
	line-height: 1.6;
}

.category-hero p {
	max-width: 800px;
	margin: 0 auto;
	color: #fff;
	font-size: 18px;
	line-height: 1.6;
}


/* =========================================
   POSTS SECTION
========================================= */

.category-posts-section {
	width: 100%;
	padding: 70px 20px;
}

.category-posts-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}


/* =========================================
   POST GRID
========================================= */

.category-posts-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
}


/* =========================================
   POST CARD
========================================= */

.category-post-card {
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	overflow: hidden;
}


/* =========================================
   FEATURED IMAGE
========================================= */

.category-post-image {
	display: block;
	width: 100%;
	overflow: hidden;
}

.category-post-image img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.category-post-image:hover img {
	transform: scale(1.03);
}


/* =========================================
   POST CONTENT
========================================= */

.category-post-content {
	padding: 28px 30px 32px;
}


/* Date */

.category-post-date {
	margin-bottom: 10px;
	color: #777;
	font-size: 14px;
	line-height: 1.5;
}


/* Title */

.category-post-title {
	margin: 0 0 15px;
	font-size: 27px;
	line-height: 1.3;
}

.category-post-title a {
	color: #111;
	text-decoration: none;
}

.category-post-title a:hover {
	color: #B92D28;
}


/* =========================================
   EXCERPT
========================================= */

.category-post-excerpt {
	margin-bottom: 22px;
	color: #555;
	font-size: 16px;
	line-height: 1.7;
}


/* =========================================
   READ MORE
========================================= */

.category-read-more {
	display: inline-block;
	padding: 12px 22px;
	background: #B92D28;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.category-read-more:hover {
	background: #111;
	color: #fff;
}


/* =========================================
   PAGINATION
========================================= */

.category-pagination {
	width: 100%;
	margin-top: 60px;
	padding-top: 10px;
	text-align: center;
}

.category-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.category-pagination a,
.category-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 15px;
	box-sizing: border-box;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.category-pagination a:hover {
	background: #B92D28;
	border-color: #B92D28;
	color: #fff;
}

.category-pagination .current {
	background: #B92D28;
	border-color: #B92D28;
	color: #fff;
}

.category-pagination .prev,
.category-pagination .next {
	padding: 0 18px;
}


/* =========================================
   NO POSTS
========================================= */

.category-no-posts {
	padding: 60px 20px;
	text-align: center;
}

.category-no-posts h2 {
	margin: 0 0 10px;
}

.category-no-posts p {
	margin: 0;
	color: #666;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

	.category-hero {
		min-height: 180px;
	}

	.category-hero-inner {
		padding: 45px 20px;
	}

	.category-hero h1 {
		font-size: 34px;
	}

	.category-description,
	.category-hero p {
		font-size: 16px;
	}

	.category-posts-section {
		padding: 45px 15px;
	}

	.category-posts-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.category-post-image img {
		height: auto;
	}

	.category-post-content {
		padding: 22px;
	}

	.category-post-title {
		font-size: 24px;
	}

	.category-pagination {
		margin-top: 40px;
	}

	.category-pagination a,
	.category-pagination span {
		min-width: 40px;
		height: 40px;
		padding: 0 12px;
		font-size: 14px;
	}

	.tag-hero {
		min-height: 180px;
	}

	.tag-hero-inner {
		padding: 45px 20px;
	}

	.tag-hero h1 {
		font-size: 34px;
	}

	.tag-description,
	.tag-hero p {
		font-size: 16px;
	}

	.tag-posts-section {
		padding: 45px 15px;
	}

	.tag-posts-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.tag-post-image img {
		height: auto;
	}

	.tag-post-content {
		padding: 22px;
	}

	.tag-post-title {
		font-size: 24px;
	}

	.tag-pagination {
		margin-top: 40px;
	}

	.tag-pagination a,
	.tag-pagination span {
		min-width: 40px;
		height: 40px;
		padding: 0 12px;
		font-size: 14px;
	}
}


/* =========================================
   TAG PAGE
========================================= */

.tag-page {
	width: 100%;
}


/* =========================================
   TAG HERO
========================================= */

.tag-hero {
	width: 100%;
	background: #111;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
    margin-top: 88px;
}

.tag-hero-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 55px 20px;
}

.tag-hero h1 {
	margin: 0 0 15px;
	color: #fff;
	font-size: 48px;
	line-height: 1.2;
	font-weight: 700;
}

.tag-description {
	max-width: 800px;
	margin: 0 auto;
	color: #fff;
	font-size: 18px;
	line-height: 1.6;
}

.tag-hero p {
	max-width: 800px;
	margin: 0 auto;
	color: #fff;
	font-size: 18px;
	line-height: 1.6;
}


/* =========================================
   POSTS SECTION
========================================= */

.tag-posts-section {
	width: 100%;
	padding: 70px 20px;
}

.tag-posts-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}


/* =========================================
   POST GRID
========================================= */

.tag-posts-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
}


/* =========================================
   POST CARD
========================================= */

.tag-post-card {
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	overflow: hidden;
}


/* =========================================
   FEATURED IMAGE
========================================= */

.tag-post-image {
	display: block;
	width: 100%;
	overflow: hidden;
}

.tag-post-image img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tag-post-image:hover img {
	transform: scale(1.03);
}


/* =========================================
   POST CONTENT
========================================= */

.tag-post-content {
	padding: 28px 30px 32px;
}


/* Date */

.tag-post-date {
	margin-bottom: 10px;
	color: #777;
	font-size: 14px;
	line-height: 1.5;
}


/* Title */

.tag-post-title {
	margin: 0 0 15px;
	font-size: 27px;
	line-height: 1.3;
}

.tag-post-title a {
	color: #111;
	text-decoration: none;
}

.tag-post-title a:hover {
	color: #B92D28;
}


/* =========================================
   EXCERPT
========================================= */

.tag-post-excerpt {
	margin-bottom: 22px;
	color: #555;
	font-size: 16px;
	line-height: 1.7;
}


/* =========================================
   READ MORE
========================================= */

.tag-read-more {
	display: inline-block;
	padding: 12px 22px;
	background: #B92D28;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.tag-read-more:hover {
	background: #111;
	color: #fff;
}


/* =========================================
   PAGINATION
========================================= */

.tag-pagination {
	width: 100%;
	margin-top: 60px;
	padding-top: 10px;
	text-align: center;
}

.tag-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.tag-pagination a,
.tag-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 15px;
	box-sizing: border-box;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.tag-pagination a:hover {
	background: #B92D28;
	border-color: #B92D28;
	color: #fff;
}

.tag-pagination .current {
	background: #B92D28;
	border-color: #B92D28;
	color: #fff;
}

.tag-pagination .prev,
.tag-pagination .next {
	padding: 0 18px;
}


/* =========================================
   NO POSTS
========================================= */

.tag-no-posts {
	padding: 60px 20px;
	text-align: center;
}

.tag-no-posts h2 {
	margin: 0 0 10px;
}

.tag-no-posts p {
	margin: 0;
	color: #666;
}


/* =========================================
   MOBILE
========================================= */

/* =========================================
   TAG PAGE - TABLET
========================================= */

@media (max-width: 1024px) {

	.tag-hero-inner {
		padding: 50px 25px;
	}

	.tag-hero h1 {
		font-size: 42px;
	}

	.tag-posts-section {
		padding: 60px 25px;
	}

	.tag-posts-grid {
		gap: 25px;
	}

	.tag-post-image img {
		height: 260px;
	}

	.tag-post-content {
		padding: 25px;
	}

	.tag-post-title {
		font-size: 24px;
	}

}


/* =========================================
   TAG PAGE - MOBILE
========================================= */

@media (max-width: 767px) {

	/* Hero */

	.tag-hero {
		width: 100%;
		min-height: 180px;
	}

	.tag-hero-inner {
		width: 100%;
		padding: 40px 20px;
		box-sizing: border-box;
	}

	.tag-hero h1 {
		margin: 0 0 12px;
		font-size: 32px;
		line-height: 1.2;
		word-break: normal;
	}

	.tag-description {
		width: 100%;
		font-size: 16px;
		line-height: 1.6;
	}

	.tag-hero p {
		width: 100%;
		font-size: 16px;
		line-height: 1.6;
	}


	/* Posts Section */

	.tag-posts-section {
		width: 100%;
		padding: 40px 15px;
		box-sizing: border-box;
	}

	.tag-posts-container {
		width: 100%;
	}


	/* One Column */

	.tag-posts-grid {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr;
		gap: 25px;
	}


	/* Post Card */

	.tag-post-card {
		width: 100%;
		box-sizing: border-box;
	}


	/* Image */

	.tag-post-image {
		width: 100%;
	}

	.tag-post-image img {
		width: 100%;
		height: auto;
		min-height: 0;
		object-fit: cover;
	}


	/* Content */

	.tag-post-content {
		width: 100%;
		padding: 22px 20px 25px;
		box-sizing: border-box;
	}


	/* Date */

	.tag-post-date {
		margin-bottom: 8px;
		font-size: 13px;
	}


	/* Title */

	.tag-post-title {
		margin: 0 0 12px;
		font-size: 23px;
		line-height: 1.35;
	}

	.tag-post-title a {
		word-break: normal;
	}


	/* Excerpt */

	.tag-post-excerpt {
		margin-bottom: 20px;
		font-size: 15px;
		line-height: 1.65;
	}


	/* Read More */

	.tag-read-more {
		padding: 11px 20px;
		font-size: 14px;
	}


	/* Pagination */

	.tag-pagination {
		width: 100%;
		margin-top: 40px;
		padding: 0;
	}

	.tag-pagination .nav-links {
		gap: 6px;
	}

	.tag-pagination a,
	.tag-pagination span {
		min-width: 38px;
		height: 38px;
		padding: 0 10px;
		font-size: 13px;
	}

	.tag-pagination .prev,
	.tag-pagination .next {
		padding: 0 12px;
	}

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

	.tag-hero {
		min-height: 160px;
	}

	.tag-hero-inner {
		padding: 35px 15px;
	}

	.tag-hero h1 {
		font-size: 28px;
	}

	.tag-description,
	.tag-hero p {
		font-size: 15px;
	}

	.tag-posts-section {
		padding: 30px 12px;
	}

	.tag-posts-grid {
		gap: 20px;
	}

	.tag-post-content {
		padding: 20px 17px 22px;
	}

	.tag-post-title {
		font-size: 21px;
	}

	.tag-post-excerpt {
		font-size: 14px;
	}

	.tag-pagination a,
	.tag-pagination span {
		min-width: 36px;
		height: 36px;
		padding: 0 8px;
		font-size: 12px;
	}

}