/**
 * Bilin Framework
 * Translators Archive
 *
 * @package Bilin_Framework
 */

/* =========================================================
   Base
========================================================= */

.translators-archive {
	direction: rtl;
	background: #fffdf9;
	color: #25323a;
}

.translators-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}


/* =========================================================
   Hero
========================================================= */

.translators-hero {
	position: relative;
	padding: 86px 0 78px;
	background:
		linear-gradient(
			135deg,
			#fff8ef 0%,
			#fffdf9 55%,
			#f3fbf8 100%
		);
	border-bottom: 1px solid rgba(37, 50, 58, 0.06);
	overflow: hidden;
}

.translators-hero::before {
	content: "";
	position: absolute;
	top: -140px;
	left: -100px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: rgba(224, 91, 72, 0.07);
	pointer-events: none;
}

.translators-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -180px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: rgba(42, 164, 145, 0.07);
	pointer-events: none;
}

.translators-hero-content {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.translators-eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(224, 91, 72, 0.09);
	color: #d95340;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.translators-title {
	margin: 0;
	color: #25323a;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -0.5px;
}

.translators-intro {
	max-width: 680px;
	margin: 18px auto 0;
	color: #66737a;
	font-size: 16px;
	line-height: 2;
}


/* =========================================================
   List Section
========================================================= */

.translators-list-section {
	padding: 80px 0 100px;
}

.translators-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}


/* =========================================================
   Translator Card
========================================================= */

.translator-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	margin: 0;
	background: #ffffff;
	border: 1px solid rgba(37, 50, 58, 0.08);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(37, 50, 58, 0.055);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.translator-card:hover {
	transform: translateY(-6px);
	border-color: rgba(224, 91, 72, 0.20);
	box-shadow: 0 18px 42px rgba(37, 50, 58, 0.10);
}


/* =========================================================
   Card Image
========================================================= */

.translator-card-image {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 24px 20px;
	background:
		linear-gradient(
			180deg,
			#fff8ef 0%,
			#ffffff 100%
		);
}

.translator-card-image a {
	display: block;
	text-decoration: none;
}

.translator-avatar {
	display: block;
	width: 132px;
	height: 132px;
	object-fit: cover;
	border-radius: 50%;
	border: 5px solid #ffffff;
	box-shadow: 0 9px 26px rgba(37, 50, 58, 0.13);
}

.translator-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3eee7;
}

.translator-avatar-placeholder span {
	color: #d95340;
	font-size: 46px;
	font-weight: 800;
	line-height: 1;
}


/* =========================================================
   Card Content
========================================================= */

.translator-card-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
}

.translator-card-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	text-align: center;
}

.translator-name {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.6;
}

.translator-name a {
	color: #25323a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.translator-name a:hover {
	color: #d95340;
}


/* =========================================================
   Official Badge
========================================================= */

.translator-official-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(42, 164, 145, 0.10);
	color: #238b7b;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
}


/* =========================================================
   University
========================================================= */

.translator-university {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(37, 50, 58, 0.07);
	text-align: center;
}

.translator-university strong {
	color: #3d4b53;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
}

.translator-university span {
	color: #7b878d;
	font-size: 12px;
	line-height: 1.7;
}


/* =========================================================
   Taxonomy
========================================================= */

.translator-taxonomy {
	margin-top: 16px;
}

.translator-taxonomy-label {
	display: block;
	margin-bottom: 7px;
	color: #7b878d;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
}

.translator-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.translator-term {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: #fff6ed;
	color: #9a6248;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

a.translator-term:hover {
	background: #e05b48;
	color: #ffffff;
}


/* =========================================================
   Excerpt
========================================================= */

.translator-excerpt {
	margin-top: 16px;
	color: #66737a;
	font-size: 13px;
	line-height: 1.9;
}

.translator-excerpt p {
	margin: 0;
}


/* =========================================================
   Card Footer
========================================================= */

.translator-card-footer {
	margin-top: auto;
	padding-top: 22px;
}

.translator-profile-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid rgba(224, 91, 72, 0.22);
	border-radius: 12px;
	background: #ffffff;
	color: #d95340;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.translator-profile-link:hover {
	background: #e05b48;
	border-color: #e05b48;
	color: #ffffff;
}

.translator-profile-link span {
	font-size: 16px;
	transition: transform 0.2s ease;
}

.translator-profile-link:hover span {
	transform: translateX(-3px);
}


/* =========================================================
   Pagination
========================================================= */

.translators-pagination {
	display: flex;
	justify-content: center;
	margin-top: 52px;
}

.translators-pagination ul {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.translators-pagination li {
	margin: 0;
	padding: 0;
}

.translators-pagination a,
.translators-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 11px;
	border: 1px solid rgba(37, 50, 58, 0.10);
	border-radius: 10px;
	background: #ffffff;
	color: #4b5960;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.translators-pagination a:hover {
	background: #e05b48;
	border-color: #e05b48;
	color: #ffffff;
}

.translators-pagination .current {
	background: #e05b48;
	border-color: #e05b48;
	color: #ffffff;
}


/* =========================================================
   Empty State
========================================================= */

.translators-empty {
	max-width: 680px;
	margin: 0 auto;
	padding: 50px 30px;
	border: 1px dashed rgba(37, 50, 58, 0.16);
	border-radius: 22px;
	background: #ffffff;
	text-align: center;
}

.translators-empty h2 {
	margin: 0 0 10px;
	color: #25323a;
	font-size: 22px;
	font-weight: 800;
}

.translators-empty p {
	margin: 0;
	color: #7b878d;
	font-size: 14px;
	line-height: 1.9;
}


/* =========================================================
   Responsive — Tablet
========================================================= */

@media (max-width: 1100px) {

	.translators-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}


/* =========================================================
   Responsive — Small Tablet
========================================================= */

@media (max-width: 820px) {

	.translators-container {
		width: min(100% - 32px, 680px);
	}

	.translators-hero {
		padding: 68px 0 62px;
	}

	.translators-list-section {
		padding: 60px 0 80px;
	}

	.translators-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

}


/* =========================================================
   Responsive — Mobile
========================================================= */

@media (max-width: 560px) {

	.translators-container {
		width: min(100% - 28px, 480px);
	}

	.translators-hero {
		padding: 56px 0 50px;
	}

	.translators-title {
		font-size: 30px;
	}

	.translators-intro {
		margin-top: 14px;
		font-size: 14px;
		line-height: 1.9;
	}

	.translators-list-section {
		padding: 46px 0 64px;
	}

	.translators-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.translator-card {
		border-radius: 20px;
	}

	.translator-card-image {
		padding-top: 26px;
	}

	.translator-avatar,
	.translator-avatar-placeholder {
		width: 118px;
		height: 118px;
	}

	.translator-avatar-placeholder span {
		font-size: 40px;
	}

	.translator-card-content {
		padding: 18px 20px 20px;
	}

	.translator-name {
		font-size: 19px;
	}

	.translators-pagination {
		margin-top: 38px;
	}

}


/* =========================================================
   Accessibility / Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

	.translator-card,
	.translator-name a,
	.translator-term,
	.translator-profile-link,
	.translator-profile-link span,
	.translators-pagination a {
		transition: none;
	}

	.translator-card:hover {
		transform: none;
	}

	.translator-profile-link:hover span {
		transform: none;
	}

}