/* Post Widget Styles */

.hello-biz-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hello-biz-post-item {
	background: #fff;
	border-radius: 0.5rem;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0px 0px 8.9px 0px #0000001A;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.archive-hero {
	width: 100%;
	display: block;
	margin-bottom: 2.5rem;
}

.archive-hero > img {
	margin: 0 auto;
	display: block;
}

.archive-hero .hello-biz-post-hero {
	display: grid;
	grid-template-columns: 50% minmax(340px, 50%);
	width: 100%;
	background: transparent;
	padding-bottom: 60px;
	min-height: 60vh;
}

/* left = image */
.archive-hero .hello-biz-post-hero-media {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: var(--e-global-color-secondary);
}

.archive-hero .hello-biz-post-hero-image-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center left;
	transition: transform 0.45s ease;
}

/* right = content */
.archive-hero .hello-biz-post-hero-content {
	padding: 5rem 3rem;
	display: flex;
	gap: 20px;
	flex-direction: column;
	background: var(--e-global-color-primary);
	font-size: 23px;
	font-weight: 300;
}

.archive-hero .hello-biz-post-hero-content a:hover{
	color: var(--e-global-color-text);
}

.archive-hero .hello-biz-post-hero-title { 
	font-size: 45px;
	padding: 0;
	margin: 0;
}

@media (max-width:1024px) {
	.archive-hero .hello-biz-post-hero {
		 grid-template-columns: 1fr; 
	}
	.archive-hero .hello-biz-post-hero-media { 
		height: 380px; 
	}
	.archive-hero .hello-biz-post-hero-image-img { 
		height: 380px; 
		object-position: center; 
	}
	.archive-hero .hello-biz-post-hero-title{
		font-size: 40px;
	}
	.archive-hero .hello-biz-post-hero-content { 
		padding: 2rem; 
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.archive-hero {
		margin-bottom: 0;
	}
	.archive-hero .hello-biz-post-hero{
		padding-bottom: 30px;
	}
	.archive-hero .hello-biz-post-hero-title {
		 font-size: 1.7rem; 
	}
}

/* Post Image */
.hello-biz-post-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
	background: #f0f0f0;
}

.hello-biz-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.hello-biz-post-item .category-badges {
	justify-content: flex-start;
	padding-bottom: 15px;
}

/* Post Content */
.hello-biz-post-content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
}

/* Post Title */
.hello-biz-post-title {
	margin: 0;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.2;
	padding-bottom: 5px;
}

.hello-biz-post-title a {
	color: var(--e-global-color-text, #333);
	text-decoration: none !important;
	transition: color 0.3s ease;
}

.hello-biz-post-title a:hover {
	color: var(--e-global-color-primary, #0066cc);
}

/* Post Excerpt */
.hello-biz-post-excerpt {
	color: #555;
	line-height: 1.6;
	margin-bottom: 1rem;
	flex-grow: 1;
	font-size: 0.95rem;
}

/* Post Link */
 a.hello-biz-post-link {
	text-decoration: none;
	color: #777F8B;
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
 }

.archive-hero a.hello-biz-post-link {
	text-decoration: none;
	font-weight: 300;
	padding: 5px 20px;
	border: 1px solid var( --e-global-color-text);
	border-radius: 20px;
	color: var(--e-global-color-text);
}

.archive-hero a.hello-biz-post-link:hover {
	border-color: var(--e-global-color-secondary);
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-text);
}

/* Responsive */
@media (max-width: 768px) {
	.hello-biz-posts {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 1.5rem;
	}

	.hello-biz-post-content {
		padding: 1rem;
	}

	.hello-biz-post-title {
		font-size: 1.1rem;
	}
}

@media (max-width: 480px) {
	.hello-biz-posts {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.hello-biz-post-meta {
		flex-direction: column;
		gap: 0.25rem;
	}
}

@media (min-width: 1025px) {
	.hello-biz-posts-archive-banner{
		margin-top: -9vh;
	}
}

.hello-biz-post-item-alt{
	border-radius: 0;
	padding: 20px;
}

.hello-biz-post-item-alt .hello-biz-post-content{
	padding:15px 0;
}

.hello-biz-post-item-alt .post-date{
	padding-bottom: 0;
}

.hello-biz-post-item-alt .hello-biz-post-title{
	font-size: 30px;
	font-weight: 400;
}

.hello-biz-post-item-alt  .hello-biz-post-link{
	align-self: flex-end;
}