/**
 * Taxonomy Resource Center Categories Page Styles
 * 
 * This file contains styles specific to the resource-center-categories taxonomy page.
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

body.tax-resource-center-categories, body.category {
	background-color: #E5F0ED;
}



/* ==========================================================================
   Title Section
   ========================================================================== */

body.tax-resource-center-categories .tax-title-wrapper,
body.category .tax-title-wrapper {
	display: flex;
	align-items: center;
	gap: 25px;
	max-width: 1216px !important;
	margin: 0 auto;
	padding: 60px 20px 70px;
}

body.tax-resource-center-categories .tax-title,
body.category .tax-title {
	font-size: 64px;
	color: #036647;
	font-weight: 400;
	margin: 0 !important;
	padding: 0;
}

/* ==========================================================================
   Post List
   ========================================================================== */

body.tax-resource-center-categories .more-articles-heading,
body.category .more-articles-heading {
	max-width: 1216px;
	margin: 70px auto 45px;
	padding: 0;
	width: 100%;
}

body.tax-resource-center-categories .more-articles-heading span,
body.category .more-articles-heading span {
	font-size: 32px;
	font-weight: 400;
	color: #111;
	margin: 0;
	padding: 0;
	line-height: 32px;
	display: inline-block;	
	text-align: left;
}

body.tax-resource-center-categories .more-articles-heading .more-article-heading-part,
body.category .more-articles-heading .more-article-heading-part {
	color: #036647;
	text-decoration: underline;
	text-decoration-color: #89FF6B;
}


body.tax-resource-center-categories .tax-list-wrapper,
body.category .tax-list-wrapper {
	padding-bottom: 40px !important;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 40px;
	row-gap: 24px;
}

body.tax-resource-center-categories .latestpost-block-wrapper,
body.category .latestpost-block-wrapper {
	max-width: 1216px !important;
	margin: 0 auto;
}

body.tax-resource-center-categories .latestpost-block-wrapper .latestpost,
body.category .latestpost-block-wrapper .latestpost {
	border-radius: 0;
}

body.tax-resource-center-categories .latestpost-block-wrapper .latestpost img,
body.category .latestpost-block-wrapper .latestpost img {
	border-radius: 0;
}


body.tax-resource-center-categories .latestpost-block-wrapper .latestpost .latestpost-meta-top .latestpost-date,
body.category .latestpost-block-wrapper .latestpost .latestpost-meta-top .latestpost-date {
	color: #084A35A3;
	font-weight: 400;
}

body.tax-resource-center-categories .latestpost-block-wrapper .latestpost .latestpost-reading,
body.category .latestpost-block-wrapper .latestpost .latestpost-reading {
	color: #036647;
	display: flex;
	align-items: center;
	gap: 6px;
}

body.tax-resource-center-categories .latestpost-block-wrapper .latestpost .latestpost-reading::after,
body.category .latestpost-block-wrapper .latestpost .latestpost-reading::after {
	content: unset;
}

body.tax-resource-center-categories .latestpost-block-wrapper .latestpost .latestpost-meta-bottom,
body.category .latestpost-block-wrapper .latestpost .latestpost-meta-bottom {
	gap: 20px;
}

body.tax-resource-center-categories .latestpost-block-wrapper .latestpost .latestpost-author,
body.category .latestpost-block-wrapper .latestpost .latestpost-author {
	color: #084A35;
	font-weight: 700;
}

body.tax-resource-center-categories .latestpost-block-wrapper .latestpost .latestpost-title h3,
body.category .latestpost-block-wrapper .latestpost .latestpost-title h3 {
	color: #084A35;
	font-size: 22px;
	font-weight: 600;
	line-height: 34px;
	margin-bottom: 0;
}

/* Special three posts (left + right) - 3 line title limit */
body.tax-resource-center-categories .latestresourcecenter-block-wrapper.main-block-wrapper .latestpost-left .latestpost-title h2,
body.tax-resource-center-categories .latestresourcecenter-block-wrapper.main-block-wrapper .latestpost-right .latestpost-title h2,
body.category .latestnews-block-wrapper.main-block-wrapper .latestpost-left .latestpost-title h2,
body.category .latestnews-block-wrapper.main-block-wrapper .latestpost-right .latestpost-title h2 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ==========================================================================
   Horizontal Post Layout (Posts 4+)
   ========================================================================== */

body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal,
body.tax-resource-center-categories .latestpost-horizontal,
body.category .latestpost-inline .latestpost-horizontal,
body.category .latestpost-horizontal {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 0;
	border-bottom: none;
	height: 100%;
	background-color: unset;
	width: 100%;
	box-shadow: unset;
	border-bottom: 1px solid #084a3554
}

body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-thumb,
body.tax-resource-center-categories .latestpost-horizontal .latestpost-thumb,
body.category .latestpost-inline .latestpost-horizontal .latestpost-thumb,
body.category .latestpost-horizontal .latestpost-thumb {
	flex-shrink: 0;
	width: 200px;
	height: 160px;
	overflow: hidden;
}

body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-thumb img,
body.tax-resource-center-categories .latestpost-horizontal .latestpost-thumb img,
body.category .latestpost-inline .latestpost-horizontal .latestpost-thumb img,
body.category .latestpost-horizontal .latestpost-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-content,
body.tax-resource-center-categories .latestpost-horizontal .latestpost-content,
body.category .latestpost-inline .latestpost-horizontal .latestpost-content,
body.category .latestpost-horizontal .latestpost-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-meta-top,
body.tax-resource-center-categories .latestpost-horizontal .latestpost-meta-top,
body.category .latestpost-inline .latestpost-horizontal .latestpost-meta-top,
body.category .latestpost-horizontal .latestpost-meta-top {
	margin-bottom: 0;
	padding: 0;	
	font-size: 13px;
}

body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-title,
body.tax-resource-center-categories .latestpost-horizontal .latestpost-title,
body.category .latestpost-inline .latestpost-horizontal .latestpost-title,
body.category .latestpost-horizontal .latestpost-title {
	margin-bottom: 0;
	padding: 0;
	overflow: hidden;
}

body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-title h3,
body.tax-resource-center-categories .latestpost-horizontal .latestpost-title h3,
body.category .latestpost-inline .latestpost-horizontal .latestpost-title h3,
body.category .latestpost-horizontal .latestpost-title h3 {
	font-size: 22px;
	font-weight: 600;
	line-height: 34px;
	margin-bottom: 0;
	color: #084A35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-meta-bottom,
body.tax-resource-center-categories .latestpost-horizontal .latestpost-meta-bottom,
body.category .latestpost-inline .latestpost-horizontal .latestpost-meta-bottom,
body.category .latestpost-horizontal .latestpost-meta-bottom {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: auto;
	padding: 0;
	font-size: 13px;
}

body.tax-resource-center-categories .latestpost-horizontal .latestpost-date,
body.category .latestpost-horizontal .latestpost-date {
	color: #084A35A3;
	font-weight: 400;
	font-size: 13px;
}

body.tax-resource-center-categories .latestpost-horizontal .latestpost-author,
body.category .latestpost-horizontal .latestpost-author {
	color: #084A35;
	font-weight: 700;
	font-size: 13px;
}

body.tax-resource-center-categories .latestpost-horizontal .latestpost-reading,
body.category .latestpost-horizontal .latestpost-reading {
	color: #036647;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}

body.tax-resource-center-categories .latestpost-horizontal .latestpost-reading img,
body.category .latestpost-horizontal .latestpost-reading img {
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   Load More Button
   ========================================================================== */

body.tax-resource-center-categories .loadmore-wrapper,
body.category .loadmore-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 1216px;
	margin: 0 auto 80px;
	padding: 0 20px;
}

body.tax-resource-center-categories .loadmore-wrapper button,
body.category .loadmore-wrapper button {
	background-color: #fff !important;
	color: #111 !important;
	border: none !important;
	border-radius: 50px;
	max-width: 280px;
	height: 80px;
	font-weight: 600;
	letter-spacing: 1px;
}

/* ==========================================================================
   User Guide Section
   ========================================================================== */

body.tax-resource-center-categories .user-guide-section,
body.category .user-guide-section {
	max-width: 1216px !important;
	margin: 0 auto;
	padding: 60px 0;
	width: 100%;
}

body.tax-resource-center-categories .user-guide-section-inner,
body.category .user-guide-section-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

body.tax-resource-center-categories .user-guide-item,
body.category .user-guide-item {
	width: 30%;
	text-align: left;
}

body.tax-resource-center-categories .user-guide-item-header,
body.category .user-guide-item-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

body.tax-resource-center-categories .user-guide-item-header a,
body.category .user-guide-item-header a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

body.tax-resource-center-categories .user-guide-item-header img,
body.category .user-guide-item-header img {
	width: 35px;
	height: 16px;
	rotate: 180deg;
}

body.tax-resource-center-categories .user-guide-item h3,
body.category .user-guide-item h3 {
	font-size: 32px;
	line-height: 48px;
	color: #084A35;
	font-weight: 400;
	margin-bottom: 0;
}

body.tax-resource-center-categories .user-guide-item p,
body.category .user-guide-item p {
	font-size: 16px;
	line-height: 28px;
	color: #181A1FA3;
	font-weight: 400;
	max-width: 350px;
	margin: 0;
}

/* ==========================================================================
   All Category Section
   ========================================================================== */

	body.tax-resource-center-categories .all-category-section,
	body.category .all-category-section {
		background-color: #084A35;
	}
 
   body.tax-resource-center-categories .all-category-section-inner,
   body.category .all-category-section-inner {
	max-width: 1216px !important;
	margin: 0 auto;
	padding: 60px 0; 
	width: 100%;
    }

	body.tax-resource-center-categories .all-category-list,
	body.category .all-category-list {
		display: flex;
		flex-wrap: wrap;
		column-gap: 50px;
		row-gap: 20px;
	}

	body.tax-resource-center-categories .all-category-item,
	body.category .all-category-item {
		display: flex;
		align-items: center;
	}

	body.tax-resource-center-categories .all-category-item a,
	body.category .all-category-item a {
		font-size: 80px;
		line-height: 86px;
		display: flex;
		align-items: center;
		gap: 20px;
		color: #fff;
	}

	body.tax-resource-center-categories .all-category-item.active a,
	body.category .all-category-item.active a {
		font-style: italic;
		color: #89FF6B;
	}

	body.tax-resource-center-categories .all-category-item.active a img,
	body.category .all-category-item.active a img {
		filter: brightness(0) saturate(100%) invert(64%) sepia(29%) saturate(5447%) hue-rotate(124deg) brightness(60%) contrast(102%);
	}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1216px){
	body.tax-resource-center-categories .latestpost-block-wrapper, body.tax-resource-center-categories .more-articles-heading,
	body.category .latestpost-block-wrapper, body.category .more-articles-heading {
		padding: 0 30px;
	}

	body.tax-resource-center-categories .user-guide-section, body.tax-resource-center-categories .all-category-section-inner,
	body.category .user-guide-section, body.category .all-category-section-inner {
		padding: 60px 30px;
	}

}

@media (max-width: 768px) {
	body.tax-resource-center-categories .all-category-item a,
	body.category .all-category-item a {
		font-size: 36px;
		line-height: 40px;
		gap: 10px;
	}

	body.tax-resource-center-categories .latestpost-block-wrapper,
	body.category .latestpost-block-wrapper {
		padding: 0 25px;
	}

	body.tax-resource-center-categories .tax-title,
body.category .tax-title {
		font-size: 36px;
		line-height: 44px;
	}

	body.tax-resource-center-categories .tax-title-wrapper,
body.category .tax-title-wrapper {
		padding-top: 50px;
		padding-bottom: 30px;
	}

	body.tax-resource-center-categories .tax-title-wrapper img,
	body.category .tax-title-wrapper img {
		width: 28px;
	}

	body.tax-resource-center-categories .more-articles-heading,
	body.category .more-articles-heading {
		margin: 60px auto 30px;
		padding: 0 20px;
	}

	body.tax-resource-center-categories .more-articles-heading span,
body.category .more-articles-heading span {
		font-size: 24px;
		margin-left: 5px;
	}

	body.tax-resource-center-categories .tax-list-wrapper,
	body.category .tax-list-wrapper {
		padding-bottom: 50px !important;
	}

	body.tax-resource-center-categories .user-guide-section-inner,
body.category .user-guide-section-inner {
		flex-direction: column;
		gap: 30px;
	}

	body.tax-resource-center-categories .user-guide-item,
body.category .user-guide-item {
		width: 100%;
	}

	body.tax-resource-center-categories .user-guide-item h3,
body.category .user-guide-item h3 {
		font-size: 24px;
		line-height: 32px;
	}

	body.tax-resource-center-categories .user-guide-item p,
body.category .user-guide-item p {
		margin: 0;
		font-size: 15px;
		line-height: 26px;
		padding: 0;
	}

	body.tax-resource-center-categories .tax-list-wrapper,
	body.category .tax-list-wrapper {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal,
	body.category .latestpost-inline .latestpost-horizontal {
		flex-direction: column;
		gap: 16px;
	}

	body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-thumb,
	body.category .latestpost-inline .latestpost-horizontal .latestpost-thumb {
		width: 230px;
		height: 170px;
		margin-bottom: 0;
		margin-top: 10px;
	}

	body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-content,
	body.tax-resource-center-categories .latestpost-horizontal .latestpost-content,
	body.category .latestpost-inline .latestpost-horizontal .latestpost-content,
	body.category .latestpost-horizontal .latestpost-content {
		padding-bottom: 30px;
	}

	body.tax-resource-center-categories .all-category-item a img,
	body.category .all-category-item a img {
		width: 30px;
	}

	body.tax-resource-center-categories .latestpost-inline .latestpost-horizontal .latestpost-title h3,
	body.tax-resource-center-categories .latestpost-horizontal .latestpost-title h3,
	body.category .latestpost-inline .latestpost-horizontal .latestpost-title h3,
	body.category .latestpost-horizontal .latestpost-title h3 {
		font-size: 20px;
		line-height: 28px;
	}

	body.tax-resource-center-categories .latestpost-horizontal .latestpost-date,
	body.tax-resource-center-categories .latestpost-block-wrapper .latestpost .latestpost-author,
	body.tax-resource-center-categories .latestpost-block-wrapper .latestpost .latestpost-reading,
	body.category .latestpost-horizontal .latestpost-date,
	body.category .latestpost-block-wrapper .latestpost .latestpost-author,
	body.category .latestpost-block-wrapper .latestpost .latestpost-reading {
		font-size: 12px;
	}
}