/* =========================================================
   SCHEMALOGY THERAPIST PROFILE
   Minimal / White / Soft Blue / Premium
   ========================================================= */

.sd-profile {
	direction: rtl;
	background: #f6f8fa;
	padding: 42px 20px 70px;
	color: #26323b;
}

.sd-container {
	max-width: 1160px;
	margin: 0 auto;


/* =========================================================
   HERO
   ========================================================= */

.sd-hero {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	gap: 54px;
	align-items: center;

	background:
		linear-gradient(
			135deg,
			#eef7fc 0%,
			#f8fbfd 100%
		);

	border: 1px solid #edf1f4;
	border-radius: 22px;

	padding: 34px 38px;
	margin-bottom: 24px;

	box-shadow:
		0 8px 30px rgba(31, 50, 66, 0.035);
}

.sd-photo {
	min-width: 0;
}

.sd-profile-image {
	display: block;
	width: 100%;
	height: 380px;

	object-fit: cover;
	object-position: center;

	border-radius: 18px;
}

.sd-hero-content {
	min-width: 0;
}

.sd-name-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;

	margin-bottom: 5px;
}

.sd-name-row h1 {
	margin: 0;

	font-size: 34px;
	line-height: 1.55;
	font-weight: 800;

	color: #1f2c36;
	letter-spacing: -0.3px;
}

.sd-verified {
	display: inline-flex;
	align-items: center;

	padding: 6px 11px;

	border-radius: 999px;

	background: #edf7fd;
	border: 1px solid #d9edf8;

	color: #176e9d;

	font-size: 12px;
	line-height: 1.4;
	font-weight: 700;

	white-space: nowrap;
}

.sd-professional-title {
	margin-top: 5px;

	font-size: 18px;
	line-height: 1.8;
	font-weight: 600;

	color: #38444e;
}

.sd-location,
.sd-service-mode {
	display: inline-flex;
	align-items: center;

	margin-top: 12px;
	margin-left: 18px;

	font-size: 13px;
	color: #75808a;
}

.sd-short-bio {
	max-width: 690px;

	margin: 20px 0 0;

	font-size: 15.5px;
	line-height: 2.1;

	color: #505b64;
}

.sd-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;

	margin-top: 24px;
}

.sd-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 44px;

	padding: 9px 21px;

	border-radius: 9px;

	text-decoration: none !important;

	font-size: 14px;
	font-weight: 700;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease,
		transform .2s ease;
}

.sd-button:hover {
	transform: translateY(-1px);
}

.sd-primary {
	background: #176181;
	border: 1px solid #176181;

	color: #ffffff !important;
}

.sd-primary:hover {
	background: #124f6a;
	border-color: #124f6a;

	color: #ffffff !important;
}

.sd-secondary {
	background: #ffffff;
	border: 1px solid #77a9c1;

	color: #176181 !important;
}

.sd-secondary:hover {
	background: #f4fafc;
	border-color: #176181;

	color: #124f6a !important;
}


/* =========================================================
   SUMMARY / TAXONOMY CARDS
   ========================================================= */

.sd-taxonomy-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));

	gap: 14px;

	margin-bottom: 24px;
}

.sd-info-box {
	min-height: 104px;

	background: #ffffff;
	border: 1px solid #edf1f4;
	border-radius: 15px;

	padding: 18px 17px;

	box-shadow:
		0 4px 18px rgba(31, 50, 66, 0.022);
}

.sd-info-box h3 {
	margin: 0 0 12px;

	font-size: 16px;
	line-height: 1.6;
	font-weight: 750;

	color: #273a48;
}

.sd-info-box p {
	margin: 0;

	font-size: 13.5px;
	line-height: 1.9;

	color: #59656f;
}

.sd-tags {
	display: flex;
	flex-wrap: wrap;

	gap: 7px;
}

.sd-tags span {
	display: inline-flex;
	align-items: center;

	padding: 5px 10px;

	border-radius: 999px;

	background: #f1f6f9;
	border: 1px solid #e6eef3;

	color: #465866;

	font-size: 12.5px;
	line-height: 1.5;
}


/* =========================================================
   MAIN PROFILE BODY
   ========================================================= */

.sd-profile-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;

	gap: 22px;
	align-items: start;

	margin-bottom: 24px;
}

.sd-main-column {
	min-width: 0;
}

.sd-side-column {
	display: flex;
	flex-direction: column;

	gap: 16px;
}


/* =========================================================
   CONTENT CARDS
   ========================================================= */

.sd-content-section {
	background: #ffffff;
	border: 1px solid #edf1f4;
	border-radius: 16px;

	padding: 30px 32px;
	margin-bottom: 18px;

	box-shadow:
		0 5px 22px rgba(31, 50, 66, 0.025);
}

.sd-main-column .sd-content-section:last-child {
	margin-bottom: 0;
}

.sd-content-section h2 {
	margin: 0 0 18px;

	font-size: 22px;
	line-height: 1.7;
	font-weight: 800;

	color: #20303b;
}

.sd-main-content {
	font-size: 16.5px;
	line-height: 2.30;

	color: #46515a;
}

.sd-main-content p {
	margin-top: 0;
	margin-bottom: 14px;
}

.sd-main-content p:last-child {
	margin-bottom: 0;
}

.sd-detail {
	margin-bottom: 13px;

	font-size: 14.5px;
	line-height: 2;

	color: #46515a;
}

.sd-detail:last-child {
	margin-bottom: 0;
}

.sd-detail strong {
	margin-left: 5px;

	color: #24343f;
	font-weight: 750;
}


/* =========================================================
   VERIFIED CARD
   ========================================================= */

.sd-verification-card {
	background:
		linear-gradient(
			145deg,
			#f4fbff 0%,
			#eaf6fc 100%
		);

	border: 1px solid #d7ebf5;
	border-radius: 16px;

	padding: 22px;

	box-shadow:
		0 5px 20px rgba(31, 90, 120, 0.035);
}

.sd-verification-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 44px;
	height: 44px;

	margin-bottom: 15px;

	border-radius: 50%;

	background: #dceff8;

	color: #176e9d;

	font-size: 20px;
	font-weight: 800;
}

.sd-verification-card h3 {
	margin: 0 0 9px;

	font-size: 16px;
	line-height: 2;
	font-weight: 800;

	color: #1c5877;
}

.sd-verification-card p {
	margin: 0 0 8px;

	font-size: 14.5px;
	line-height: 1.95;

	color: #4b5e69;
}

.sd-verification-card span {
	display: block;

	font-size: 12.5px;
	line-height: 1.8;

	color: #7a8891;
}


/* =========================================================
   QUOTE CARD
   ========================================================= */

.sd-quote-card {
	position: relative;

	background: #ffffff;
	border: 1px solid #edf1f4;
	border-radius: 16px;

	padding: 24px 22px 22px;

	box-shadow:
		0 5px 20px rgba(31, 50, 66, 0.025);
}

.sd-quote-mark {
	height: 36px;

	font-family: Georgia, serif;
	font-size: 58px;
	line-height: 1;

	color: #c4ddea;
}

.sd-quote-card p {
	margin: 8px 0 14px;

	font-size: 15px;
	line-height: 2;

	color: #4f5b64;
}

.sd-quote-card strong {
	display: block;

	font-size: 13.5px;
	line-height: 1.7;

	color: #263a47;
}


/* =========================================================
   ARTICLES SECTION
   ========================================================= */

.sd-articles-section {
	background: #ffffff;
	border: 1px solid #edf1f4;
	border-radius: 18px;

	padding: 28px;

	margin: 24px 0;

	box-shadow:
		0 6px 25px rgba(31, 50, 66, 0.025);
}


.sd-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));

	gap: 17px;
}

.sd-article-card {
	display: flex;
	flex-direction: column;

	overflow: hidden;

	background: #ffffff;
	border: 1px solid #e8edf1;
	border-radius: 14px;

	transition:
		transform .22s ease,
		box-shadow .22s ease,
		border-color .22s ease;
}

.sd-article-card:hover {
	transform: translateY(-3px);

	border-color: #dae5eb;

	box-shadow:
		0 10px 28px rgba(31, 50, 66, 0.06);
}

.sd-article-image {
	display: block;

	aspect-ratio: 16 / 9;

	overflow: hidden;

	background: #eef2f4;
}

.sd-article-image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform .3s ease;
}

.sd-article-card:hover .sd-article-image img {
	transform: scale(1.025);
}

.sd-article-content {
	display: flex;
	flex: 1;
	flex-direction: column;

	padding: 17px 18px 16px;
}

.sd-article-content h3 {
	margin: 0 0 8px;

	font-size: 15px;
	line-height: 2;
	font-weight: 650;
}

.sd-article-content h3 a {
	color: #253641;
	text-decoration: none;
}

.sd-article-content h3 a:hover {
	color: #176181;
}

.sd-article-content p {
	margin: 0 0 14px;

	font-size: 13px;
	line-height: 1.9;

	color: #697680;
}

.sd-article-readmore {
	margin-top: auto;

	color: #176181;
	text-decoration: none;

	font-size: 12.5px;
	font-weight: 750;
}

.sd-article-readmore::after {
	content: " ←";
}

.sd-article-readmore:hover {
	color: #124f6a;
}

/* اگر فقط یک مقاله وجود دارد */
.sd-articles-grid:has(.sd-article-card:only-child) {
	grid-template-columns: minmax(280px, 355px);
	justify-content: start;
}

/* اگر دو مقاله وجود دارد */
.sd-articles-grid:has(.sd-article-card:nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(280px, 355px));
	justify-content: start;
}


/* =========================================================
   CONTACT / BOOKING
   ========================================================= */

.sd-contact-wide {
	background:
		linear-gradient(
			135deg,
			#f1f9fd 0%,
			#eaf5fb 100%
		);

	border: 1px solid #d8ebf5;
	border-radius: 17px;

	padding: 23px 28px;

	margin-top: 24px;

	box-shadow:
		0 5px 20px rgba(31, 90, 120, 0.025);
}

.sd-contact-wide-content {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 28px;
}

.sd-contact-intro {
	flex: 1;
	min-width: 0;
}

.sd-contact-wide h2 {
	margin: 0 0 5px;

	font-size: 20px;
	line-height: 1.6;
	font-weight: 800;

	color: #203b4a;
}

.sd-contact-wide p {
	margin: 0;

	font-size: 13px;
	line-height: 1.9;

	color: #697984;
}

.sd-contact-wide-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;

	gap: 9px;
}

.sd-contact-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 42px;

	padding: 8px 13px;

	background: #ffffff;
	border: 1px solid #ddebf2;
	border-radius: 8px;

	color: #176181 !important;
	text-decoration: none !important;

	font-size: 13px;
	font-weight: 700;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		transform .2s ease;
}

.sd-contact-link:hover {
	background: #f9fcfe;
	border-color: #aacddd;

	transform: translateY(-1px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

	.sd-profile {
		padding: 30px 16px 55px;
	}

	.sd-hero {
		grid-template-columns: 1fr;

		gap: 25px;

		padding: 28px;
	}

	.sd-photo {
		max-width: 440px;
		margin: 0 auto;
	}

	.sd-profile-image {
		height: auto;
		aspect-ratio: 4 / 5;
	}

	.sd-taxonomy-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sd-profile-body {
		grid-template-columns: 1fr;
	}

	.sd-side-column {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sd-articles-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sd-contact-wide-content {
		flex-direction: column;
		align-items: stretch;
	}

	.sd-contact-wide-links {
		justify-content: flex-start;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

	.sd-profile {
		padding: 18px 10px 40px;
	}

	.sd-container {
		width: 100%;
	}

	.sd-hero {
		padding: 18px;

		border-radius: 15px;
	}

	.sd-photo {
		width: 100%;
		max-width: none;
	}

	.sd-profile-image {
		width: 100%;

		aspect-ratio: 4 / 5;

		border-radius: 13px;
	}

	.sd-name-row {
		gap: 8px;
	}

	.sd-name-row h1 {
		font-size: 26px;
	}

	.sd-verified {
		font-size: 11px;
	}

	.sd-professional-title {
		font-size: 16px;
	}

	.sd-short-bio {
		font-size: 14.5px;
	}

	.sd-actions {
		flex-direction: column;
	}

	.sd-actions .sd-button {
		width: 100%;
	}

	.sd-taxonomy-grid {
		grid-template-columns: 1fr;
	}

	.sd-info-box {
		min-height: auto;
	}

	.sd-profile-body {
		gap: 16px;
	}

	.sd-side-column {
		grid-template-columns: 1fr;
	}

	.sd-content-section {
		padding: 22px 18px;

		border-radius: 14px;
	}

	.sd-content-section h2 {
		font-size: 19px;
	}

	.sd-main-content {
		font-size: 14.5px;
	}

	.sd-articles-section {
		padding: 21px 17px;

		border-radius: 15px;
	}

	.sd-section-heading h2 {
		font-size: 19px;
	}

	.sd-articles-grid,
	.sd-articles-grid:has(.sd-article-card:only-child),
	.sd-articles-grid:has(.sd-article-card:nth-child(2):last-child) {
		grid-template-columns: 1fr;
	}

	.sd-contact-wide {
		padding: 20px 17px;

		border-radius: 15px;
	}

	.sd-contact-wide-links {
		flex-direction: column;
		align-items: stretch;
	}

	.sd-contact-wide-links a {
		width: 100%;
		text-align: center;
	}

}
/* =========================================================
   CAREER / EDUCATION
   ========================================================= */

.sd-career-section {
	background: #ffffff;
	border: 1px solid #dfeaf1;
	border-radius: 18px;

	padding: 30px 32px;

	box-shadow:
		0 6px 22px rgba(36, 67, 88, 0.025);
}

.sd-career-heading {
	margin-bottom: 24px;
}

.sd-career-heading h2 {
	margin: 0 0 6px;

	font-size: 24px;
	line-height: 1.7;
	font-weight: 800;

	color: #174a70;
}

.sd-career-heading p {
	margin: 0;

	font-size: 13.5px;
	line-height: 1.9;

	color: #71818c;
}


/* Summary cards */

.sd-career-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));

	gap: 16px;
}

.sd-career-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;

	min-height: 150px;

	padding: 20px;

	background:
		linear-gradient(
			145deg,
			#fbfdff 0%,
			#f3f9fd 100%
		);

	border: 1px solid #dceaf2;
	border-radius: 14px;
}

.sd-career-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 auto;

	width: 46px;
	height: 46px;

	border-radius: 50%;

	background: #e3f1f9;

	font-size: 20px;
}

.sd-career-card-body {
	min-width: 0;
}

.sd-career-label {
	display: block;

	margin-bottom: 10px;

	font-size: 13px;
	line-height: 1.6;
	font-weight: 700;

	color: #697b87;
}

.sd-career-value {
	font-size: 15px;
	line-height: 1.95;
	font-weight: 600;

	color: #263b49;
}

.sd-career-experience {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.sd-career-experience strong {
	font-size: 32px;
	line-height: 1;
	font-weight: 800;

	color: #17618b;
}

.sd-career-experience span {
	font-size: 13px;
	font-weight: 600;

	color: #798994;
}

.sd-career-note {
	margin-top: 10px;

	font-size: 12.5px;
	line-height: 1.8;

	color: #70808b;
}

.sd-career-license {
	font-size: 24px;
	line-height: 1.4;
	font-weight: 800;

	color: #244a63;
}


/* Training section */

.sd-training-section {
	margin-top: 28px;
	padding-top: 24px;

	border-top: 1px solid #e7eef3;
}

.sd-training-heading {
	margin-bottom: 16px;
}

.sd-training-heading h3 {
	margin: 0 0 5px;

	font-size: 18px;
	line-height: 1.7;
	font-weight: 800;

	color: #174a70;
}

.sd-training-heading p {
	margin: 0;

	font-size: 13.5px;
	line-height: 1.8;

	color: #7a8994;
}

.sd-training-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 24px;
}

.sd-training-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 2px 0;
	font-size: 16px;
	line-height: 1.65;
	color: #435662;
}

.sd-training-dot {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	margin-top: 8px;
	border-radius: 50%;
	background: #72a5c2;
}
.sd-training-text {
	display: block;
}


/* Tablet */

@media (max-width: 900px) {

	.sd-career-summary {
		grid-template-columns: 1fr;
	}

	.sd-training-grid {
		grid-template-columns: 1fr;
	}

}


/* Mobile */

@media (max-width: 600px) {

	.sd-career-section {
		padding: 22px 18px;
	}

	.sd-career-heading h2 {
		font-size: 21px;
	}

	.sd-career-card {
		min-height: auto;
	}

}
.sd-article-hidden {
	display: none;
}

.sd-articles-more {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}

.sd-more-button {
	min-width: 155px;
	min-height: 42px;
	padding: 9px 22px;

	background: #ffffff;
	border: 1px solid #7aa9c1;
	border-radius: 9px;

	color: #176181;

	font-family: inherit;
	font-size: 13px;
	font-weight: 700;

	cursor: pointer;
}

.sd-more-button:hover {
	background: #f2f8fb;
	border-color: #176181;
}
/* =========================================================
   ARTICLE SECTION HEADING
   ========================================================= */

.sd-section-heading {
	display: block;
	margin-bottom: 24px;
	text-align: right;
}

.sd-section-heading h2 {
	margin: 0 0 4px;

	font-size: 22px;
	line-height: 1.7;
	font-weight: 800;

	color: #20303b;
}

/* Prevent duplicate article subtitle from legacy pseudo-elements */
.sd-articles-section::after,
.sd-articles-grid::after {
	content: none !important;
	display: none !important;
}
/* =========================================================
   PROFILE BREADCRUMB
   ========================================================= */

.sd-profile-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;

	gap: 7px;

	margin-bottom: 14px;

	font-size: 12.5px;
	line-height: 1.8;

	color: #89969e;
}

.sd-profile-breadcrumb a {
	color: #607785 !important;
	text-decoration: none !important;
}

.sd-profile-breadcrumb a:hover {
	color: #176181 !important;
}

.sd-profile-breadcrumb span {
	color: #98a4ac;
}