/**
 * Bilin Framework
 * Translator Profile
 *
 * @package Bilin_Framework
 */

/* =========================================================
   Base
========================================================= */

.translator-profile-page {
	direction: rtl;
	background: #fffdf9;
	color: #25323a;
}

.translator-profile-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}


/* =========================================================
   Hero
========================================================= */

.translator-profile-hero {
	position: relative;
	overflow: hidden;
	padding: 80px 0;
	background:
		linear-gradient(
			135deg,
			#fffaf2 0%,
			#ffffff 55%,
			#eefaf7 100%
		);
	border-bottom: 1px solid rgba(37, 50, 58, 0.08);
}

.translator-profile-hero::before {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	top: -220px;
	left: -160px;
	border-radius: 50%;
	background: rgba(231, 91, 76, 0.07);
}

.translator-profile-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 60px;
	align-items: center;
}


/* =========================================================
   Photo
========================================================= */

.translator-profile-photo {
	display: flex;
	justify-content: center;
}

.translator-profile-image {
	display: block;
	width: 270px;
	height: 270px;
	object-fit: cover;
	border-radius: 50%;
	border: 8px solid #ffffff;
	box-shadow:
		0 20px 50px rgba(37, 50, 58, 0.14),
		0 0 0 1px rgba(37, 50, 58, 0.06);
}

.translator-profile-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #edf8f5;
	color: #229c91;
	font-size: 64px;
}

.translator-profile-image-placeholder .dashicons {
	width: auto;
	height: auto;
	font-size: 64px;
}


/* =========================================================
   Hero Content
========================================================= */

.translator-profile-eyebrow,
.translator-profile-section-eyebrow,
.translator-profile-cta-eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	color: #e15b4d;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.translator-profile-name {
	margin: 0;
	color: #26343b;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 800;
	line-height: 1.25;
}

.translator-profile-position {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
	color: #65747c;
	font-size: 17px;
	font-weight: 600;
}

.translator-profile-separator {
	opacity: 0.45;
}


/* =========================================================
   Official Badge
========================================================= */

.translator-profile-official-badge {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
	padding: 9px 14px;
	border-radius: 999px;
	background: #e9f8f3;
	color: #168476;
	font-size: 14px;
	font-weight: 700;
}

.translator-profile-official-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #168476;
	color: #ffffff;
	font-size: 13px;
}

.translator-profile-official-id {
	font-weight: 500;
	color: #52756f;
}


/* =========================================================
   Languages Hero
========================================================= */

.translator-profile-languages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.translator-profile-language {
	padding: 7px 13px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid rgba(34, 156, 145, 0.18);
	color: #197e75;
	font-size: 14px;
	font-weight: 700;
}


/* =========================================================
   Buttons
========================================================= */

.translator-profile-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.translator-profile-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 12px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.translator-profile-button:hover {
	transform: translateY(-2px);
}

.translator-profile-button-primary {
	background: #e15b4d;
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(225, 91, 77, 0.20);
}

.translator-profile-button-primary:hover {
	background: #d84e40;
	color: #ffffff;
}

.translator-profile-button-secondary {
	background: #ffffff;
	color: #52636b;
	border: 1px solid rgba(37, 50, 58, 0.12);
}

.translator-profile-button-secondary:hover {
	color: #e15b4d;
}


/* =========================================================
   Sections
========================================================= */

.translator-profile-section {
	padding: 85px 0;
}

.translator-profile-section:nth-child(even) {
	background: #ffffff;
}

.translator-profile-section-heading {
	max-width: 760px;
	margin-bottom: 38px;
}

.translator-profile-section-heading h2 {
	margin: 0;
	color: #293840;
	font-size: clamp(27px, 3vw, 36px);
	font-weight: 800;
	line-height: 1.4;
}


/* =========================================================
   About
========================================================= */

.translator-profile-about-content {
	max-width: 880px;
}

.translator-profile-lead {
	margin-bottom: 25px;
	color: #45565e;
	font-size: 21px;
	font-weight: 600;
	line-height: 2;
}

.translator-profile-content {
	color: #596970;
	font-size: 17px;
	line-height: 2.1;
}

.translator-profile-content p {
	margin: 0 0 1.4em;
}

.translator-profile-content p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   Information Cards
========================================================= */

.translator-profile-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.translator-profile-info-card {
	display: flex;
	gap: 17px;
	padding: 25px;
	background: #ffffff;
	border: 1px solid rgba(37, 50, 58, 0.08);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(37, 50, 58, 0.045);
}

.translator-profile-info-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #edf8f5;
	font-size: 21px;
}

.translator-profile-info-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.translator-profile-info-label {
	color: #849097;
	font-size: 13px;
	font-weight: 600;
}

.translator-profile-info-body strong {
	color: #2d3b42;
	font-size: 16px;
	line-height: 1.6;
}

.translator-profile-info-value {
	color: #65747c;
	font-size: 14px;
	line-height: 1.7;
}

.translator-profile-text-link,
.translator-profile-external-link {
	margin-top: 5px;
	color: #d95749;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.translator-profile-text-link:hover,
.translator-profile-external-link:hover {
	text-decoration: underline;
}


/* =========================================================
   Taxonomy Tags
========================================================= */

.translator-profile-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.translator-profile-tag {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 12px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.translator-profile-tag:hover {
	transform: translateY(-2px);
}

.translator-profile-language-tag {
	background: #eaf8f5;
	color: #197e75;
	border: 1px solid rgba(34, 156, 145, 0.12);
}


/* =========================================================
   Specialties
========================================================= */

.translator-profile-specialties {
	background: #fffaf4;
}

.translator-profile-specialty-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.translator-profile-specialty-card {
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 72px;
	padding: 15px 18px;
	background: #ffffff;
	border: 1px solid rgba(225, 91, 77, 0.10);
	border-radius: 15px;
	color: #36464d;
	text-decoration: none;
	box-shadow: 0 8px 25px rgba(37, 50, 58, 0.035);
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.translator-profile-specialty-card:hover {
	transform: translateY(-3px);
	border-color: rgba(225, 91, 77, 0.28);
	box-shadow: 0 14px 30px rgba(37, 50, 58, 0.07);
}

.translator-profile-specialty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #fff0ec;
	color: #e15b4d;
	font-size: 12px;
}

.translator-profile-specialty-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}


/* =========================================================
   Professional Links
========================================================= */

.translator-profile-links {
	background: #ffffff;
}

.translator-profile-links-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.translator-profile-link-card {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-width: 190px;
	padding: 17px 20px;
	background: #f8faf9;
	border: 1px solid rgba(37, 50, 58, 0.08);
	border-radius: 14px;
	color: #35464d;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.translator-profile-link-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(37, 50, 58, 0.07);
	border-color: rgba(34, 156, 145, 0.25);
}

.translator-profile-link-label {
	font-size: 14px;
	font-weight: 700;
}

.translator-profile-link-arrow {
	color: #229c91;
	font-size: 18px;
}


/* =========================================================
   Final CTA
========================================================= */

.translator-profile-cta {
	padding: 70px 0;
	background:
		linear-gradient(
			135deg,
			#eaf8f5 0%,
			#fff8f1 100%
		);
}

.translator-profile-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 42px 48px;
	background: #ffffff;
	border: 1px solid rgba(37, 50, 58, 0.07);
	border-radius: 24px;
	box-shadow: 0 18px 50px rgba(37, 50, 58, 0.07);
}

.translator-profile-cta-content h2 {
	margin: 0 0 10px;
	color: #293840;
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.45;
}

.translator-profile-cta-content p {
	margin: 0;
	color: #68767d;
	font-size: 16px;
	line-height: 1.9;
}

.translator-profile-button-cta {
	flex: 0 0 auto;
	background: #e15b4d;
	color: #ffffff;
	box-shadow: 0 12px 28px rgba(225, 91, 77, 0.20);
}

.translator-profile-button-cta:hover {
	background: #d84e40;
	color: #ffffff;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1000px) {

	.translator-profile-hero-grid {
		grid-template-columns: 230px minmax(0, 1fr);
		gap: 40px;
	}

	.translator-profile-image {
		width: 220px;
		height: 220px;
	}

	.translator-profile-info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.translator-profile-specialty-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}


@media (max-width: 760px) {

	.translator-profile-container {
		width: min(100% - 28px, 600px);
	}

	.translator-profile-hero {
		padding: 55px 0;
	}

	.translator-profile-hero-grid {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: center;
	}

	.translator-profile-photo {
		order: 1;
	}

	.translator-profile-hero-content {
		order: 2;
	}

	.translator-profile-image {
		width: 190px;
		height: 190px;
	}

	.translator-profile-position,
	.translator-profile-languages,
	.translator-profile-hero-actions {
		justify-content: center;
	}

	.translator-profile-official-badge {
		justify-content: center;
	}

	.translator-profile-section {
		padding: 60px 0;
	}

	.translator-profile-info-grid {
		grid-template-columns: 1fr;
	}

	.translator-profile-specialty-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.translator-profile-cta-inner {
		flex-direction: column;
		align-items: stretch;
		padding: 30px 24px;
		text-align: center;
	}

	.translator-profile-button-cta {
		width: 100%;
	}

}


@media (max-width: 480px) {

	.translator-profile-specialty-grid {
		grid-template-columns: 1fr;
	}

	.translator-profile-links-grid {
		display: grid;
		grid-template-columns: 1fr;
	}

	.translator-profile-link-card {
		width: 100%;
	}

	.translator-profile-hero-actions {
		flex-direction: column;
	}

	.translator-profile-button {
		width: 100%;
	}

}