.mediach-authors-section {
	margin-top: 52px;
}

.slider-wrapper-outer {
	position: relative;
	padding: 0 48px;
}

.authors-slider-container {
	display: flex;
	gap: 18px;
	width: 100%;
	padding: 6px 0;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.authors-slider-container::-webkit-scrollbar {
	display: none;
}

.author-slide-item {
	display: flex;
	flex: 0 0 calc((100% - 72px) / 5);
	min-width: 0;
	scroll-snap-align: start;
}

.mech-author-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 234px;
	padding: 24px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
	text-align: center;
}

.mech-author-card:hover {
	transform: translateY(-4px);
	border-color: #fecaca;
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.author-avatar-img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
}

.author-avatar-img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	padding: 12px;
	border-radius: 50%;
	background: #f8fafc;
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.author-info {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-start;
	gap: 4px;
	width: 100%;
	margin-top: 14px;
}

.author-info h4 {
	display: -webkit-box;
	width: 100%;
	min-height: 2.8em;
	margin: 0 0 10px;
	color: #0f172a;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: clip;
}

.author-card-role {
	display: block;
	margin: -2px 0 10px;
	color: #b91c1c;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
}

.author-post-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f8fafc;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
}

.mediach-authors-cta {
	margin-top: 28px;
}

.btn-all-authors {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #fff;
	color: #475569;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.btn-all-authors:hover {
	border-color: #ef4444;
	background: #fef2f2;
	color: #b91c1c;
}

.mediach-authors-cta .btn-all-authors {
	margin-bottom: 18px;
}

.mediach-authors-cta__line {
	display: block;
	width: min(100%, 320px);
	height: 1px;
	margin: 0 auto 10px;
	background: #e5e7eb;
}

.nav-btn {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	background: #fff;
	color: #111827;
	transform: translateY(-50%);
	box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
	cursor: pointer;
}

.nav-btn:hover {
	border-color: #ef4444;
	background: #ef4444;
	color: #fff;
}

.nav-btn:disabled {
	opacity: 0.45;
	cursor: default;
}

.btn-left {
	left: 0;
}

.btn-right {
	right: 0;
}

@media (max-width: 992px) {
	.author-slide-item {
		flex-basis: calc((100% - 36px) / 3);
	}
}

@media (max-width: 640px) {
	.slider-wrapper-outer {
		padding: 0 40px;
	}

	.author-slide-item {
		flex-basis: 100%;
	}
}
