/* Shared Card Styles */
.post-card,
.tips-featured-card,
.tips-list-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	height: 100%;
}

.post-card-image,
.tips-featured-image {
	object-fit: cover;
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
}

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

.tips-featured-image {
	height: 800px;
}

.tips-list-card .post-card-image {
	width: 290px;
	height: 290px;
	object-fit: cover;
}

/* .post-card-tags,
.post-card-title,
.post-card-date {
	padding-left: 18px;
	padding-right: 18px;
} */

.post-card-tags {
	margin-top: 12px;
	margin-bottom: 6px;
}

/* .post-card-title {
	font-family: Nohemi;
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 6px;
	line-height: 1.25;
	letter-spacing: 1.14px;
} */

.post-card-title a {
	font-family: Nohemi;
	font-size: 28px;
	color: #000;
	text-decoration: none;
	font-weight: normal;
	line-height: 1.14;
	letter-spacing: 1px;
}

.post-card-title a:hover {
	text-decoration: underline;
}

.trending-posts .post-card:first-child .post-card-title a {
	font-size: 32px;
}

.post-card-date {
	font-size: 0.95rem;
	color: #888;
	margin-bottom: 14px;
}

.post-card-tag {
	color: #231b2e;
	border-radius: 12px;
	padding: 4px 13px 3px;
	font-size: 10px;
	margin-right: 6px;
	border: 1px solid #231b2e;
	text-transform: uppercase;
	font-weight: normal;
}

/* Section Wrappers */
.latest-section,
.tips-section {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 0;
}
.latest-section {
	/* background: #facdad; ORIGINAL COLOR*/
	background: #FDEBDE; /* NEW COLOR 40% LIGHTER */
}
.tips-section {
	/* background: #ccffca; ORIGINAL COLOR*/
	background: #EAFFE9; /* NEW COLOR 40% LIGHTER */
}
.latest-section .latest-section-inner,
.tips-section .tips-section-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
}

/* Section Titles */
.latest-title,
.tips-title,
.trending-title,
.tips-title {
	font-family: 'Nohemi';
	font-size: 22px;
	font-weight: 500;
	line-height: 2;
	letter-spacing: 2px;
	margin-bottom: 40px;
	text-transform: uppercase;
	color: #231b2e;
	border-bottom: 1px solid #6e6587;
}
.latest-title {
	border-color: #ccc;
}
.tips-title {
	border-bottom: 0;
}
.trending-title,
.magazine-title {
	color: #fff;
}

/* Grids */
.latest-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 32px;
	align-items: start;
}
.trending-posts {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
	align-items: start;
}
.trending-posts .post-card-title a,
.trending-posts .post-card-tag {
	color: #fff;
}
.trending-posts .post-card-tag {
	border-color: #fff;
}
.tips-grid {
	display: flex;
	gap: 40px;
}
.tips-featured {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.tips-list {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	justify-content: flex-start;
}
/* Trending/Lates/Tips Card Image Heights */
.trending-posts .post-card:first-child .post-card-image {
	height: 330px;
}
.trending-posts .post-card:not(:first-child) .post-card-image {
	height: 290px;
}
.latest-posts .post-card-image {
	height: 400px;
}
.tips-featured-card .tips-featured-image {
	height: 800px;
}
.tips-list-card .post-card-image {
	height: 290px;
}

/* Responsive Styles */
@media (max-width: 1100px) {
	.latest-posts {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		gap: 24px;
	}
	.tips-grid {
		flex-direction: column;
		gap: 32px;
	}
	.tips-featured-card .tips-featured-image {
		height: 280px;
	}
}
@media (max-width: 900px) {
	.trending-posts {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.trending-posts .post-card-image {
		height: 220px !important;
	}
}
@media (max-width: 768px) {
	.hero-section {
		flex-direction: column;
		height: auto;
	}
	.hero-post {
		width: 100%;
		height: 50vh;
	}
	.trending-posts {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
	.featured-post {
		grid-column: auto;
		grid-row: auto;
	}
	.latest-section .latest-section-inner,
	.tips-section .tips-section-inner {
		padding: 40px 8px 24px 8px;
	}
	.latest-title,
	.tips-title {
		font-size: 20px;
		margin-bottom: 20px;
	}
	.latest-posts {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		gap: 20px;
	}
	.latest-posts .post-card-image {
		height: 140px;
	}
	.tips-featured-card .tips-featured-image {
		height: 180px;
	}
	.tips-list-card .post-card-image {
		height: 80px;
	}
}



.bg-dark-purple {
	background-color: #171223;
}

/* Additional Tips Section Styles */
.tips-section {
	background-color: #edfcee;
}

.tips-title {
	color: #000;
	font-size: 40px;
	font-weight: normal;
	line-height: 1.1;
	letter-spacing: 2px;
}

/* .tips-section .post-card-tag {
	background-color: transparent;
	border: 1px solid #231b2e; 
	padding: 2px 8px;
	margin-bottom: 4px;
	display: inline-block;
} */

.tips-section .post-card-date {
	color: #666;
}

/* Ensure proper wrapping of content in the horizontal layout */
.tips-list-content .post-card-title {
	font-size: 1.1rem;
	line-height: 1.3;
	margin-top: 4px;
}

/* Ensure proper image sizing */
.tips-list-card .post-card-image {
	width: 290px;
	height: 290px;
	object-fit: cover;
}

/* Tips List Horizontal Layout */
.tips-list-card {
	display: flex;
	flex-direction: row;
	margin-bottom: 15px;
	padding-bottom: 35px;
	height:unset;
}

.tips-list-card:not(:last-child) {
	border-bottom: 1px solid #ccc;
}

.tips-list-imgwrap {
	flex: 0 0 290px;
	width: 290px;
	height: 290px;
	overflow: hidden;
}

.tips-list-content {
	flex: 1;
	padding: 0 15px;
}

.tips-list-content .post-card-tags,
.tips-list-content .post-card-title,
.tips-list-content .post-card-date {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 5px;
}

.tips-list-content .post-card-tags {
	margin-top: 0;
	margin-bottom: 20px;
}

/* Tips Featured Card */
.tips-featured-card {
	flex-direction: column;
}

.tips-featured-card .post-card-content {
	padding: 20px 0;
}

.content-area.home-custom {
	margin-top: 0px;
}
.isPaid .content-area.home-custom {
	margin-top: 0;
}
@media (max-width: 767px) {
	.content-area.home-custom {
		margin-top: 0px !important;
	}
}
.slider-shell.expert-advice .slick-slide{
	width:290px;
	max-width:290px;
}

.slider-shell.expert-advice .slick-slide > div{
	width:290px;
	max-width:290px;
}

.slider-shell.expert-advice .slick-slide .post-card,
.slider-shell.expert-advice .slick-slide .tips-list-card{
	width:100%;
	max-width:290px;
}
.slider-shell.expert-advice .post-card-image {
  width: 290px;
  height: 290px;
  object-fit: cover;
  display: block;
}
.slider-shell.expert-advice .post-card a {
  display: block;
  width: 290px;
  overflow: hidden;
}