.ep-related {
	background: #F4F3EB;
	padding: 72px 0 80px;
	margin-top: 0;
}

.ep-related-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 48px;
}
.ac-page-wrapper{
	max-width: 1440px;
	margin: 0 auto;
}
.ep-related-header h2 {
	margin: 0 0 14px;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -1px;
	color: #111;
}

.ep-related-header p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: #666;
}

.ep-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.ep-related-card {
	background: #f9f8f3;
	border: 1px solid #e4e4e4;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.ep-related-card-image {
	display: block;
	background: #ececec;
}

.ep-related-card-image img,
.ep-related-card-image-placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.ep-related-card-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ececec;
}

.ep-related-card-body {
	padding: 22px 22px 24px;
	display: flex;
	background: transparent;
	flex-direction: column;
	flex: 1;
}

.ep-related-card-cat {
	display: block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
	text-transform: none;
}

.ep-related-card-title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.4px;
}

.ep-related-card-title a {
	color: #111;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ep-related-card-title a:hover {
	opacity: 0.7;
}

.ep-related-card-excerpt {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.75;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.ep-related-card-author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.ep-related-card-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: #efefef;
}

.ep-related-card-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ep-related-card-author-info h6 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
	color: #111;
}

.ep-related-card-author-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #777;
}

.ep-related-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #ededed;
}

.ep-related-card-footer .ac-views {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #666;
}

.ep-related-card-footer .ac-views svg {
	width: 16px;
	height: 16px;
	fill: #666;
	flex-shrink: 0;
}

.ep-related-card-footer .ac-paid-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #666;
	font-weight: 500;
}

.ep-related-card-footer .ac-paid-badge svg {
	width: 14px;
	height: 14px;
	fill: #666;
}

.ep-related-footer {
	margin-top: 42px;
	text-align: center;
}

.ep-related-view-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	padding: 12px 28px;
	border: 1px solid #111;
	background: transparent;
	color: #111;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.25s ease;
}

.ep-related-view-all:hover {
	background: #111;
	color: #fff;
}

@media (max-width: 992px) {
	.ep-related {
		padding: 56px 0 64px;
	}

	.ep-related-header h2 {
		font-size: 34px;
	}

	.ep-related-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 576px) {
	.ep-related-header h2 {
		font-size: 28px;
	}

	.ep-related-card-title {
		font-size: 20px;
	}
}
