.tne-posts {
	width: 100%;
}

.tne-posts *,
.tne-posts *::before,
.tne-posts *::after {
	box-sizing: border-box;
}

.tne-posts__grid {
	display: grid;
	gap: 16px;
	width: 100%;
}

.tne-posts--featured .tne-posts__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 400px));
}

.tne-posts--news .tne-posts__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tne-posts .tc-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 400px;
	max-width: 100%;
	height: 400px;
	padding: 32px;
	overflow: hidden;
	background-color: #105157;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 1px solid #fff;
	border-radius: 0 32px 0 32px;
}

.tne-posts .tc-post-card.tc-post-card-news {
	width: 100%;
	height: auto;
}

.tne-posts .tc-post-card::after {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(3px);
	content: "";
	transition: background-color 0.3s ease-in-out;
}

.tne-posts .tc-post-card:hover::after {
	background-color: rgba(0, 0, 0, 0.9);
}

.tne-posts .tc-post-card-categories {
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.tne-posts .tc-post-card-categories a {
	display: inline-flex;
	padding: 2px 10px;
	color: #fff;
	font-size: 17px;
	text-decoration: none;
	background-color: #105157;
	border-radius: 4px;
}

.tne-posts .tc-post-card-categories a::before {
	content: "#";
}

.tne-posts .tc-post-card-categories a:hover,
.tne-posts .tc-post-card-categories a:focus-visible {
	color: #105157;
	background-color: #fff;
}

.tne-posts .tc-post-card-content {
	z-index: 2;
	margin-top: auto;
}

.tne-posts .tc-post-card-title {
	margin-top: 0;
	margin-bottom: 16px;
}

.tne-posts .tc-post-card-title a {
	color: #fff;
	font-size: 18px;
	line-height: 1.3;
	text-decoration: none;
}

.tne-posts .tc-post-card-title a:hover,
.tne-posts .tc-post-card-title a:focus-visible {
	text-decoration: underline;
}

.tne-posts .tc-post-card-excerpt {
	margin-top: 0;
	color: #fff;
	font-size: 17px;
	line-height: 1.3;
}

.tne-posts .tc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	padding: 6px 16px;
	color: #fff;
	text-decoration: none !important;
	background-color: transparent;
	border: 1px solid #fff;
	border-radius: 999px;
	transition: all 0.3s ease-in-out;
}

.tne-posts .tc-btn:hover,
.tne-posts .tc-btn:focus-visible {
	color: #fff;
	background-color: #105157;
	border-color: #fff;
}

.tne-posts .tc-btn img {
	display: block;
	width: auto;
	height: 12px;
}

.tne-posts__empty {
	padding: 16px;
	color: #4b5563;
	text-align: center;
	background: #f3f4f6;
	border-radius: 4px;
}

@media (max-width: 767px) {
	.tne-posts--news .tne-posts__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.tne-posts .tc-post-card {
		min-height: 340px;
		height: auto;
		padding: 24px;
	}

	.tne-posts .tc-post-card.tc-post-card-news {
		min-height: 0;
	}
}
