/* Post Layout Styles */
.team_article {
	height: 100%;
	width: 100%; object-fit: cover; display: block;
	border-radius: 5px;
}

.team_block {
	position: relative; display: block;
	text-decoration: none; color: inherit;
	height: 100%;
	min-height: 500px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	aspect-ratio: 5/7;
	background-blend-mode: hard-light, normal;
}

.team_block::before {
	content: ''; position: absolute; inset: 0; z-index: 2;
	background: linear-gradient(180deg, rgba(0,0,0,0) 22%, rgba(0,0,0,1) 100%);
	transition: .3s ease-in-out opacity;
}

.team_block:hover::before {
	opacity: 0;
}

.team_block .post-content {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: start;
	justify-content: end;
	flex-direction: column;
	gap: 16px; 
	width: 100%; 	
	height: 100%;
	padding: 40px; color: #ffffff;
}

.team_block .post-content p {
	margin: 0;
	font-size: 18px;
	line-height: 1.4;
}

.team_block .post-content .post-title {
	font-size: clamp(24px, 2.5vw, 32px);
	text-transform: uppercase;
	font-family: 'Norwester' !important;
	margin: 0;
}

.team_block .post-content .function {
	font-weight: 500;
	text-transform: uppercase;
}

.team_block .post-content .separator {
	display: block;
	height: 3px;
	min-height: 3px; /* Ensure it doesn't collapse */
	width: 80%;
	margin-block: 16px;
	background-color: var(--sc-white);
	flex-shrink: 0; /* Prevent flex from shrinking it */
}

.team_block .post-content .readmore {
	font-weight: 700;
	font-size: 18px;
}

@media screen and (max-width: 992px) {
	
	.team_block .post-content {
		gap: 24px;
		padding: 24px;
	}
	
}


@media screen and (max-width: 767px) {
	
	.team_block {
		min-height: unset;
	}
	
	.team_block .post-content {
		gap: 16px; 
	}
	
	.team_block .post-content .separator {/* Ensure it doesn't collapse */
		margin-block: 8px;
	}
	
}