/* Karshenas Core — widget styles */

/* ---------- Hero ----------
   هندسهٔ دقیق طرح فیگما (صفحهٔ ۱۵۱۲px — کانتینر ۱۳۲۰px از x=۹۶): همه‌چیز نسبت به .ksc-hero__stage */
.ksc-hero {
	position: relative;
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	background: #fff;
	height: 800px;
	overflow: hidden;
}

/* Kill wrapper paddings so the shape starts flush at the very top like the demo */
.e-con:has(> .e-con-inner > .elementor-element .ksc-hero),
.e-con:has(> .elementor-element .ksc-hero),
.elementor-widget-ksc-hero,
.elementor-widget-ksc-hero > .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
}

.ksc-hero__bgwrap {
	position: absolute;
	top: -100px;
	/* در فیگما: x=320 از صفحهٔ ۱۵۱۲ → ۲۲۴ نسبت به کانتینر ۱۳۲۰ (که وسط‌چین است) */
	left: calc(50% - 660px + 224px);
	width: 1292px;
	height: 900px;
	pointer-events: none;
}

/* در صفحه‌های عریض‌تر از ~۱۹۰۰ لبهٔ راست شکل کوتاه می‌ماند؛ با همان رنگ ادامه می‌دهیم */
.ksc-hero::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	height: 690px;
	width: max(0px, calc(50% - 953px));
	background: #1f156d;
	pointer-events: none;
}

.ksc-hero__bg {
	overflow: visible;
	display: block;
	width: 100%;
	height: 100%;
}

.ksc-hero__stage {
	position: relative;
	width: 1320px;
	height: 800px;
	margin: 0 auto;
}

.ksc-hero__ring {
	position: absolute;
	border-radius: 1000px;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	pointer-events: none;
}

.ksc-hero__ring--outer {
	left: 0;
	top: 290px;
	width: 460px;
	height: 460px;
	box-shadow: inset 0 0 0 1px #caa05c;
}

.ksc-hero__ring--inner {
	left: 30px;
	top: 320px;
	width: 400px;
	height: 400px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 0 0 0.5px #caa05c;
}

.ksc-hero__portrait {
	position: absolute;
	left: 45px;
	top: 140px;
	width: 369.6px;
	height: 600px;
	object-fit: cover;
	display: block;
	max-width: none;
}

/* ستون متن (راست) */
.ksc-hero__content {
	position: absolute;
	left: 672px;
	top: 200px;
	width: 648px;
	height: 323px;
	color: #fff;
	text-align: right;
}

.ksc-hero__pretitle {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #fff;
	white-space: nowrap;
}

.ksc-hero__title {
	position: absolute;
	right: 0;
	top: 24.5px;
	margin: 0;
	padding: 0;
	font-size: 36px;
	font-weight: 800;
	line-height: 48px;
	color: #fff;
	white-space: nowrap;
}

.ksc-hero__subtitle {
	position: absolute;
	right: 0;
	top: 85px;
	height: 30px;
	padding: 4px 20px 0;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 100px;
	font-size: 14px;
	font-weight: 400;
	line-height: 21.7px;
	color: #fff;
	white-space: nowrap;
}

.ksc-hero__desc {
	position: absolute;
	right: 0;
	top: 147px;
	width: 646px;
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: #fff;
}

.ksc-hero__actions {
	position: absolute;
	right: 0;
	top: 275px;
	width: 502px;
	height: 48px;
	display: flex;
	align-items: center;
	gap: 44px;
}

.ksc-hero__btn {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 48px;
	box-sizing: border-box;
	padding: 0 24px 0 32px;
	background: #caa05c;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #fff;
	white-space: nowrap;
	transition: background 0.25s ease;
}

.ksc-hero__btn:hover {
	background: #b58c48;
	color: #fff;
}

.ksc-hero__btn-ic {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.ksc-hero__divider {
	flex: 0 0 1px;
	width: 1px;
	height: 48px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0));
}

.ksc-hero__phone {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
}

.ksc-hero__phone-icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
}

.ksc-hero__phone-text {
	display: block;
	width: 134px;
	height: 46px;
	text-align: right;
}

.ksc-hero__phone-label {
	display: block;
	height: 30px;
	font-size: 14px;
	font-weight: 400;
	line-height: 21.7px;
	color: #fff;
	white-space: nowrap;
}

.ksc-hero__phone-number {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
	color: #fff;
	white-space: nowrap;
}

.ksc-hero__digits {
	color: #caa05c;
}

/* کارت آمار */
.ksc-hero__stats {
	position: absolute;
	left: 28px;
	top: 654px;
	width: 404px;
	height: 124px;
	box-sizing: border-box;
	padding: 24px;
	display: flex;
	direction: ltr;
	align-items: flex-start;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.ksc-hero__stat {
	direction: rtl;
	flex: 0 0 86px;
	width: 86px;
	height: 76px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ksc-hero__stat-sep {
	flex: 0 0 1px;
	width: 1px;
	height: 68px;
	margin: 4px 24px 0;
	background: linear-gradient(180deg, rgba(4, 4, 4, 0), rgba(4, 4, 4, 0.1) 50%, rgba(4, 4, 4, 0));
}

.ksc-hero__stat-icon {
	display: block;
	width: 20px;
	height: 20px;
	color: #caa05c;
	font-size: 20px;
	line-height: 20px;
}

.ksc-hero__stat-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.ksc-hero__stat-number {
	margin-top: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
	color: #040404;
}

.ksc-hero__stat-label {
	margin-top: 12px;
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	color: #828282;
	white-space: nowrap;
}

/* ---------- Shared section header ----------
   طرح: خط ۲۴px نشان (دش ۱۶×۴ + ۱۰px فاصله + متن)، عنوان ۳۲/۳۵، زیرعنوان ۲۰/۳۵ → ارتفاع کل ۹۸px */
.ksc-sec-head {
	text-align: center;
	max-width: none;
	margin: 0 auto;
	padding-inline: 0;
}

.ksc-sec-head__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 24px;
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #1f156d;
	white-space: nowrap;
}

.ksc-sec-head__badge::before {
	content: '';
	flex: 0 0 16px;
	width: 16px;
	height: 4px;
	border-radius: 2px;
	background: currentColor;
}

/* در طرح، متن «لحظات حقوقی» یک فاصلهٔ ابتدایی دارد (۴٫۶px) */
.ksc-stories .ksc-sec-head__badge > span {
	padding-inline-end: 4.6px;
}

.ksc-sec-head__title {
	margin: 4px 0 0;
	padding: 0;
	font-size: 32px;
	font-weight: 800;
	color: #000;
	line-height: 35px;
}

.ksc-sec-head__sub {
	margin: 0;
	padding: 0;
	font-size: 20px;
	font-weight: 300;
	color: #828282;
	line-height: 35px;
}

/* ---------- Stories (لحظات حقوقی) ---------- */
.ksc-stories {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	height: 356px;
	box-sizing: border-box;
	padding: 78px 0 0;
}

.ksc-stories .ksc-stories__track {
	margin-top: 30px;
}

.ksc-stories__track {
	display: flex;
	gap: 20px;
	justify-content: flex-start;
	flex-wrap: nowrap;
	overflow-x: auto;
	max-width: 1320px;
	margin-inline: auto;
	padding: 0;
	scrollbar-width: none;
}

.ksc-stories__track::-webkit-scrollbar {
	display: none;
}

.ksc-story {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 114px;
	width: 114px;
	text-decoration: none;
}

.ksc-story__img {
	display: block;
	box-sizing: border-box;
	width: 114px;
	height: 114px;
	border-radius: 100px;
	box-shadow: inset 0 0 0 2px var(--ksc-story-ring, #d92d77);
	padding: 4px;
	overflow: hidden;
	transition: transform 0.25s ease;
}

.ksc-story:hover .ksc-story__img {
	transform: scale(1.06);
}

.ksc-story__img img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	object-fit: cover;
}

.ksc-story__label {
	margin-top: 12px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #040404;
	white-space: nowrap;
}

.ksc-story {
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	padding: 0;
}

/* دکمه پخش روی استوری ویدیودار */
.ksc-story__img {
	position: relative;
}

.ksc-story__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(43, 29, 154, 0.85);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.ksc-story__play svg {
	width: 16px;
	height: 16px;
}

.ksc-story:hover .ksc-story__play {
	opacity: 1;
}

/* ---------- نمایشگر استوری (مثل اینستاگرام) ---------- */
.ksc-story--video { cursor: pointer; }
body.ksc-storyview-open { overflow: hidden; }

.ksc-storyview {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}
.ksc-storyview[hidden] { display: none; }
.ksc-storyview__backdrop { position: absolute; inset: 0; background: rgba(4, 4, 4, .88); backdrop-filter: blur(4px); }
.ksc-storyview__stage {
	position: relative;
	width: min(420px, 92vw);
	aspect-ratio: 9 / 16;
	max-height: 92vh;
	background: #000;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.ksc-storyview__video,
.ksc-storyview__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ksc-storyview__video[hidden],
.ksc-storyview__img[hidden] { display: none; }
.ksc-storyview__cta {
	position: absolute;
	inset-block-end: 24px;
	inset-inline: 24px;
	z-index: 3;
	display: block;
	padding: 12px 20px;
	border-radius: 100px;
	background: rgba(255, 255, 255, .92);
	color: #040404;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}
.ksc-storyview__cta[hidden] { display: none; }
.ksc-storyview__bars { position: absolute; inset-block-start: 12px; inset-inline: 12px; z-index: 3; display: flex; gap: 4px; direction: rtl; }
.ksc-storyview__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ksc-storyview__bar i { display: block; width: 0; height: 100%; background: #fff; }
.ksc-storyview__bar.is-done i { width: 100%; }
.ksc-storyview__head {
	position: absolute;
	inset-block-start: 26px;
	inset-inline: 16px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #fff;
}
.ksc-storyview__title { font-size: 15px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.ksc-storyview__close { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 100px; background: rgba(0, 0, 0, .35); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ksc-storyview__close:hover { background: rgba(0, 0, 0, .6); }
.ksc-storyview__side { position: absolute; inset-block: 60px 0; width: 40%; border: 0; background: none; cursor: pointer; z-index: 2; }
.ksc-storyview__side--prev { inset-inline-start: 0; }
.ksc-storyview__side--next { inset-inline-end: 0; }
@media (max-width: 560px) {
	.ksc-storyview__stage { width: 100vw; height: 100vh; max-height: none; border-radius: 0; }
}

/* ---------- Services (خدمات ما) ---------- */
.ksc-services {
	position: relative;
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	height: 500px;
	box-sizing: border-box;
	padding-top: 100px;
}

/* شکل پس‌زمینهٔ طرح: ۷۴۴×۶۰۰ چسبیده به لبهٔ چپ و بالای بخش */
.ksc-services__bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 744px;
	height: 600px;
	z-index: 0;
	pointer-events: none;
}

.ksc-services__bg svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ksc-services .ksc-sec-head,
.ksc-services__grid {
	position: relative;
	z-index: 1;
}

.ksc-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 312px);
	gap: 24px;
	justify-content: center;
	margin: 30px auto 0;
}

/* کارت‌ها: ۳۱۲×۲۴۴، گردی ۱۲، پس‌زمینهٔ سفید ۴۰٪ + حاشیهٔ داخلی سفید ۴px */
.ksc-service {
	box-sizing: border-box;
	width: 312px;
	height: 244px;
	border: none;
	border-radius: 12px;
	padding: 40px 20px 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(255, 255, 255, 0.4);
	/* طرح: سایهٔ بیرونی 0 15 30 (۸٪ مشکی) + حاشیهٔ داخلی سفید ۴px */
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), inset 0 0 0 4px #fff;
	text-decoration: none;
	transition: transform 0.25s ease;
}

/* دو کارت سمت چپ (روی شکل) با بلور */
.ksc-service:nth-child(n+3) {
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.ksc-service:hover {
	transform: translateY(-6px);
}

.ksc-service__icon {
	display: block;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
}

.ksc-service .ksc-service__icon:not(.ksc-service__icon--font):not(.ksc-service__icon--img) {
	background: none !important; /* دایرهٔ خاکستری از خود SVG می‌آید */
}

.ksc-service__icon svg {
	display: block;
	width: 48px;
	height: 48px;
}

.ksc-service__icon--font,
.ksc-service__icon--img {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f7f7f7;
	color: #2b1d9a;
}

.ksc-service__icon--font svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.ksc-service__icon--img img {
	width: 60%;
	height: 60%;
	object-fit: contain;
}

.ksc-service__title {
	margin: 16px 0 0;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: #040404;
	white-space: nowrap;
}

.ksc-service__text {
	margin: 16px 0 0;
	padding: 0;
	width: 272px;
	max-width: 100%;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #828282;
}

@media (max-width: 1100px) {
	.ksc-services {
		height: auto;
		padding-bottom: 60px;
	}

	.ksc-services__grid {
		padding-inline: 20px;
	}
}

@media (max-width: 1024px) {
	.ksc-services__grid {
		grid-template-columns: repeat(2, minmax(0, 312px));
	}

	.ksc-stories__track {
		justify-content: flex-start;
	}
}

@media (max-width: 600px) {
	.ksc-services__grid {
		grid-template-columns: minmax(0, 312px);
	}

	.ksc-service {
		width: auto;
	}

	.ksc-sec-head__title {
		font-size: 24px;
	}

	.ksc-sec-head__sub {
		font-size: 16px;
	}
}

/* ---------- Common for content sections ---------- */

.ksc-pill-txt {
	font-size: 14px;
	color: #2b1d9a;
}

/* ---------- About (درباره وکیل) ---------- */

/* کادر متن با حاشیه نازک #ededed مثل دمو (626×244) */

/* آیکون ویژگی: مربع گرد 50px با پس‌زمینه #eae8f5 و گلیف خطی بنفش (عین دمو) */

/* بوم رسانه با نسبت دقیق دمو (746×600) — همه اجزا با مختصات دقیق پیکسلی جای‌گذاری می‌شوند */

/* شکل بزرگ گرادینتی (SVG دقیق دمو): L108 T0 638×600 در بوم 746×600 */

/* گرید نقطه‌ها: L424 T165 140×50 در بوم */

/* ویدیو: L0 T24 312×312 در بوم 746×600 */

/* دکمه پخش: حلقه یاسی نیمه‌شفاف 88px + دایره توپُر بنفش داخلش (عین دمو) */

/* عکس دوم: L338 T235 312×312 در بوم 746×600 */

/* ---------- About (درباره وکیل) ----------
   هندسهٔ دقیق طرح: صحنهٔ ۱۳۲۰×۵۲۳ زیر هدر؛ مختصات نسبت به گوشهٔ بالا-چپ صحنه (x=۹۶ ، y=۱۹۰۸ در طرح) */
.ksc-about {
	position: relative;
	height: 1007px;
	box-sizing: border-box;
	padding-top: 100px;
}

.ksc-about__shape {
	position: absolute;
	right: 0;
	top: 228px;
	width: 638px;
	height: 600px;
	z-index: 0;
	pointer-events: none;
}

.ksc-about__shape svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ksc-about .ksc-sec-head,
.ksc-about__grid {
	position: relative;
	z-index: 1;
}

.ksc-about__grid {
	width: 1320px;
	height: 523px;
	margin: 54px auto 0;
}

.ksc-about__media,
.ksc-about__content {
	position: absolute;
	inset: 0;
}

.ksc-about__ring {
	position: absolute;
	left: 1047px;
	top: 100px;
	width: 222px;
	height: 222px;
	box-sizing: border-box;
	border: 2px solid #d8d8d8;
	border-radius: 50%;
}

.ksc-about__dots {
	position: absolute;
	left: 1094px;
	top: 141px;
	width: 140px;
	height: 50px;
}

.ksc-about__video,
.ksc-about__photo {
	position: absolute;
	width: 312px;
	height: 312px;
	border-radius: 16px;
	overflow: hidden;
}

.ksc-about__video {
	left: 670px;
	top: 0;
	display: block;
}

.ksc-about__photo {
	left: 1008px;
	top: 211px;
}

.ksc-about .ksc-about__video img,
.ksc-about .ksc-about__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ksc-about__play {
	position: absolute;
	left: 112px;
	top: 112px;
	width: 88px;
	height: 88px;
	transition: transform 0.25s ease;
}

.ksc-about__play svg {
	display: block;
	width: 88px;
	height: 88px;
}

.ksc-about__video:hover .ksc-about__play {
	transform: scale(1.08);
}

/* کادر متن (۶۲۶×۲۴۴، حاشیهٔ ۱px) */
.ksc-about__intro {
	position: absolute;
	left: 0;
	top: 0;
	width: 626px;
	height: 244px;
	box-shadow: inset 0 0 0 1px #ededed;
}

.ksc-about__pill {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #2b1d9a;
	white-space: nowrap;
}

.ksc-about__heading {
	position: absolute;
	left: 178px;
	top: 36px;
	width: 448px;
	margin: 0;
	padding: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	color: #000;
	text-align: right;
}

.ksc-about__text {
	position: absolute;
	left: 0;
	top: 116px;
	width: 626px;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	color: #828282;
	text-align: justify;
}

.ksc-about__features {
	position: absolute;
	left: 116px;
	top: 260px;
	width: 510px;
}

.ksc-about__feature {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 50px;
	margin-bottom: 16px;
}

.ksc-about__ficon {
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
}

.ksc-about__ficon svg {
	display: block;
	width: 50px;
	height: 50px;
}

.ksc-about__ficon--font {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #eae8f5;
	color: #2b1d9a;
	font-size: 22px;
}

.ksc-about__ficon--font svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.ksc-about__fbody {
	flex: 0 0 448px;
	width: 448px;
	text-align: right;
}

.ksc-about__fbody b {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: #000;
	white-space: nowrap;
}

.ksc-about__fbody i {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	color: #828282;
	white-space: nowrap;
}

.ksc-about .ksc-about__btn {
	position: absolute;
	left: 437px;
	top: 416px;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 48px;
	box-sizing: border-box;
	padding: 0 24px 0 32px;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #2b1d9a;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #2b1d9a;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease;
}

.ksc-about__btn svg {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

.ksc-about__btn:hover {
	background: #2b1d9a;
	color: #fff;
}

.ksc-about__btn:hover svg path {
	fill: #fff;
}

@media (max-width: 1100px) {
	.ksc-about {
		height: auto;
		padding-bottom: 60px;
	}

	.ksc-about__shape {
		display: none;
	}

	.ksc-about__grid {
		width: auto;
		height: auto;
		margin: 40px 20px 0;
		display: flex;
		flex-direction: column;
		gap: 32px;
	}

	.ksc-about__media,
	.ksc-about__content {
		position: static;
	}

	.ksc-about__media {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
	}

	.ksc-about__ring,
	.ksc-about__dots {
		display: none;
	}

	.ksc-about__video,
	.ksc-about__photo {
		position: relative;
		left: auto;
		top: auto;
		max-width: 100%;
	}

	.ksc-about__content {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.ksc-about__intro,
	.ksc-about__features,
	.ksc-about__btn {
		position: static;
		width: auto;
		height: auto;
	}

	.ksc-about__intro {
		box-shadow: none;
	}

	.ksc-about__pill,
	.ksc-about__heading,
	.ksc-about__text {
		position: static;
		display: block;
		width: auto;
		margin-bottom: 12px;
	}

	.ksc-about__fbody {
		flex: 1 1 auto;
		width: auto;
	}

	.ksc-about__fbody b,
	.ksc-about__fbody i {
		white-space: normal;
	}

	.ksc-about__btn {
		align-self: flex-start;
	}
}

/* ---------- Top lawyer (وکیل برتر) ---------- */

/* بوم رسانه با نسبت دقیق دمو (744×600). همه اجزا با مختصات پیکسلی دمو جای‌گذاری می‌شوند */

/* شکل یاسی پس‌زمینه (همان SVG خدمات): گوشه بالا گرد، پایین‌چپ تیز */

/* قاب وکیل: L255 T72 312×429، بالای قوسی، حاشیه طلایی 2px، پس‌زمینه سفید (عین دمو) */

/* عکس وکیل (PNG شفاف) که از بالای قاب بیرون می‌زند */

/* کارت سفید نشان‌ها: L191 T438 440×128 */

/* کادر دور تیتر و متن با حاشیه نازک #ededed (عین دمو) */

/* ---------- Top lawyer (وکیل برتر) ----------
   صحنهٔ ۱۳۲۰px؛ مبدأ مختصات = بالای بخش (y=۲۶۶۳ در طرح) و x=۹۶ */
.ksc-toplawyer {
	position: relative;
	height: 700px;
}

.ksc-toplawyer__shape {
	position: absolute;
	left: -1px;
	top: 0;
	width: 744px;
	height: 600px;
	z-index: 0;
	pointer-events: none;
}

.ksc-toplawyer__shape svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ksc-toplawyer__stage {
	position: relative;
	z-index: 1;
	width: 1320px;
	height: 566px;
	margin: 0 auto;
}

.ksc-toplawyer__portrait {
	position: absolute;
	left: 160px;
	top: 0;
	width: 308px;
	height: 500px;
	object-fit: cover;
	display: block;
	max-width: none;
}

.ksc-toplawyer__arch {
	position: absolute;
	left: 158px;
	top: 72px;
	width: 312px;
	height: 429px;
	border-radius: 1000px 1000px 0 0;
	box-shadow: inset 0 0 0 2px #caa05c;
}

/* کادر متن: ۶۰۳×۳۰۰ با حاشیهٔ ۱px */
.ksc-toplawyer__box {
	position: absolute;
	left: 717px;
	top: 101px;
	width: 603px;
	height: 300px;
	/* فیگمای نهایی: فقط خط پایین کادر (۱px #ededed)، بدون حاشیهٔ چهارطرفه */
	box-shadow: inset 0 -1px 0 #ededed;
}

.ksc-toplawyer__pill {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: #040404;
	white-space: nowrap;
}

.ksc-toplawyer__heading {
	position: absolute;
	right: 0;
	top: 40px;
	width: 603px;
	margin: 0;
	padding: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	color: #2b1d9a;
	text-align: right;
	white-space: nowrap;
}

.ksc-toplawyer__text {
	position: absolute;
	left: 0;
	top: 88px;
	width: 603px;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	color: #828282;
	text-align: justify;
}

.ksc-toplawyer__actions {
	position: absolute;
	right: 0;
	top: 417px;
	width: 502px;
	height: 48px;
	display: flex;
	align-items: center;
	gap: 44px;
}

.ksc-toplawyer .ksc-toplawyer__btn {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 48px;
	box-sizing: border-box;
	padding: 0 24px 0 32px;
	background: #2b1d9a;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #fff;
	white-space: nowrap;
	transition: background 0.25s ease;
}

.ksc-toplawyer .ksc-toplawyer__btn:hover {
	background: #1f156d;
	color: #fff;
}

.ksc-toplawyer__btn-ic {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.ksc-toplawyer__divider {
	flex: 0 0 1px;
	width: 1px;
	height: 48px;
	background: linear-gradient(180deg, rgba(4, 4, 4, 0), rgba(4, 4, 4, 0.15) 50%, rgba(4, 4, 4, 0));
}

.ksc-toplawyer__phone {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #040404;
}

.ksc-toplawyer__phone-icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
}

.ksc-toplawyer__phone-text {
	display: block;
	width: 134px;
	height: 46px;
	text-align: right;
}

.ksc-toplawyer__phone-label {
	display: block;
	height: 30px;
	font-size: 14px;
	font-weight: 400;
	line-height: 21.7px;
	color: #040404;
	white-space: nowrap;
}

.ksc-toplawyer__phone-number {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
	color: #040404;
	white-space: nowrap;
}

.ksc-toplawyer__digits {
	color: #2b1d9a;
}

/* کارت نشان‌ها */
.ksc-toplawyer__badges {
	position: absolute;
	left: 94px;
	top: 438px;
	width: 440px;
	height: 128px;
	box-sizing: border-box;
	padding: 24px;
	display: flex;
	gap: 24px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.ksc-toplawyer__badges img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: cover;
}

@media (max-width: 1100px) {
	.ksc-toplawyer {
		height: auto;
		padding: 40px 20px 60px;
	}

	.ksc-toplawyer__shape {
		display: none;
	}

	.ksc-toplawyer__stage {
		width: auto;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 28px;
	}

	.ksc-toplawyer__portrait,
	.ksc-toplawyer__arch,
	.ksc-toplawyer__box,
	.ksc-toplawyer__actions,
	.ksc-toplawyer__badges {
		position: static;
		width: auto;
		height: auto;
	}

	.ksc-toplawyer__arch {
		display: none;
	}

	.ksc-toplawyer__portrait {
		width: min(308px, 80%);
		height: auto;
	}

	.ksc-toplawyer__box {
		box-shadow: none;
	}

	.ksc-toplawyer__pill,
	.ksc-toplawyer__heading,
	.ksc-toplawyer__text {
		position: static;
		display: block;
		width: auto;
		margin-bottom: 12px;
		white-space: normal;
	}

	.ksc-toplawyer__actions {
		flex-wrap: wrap;
		gap: 20px;
	}

	.ksc-toplawyer__divider {
		display: none;
	}
}

/* ---------- Team (وکلای ما) ---------- */

/* متن ~۶۰px پایین‌تر از بالای کارت شروع می‌شود (عین دمو، به‌جای وسط‌چین) */

 /* سمت راست */
  /* سمت چپ */

/* اسلایدر تیم با فلش دو طرف و نقطه‌های صفحه‌بندی */

/* شکل یاسیِ پشت کارت‌ها — همان SVG دمو (۷۴۴×۶۰۰، لبهٔ پایین‌ـراست اریب/تیز، تا پایین می‌آید) */

/* نمایِ اسلایدر: ~۹۵.۷٪ ستون = ۲ کارت + فاصلهٔ ۲۴؛ واکنش‌گرا و چسبیده به لبهٔ چپ (عین دمو) */

/* دکمه مشاهده بیشتر با کادرِ نیلیِ ۱px (۱۹۷×۴۸ rad16، عین دمو) */

/* ---------- Quote banner (سایه قانون) ---------- */
/* بنر «در سایه قانون» — بوم دقیق دمو 1320×370. بنفش پایین (61٪)، وکیل راست بیرون‌زده، مجسمه چپ */

/* بدنه بنفش بنر: از 38٪ بالای بوم شروع می‌شود (بخش پایینی) */

/* مجسمه عدالت سمت چپ، کم‌رنگ، سرش از بالای بنر بیرون می‌زند (بدون کلیپ) */

/* بدنه بنر گوشه‌گرد؛ فقط مجسمه اجازه بیرون‌زدگی دارد، بقیه محدود می‌مانند */

/* عکس PNG شفاف وکیل سمت راست، بلندتر از بنر، سرش از بالای بنفش بیرون می‌زند */

/* شعار سمت راست */

/* فلش طلایی بین شعار و متن */

/* متن سمت چپ */

/* ---------- FAQ ---------- */

/* مجسمه عدالت سمت چپ کارت، کف‌چسب (عین دمو) */

/* بدنه متن سمت راست کارت؛ پدینگ چپ جای مجسمه را باز می‌کند */

/* آیکون طلایی گرد تلفن/ایمیل */

/* آیکون علامت سؤال کنار عنوان لیست */

/* ---------- Testimonials ---------- */

/* نوار پس‌زمینه بافت‌دار روشن پشت بخش (عین دمو) */

/* اسلایدر با فلش دو طرف */

/* نقطه‌های صفحه‌بندی */

/* دکمه مشاهده بیشتر با کادر */

/* ---------- Generic working slider ---------- */

/* ---------- Blog ---------- */

/* داخل اسلایدر: هر کارت وبلاگ عرض ثابت 4تایی */

/* ---------- CTA: کارت سفید شناور بالای فوتر (عین دمو) ---------- */

/* دکمه مشاوره با کادر بنفش و آیکون */

/* ---------- Page header: نوار تخت تمام‌عرض بنفش (عین دمو، 330px) ---------- */
.ksc-phead {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	padding: 0;
	/* نوار هدر باید تمام‌عرض باشد (مثل دمو) نه محدود به ستون المنتور */
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	/* خنثی‌کردن padding بالای elementor-widget-wrap تا نوار دقیقاً از بالای هدر شروع شود */
	margin-top: -10px;
}

.ksc-phead__shape {
	position: relative;
	overflow: hidden;
	height: 330px;
	background: #1f156d;
	/* نوار دقیقاً ۱۵۱۲px و وسط‌چین است — تمام‌عرض نیست (مثل دمو) */
	max-width: 1512px;
	margin-inline: auto;
}

/* تصویر پس‌زمینه اختیاری و بسیار محو (دمو بدون تصویر است) */
.ksc-phead__bg {
	display: none;
}

.ksc-phead__overlay {
	display: none;
}

/* عنوان و مسیر راهنما زیر واترمارک؛ مرکز عمودی ~۱۹۳px از بالای نوار (طبق دمو) */
.ksc-phead__inner {
	position: absolute;
	top: 173px; /* بالای عنوان طبق دمو */
	left: 0;
	right: 0;
	z-index: 1;
	width: 100%;
	text-align: center;
	color: #fff;
}

/* واترمارک لاتین محو و درشت — مرکز عمودی ~۱۵۲px از بالای نوار (بالای عنوان، زیرِ هم نه رویِ هم) */
.ksc-phead__watermark {
	position: absolute;
	top: 152px;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 80px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 4px;
	color: rgba(255, 255, 255, 0.06);
	white-space: nowrap;
	z-index: 0;
	pointer-events: none;
}

.ksc-phead__title {
	position: relative;
	z-index: 1;
	font-size: 28px;
	font-weight: 700;
	line-height: 40px;
	color: #fff;
	margin: 0;
	text-align: center;
}

.ksc-phead__crumbs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 12px;
	line-height: 16px;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 20px; /* عنوان 173+40=213 ← مسیر راهنما 233 */
}

.ksc-phead__crumbs a:hover {
	color: var(--ks-gold, #caa05c);
}

.ksc-phead__sep {
	font-style: normal;
	color: #fff;
	display: inline-flex;
}
.ksc-phead__home { color: #fff; flex: 0 0 auto; order: 0; }
.ksc-phead__crumbs { color: #fff; }

/* ---------- Stats ---------- */
.ksc-stats {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	padding: 64px 0;
}

.ksc-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 24px;
}

.ksc-stats__item {
	background: #fff;
	border: 1px solid #efeef6;
	border-radius: 16px;
	padding: 32px 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	box-shadow: 0 10px 30px rgba(31, 21, 109, 0.05);
}

.ksc-stats__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #eae8f5;
	color: #2b1d9a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 6px;
}

.ksc-stats__icon svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.ksc-stats__number {
	font-size: 30px;
	font-weight: 800;
	color: #2b1d9a;
}

.ksc-stats__label {
	font-size: 15px;
	color: #828282;
}

/* ---------- Gallery ---------- */
.ksc-gallery {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	padding: 56px 0 72px;
}

.ksc-gallery__grid {
	display: grid;
	gap: 16px;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 24px;
}

.ksc-gallery__item {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.ksc-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ksc-gallery__item:hover img {
	transform: scale(1.06);
}

/* ---------- Contact ---------- */
.ksc-contact {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	padding: 0 0 72px;
	position: relative;
	z-index: 2;
}

/* ابعاد دقیق دمو: راست 760px، چپ(فرم) 536px، فاصله 24px */
.ksc-contact__grid {
	display: grid;
	grid-template-columns: 760fr 536fr;
	gap: 24px;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 24px;
	align-items: start;
}

/* دمو: فرم سمت چپ (روی هدر، ۶۷px overlap)، اطلاعات+نقشه سمت راست */
.ksc-contact {
	margin-top: -67px;
}

.ksc-contact__form {
	order: 2;
	position: relative;
	z-index: 5;
}

.ksc-contact__side {
	order: 1;
	padding-top: 97px; /* عنوان سمت راست ~97px پایین‌تر از بالای فرم (عین دمو) */
}

/* ستون راست: عنوان + توضیح + کارت اطلاعات + نقشه */
.ksc-contact__side {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: right;
}

.ksc-contact__badge {
	font-size: 16px;
	line-height: 24px;
	color: #2b1d9a;
}
.ksc-contact__badge::before { content: ''; display: inline-block; width: 16px; height: 3px; border-radius: 2px; background: #2b1d9a; vertical-align: middle; margin-inline-end: 8px; }

.ksc-contact__title {
	font-size: 28px;
	font-weight: 800;
	line-height: 40px;
	color: #040404;
	margin: 0;
}

.ksc-contact__lead {
	font-size: 16px;
	color: #828282;
	line-height: 28px;
	margin: 0;
	text-align: justify;
}

/* کارت اطلاعات تماس، شبکه ۲ ستونی */
.ksc-contact__card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 16px;
	background: #fff;
	border: 0;
	border-radius: 16px;
	padding: 26px;
	margin-top: 19px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.ksc-contact__cell {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ksc-contact__cell b {
	font-size: 15px;
	font-weight: 400;
	color: #828282;
}

.ksc-contact__cell i {
	font-style: normal;
	font-size: 16px;
	font-weight: 700;
	color: #040404;
}

.ksc-contact__map {
	border-radius: 16px;
	overflow: hidden;
	border: 0;
	margin-top: 14px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.ksc-contact__map iframe {
	width: 100%;
	height: 306px;
	min-height: 306px;
	border: 0;
	display: block;
}

/* فرم سمت چپ، فیلدها با لیبل بالای هرکدام، داخل کادر */
.ksc-contact__form { background: #fff; border-radius: 24px; padding: 32px; box-sizing: border-box; box-shadow: inset 1px -1px 0 #2b1d9a; }
.ksc-form__title { font-size: 28px; font-weight: 800; line-height: 40px; color: #040404; margin: 0 0 20px; text-align: right; }
.ksc-form {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ksc-form__field {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ksc-form__field > span {
	font-size: 14px;
	font-weight: 700;
	color: #040404;
}

.ksc-form input,
.ksc-form textarea {
	width: 100%;
	font-family: inherit;
	font-size: 14px;
	padding: 0 20px;
	height: 48px;
	box-sizing: border-box;
	border: 1px solid #ededed;
	border-radius: 24px;
	background: #fff;
	color: #040404;
}
.ksc-form textarea { height: 200px; padding: 16px 20px; border-radius: 24px; resize: none; }

.ksc-form input::placeholder,
.ksc-form textarea::placeholder {
	color: #828282;
	font-size: 12px;
}

.ksc-form input:focus,
.ksc-form textarea:focus {
	outline: none;
	border-color: #2b1d9a;
}

.ksc-form__btn {
	background: #2b1d9a;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	height: 48px;
	padding: 0 15px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.25s ease;
}

.ksc-form__btn:hover {
	background: #1f156d;
}

@media (max-width: 900px) {
	.ksc-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ksc-contact__grid {
		grid-template-columns: 1fr;
	}

	.ksc-form__row {
		grid-template-columns: 1fr;
	}
}

/* ---------- Responsive for new sections ---------- */

/* ---------- Responsive ---------- */
/* هیرو: بین ۱۱۰۰ تا ۱۳۶۷ کل صحنه کوچک می‌شود تا هندسهٔ طرح حفظ شود */

@media (max-width: 1100px) {
	.ksc-hero {
		zoom: 1;
		height: auto;
		background: #1f156d;
		padding: 110px 20px 40px;
	}

	.ksc-hero__bgwrap,
	.ksc-hero__ring {
		display: none;
	}

	.ksc-hero__stage {
		width: auto;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.ksc-hero__portrait,
	.ksc-hero__content,
	.ksc-hero__actions,
	.ksc-hero__stats,
	.ksc-hero__pretitle,
	.ksc-hero__title,
	.ksc-hero__subtitle,
	.ksc-hero__desc {
		position: static;
		width: auto;
		height: auto;
	}

	.ksc-hero__content {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		width: 100%;
	}

	.ksc-hero__title {
		font-size: 30px;
		white-space: normal;
	}

	.ksc-hero__subtitle {
		padding: 4px 20px;
	}

	.ksc-hero__desc {
		font-size: 14px;
		line-height: 28px;
	}

	.ksc-hero__actions {
		flex-wrap: wrap;
		gap: 20px;
		margin-top: 8px;
	}

	.ksc-hero__divider {
		display: none;
	}

	.ksc-hero__portrait {
		width: min(320px, 80%);
		height: auto;
		order: -1;
	}

	.ksc-hero__stats {
		max-width: 100%;
		order: 5;
	}
}

/* ==================================================================
   صفحه «درباره ما» — اینترو ویدیو، آمار، گالری مِیسونری
   ================================================================== */

/* ---------- Intro (ویدیو + متن بازشونده) ---------- */
.ksc-aintro {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	padding: 0;
	position: relative;
	z-index: 2;
	margin-top: -97px; /* بخشی از عکس روی نوار هدر می‌رود (عکس در y=263 مطابق دمو) */
}
.ksc-aintro__wrap {
	max-width: 872px;
	margin: 0 auto;
	text-align: center;
}
.ksc-aintro__media {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	aspect-ratio: 872 / 450;
	background: #e9e9f2;
	box-shadow: 0 30px 60px rgba(31, 21, 109, 0.18);
}
.ksc-aintro__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ksc-aintro__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.35);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2b1d9a;
	transition: background .2s, transform .2s;
}
.ksc-aintro__play svg { width: 30px; height: 30px; margin-inline-start: 4px; }
.ksc-aintro__play:hover { background: rgba(255, 255, 255, 0.6); transform: scale(1.06); }

.ksc-aintro__text { position: relative; margin-top: 24px; }
.ksc-aintro__body { color: #6f6f86; font-size: 16px; line-height: 1.75; }
.ksc-aintro__body p { margin: 0 0 16px; }
.ksc-aintro__body p:last-child { margin-bottom: 0; }
.ksc-aintro__text.is-collapsed .ksc-aintro__body { max-height: 196px; overflow: hidden; }
.ksc-aintro__text.is-open .ksc-aintro__body { max-height: none; }
.ksc-aintro__fade {
	position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
	background: linear-gradient(rgba(255,255,255,0), #fff 82%);
	pointer-events: none;
}
.ksc-aintro__text.is-open .ksc-aintro__fade { display: none; }
.ksc-aintro__more {
	margin: 22px auto 0;
	display: inline-flex; align-items: center; gap: 6px;
	background: none; border: 0; cursor: pointer;
	color: #2b1d9a; font-weight: 700; font-family: inherit; font-size: 15px;
}
.ksc-aintro__more svg { transition: transform .25s; }
.ksc-aintro__more.is-open svg { transform: rotate(180deg); }

/* ---------- Stats (آمارهای ما) ---------- */
.ksc-astats {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	position: relative;
	padding: 40px 0 90px;
	overflow-x: clip; /* جلوگیری از اسکرول افقی به‌خاطر بلاب پس‌زمینه */
}
/* بلابِ پس‌زمینه — همان SVG دمو (سفید→#eae8f5)، لنگر روی مرکزِ صفحه */
.ksc-astats__blob {
	position: absolute;
	top: -197px;
	left: calc(50% + 118px);
	width: 760px;
	height: 700px;
	z-index: 0;
	pointer-events: none;
}
.ksc-astats__wrap {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	position: relative;
	z-index: 1;
}
.ksc-astats__cards { display: flex; flex-direction: row-reverse; gap: 52px; margin-top: -4px; }
.ksc-astats__card {
	position: relative;
	width: 200px;
	height: 200px;
}
/* کارت سفیدِ نیمه‌شفاف و بی‌سایه — روی صفحهٔ سفید نامرئی، روی شکل یاسی دیده می‌شود (مطابق دمو) */
/* کارت سفیدِ نیمه‌شفاف روی چیپ می‌نشیند؛ چیپ از پشت محو دیده می‌شود و فقط گوشهٔ بیرون‌زده پررنگ است (مطابق دمو) */
.ksc-astats__panel {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 0 0 4px #ffffff;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
/* چیپ رنگی پشتِ کارت، از گوشهٔ پایین‌ـراست بیرون می‌زند */
.ksc-astats__chip {
	position: absolute;
	right: -28px;
	bottom: -28px;
	width: 128px;
	height: 124px;
	border-radius: 12px;
	z-index: 0;
}
.ksc-astats__num {
	position: absolute;
	top: 50px; left: 0; right: 0;
	text-align: center;
	font-size: 46px;
	font-weight: 600;
	color: #111111;
	line-height: 1;
	z-index: 2;
}
.ksc-astats__label {
	position: absolute;
	top: 130px; left: 0; right: 0;
	text-align: center;
	font-size: 15px;
	color: #23233c;
	padding: 0 12px;
	line-height: 1.5;
	z-index: 2;
}
.ksc-astats__chip--purple { background: linear-gradient(-135deg, #8c84e1 0%, rgba(140,132,225,0) 74.76%); }
.ksc-astats__chip--orange { background: linear-gradient(-135deg, #ff8b42 0%, rgba(255,139,66,0) 74.76%); }
.ksc-astats__chip--blue   { background: linear-gradient(-135deg, #1c75bc 0%, rgba(28,117,188,0) 74.76%); }
.ksc-astats__chip--teal   { background: linear-gradient(-135deg, #50caca 0%, rgba(80,202,202,0) 74.76%); }
.ksc-astats__head { width: 312px; flex-shrink: 0; text-align: right; padding-top: 15px; }
.ksc-astats__eyebrow { display: block; color: #1f156d; font-weight: 400; font-size: 14px; line-height: 24px; margin-bottom: 6px; margin-right: 0; }
.ksc-astats__eyebrow::before { content: ''; display: inline-block; width: 16px; height: 3px; border-radius: 2px; background: #2b1d9a; vertical-align: middle; margin-inline-end: 8px; }
.ksc-astats__title { font-size: 32px; font-weight: 800; line-height: 35px; color: #12103a; margin: 0 0 14px; }
.ksc-astats__desc { color: #8a8aa0; font-size: 20px; line-height: 35px; margin: 0; }

/* ---------- Gallery (میسونری ۴ ستونه) ---------- */
.ksc-agal {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	padding: 20px 0;
}
.ksc-agal__grid {
	max-width: 1320px;
	margin: 28px auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 1fr 1fr;
	gap: 24px;
}
.ksc-agal__item {
	position: relative;
	display: block;
	border-radius: 20px;
	overflow: hidden;
	background: #e9e9f2;
}
.ksc-agal__item img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform .45s ease;
}
.ksc-agal__item:hover img { transform: scale(1.05); }
.ksc-agal__item:nth-child(2),
.ksc-agal__item:nth-child(3),
.ksc-agal__item:nth-child(4),
.ksc-agal__item:nth-child(5) { aspect-ratio: 1 / 1; }
.ksc-agal__item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.ksc-agal__item:nth-child(2) { grid-column: 2; grid-row: 1; }
.ksc-agal__item:nth-child(3) { grid-column: 2; grid-row: 2; }
.ksc-agal__item:nth-child(4) { grid-column: 3; grid-row: 1; }
.ksc-agal__item:nth-child(5) { grid-column: 3; grid-row: 2; }
.ksc-agal__item:nth-child(6) { grid-column: 4; grid-row: 1 / 3; }

/* نمایشگرهای متوسط (۱۰۲۴–۱۳۴۰): فاصله‌ها و عرض سرعنوانِ آمار را کم می‌کنیم تا کارت‌ها بیرون نزنند */
@media (max-width: 1340px) {
	.ksc-astats__cards { gap: 28px; }
	.ksc-astats__head { width: 240px; }
}

@media (max-width: 900px) {
	.ksc-astats__wrap { flex-direction: column; align-items: stretch; }
	.ksc-astats__cards { flex-wrap: wrap; justify-content: center; gap: 24px; }
	.ksc-astats__head { width: 100%; text-align: center; }
	.ksc-agal__grid { grid-template-columns: repeat(2, 1fr); }
	.ksc-agal__item:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1; }
}

/* ==================================================================
   فاصله‌های عمودی صفحهٔ «درباره ما» (page-id-508) — میزان‌شده با ابزار
   مقایسه تا مرزِ هر سکشن دقیقاً روی دمو بیفتد.
   ================================================================== */
.page-id-508 .ksc-astats { margin-top: 99px; }
.page-id-508 .ksc-agal   { margin-top: 125px; }

/* ==================================================================
   آرشیو وبلاگ (سایدبار + گرید ۳ ستونه + صفحه‌بندی)
   ================================================================== */
.ksc-barch {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	padding: 8px 0 90px;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw); /* شکستن محدودیت عرض ستون المنتور */
}
.ksc-barch__wrap {
	max-width: 1320px;
	margin: 0 auto;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 312px; /* راست: پست‌ها — چپ: سایدبار */
	gap: 24px;
	align-items: start;
}

/* ---------- گرید پست‌ها ---------- */
.ksc-barch__grid {
	display: grid;
	grid-template-columns: repeat(var(--ksc-barch-cols, 3), 1fr);
	gap: 32px 24px;
}
.ksc-barch__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #ededed;
	padding: 24px;
	box-sizing: border-box;
}
.ksc-barch__thumb {
	display: block;
	position: relative;
	aspect-ratio: 264 / 180;
	border-radius: 8px;
	overflow: hidden;
	background: #e9e9f2;
}
.ksc-barch__thumb img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform .4s ease;
}
.ksc-barch__card:hover .ksc-barch__thumb img { transform: scale(1.05); }
.ksc-barch__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	margin: 12px 0 0;
	min-height: 48px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ksc-barch__title a { color: #111; }
.ksc-barch__title a:hover { color: #2b1d9a; }
.ksc-barch__excerpt {
	font-size: 14px;
	color: #828282;
	line-height: 28px;
	margin: 12px 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ksc-barch__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 14px;
	line-height: 20px;
}
.ksc-barch__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #040404;
}
.ksc-barch__date svg { color: #4a4a55; }
.ksc-barch__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #040404;
	font-weight: 500;
}
.ksc-barch__more svg { color: #2b1d9a; }
.ksc-barch__more:hover { color: #2b1d9a; }

/* ---------- صفحه‌بندی ---------- */
.ksc-barch__pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
	flex-wrap: wrap;
}
.ksc-barch__pg {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #ededed;
	color: #040404;
	font-size: 14px;
	transition: all .2s ease;
}
.ksc-barch__pg:hover:not(.is-active):not(.is-disabled):not(.is-dots) { border-color: #2b1d9a; color: #2b1d9a; }
.ksc-barch__pg.is-active { background: #2b1d9a; border-color: #2b1d9a; color: #fff; }
.ksc-barch__pg.is-disabled { color: #040404; cursor: default; }
.ksc-barch__pg.is-dots { border: 0; background: transparent; min-width: 24px; }

/* ---------- سایدبار ---------- */
.ksc-barch__side {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.ksc-barch__search {
	position: relative;
	display: flex;
	align-items: center;
}
.ksc-barch__search-ic {
	position: absolute;
	left: 18px; /* ذره‌بین سمت چپ کادر — مطابق دمو */
	right: auto;
	color: #9a9ab0;
	pointer-events: none;
}
.ksc-barch__search input {
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	padding: 13px 18px 13px 44px;
	border: 1px solid #ededed;
	border-radius: 16px;
	background: #fff;
	color: #111;
}
.ksc-barch__search input::placeholder { color: #b7b3c9; }
.ksc-barch__search input:focus { outline: none; border-color: #2b1d9a; }

.ksc-barch__box {
	border: 1px solid #ededed;
	border-radius: 20px;
	background: transparent;
	padding: 6px 18px 14px;
}
.ksc-barch__box-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 0;
	font-size: 16px;
	font-weight: 700;
	color: #111;
	border-bottom: 1px solid #f2f2f2;
	margin-bottom: 4px;
}
.ksc-barch__box-title {
	display: inline-flex;
	flex-direction: row-reverse; /* عنوان راست، آیکن سمت چپِ عنوان */
	align-items: center;
	gap: 8px;
}
.ksc-barch__box-ic { color: #3b3b4a; flex: 0 0 auto; }
.ksc-barch__box-chev { color: #9a9ab0; flex: 0 0 auto; }

.ksc-barch__sort { list-style: none; margin: 0; padding: 0; }
.ksc-barch__sort a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	line-height: 24px;
	color: #040404;
	font-size: 14px;
}
.ksc-barch__radio {
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	border-radius: 50%;
	border: 1px solid #e3e3e3;
	flex: 0 0 auto;
	position: relative;
}
.ksc-barch__sort a.is-active { color: #2b1d9a; font-weight: 600; }
.ksc-barch__sort a.is-active .ksc-barch__radio { border-color: #2b1d9a; }
.ksc-barch__sort a.is-active .ksc-barch__radio::after {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #2b1d9a;
}

.ksc-barch__cats { list-style: none; margin: 0; padding: 0; }
.ksc-barch__cats a {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 10px;
	padding: 5px 0;
	color: #444;
	font-size: 13px;
	line-height: 22px;
}
.ksc-barch__cats a { color: #040404; }
.ksc-barch__cats a:hover, .ksc-barch__cats a.is-active { color: #2b1d9a; }
.ksc-barch__cats a.is-active { font-weight: 500; }
.ksc-barch__cname {
	flex: 1;
	display: inline-flex;
	flex-direction: row; /* RTL: نقطه سمت راست، نام کنار آن */
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
}
.ksc-barch__cname::before {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #d9d9d9;
	flex: 0 0 auto;
}
.ksc-barch__cats a:hover .ksc-barch__cname::before,
.ksc-barch__cats a.is-active .ksc-barch__cname::before { background: #2b1d9a; }
.ksc-barch__count {
	min-width: 40px;
	height: 14px;
	padding: 0 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 100px;
	background: #ececec;
	color: #333;
	font-size: 10px;
	line-height: 14px;
	flex: 0 0 auto;
}
.ksc-barch__cats a.is-active .ksc-barch__count { background: #2b1d9a; color: #fff; }

@media (max-width: 1360px) {
	.ksc-barch__wrap { padding: 0 24px; }
}
@media (max-width: 1024px) {
	.ksc-barch__wrap { grid-template-columns: 1fr; }
	.ksc-barch__side { order: -1; }
	.ksc-barch__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.ksc-barch__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   تک‌نوشته (blog-single)
   ============================================================ */
.ksc-phead--tpl { margin-top: 0; }

.ksc-single {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	padding: 8px 0 48px;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}
.ksc-single__wrap {
	max-width: 1320px;
	margin: 0 auto;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 312px; /* راست: مقاله — چپ: سایدبار */
	gap: 24px;
	align-items: start;
}
.ksc-single__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* ---------- کارت مقاله ---------- */
.ksc-single__card {
	background: #fff;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #ededed;
	padding: 20px;
	box-sizing: border-box;
}
.ksc-single__thumb { position: relative; border-radius: 12px; overflow: hidden; }
.ksc-single__thumb img { display: block; width: 100%; height: 445px; object-fit: cover; }

/* برچسب تاریخ بنفش، بالا-راستِ تصویر */
.ksc-single__date {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 70px;
	height: 70px;
	border-radius: 10px;
	background: #2b1d9a;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.ksc-single__date b { font-size: 24px; font-weight: 800; line-height: 22px; }
.ksc-single__date i { font-size: 12px; font-style: normal; line-height: 16px; }

.ksc-single__meta {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 20px;
	font-size: 14px;
	line-height: 20px;
	color: #040404;
}
.ksc-single__mi { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 7px; }
.ksc-single__mi svg { color: #2b1d9a; flex: 0 0 auto; }

.ksc-single__title {
	font-size: 20px;
	font-weight: 800;
	line-height: 24px;
	color: #040404;
	margin: 20px 0 0;
}
.ksc-single__content { margin-top: 16px; font-size: 16px; line-height: 28px; color: #828282; }
.ksc-single__content p { margin: 0 0 24px; }
.ksc-single__content p:last-child { margin-bottom: 0; }
.ksc-single__content img { display: block; width: 100%; height: auto; border-radius: 12px; margin: 8px 0 24px; }
.ksc-single__content h2, .ksc-single__content h3, .ksc-single__content h4 { color: #040404; margin: 28px 0 12px; line-height: 1.6; }
.ksc-single__content h2 { font-size: 20px; }
.ksc-single__content h3 { font-size: 18px; }
.ksc-single__content a { color: #2b1d9a; }
.ksc-single__content ul, .ksc-single__content ol { margin: 0 0 24px; padding-inline-start: 22px; }
.ksc-single__content blockquote {
	margin: 0 0 24px;
	padding: 16px 20px;
	border-inline-start: 3px solid #2b1d9a;
	background: #f7f7fb;
	border-radius: 10px;
}

/* ---------- فرم دیدگاه ---------- */
.ksc-comments {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #ededed;
	overflow: hidden;
}
.ksc-cform { padding: 0; box-sizing: border-box; }
.ksc-cform__head { padding: 12px 20px; border-bottom: 1px solid #f2f2f2; margin-bottom: 0; font-size: 14px; font-weight: 700; color: #040404; }
.ksc-cform__form { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 16px 20px 0; }
.ksc-cform .logged-in-as { display: none; }
.ksc-cform__f { width: 100%; margin: 0 0 18px; }
.ksc-cform__f--half { width: calc(50% - 10px); }
.ksc-cform__f label { display: block; font-size: 14px; font-weight: 700; color: #040404; margin-bottom: 8px; }
.ksc-cform__f input,
.ksc-cform__f textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
	color: #040404;
	padding: 14px 18px;
	border: 1px solid #ededed;
	border-radius: 16px;
	background: #fff;
	resize: vertical;
}
.ksc-cform__f textarea { min-height: 155px; border-radius: 16px; }
.ksc-cform__f input::placeholder,
.ksc-cform__f textarea::placeholder { color: #828282; font-size: 12px; }
.ksc-cform__f input:focus, .ksc-cform__f textarea:focus { outline: none; border-color: #2b1d9a; }
.ksc-cform__submit {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 8px;
	background: #2b1d9a;
	color: #fff;
	border: 0;
	border-radius: 12px;
	padding: 0 24px;
	height: 40px;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: background .2s ease;
}
.ksc-cform__submit:hover { background: #1f156d; }
.ksc-cform .comment-form-cookies-consent,
.ksc-cform .comment-notes { display: none; }
.ksc-cform .form-submit { margin: 0 0 20px; width: 100%; }

/* ---------- لیست دیدگاه‌ها ---------- */
.ksc-cmt-list { list-style: none; margin: 0; padding: 0 20px 8px; }
.ksc-cmt-list .children { list-style: none; margin: 8px 0 0; padding: 0; }
.ksc-cmt { padding: 16px 0; border-top: 1px solid #f0f0f0; }
.ksc-cmt-list > .ksc-cmt:first-child { border-top: 0; padding-top: 4px; }
.ksc-cmt--reply { background: #f8f8fa; border-radius: 12px; padding: 16px 16px 20px; border-top: 0; }
.ksc-cmt-list .children { margin-inline-start: 56px; }
.ksc-cmt__head { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-end; gap: 12px; }
.ksc-cmt__avatar { flex: 0 0 auto; }
.ksc-cmt__avatar img { display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ksc-cmt__who { display: flex; flex-direction: column; align-items: flex-start; }
.ksc-cmt__name { font-size: 14px; font-weight: 700; color: #040404; line-height: 22px; }
.ksc-cmt__ago { font-size: 12px; color: #828282; line-height: 18px; }
.ksc-cmt__text { margin-top: 4px; margin-inline-start: 60px; font-size: 14px; line-height: 28px; color: #828282; }
.ksc-cmt__text p { margin: 0 0 10px; }
.ksc-cmt__text p:last-child { margin-bottom: 0; }
.ksc-cmt__moder { font-size: 13px; color: #caa05c; margin: 8px 0 0; }
.ksc-cmt .comment-reply-link { font-size: 13px; color: #2b1d9a; }

/* ---------- مطالب مرتبط ---------- */
.ksc-single__related { max-width: 1320px; margin: 56px auto 0; box-sizing: border-box; }
.ksc-single__rel-title { text-align: center; font-size: 28px; font-weight: 800; color: #040404; margin: 0 0 32px; }
.ksc-rel { position: relative; display: block; }
.ksc-rel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.ksc-rel__nav--prev { right: -63px; }
.ksc-rel__nav--next { left: -63px; }
.ksc-rel__dots { display: flex; justify-content: center; gap: 4px; margin-top: 28px; }
.ksc-rel__dots button { width: 14px; height: 6px; padding: 0; border: 0; border-radius: 100px; background: #ececec; cursor: pointer; transition: all .2s ease; }
.ksc-rel__dots button.is-active { width: 24px; background: #2b1d9a; }
.ksc-rel__viewport { overflow: hidden; flex: 1; min-width: 0; }
.ksc-rel__track { display: flex; gap: 24px; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.ksc-rel__card { flex: 0 0 calc((100% - 72px) / 4); box-sizing: border-box; }
.ksc-rel__nav {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #ededed;
	background: #fff;
	color: #2b1d9a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .2s ease;
}
.ksc-rel__nav:hover { background: #2b1d9a; border-color: #2b1d9a; color: #fff; }
.ksc-rel__nav[disabled] { opacity: .35; cursor: default; }
.ksc-rel__nav[disabled]:hover { background: #fff; border-color: #ededed; color: #2b1d9a; }

@media (max-width: 1360px) {
	.ksc-single__wrap, .ksc-single__related { padding: 0 24px; }
}
@media (max-width: 1024px) {
	.ksc-single__wrap { grid-template-columns: 1fr; }
	.ksc-single__wrap .ksc-barch__side { order: -1; }
	.ksc-rel__card { flex-basis: calc((100% - 24px) / 2); }
	.ksc-single__thumb img { height: 320px; }
}
@media (max-width: 600px) {
	.ksc-rel__card { flex-basis: 100%; }
	.ksc-cform__f--half { width: 100%; }
	.ksc-single__thumb img { height: 220px; }
	.ksc-single__date { top: 12px; right: 12px; }
}

/* ============================================================
   وکلا — پروفایل، حوزه‌های تخصصی، فرم مشاوره، لیست
   ============================================================ */
.ksc-lw, .ksc-lwlist {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}
.ksc-lw { padding: 0 0 56px; }
.ksc-lwlist { padding: 8px 0 56px; }

/* پنل سفید که ۶۷px روی نوار بنفش می‌آید — فقط گوشه‌های بالا گرد، سایه رو به بالا */
.ksc-lw__panel {
	position: relative;
	z-index: 2;
	margin-top: -67px;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 16px rgba(0, 0, 0, .08);
	padding: 50px 64px;
	box-sizing: border-box;
}
.ksc-lw__wrap, .ksc-lwlist__wrap {
	max-width: 1320px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* ---------- کارت پروفایل ---------- */
.ksc-lw__profile {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}
.ksc-lw__photo { flex: 0 0 297px; }
.ksc-lw__photo img { display: block; width: 297px; height: 313px; object-fit: cover; border-radius: 16px; }
.ksc-lw__info { flex: 1; min-width: 0; padding-top: 4px; }

.ksc-lw__row { display: flex; align-items: baseline; gap: 24px; margin-bottom: 12px; }
.ksc-lw__lbl {
	flex: 0 0 150px;
	text-align: right;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: #040404;
}
.ksc-lw__val {
	flex: 1;
	text-align: right;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #828282;
	word-break: break-word;
}

.ksc-lw__resume {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding: 13px 34px;
	border: 1px solid #2b1d9a;
	border-radius: 12px;
	color: #2b1d9a;
	font-size: 16px;
	line-height: 24px;
	transition: all .2s ease;
}
.ksc-lw__resume:hover { background: #2b1d9a; color: #fff; }

/* ---------- بیوگرافی ---------- */
.ksc-lw__bio { margin-top: 46px; }
.ksc-lw__bio-title { font-size: 24px; font-weight: 800; color: #040404; margin: 0 0 20px; }
.ksc-lw__bio-text { font-size: 16px; line-height: 30px; color: #828282; }
.ksc-lw__bio-text p { margin: 0 0 24px; }
.ksc-lw__bio-text p:last-child { margin-bottom: 0; }

/* ---------- سرستون بخش‌ها ---------- */
.ksc-lw__spec-head { text-align: center; margin: 104px 0 36px; }
.ksc-lw__eyebrow { display: block; font-size: 16px; font-weight: 400; line-height: 24px; color: #1f156d; margin-bottom: 4px; }
.ksc-lw__h2 { font-size: 32px; font-weight: 800; line-height: 35px; color: #000; margin: 0; }
.ksc-lw__sub { font-size: 20px; font-weight: 300; line-height: 35px; color: #828282; margin: 0; }

/* ---------- حوزه‌های تخصصی ---------- */
.ksc-lw__spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ksc-lw__spec-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fff;
	border-radius: 12px;
	padding: 18px 16px;
	box-sizing: border-box;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
}
.ksc-lw__spec-ic {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	background: #f7f7f7;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #2b1d9a;
}
.ksc-lw__spec-ic svg { width: 30px; height: 30px; }
.ksc-lw__spec-card h3 { font-size: 16px; font-weight: 700; line-height: 24px; color: #040404; margin: 0 0 4px; }
.ksc-lw__spec-card p { font-size: 12px; line-height: 18px; color: #828282; margin: 0; }
.ksc-lw__eyebrow::before { content: ''; display: inline-block; width: 16px; height: 3px; border-radius: 2px; background: #2b1d9a; vertical-align: middle; margin-inline-end: 8px; }

/* ---------- فرم مشاوره ---------- */
.ksc-lw__form {
	max-width: 516px;
	margin: 0 auto;
	/* پس‌زمینهٔ طوسی ملایم تا کارت از صفحهٔ سفید متمایز شود (فیلدها سفید می‌مانند) */
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
	padding: 40px;
	box-sizing: border-box;
}
.ksc-lw__form-title { text-align: center; font-size: 24px; font-weight: 800; line-height: 32px; color: #040404; margin: 0 0 28px; }
.ksc-lw__f { margin: 0 0 25px; }
.ksc-lw__f label { display: block; font-size: 16px; font-weight: 400; line-height: 24px; color: #040404; margin-bottom: 8px; }
.ksc-lw__f input, .ksc-lw__f textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
	color: #040404;
	border: 0;
	border-radius: 20px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #e3e2ee;
	resize: vertical;
}
.ksc-lw__f input { height: 56px; padding: 0 20px; }
.ksc-lw__f textarea { min-height: 168px; padding: 18px 20px; line-height: 26px; }
.ksc-lw__f input::placeholder, .ksc-lw__f textarea::placeholder { color: #828282; font-size: 12px; }
.ksc-lw__f input:focus, .ksc-lw__f textarea:focus { outline: none; box-shadow: inset 0 0 0 1px #2b1d9a; }
.ksc-lw__submit {
	width: 100%;
	height: 48px;
	background: #2b1d9a;
	color: #fff;
	border: 0;
	border-radius: 12px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: background .2s ease;
}
.ksc-lw__submit:hover { background: #1f156d; }

/* ---------- لیست وکلا ---------- */
.ksc-lwlist__grid { display: grid; grid-template-columns: repeat(var(--ksc-lw-cols, 4), 1fr); gap: 24px; }
.ksc-lwlist__card {
	background: #fff;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #ededed;
	padding: 16px;
	box-sizing: border-box;
	text-align: center;
}
.ksc-lwlist__ph { display: block; border-radius: 12px; overflow: hidden; background: #eae8f5; }
.ksc-lwlist__ph img { display: block; width: 100%; aspect-ratio: 280 / 300; object-fit: cover; transition: transform .4s ease; }
.ksc-lwlist__card:hover .ksc-lwlist__ph img { transform: scale(1.04); }
.ksc-lwlist__name { font-size: 17px; font-weight: 700; margin: 14px 0 4px; }
.ksc-lwlist__name a { color: #040404; }
.ksc-lwlist__name a:hover { color: #2b1d9a; }
.ksc-lwlist__rank { font-size: 14px; color: #828282; margin: 0 0 12px; }
.ksc-lwlist__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	color: #2b1d9a;
}

@media (max-width: 1360px) {
	.ksc-lw__wrap, .ksc-lwlist__wrap { padding: 0 24px; }
}
@media (max-width: 1024px) {
	.ksc-lw__spec-grid { grid-template-columns: repeat(2, 1fr); }
	.ksc-lwlist__grid { grid-template-columns: repeat(2, 1fr); }
	.ksc-lw__profile { flex-direction: column; align-items: center; }
	.ksc-lw__panel { padding: 40px 28px; }
	.ksc-lw__info { width: 100%; }
}
@media (max-width: 600px) {
	.ksc-lw__spec-grid, .ksc-lwlist__grid { grid-template-columns: 1fr; }
	.ksc-lw__photo { flex-basis: auto; }
	.ksc-lw__photo img { width: 100%; height: auto; }
	.ksc-lw__row { flex-direction: column; gap: 2px; }
	.ksc-lw__lbl, .ksc-lw__val { flex: none; text-align: right; }
}

/* ==================================================================
   سخت‌سازی واکنش‌گرا (موبایل/تبلت)
   نکته: «1fr» در گرید یعنی minmax(auto,1fr) و «auto» حداقلش min-content
   است؛ برای همین یک فرزند پهن می‌تواند ستون را از عرض صفحه بزرگ‌تر کند.
   راه‌حل: minmax(0,1fr) + min-width:0 روی فرزندها.
   ================================================================== */
@media (max-width: 1024px) {
	
	
	
	
	.ksc-contact__grid,
	.ksc-single__wrap,
	.ksc-lw__wrap {
		grid-template-columns: minmax(0, 1fr);
	}

	
	
	
	
	.ksc-contact__grid > *,
	.ksc-single__wrap > *,
	.ksc-lw__wrap > * {
		min-width: 0;
	}

	/* شکل‌های تزئینیِ ثابت‌عرض که از صفحه بیرون می‌زنند */
	

	
}

/* هیچ تصویر/ویدیو/جدولی نباید از عرض صفحه بیرون بزند */

.ksc-single__content img,
.ksc-lw__panel img {
	max-width: 100%;
}

/* ==================================================================
   عرض تمام‌صفحه بدون احتساب اسکرول‌بار.
   «100vw» عرض اسکرول‌بار را هم می‌شمارد و ~۱۵px سرریز می‌سازد؛
   متغیر --ksc-sbw را اسکریپت ست می‌کند (پیش‌فرض ۰).
   ================================================================== */
:root { --ksc-sbw: 0px; }

.ksc-phead,
.ksc-barch,
.ksc-single,
.ksc-lw,
.ksc-lwlist {
	width: calc(100vw - var(--ksc-sbw));
	max-width: calc(100vw - var(--ksc-sbw));
	margin-inline: calc(50% - (100vw - var(--ksc-sbw)) / 2);
}

@media (max-width: 1024px) {
	/* حبابِ تزئینی بخش آمار در موبایل بیرون می‌زند */
	.ksc-astats__blob { display: none; }
}

@media (max-width: 700px) {
	/* واترمارک لاتین در موبایل از عرض نوار بیرون می‌زند */
	.ksc-phead__watermark { font-size: 46px; letter-spacing: 2px; }
	.ksc-phead__title { font-size: 22px; line-height: 32px; padding-inline: 16px; }
	.ksc-phead__shape { height: 260px; }
	.ksc-phead__inner { top: 140px; }
	.ksc-phead__watermark { top: 120px; }
}

/* ==================================================================
   چیدمان موبایل — بازنویسی بخش‌هایی که فقط «سرریز نداشتن» کافی نبود
   ================================================================== */
@media (max-width: 700px) {

	/* ---------- فاصلهٔ افقی عمومی سرستون‌ها و بخش‌های متنی ---------- */
	.ksc-sec-head { padding-inline: 20px; }
	
	
	
	

	/* ---------- استوری‌ها ----------
	   «justify-content:center» روی فلکسِ اسکرول‌شونده باعث می‌شود محتوا
	   از دو طرف بزند بیرون و ابتدای ریل غیرقابل‌دسترس شود. */
	.ksc-stories { padding: 40px 0 8px; height: auto; }
	.ksc-stories__track {
		justify-content: flex-start;
		gap: 16px;
		padding: 8px 20px 16px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}
	.ksc-story { scroll-snap-align: start; }
	.ksc-story { flex-basis: 84px; width: 84px; }
	.ksc-story__img { width: 84px; height: 84px; }
	.ksc-story__label { font-size: 13px; }

	/* ---------- تیم ---------- */
	
	
	

	/* ---------- بنر شعار (سایه قانون) ----------
	   روی دسکتاپ شعار/فلش/متن کنار هم‌اند؛ در موبایل باید روی هم بچینند. */
	
	
	
	
	
	
	
	
	
}

/* ==================================================================
   تبلت (۷۰۱ تا ۱۰۲۴) — بازه‌ای که قبلاً پوشش نداشت و قوانین ۴ستونهٔ
   دسکتاپ در آن فعال می‌ماند و کارت‌ها له می‌شوند.
   ================================================================== */
@media (max-width: 1024px) {
	
	
	/* فلش‌ها روی کارت‌ها شناور می‌شوند تا از عرض نخورند و اسلایدر JS سالم بماند */
	
	
	
	
	
	

	/* نظرات */
	
	
	

	/* استوری‌ها: ریلِ اسکرول‌شونده نباید وسط‌چین باشد */
	.ksc-stories__track { justify-content: flex-start; }
}

/* موبایل: تک‌کارت (باید بعد از بلوک ۱۰۲۴ بیاید تا بر آن غلبه کند) */

/* ---------- فرم مشاوره: خطا و پیام نتیجه ---------- */
.ksc-lw__hp { position: absolute !important; left: 0 !important; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
.ksc-lw__err { display: block; min-height: 0; margin-top: 6px; font-size: 13px; color: #d92d4a; }
.ksc-lw__err:empty { display: none; }
.ksc-lw__f .is-invalid { box-shadow: inset 0 0 0 1px #d92d4a !important; }
.ksc-lw__submit:disabled { opacity: .7; cursor: wait; }
.ksc-lw__status { margin-top: 16px; font-size: 14px; line-height: 24px; text-align: center; border-radius: 12px; }
.ksc-lw__status:empty { display: none; }
.ksc-lw__status.is-ok { padding: 12px 16px; background: #eaf7ef; color: #1b7a43; box-shadow: inset 0 0 0 1px #bfe6cd; }
.ksc-lw__status.is-error { padding: 12px 16px; background: #fdecee; color: #b3213b; box-shadow: inset 0 0 0 1px #f5c3cb; }

/* ---------- Team (وکلای ما) ----------
   صحنهٔ ۱۳۲۰px؛ مبدأ = بالای بخش (y=۳۳۶۳ در طرح) و x=۹۶ */
.ksc-team,
.ksc-quote {
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}

.ksc-team {
	position: relative;
	height: 638px;
}

.ksc-team__shape {
	position: absolute;
	right: 0;
	top: 0;
	width: 744px;
	height: 600px;
	transform: scaleX(-1);
	z-index: 0;
	pointer-events: none;
}

.ksc-team__shape svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ksc-team__stage {
	position: relative;
	z-index: 1;
	width: 1320px;
	height: 600px;
	margin: 0 auto;
	direction: rtl;
}

.ksc-team__content {
	position: absolute;
	left: -1px;
	top: 160px;
	width: 603px;
}

.ksc-team .ksc-team__pill {
	display: block;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #040404;
	text-align: right;
}

.ksc-team .ksc-team__heading {
	margin: 16px 0 0;
	font-size: 24px;
	line-height: 32px;
	font-weight: 800;
	color: #2b1d9a;
	text-align: right;
	white-space: nowrap;
}

.ksc-team .ksc-team__text {
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #828282;
	text-align: justify;
}

.ksc-team .ksc-team__more {
	position: absolute;
	left: 405px;
	top: 392px;
	width: 197px;
	height: 48px;
	box-sizing: border-box;
	padding: 0 24px 0 32px;
	display: flex;
	align-items: center;
	gap: 4px;
	direction: ltr;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #2b1d9a;
	color: #2b1d9a;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-decoration: none;
}

.ksc-team .ksc-team__more span {
	display: block;
	width: 117px;
	direction: rtl;
	text-align: left;
	white-space: nowrap;
}

.ksc-team .ksc-team__more svg {
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
}

.ksc-team__slider {
	position: absolute;
	inset: 0;
}

.ksc-team__cards {
	position: absolute;
	left: 652px;
	top: 80px;
	width: 688px;
	height: 440px;
	box-sizing: border-box;
	padding: 20px;
	overflow: hidden;
}

.ksc-team__track {
	display: flex;
	gap: 24px;
	width: max-content;
	transition: transform 0.45s ease;
}

.ksc-team .ksc-team__card {
	flex: 0 0 312px;
	width: 312px;
	height: 400px;
	box-sizing: border-box;
	padding: 16px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: inherit;
}

.ksc-team .ksc-team__photo {
	display: block;
	width: 280px;
	height: 280px;
	border-radius: 12px;
	overflow: hidden;
}

.ksc-team .ksc-team__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.ksc-team .ksc-team__info {
	display: block;
	margin-top: 16px;
	text-align: center;
}

.ksc-team .ksc-team__info b {
	display: block;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #040404;
	white-space: nowrap;
}

.ksc-team .ksc-team__role {
	display: block;
	margin-top: 8px;
	height: 40px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: #828282;
}

.ksc-team .ksc-team__arrow {
	position: absolute;
	top: 232px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
}

.ksc-team .ksc-team__arrow--prev { left: 1296px; }
.ksc-team .ksc-team__arrow--next { left: 648px; }

.ksc-team .ksc-team__arrow:disabled { cursor: default; }

.ksc-team .ksc-team__arrow svg {
	display: block;
	width: 48px;
	height: 48px;
}

.ksc-team__dots {
	position: absolute;
	left: 954px;
	top: 530px;
	display: flex;
	gap: 4px;
	height: 8px;
}

.ksc-team__dots span {
	display: block;
	width: 16px;
	height: 8px;
	border-radius: 5px;
	background: #ededed;
	cursor: pointer;
	transition: width 0.25s ease, background 0.25s ease;
}

.ksc-team__dots span.is-active {
	width: 24px;
	background: #2b1d9a;
}

@media (max-width: 1100px) {
	.ksc-team {
		height: auto;
		padding: 48px 20px 56px;
	}

	.ksc-team__shape {
		display: none;
	}

	.ksc-team__stage {
		width: auto;
		height: auto;
		max-width: 760px;
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.ksc-team__content,
	.ksc-team .ksc-team__more,
	.ksc-team__slider,
	.ksc-team__cards,
	.ksc-team__dots {
		position: static;
		width: auto;
		height: auto;
	}

	.ksc-team .ksc-team__heading { white-space: normal; }

	.ksc-team .ksc-team__more { align-self: flex-start; width: 197px; order: 3; }

	.ksc-team__slider {
		position: relative;
		order: 2;
	}

	.ksc-team__cards {
		margin: 0 -20px;
		padding: 20px;
	}

	.ksc-team__track { width: 100%; }

	.ksc-team .ksc-team__card {
		flex: 0 0 calc((100% - 24px) / 2);
		width: auto;
		height: auto;
		padding-bottom: 20px;
	}

	.ksc-team .ksc-team__photo {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.ksc-team .ksc-team__role { height: auto; }

	.ksc-team .ksc-team__arrow { top: 40%; }
	.ksc-team .ksc-team__arrow--prev { left: auto; right: -12px; }
	.ksc-team .ksc-team__arrow--next { left: -12px; }

	.ksc-team__dots {
		justify-content: center;
		margin-top: 16px;
	}
}

@media (max-width: 640px) {
	.ksc-team .ksc-team__card { flex-basis: 100%; }
	.ksc-team .ksc-team__arrow--prev { right: -6px; }
	.ksc-team .ksc-team__arrow--next { left: -6px; }
	.ksc-team .ksc-team__arrow { width: 40px; height: 40px; }
	.ksc-team .ksc-team__arrow svg { width: 40px; height: 40px; }
}

/* ---------- Quote banner (در سایه قانون) ----------
   بوم ۱۳۲۰×۳۷۰؛ مبدأ = y=۴۰۰۱ در طرح و x=۹۶ */
.ksc-quote {
	position: relative;
	height: 470px;
}

.ksc-quote__stage {
	position: relative;
	width: 1320px;
	height: 370px;
	margin: 0 auto;
}

.ksc-quote__plate {
	position: absolute;
	left: 0;
	top: 142px;
	width: 1320px;
	height: 228px;
	transform: scaleX(-1);
}

.ksc-quote__plate svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ksc-quote .ksc-quote__stage img {
	position: absolute;
	display: block;
	max-width: none;
	object-fit: cover;
}

.ksc-quote .ksc-quote__stage .ksc-quote__bg {
	left: 69px;
	top: -95px; /* ۴۷ − ۱۴۲ (بالای صفحه‌ی بنر) */
	width: 297px;
	height: 323px;
	/* فیگمای نهایی: مجسمه داخل بنر بریده می‌شود و تیره‌تر از زمینه دیده می‌شود، نه روشن‌تر */
	mix-blend-mode: multiply;
	opacity: 0.3;
}

.ksc-quote__bgclip {
	position: absolute;
	left: 0;
	top: 142px;
	width: 1320px;
	height: 228px;
	border-radius: 48px;
	overflow: hidden;
	pointer-events: none;
}

.ksc-quote .ksc-quote__stage .ksc-quote__portrait {
	top: 0;
	width: 228px;
	height: 370px;
}

/* فقط یک نسخه از عکس وکیل (بدون سایه/نسخهٔ دوم) */
.ksc-quote .ksc-quote__stage .ksc-quote__portrait--b { left: 1003px; }

.ksc-quote__fade {
	position: absolute;
	left: 949px;
	top: 271px;
	width: 285px;
	height: 99px;
	background: linear-gradient(180deg, rgba(43, 29, 154, 0) 0%, #2b1d9a 100%);
}

.ksc-quote__slogan {
	position: absolute;
	left: 660px;
	top: 212px;
	width: 263px;
	text-align: right;
	white-space: nowrap;
}

.ksc-quote .ksc-quote__slogan b {
	display: block;
	font-size: 24px;
	line-height: 32px;
	font-weight: 800;
	color: #fff;
}

.ksc-quote .ksc-quote__slogan i {
	display: block;
	margin-top: 16px;
	font-style: normal;
	font-size: 28px;
	line-height: 40px;
	font-weight: 700;
	color: #caa05c;
}

.ksc-quote__arrow {
	position: absolute;
	left: 0;
	top: 0;
	width: 57px;
	height: 85.2px;
	transform-origin: 0 0;
	transform: matrix(-0.4384, 0.8988, -0.8988, -0.4383, 710.6, 204.35);
}

.ksc-quote__arrow svg {
	display: block;
	width: 57px;
	height: 85.2px;
	overflow: visible;
}

.ksc-quote .ksc-quote__text {
	position: absolute;
	left: 112px;
	top: 214px;
	width: 476px;
	margin: 0;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #fff;
	text-align: justify;
}

@media (max-width: 1100px) {
	.ksc-quote {
		height: auto;
		padding: 80px 20px 40px;
	}

	.ksc-quote__stage {
		width: auto;
		height: auto;
		max-width: 760px;
		margin: 0 auto;
		padding: 32px 24px 32px 150px;
		background: #2b1d9a;
		border-radius: 32px;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.ksc-quote__plate,
	.ksc-quote__fade,
	.ksc-quote__arrow,
	.ksc-quote__bgclip,
	.ksc-quote .ksc-quote__stage .ksc-quote__bg {
		display: none;
	}

	.ksc-quote .ksc-quote__stage .ksc-quote__portrait--b {
		mix-blend-mode: normal;
		left: 8px;
		top: auto;
		bottom: 0;
		width: 128px;
		height: auto;
	}

	.ksc-quote__slogan,
	.ksc-quote .ksc-quote__text {
		position: static;
		width: auto;
	}
}

@media (max-width: 640px) {
	.ksc-quote__stage { padding: 28px 20px 210px; }
	.ksc-quote .ksc-quote__stage .ksc-quote__portrait--b { left: auto; right: 12px; width: 110px; }
}

/* ---------- FAQ (پرسش و پاسخ) ----------
   بوم ۱۳۲۰px؛ مبدأ = y=۴۴۷۱ در طرح و x=۹۶ */
.ksc-faq {
	position: relative;
	height: 554px;
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}

.ksc-faq__stage {
	position: relative;
	width: 1320px;
	height: 454px;
	margin: 0 auto;
}

/* --- کارت چپ --- */
.ksc-faq__card {
	position: absolute;
	left: 0;
	top: 0;
	width: 648px;
	height: 454px;
	border-radius: 16px;
	overflow: hidden;
	box-sizing: border-box;
}

.ksc-faq .ksc-faq__card img {
	position: absolute;
	display: block;
	max-width: none;
	border-radius: 0;
}

.ksc-faq .ksc-faq__card .ksc-faq__card-bg {
	left: 0;
	top: 0;
	width: 648px;
	height: 454px;
	object-fit: cover;
}

.ksc-faq__veil {
	position: absolute;
	inset: 0;
	border-radius: 16px;
	background: linear-gradient(-135deg, #fff 0%, rgba(255, 255, 255, 0.91) 100%);
	box-shadow: inset 0 0 0 2px #caa05c;
}

.ksc-faq .ksc-faq__card .ksc-faq__card-img {
	left: 0;
	top: 54px;
	width: 267px;
	height: 400.7px;
	transform: scaleX(-1);
	object-fit: fill;
}

.ksc-faq .ksc-faq__card-title {
	position: absolute;
	left: 355px;
	top: 46px;
	width: 247px;
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 800;
	color: #040404;
	white-space: nowrap;
	text-align: right;
}

.ksc-faq .ksc-faq__card-title b {
	font-weight: 800;
	color: #caa05c;
}

.ksc-faq .ksc-faq__card-text {
	position: absolute;
	left: 289px;
	top: 94px;
	width: 313px;
	margin: 0;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #040404;
	text-align: justify;
}

.ksc-faq__rows {
	position: absolute;
	left: 289px;
	top: 202px;
	width: 313px;
	height: 132px;
}

.ksc-faq .ksc-faq__row {
	position: absolute;
	left: 0;
	width: 313px;
	height: 36px;
	box-sizing: border-box;
	display: block;
	font-size: 16px;
	line-height: 24px;
	color: #040404;
	white-space: nowrap;
}

.ksc-faq .ksc-faq__row:nth-child(1) { top: 0; }
.ksc-faq .ksc-faq__row:nth-child(2) { top: 48px; }
.ksc-faq .ksc-faq__row:nth-child(3) { top: 96px; }

.ksc-faq .ksc-faq__row:not(:last-child) {
	box-shadow: inset 0 0 0 1px #ededed;
}

.ksc-faq .ksc-faq__row i {
	position: absolute;
	left: 0;
	top: 0;
	width: 103px;
	font-style: normal;
	font-weight: 300;
	text-align: right;
}

.ksc-faq .ksc-faq__row--mail i { width: 104px; }

.ksc-faq .ksc-faq__row b {
	position: absolute;
	right: 28px;
	top: 0;
	font-weight: 400;
	text-align: right;
}

.ksc-faq .ksc-faq__ricon {
	position: absolute;
	right: 0;
	top: 2px;
	width: 20px;
	height: 20px;
}

.ksc-faq .ksc-faq__ricon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.ksc-faq .ksc-faq__btn {
	position: absolute;
	left: 289px;
	top: 358px;
	width: 313px;
	height: 48px;
	background: #caa05c;
	border-radius: 16px;
	color: #fff;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-decoration: none;
	box-shadow: none;
}

.ksc-faq .ksc-faq__btn span {
	position: absolute;
	left: 61px;
	top: 12px;
	width: 175px;
	text-align: left;
	white-space: nowrap;
}

.ksc-faq .ksc-faq__btn svg {
	position: absolute;
	left: 240px;
	top: 14px;
	width: 20px;
	height: 20px;
}

/* --- ستون راست --- */
.ksc-faq__head {
	position: absolute;
	left: 1093px;
	top: 0;
	width: 227px;
	height: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ksc-faq__qicon,
.ksc-faq__qicon svg {
	display: block;
	width: 24px;
	height: 24px;
	flex: none;
}

.ksc-faq .ksc-faq__head h3 {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 800;
	color: #040404;
	white-space: nowrap;
}

.ksc-faq .ksc-faq__archive {
	position: absolute;
	left: 672px;
	top: 2px;
	width: 106px;
	height: 20px;
	display: flex;
	align-items: center;
	gap: 4px;
	color: #828282;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
}

.ksc-faq .ksc-faq__archive span { display: block; width: 82px; white-space: nowrap; }
.ksc-faq .ksc-faq__archive svg { display: block; width: 20px; height: 20px; flex: none; }

.ksc-faq__list {
	position: absolute;
	left: 672px;
	top: 48px;
	width: 648px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ksc-faq .ksc-faq__item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.ksc-faq .ksc-faq__item summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	box-sizing: border-box;
	padding: 0 20px;
	border-radius: 12px;
	cursor: pointer;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: #040404;
}

.ksc-faq .ksc-faq__item summary::-webkit-details-marker { display: none; }

.ksc-faq .ksc-faq__item[open] summary {
	border-radius: 0;
	box-shadow: inset 0 0 0 1px #ededed;
}

.ksc-faq__q { display: block; white-space: nowrap; }

.ksc-faq__chev,
.ksc-faq__chev svg {
	display: block;
	width: 24px;
	height: 24px;
	flex: none;
}

.ksc-faq__chev--open { display: none; }
.ksc-faq__item[open] .ksc-faq__chev--open { display: block; }
.ksc-faq__item[open] .ksc-faq__chev--closed { display: none; }

.ksc-faq .ksc-faq__answer {
	box-sizing: border-box;
	padding: 20px;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #828282;
	text-align: justify;
}

@media (max-width: 1100px) {
	.ksc-faq {
		height: auto;
		padding: 40px 20px;
	}

	.ksc-faq__stage {
		width: auto;
		height: auto;
		max-width: 760px;
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.ksc-faq__head,
	.ksc-faq .ksc-faq__archive,
	.ksc-faq__list,
	.ksc-faq__card {
		position: static;
		width: auto;
	}

	.ksc-faq__head { order: 1; }
	.ksc-faq .ksc-faq__archive { order: 2; align-self: flex-start; }
	.ksc-faq__list { order: 3; }
	.ksc-faq__card {
		order: 4;
		height: auto;
		min-height: 454px;
		padding: 46px 24px 32px;
		position: relative;
	}

	.ksc-faq .ksc-faq__card-title,
	.ksc-faq .ksc-faq__card-text,
	.ksc-faq__rows,
	.ksc-faq .ksc-faq__btn {
		position: relative;
		left: auto;
		top: auto;
		width: auto;
		max-width: 313px;
		margin-inline-start: auto;
	}

	.ksc-faq .ksc-faq__card-text { margin-top: 24px; }
	.ksc-faq__rows { height: 132px; margin-top: 24px; }
	.ksc-faq .ksc-faq__btn { display: block; margin-top: 24px; width: 313px; }
	.ksc-faq .ksc-faq__q { white-space: normal; }
	.ksc-faq .ksc-faq__item summary { height: auto; min-height: 64px; gap: 12px; padding-block: 12px; }
}

/* ---------- Testimonials (نظرات موکلین) ----------
   مبدأ: بالای بخش (y=۵۰۲۵ در طرح)؛ بوم ۱۳۲۰px با مبدأ x=۹۶ */
.ksc-testis {
	position: relative;
	height: 560px;
	box-sizing: border-box;
	padding-top: 50px;
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}

.ksc-testis .ksc-testis__bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 312px;
	max-width: none;
	object-fit: fill;
	border-radius: 0;
	pointer-events: none;
}

.ksc-testis .ksc-sec-head {
	position: relative;
	z-index: 1;
}

.ksc-testis__stage {
	position: absolute;
	left: 50%;
	top: 178px;
	width: 1320px;
	height: 382px;
	margin-left: -660px;
	z-index: 1;
}

.ksc-testis__slider {
	position: absolute;
	inset: 0;
}

.ksc-testis__cards {
	position: absolute;
	left: -20px;
	top: -20px;
	width: 1360px;
	height: 256px;
	box-sizing: border-box;
	padding: 20px;
	overflow: hidden;
}

.ksc-testis__grid {
	/* RTL مثل بقیهٔ اسلایدرها: کارت اول سمت راست، «بعدی» به چپ می‌رود */
	direction: rtl;
	display: flex;
	gap: 24px;
	width: max-content;
	transition: transform 0.45s ease;
}

.ksc-testis .ksc-testis__card {
	flex: 0 0 312px;
	width: 312px;
	height: 216px;
	box-sizing: border-box;
	padding: 24px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
	border: 0;
	direction: rtl;
}

.ksc-testis__who {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 60px;
}

.ksc-testis .ksc-testis__avatar {
	display: block;
	flex: none;
	width: 60px;
	height: 60px;
	border-radius: 100px;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px #ededed;
	position: relative;
}

.ksc-testis .ksc-testis__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.ksc-testis .ksc-testis__avatar::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 100px;
	box-shadow: inset 0 0 0 1px #ededed;
}

.ksc-testis .ksc-testis__meta {
	display: block;
	width: 192px;
	text-align: right;
	white-space: nowrap;
}

.ksc-testis .ksc-testis__meta b {
	display: block;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #040404;
}

.ksc-testis .ksc-testis__meta i {
	display: block;
	margin-top: 4px;
	font-style: normal;
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
	color: #828282;
}

.ksc-testis .ksc-testis__card > p {
	margin: 24px 0 0;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #828282;
	text-align: justify;
}

/* تزئین هاشور (بیرون از کارت آخر، عین طرح) */
.ksc-testis__deco {
	position: absolute;
	left: 1353px;
	top: 24px;
	width: 79px;
	height: 60px;
	overflow: hidden;
	transform: scaleX(-1);
	pointer-events: none;
}

.ksc-testis .ksc-testis__deco img {
	position: absolute;
	left: -6.4px;
	top: 0;
	width: 91.8px;
	height: 60px;
	max-width: none;
	border-radius: 0;
}

.ksc-testis .ksc-testis__arrow {
	position: absolute;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 50%;
	cursor: pointer;
	z-index: 3;
}

.ksc-testis .ksc-testis__arrow--prev { left: -72px; top: 104px; }
.ksc-testis .ksc-testis__arrow--next { left: 1344px; top: -65px; }
.ksc-testis .ksc-testis__arrow:disabled { cursor: default; }

.ksc-testis .ksc-testis__arrow svg {
	display: block;
	width: 48px;
	height: 48px;
}

.ksc-testis__dots {
	position: absolute;
	left: 618px;
	top: 246px;
	display: flex;
	gap: 4px;
	height: 8px;
}

.ksc-testis__dots span {
	display: block;
	width: 16px;
	height: 8px;
	border-radius: 5px;
	background: #ededed;
	cursor: pointer;
	transition: width 0.25s ease, background 0.25s ease;
}

.ksc-testis__dots span.is-active {
	width: 24px;
	background: #2b1d9a;
}

.ksc-testis .ksc-testis__more {
	position: absolute;
	left: 570.5px;
	top: 284px;
	width: 180px;
	height: 48px;
	box-sizing: border-box;
	padding: 0 24px 0 32px;
	display: flex;
	align-items: center;
	gap: 4px;
	direction: ltr;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #2b1d9a;
	color: #2b1d9a;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-decoration: none;
}

.ksc-testis .ksc-testis__more span {
	display: block;
	width: 100px;
	direction: rtl;
	text-align: left;
	white-space: nowrap;
}

.ksc-testis .ksc-testis__more svg {
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
}

@media (max-width: 1100px) {
	.ksc-testis {
		height: auto;
		padding: 50px 20px 56px;
	}

	.ksc-testis__stage {
		position: relative;
		left: auto;
		top: auto;
		width: auto;
		height: auto;
		margin: 32px auto 0;
		max-width: 1320px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.ksc-testis__slider {
		position: relative;
		inset: auto;
		width: 100%;
	}

	.ksc-testis__cards {
		position: static;
		width: auto;
		height: auto;
		margin: 0 -20px;
	}

	.ksc-testis__grid { width: 100%; }

	.ksc-testis .ksc-testis__card {
		flex: 0 0 calc((100% - 72px) / 4);
		width: auto;
		height: auto;
		min-height: 216px;
	}

	.ksc-testis__deco { display: none; }

	.ksc-testis .ksc-testis__arrow { top: 40%; }
	.ksc-testis .ksc-testis__arrow--prev { left: -14px; }
	.ksc-testis .ksc-testis__arrow--next { left: auto; right: -14px; top: 40%; }

	.ksc-testis__dots {
		position: static;
		justify-content: center;
		margin-top: 16px;
	}

	.ksc-testis .ksc-testis__more {
		position: static;
	}
}

@media (max-width: 1140px) {
	.ksc-testis .ksc-testis__card { flex-basis: calc((100% - 48px) / 3); }
}

@media (max-width: 940px) {
	.ksc-testis .ksc-testis__card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 640px) {
	.ksc-testis .ksc-testis__card { flex-basis: 100%; }
	.ksc-testis .ksc-testis__arrow { width: 40px; height: 40px; }
	.ksc-testis .ksc-testis__arrow svg { width: 40px; height: 40px; }
}

/* ---------- Blog (وبلاگ و آموزش حقوقی) ----------
   مبدأ: بالای بخش (y=۵۵۸۵ در طرح)؛ بوم ۱۳۲۰px با مبدأ x=۹۶ */
.ksc-blog {
	position: relative;
	height: 706px;
	box-sizing: border-box;
	padding-top: 50px;
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}

.ksc-blog__stage {
	position: absolute;
	left: 50%;
	top: 178px;
	width: 1320px;
	height: 388px;
	margin-left: -660px;
}

.ksc-slider {
	position: absolute;
	inset: 0;
}

.ksc-blog__cards {
	position: absolute;
	left: -20px;
	top: -20px;
	width: 1360px;
	height: 428px;
	box-sizing: border-box;
	padding: 20px;
	overflow: hidden;
}

.ksc-slider__track {
	display: flex;
	gap: 24px;
	width: max-content;
	transition: transform 0.45s ease;
}

.ksc-blog .ksc-blog__card {
	position: relative;
	flex: 0 0 312px;
	width: 312px;
	height: 388px;
	box-sizing: border-box;
	padding: 24px;
	background: #fff;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #ededed;
}

.ksc-blog .ksc-blog__thumb {
	display: block;
	width: 264px;
	height: 180px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: none;
}

.ksc-blog .ksc-blog__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.ksc-blog .ksc-blog__card h3 {
	margin: 12px 0 0;
	height: 48px;
	overflow: hidden;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #040404;
	text-align: right;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.ksc-blog .ksc-blog__card h3 a {
	color: inherit;
	text-decoration: none;
	box-shadow: none;
}

.ksc-blog .ksc-blog__card > p {
	margin: 12px 0 0;
	height: 56px;
	overflow: hidden;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #828282;
	text-align: right;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.ksc-blog__meta {
	position: absolute;
	left: 24px;
	top: 344px;
	width: 264px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	line-height: 20px;
	color: #040404;
	white-space: nowrap;
}

.ksc-blog .ksc-blog__date {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 300;
}

.ksc-blog .ksc-blog__more {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	color: #040404;
	text-decoration: none;
	box-shadow: none;
}

.ksc-blog .ksc-blog__more span {
	display: block;
	width: 88px;
}

.ksc-blog__meta svg {
	display: block;
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 0;
}

.ksc-blog__meta time { display: block; width: 63px; }

.ksc-slider__arrow {
	position: absolute;
	top: 170px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 50%;
	cursor: pointer;
	z-index: 3;
}

.ksc-slider__arrow--prev { left: 1344px; }
.ksc-slider__arrow--next { left: -72px; }
.ksc-slider__arrow:disabled { cursor: default; }

.ksc-slider__arrow svg {
	display: block;
	width: 48px;
	height: 48px;
}

.ksc-slider__dots {
	position: absolute;
	left: 618px;
	top: 418px;
	display: flex;
	gap: 4px;
	height: 8px;
}

.ksc-slider__dots span {
	display: block;
	width: 16px;
	height: 8px;
	border-radius: 5px;
	background: #ededed;
	cursor: pointer;
	transition: width 0.25s ease, background 0.25s ease;
}

.ksc-slider__dots span.is-active {
	width: 24px;
	background: #2b1d9a;
}

@media (max-width: 1100px) {
	.ksc-blog {
		height: auto;
		padding: 50px 20px 56px;
	}

	.ksc-blog__stage {
		position: relative;
		left: auto;
		top: auto;
		width: auto;
		height: auto;
		margin: 32px auto 0;
		max-width: 1320px;
	}

	.ksc-slider {
		position: relative;
		inset: auto;
		width: 100%;
	}

	.ksc-blog__cards {
		position: static;
		width: auto;
		height: auto;
		margin: 0 -20px;
	}

	.ksc-slider__track { width: 100%; }

	.ksc-blog .ksc-blog__card {
		flex: 0 0 calc((100% - 72px) / 4);
		width: auto;
		height: 388px;
	}

	.ksc-blog .ksc-blog__thumb { width: 100%; height: auto; aspect-ratio: 264 / 180; }
	.ksc-blog__meta { width: auto; right: 24px; }

	.ksc-slider__arrow { top: 40%; }
	.ksc-slider__arrow--prev { left: auto; right: -14px; }
	.ksc-slider__arrow--next { left: -14px; }

	.ksc-slider__dots {
		position: static;
		justify-content: center;
		margin-top: 16px;
	}
}

@media (max-width: 1140px) {
	.ksc-blog .ksc-blog__card { flex-basis: calc((100% - 48px) / 3); }
}

@media (max-width: 940px) {
	.ksc-blog .ksc-blog__card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 640px) {
	.ksc-blog .ksc-blog__card { flex-basis: 100%; }
	.ksc-slider__arrow { width: 40px; height: 40px; }
	.ksc-slider__arrow svg { width: 40px; height: 40px; }
}

/* آیکن تماس هیرو — کادر ۴۸×۴۸ با خط طلایی ۱px و گوشهٔ ۱۲px (فیگمای نهایی) */
.ksc-hero__phone-icon {
	box-sizing: border-box;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px #caa05c;
}

/* آیکن تماس وکیل برتر — کادر ۴۸×۴۸ با خط آبی ۱px و گوشهٔ ۱۲px (فیگمای نهایی) */
.ksc-toplawyer__phone-icon {
	box-sizing: border-box;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px #2b1d9a;
}

/* ==================================================================
   کلیک‌پذیری و انتخاب/کپی متن: لایه‌های تمام‌صحنه (inset:0) که روی متن و دکمه‌ها
   می‌افتادند، رویدادهای ماوس را نمی‌گرفتند و باعث می‌شد دکمه‌ها «دکور» باشند.
   ================================================================== */
.ksc-team__slider,
.ksc-about__media,
.ksc-about__content {
	pointer-events: none;
}
.ksc-team__slider > *,
.ksc-about__media > *,
.ksc-about__content > * {
	pointer-events: auto;
}

/* لینک‌های تلفن/ایمیل داخل ردیف‌ها: ظاهر متن حفظ شود، فقط کلیک‌پذیر باشند */
.ksc-faq__row i a,
.ks-f-val a {
	color: inherit;
	text-decoration: none;
}
.ksc-faq__row i a:hover,
.ks-f-val a:hover {
	text-decoration: underline;
}

@media (max-width: 1500px) {
	.ksc-rel__nav--prev { right: 6px; }
	.ksc-rel__nav--next { left: 6px; }
}

.ksc-cform__f textarea { height: 155px; resize: none; }
.ksc-cform .form-submit { display: flex; justify-content: flex-end; }

/* ---------- Team: چیدمان معکوس (صفحهٔ «درباره ما» در فیگما): متن راست، کارت‌ها چپ ---------- */
@media (min-width: 1101px) {
	.ksc-team--flip .ksc-team__shape { right: auto; left: 0; transform: none; }
	.ksc-team--flip .ksc-team__content { left: auto; right: 0; }
	.ksc-team--flip .ksc-team__more { left: 717px; }
	.ksc-team--flip .ksc-team__cards { left: -20px; }
	.ksc-team--flip .ksc-team__arrow--prev { left: 624px; }
	.ksc-team--flip .ksc-team__arrow--next { left: -24px; }
	.ksc-team--flip .ksc-team__dots { left: 282px; }
}

/* ---------- Mobile overflow fixes ---------- */
@media (max-width: 1100px) {
	.ksc-about .ksc-about__btn { position: static; left: auto; top: auto; align-self: flex-start; }
}
@media (max-width: 640px) {
	.ksc-hero__stats { box-sizing: border-box; width: 100%; padding: 20px 12px; }
	.ksc-hero__stat { flex: 1 1 0; width: auto; min-width: 0; }
	.ksc-hero__stat-sep { margin: 4px 6px 0; }
	.ksc-services__bg { max-width: 100%; }
	.ksc-services { overflow-x: clip; }
}
@media (max-width: 1100px) {
	.ksc-faq .ksc-faq__card .ksc-faq__card-img { opacity: .14; }
	.ksc-faq .ksc-faq__btn { max-width: 100%; }
}
@media (max-width: 900px) {
	.ksc-agal__grid { grid-template-rows: none; grid-auto-rows: auto; gap: 12px; padding-inline: 20px; }
	.page-id-508 .ksc-agal { margin-top: 60px; }
	.page-id-508 .ksc-astats { margin-top: 48px; }
}
@media (max-width: 900px) {
	.e-con:has(> .elementor-widget > .elementor-widget-container > .ksc-agal) { height: auto !important; min-height: 0 !important; }
	.elementor-widget:has(> .elementor-widget-container > .ksc-agal) { flex-shrink: 0; height: auto !important; min-height: 0 !important; }
}
@media (max-width: 900px) {
	.elementor-widget-container:has(> .ksc-agal) { display: flow-root; }
}
@media (max-width: 900px) {
	.ksc-agal__item:nth-child(n) { aspect-ratio: auto; height: calc((min(100vw, 900px) - 52px) / 2); }
}


/* ==================================================================
   هیرو — کانتینر المنتور + ویجت‌های رایگان (عنوان/متن/دکمه/تصویر)
   فقط «کارت آمار» و «بلوک تلفن مشاوره» ویجت اختصاصی‌اند. هندسه = فریم فیگما (۱۵۱۲px).
   ================================================================== */
.ksc-herocon {
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--display: block;
	display: block;
	position: relative;
	direction: rtl;
	height: 800px;
	min-height: 800px;
	overflow: hidden;
	background: #fff;
	padding: 0;
	margin: 0;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}
.ksc-herocon::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	height: 690px;
	width: max(0px, calc(50% - 953px));
	background: #1f156d;
	pointer-events: none;
}
.ksc-herocon .elementor-widget { margin: 0; }

/* شکل خمیدهٔ پس‌زمینه (تصویر + روکش از تنظیمات رایگان کانتینر) */
.ksc-herocon > .ksc-herocon__shape {
	position: absolute;
	top: -200px;
	left: calc(50% - 660px + 224px);
	width: 1392px;
	height: 1000px;
	min-height: 0;
	padding: 0;
	margin: 0;
	transform: scaleX(-1);
	clip-path: path('M0 100C0 44.7715 44.7715 0 100 0L1292 0C1347.23 0 1392 44.7715 1392 100L1392 783.578C1392 835.34 1352.5 878.547 1300.94 883.177L108.944 990.217C50.4201 995.472 0 949.377 0 890.618L0 100Z');
	background-color: #1f156d;
	background-image: url('../img/hero-bg.jpg');
	background-size: cover;
	background-position: center center;
	pointer-events: none;
}

.ksc-herocon > .ksc-herocon__stage {
	--display: block;
	display: block;
	position: relative;
	width: 1320px;
	height: 800px;
	min-height: 0;
	margin: 0 auto;
	padding: 0;
}
.ksc-herocon__stage::before,
.ksc-herocon__stage::after {
	content: '';
	position: absolute;
	border-radius: 1000px;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	pointer-events: none;
}
.ksc-herocon__stage::before {
	left: 0;
	top: 290px;
	width: 460px;
	height: 460px;
	box-shadow: inset 0 0 0 1px #caa05c;
}
.ksc-herocon__stage::after {
	left: 30px;
	top: 320px;
	width: 400px;
	height: 400px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 0 0 0.5px #caa05c;
}

.ksc-herocon .ksc-herocon__portrait {
	position: absolute;
	left: 45px;
	top: 140px;
	width: 369.6px;
	height: 600px;
	margin: 0;
}
.ksc-herocon .ksc-herocon__portrait .elementor-widget-container { padding: 0; }
.ksc-herocon .ksc-herocon__portrait img {
	display: block;
	width: 369.6px;
	height: 600px;
	max-width: none;
	object-fit: cover;
}

/* ستون متن (راست) */
.ksc-herocon > .ksc-herocon__stage > .ksc-herocon__content {
	--display: flex;
	--flex-direction: column;
	--align-items: flex-start;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	position: absolute;
	left: 672px;
	top: 200px;
	width: 648px;
	min-height: 0;
	padding: 0;
	margin: 0;
	text-align: right;
	color: #fff;
}
.ksc-herocon__content .elementor-widget { width: auto; max-width: 100%; }
.ksc-herocon__content .elementor-heading-title { margin: 0; padding: 0; color: #fff; text-align: right; }

.ksc-herocon__pretitle .elementor-heading-title {
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	white-space: nowrap;
}
.ksc-herocon__title { margin-top: 0.5px !important; }
.ksc-herocon__title .elementor-heading-title {
	font-size: 36px;
	font-weight: 800;
	line-height: 48px;
	white-space: nowrap;
}
.ksc-herocon__subtitle { margin-top: 12.5px !important; }
.ksc-herocon__subtitle .elementor-heading-title {
	display: inline-block;
	height: 30px;
	box-sizing: border-box;
	padding: 4px 20px 0;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 100px;
	font-size: 14px;
	font-weight: 400;
	line-height: 21.7px;
	white-space: nowrap;
}
.ksc-herocon__desc { margin-top: 32px !important; width: 646px !important; }
.ksc-herocon__desc,
.ksc-herocon__desc p {
	margin-bottom: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	text-align: right;
}
.ksc-herocon__desc p:last-child { margin-bottom: 0; }

.ksc-herocon > .ksc-herocon__stage > .ksc-herocon__content > .ksc-herocon__actions {
	--display: flex;
	--flex-direction: row;
	--align-items: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 0;
	width: auto;
	height: 48px;
	min-height: 0;
	margin: 32px 0 0;
	padding: 0;
}
.ksc-herocon__btn { width: auto !important; flex: 0 0 auto; }
.ksc-herocon__btn .elementor-button {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	height: 48px;
	padding: 0 24px 0 32px;
	background: #caa05c;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #fff;
	fill: #fff;
	transition: background 0.25s ease;
}
.ksc-herocon__btn .elementor-button:hover { background: #b58c48; color: #fff; }
.ksc-herocon__btn .elementor-button-content-wrapper { gap: 4px; align-items: center; }
.ksc-herocon__btn .elementor-button-content-wrapper::before {
	content: '';
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: url('../fig/svg/9.svg') center / contain no-repeat;
}
.ksc-herocon__btn .elementor-button-content-wrapper:has(.elementor-button-icon)::before { display: none; }

.ksc-herocon__actions .elementor-widget-ksc-phone-box {
	position: relative;
	flex: 0 0 auto;
	margin-inline-start: 89px !important;
}
.ksc-herocon__actions .elementor-widget-ksc-phone-box::before {
	content: '';
	position: absolute;
	inset-inline-start: -45px;
	top: 0;
	width: 1px;
	height: 48px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0));
}

.ksc-herocon .ksc-herocon__stats {
	position: absolute;
	left: 28px;
	top: 654px;
	width: 404px;
	height: 124px;
	margin: 0;
}

/* ---------- ویجت: بلوک تلفن مشاوره ---------- */
.ksc-phonebox {
	display: flex;
	align-items: center;
	gap: 8px;
	direction: rtl;
	color: #fff;
	text-decoration: none;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}
.ksc-phonebox__icon { display: block; flex: 0 0 48px; width: 48px; height: 48px; box-sizing: border-box; border-radius: 12px; box-shadow: inset 0 0 0 1px #caa05c; color: #caa05c; font-size: 22px; line-height: 48px; text-align: center; }
.ksc-phonebox__icon svg { display: block; width: 48px; height: 48px; }
.ksc-phonebox__text { display: block; width: 134px; height: 46px; text-align: right; }
.ksc-phonebox__label { display: block; height: 30px; font-size: 14px; font-weight: 400; line-height: 21.7px; color: #fff; white-space: nowrap; }
.ksc-phonebox__number { display: block; font-size: 14px; font-weight: 700; line-height: 16px; color: #fff; white-space: nowrap; }
.ksc-phonebox__digits { color: #caa05c; }

/* ---------- ویجت: کارت آمار ---------- */
.ksc-hstats {
	box-sizing: border-box;
	width: 404px;
	max-width: 100%;
	height: 124px;
	padding: 24px;
	display: flex;
	direction: ltr;
	align-items: flex-start;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}
.ksc-hstats__item { direction: rtl; flex: 0 0 86px; width: 86px; height: 76px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ksc-hstats__sep { flex: 0 0 1px; width: 1px; height: 68px; margin: 4px 24px 0; background: linear-gradient(180deg, rgba(4, 4, 4, 0), rgba(4, 4, 4, 0.1) 50%, rgba(4, 4, 4, 0)); }
.ksc-hstats__icon { display: block; width: 20px; height: 20px; color: #caa05c; font-size: 20px; line-height: 20px; }
.ksc-hstats__icon svg { display: block; width: 20px; height: 20px; }
.ksc-hstats__num { margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 16px; color: #040404; }
.ksc-hstats__label { margin-top: 12px; font-size: 14px; font-weight: 400; line-height: 16px; color: #828282; white-space: nowrap; }

/* واکنش‌گرایی هیرو کانتینری */
@media (max-width: 1100px) {
	.ksc-herocon {
		zoom: 1;
		height: auto;
		min-height: 0;
		background: #1f156d;
		padding: 110px 20px 40px;
	}
	.ksc-herocon::after,
	.ksc-herocon > .ksc-herocon__shape,
	.ksc-herocon__stage::before,
	.ksc-herocon__stage::after { display: none; }
	.ksc-herocon > .ksc-herocon__stage {
		--display: flex;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px;
		width: auto;
		height: auto;
	}
	.ksc-herocon .ksc-herocon__portrait,
	.ksc-herocon > .ksc-herocon__stage > .ksc-herocon__content,
	.ksc-herocon .ksc-herocon__stats { position: static; width: auto; height: auto; }
	.ksc-herocon .ksc-herocon__portrait { order: -1; width: min(320px, 80%); }
	.ksc-herocon .ksc-herocon__portrait img { width: 100%; height: auto; }
	.ksc-herocon > .ksc-herocon__stage > .ksc-herocon__content { width: 100%; gap: 12px; }
	.ksc-herocon__content .elementor-widget { margin-top: 0 !important; }
	.ksc-herocon__title .elementor-heading-title { font-size: 30px; white-space: normal; }
	.ksc-herocon__subtitle .elementor-heading-title { height: auto; padding: 4px 20px; white-space: normal; }
	.ksc-herocon__desc { width: 100% !important; }
	.ksc-herocon__desc, .ksc-herocon__desc p { font-size: 14px; line-height: 28px; }
	.ksc-herocon > .ksc-herocon__stage > .ksc-herocon__content > .ksc-herocon__actions { flex-wrap: wrap; gap: 20px; height: auto; margin-top: 8px; }
	.ksc-herocon__actions .elementor-widget-ksc-phone-box { margin-inline-start: 0 !important; }
	.ksc-herocon__actions .elementor-widget-ksc-phone-box::before { display: none; }
	.ksc-herocon .ksc-herocon__stats { order: 5; max-width: 100%; }
}
@media (max-width: 640px) {
	.ksc-hstats { width: 100%; padding: 20px 12px; height: auto; }
	.ksc-hstats__item { flex: 1 1 0; width: auto; min-width: 0; }
	.ksc-hstats__sep { margin: 4px 6px 0; }
}


/* هیرو کانتینری — خنثی‌سازی پدینگ/گپ پیش‌فرض کانتینر المنتور */
.ksc-herocon,
.ksc-herocon .e-con {
	padding: 0 !important;
	row-gap: 0 !important;
	column-gap: 0 !important;
	gap: 0 !important;
}
.ksc-herocon__desc p,
.ksc-herocon__desc .elementor-widget-container { margin: 0 !important; padding: 0 !important; }
@media (max-width: 1100px) {
	.ksc-herocon { padding: 110px 20px 40px !important; }
	.ksc-herocon > .ksc-herocon__stage { gap: 24px !important; row-gap: 24px !important; }
	.ksc-herocon > .ksc-herocon__stage > .ksc-herocon__content { gap: 12px !important; row-gap: 12px !important; }
	.ksc-herocon .ksc-herocon__actions { gap: 20px !important; row-gap: 20px !important; column-gap: 20px !important; }
}

/* هیرو کانتینری — حلقه‌ها زیر تصویر و کارت آمار */
.ksc-herocon__stage > .elementor-element { z-index: 1; }
@media (max-width: 640px) {
	.ksc-herocon .ksc-herocon__stats { width: 100% !important; }
}


/* ==================================================================
   خدمات — کانتینر المنتور + عنوان‌های رایگان + چهار «کارت خدمت» جدا
   ================================================================== */
.ksc-svc,
.ksc-svc .e-con {
	padding: 0 !important;
	gap: 0 !important;
	row-gap: 0 !important;
	column-gap: 0 !important;
}
.ksc-svc {
	--display: block;
	display: block;
	position: relative;
	direction: rtl;
	height: 500px;
	min-height: 0;
	box-sizing: border-box;
	padding-top: 100px !important;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}
.ksc-svc .elementor-widget { margin: 0; }
.ksc-svc > .ksc-svc__bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 744px;
	height: 600px;
	min-height: 0;
	z-index: 0;
	pointer-events: none;
	background: url('../icons/services-bg.svg') left top / 100% 100% no-repeat;
}
.ksc-svc > .ksc-svc__head,
.ksc-svc > .ksc-svc__grid { position: relative; z-index: 1; }
.ksc-svc > .ksc-svc__head {
	--display: flex;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
}
.ksc-svc__head .elementor-widget { width: auto; max-width: 100%; }
.ksc-svc__head .elementor-heading-title { margin: 0; padding: 0; text-align: center; }
.ksc-svc__badge .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 24px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #1f156d;
	white-space: nowrap;
}
.ksc-svc__badge .elementor-heading-title::before {
	content: '';
	flex: 0 0 16px;
	width: 16px;
	height: 4px;
	border-radius: 2px;
	background: currentColor;
}
.ksc-svc__title { margin-top: 4px !important; }
.ksc-svc__title .elementor-heading-title { font-size: 32px; font-weight: 800; line-height: 35px; color: #000; }
.ksc-svc__sub .elementor-heading-title { font-size: 20px; font-weight: 300; line-height: 35px; color: #828282; }

.ksc-svc > .ksc-svc__grid {
	--display: flex;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 24px !important;
	row-gap: 24px !important;
	column-gap: 24px !important;
	width: 100%;
	margin: 30px 0 0;
}
.ksc-svc__grid > .elementor-widget { width: 312px; flex: 0 0 312px; }
.ksc-svc__grid > .elementor-widget:nth-child(n+3) .ksc-service {
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}
.ksc-svc__grid .elementor-widget-container { padding: 0; }

@media (max-width: 1100px) {
	.ksc-svc { height: auto; padding-bottom: 60px !important; }
	.ksc-svc > .ksc-svc__grid { padding-inline: 20px !important; box-sizing: border-box; }
}
@media (max-width: 1024px) {
	.ksc-svc__grid > .elementor-widget { flex-basis: calc(50% - 12px); width: calc(50% - 12px); max-width: 312px; }
}
@media (max-width: 600px) {
	.ksc-svc__grid > .elementor-widget { flex-basis: 100%; width: 100%; max-width: 312px; }
	.ksc-svc__title .elementor-heading-title { font-size: 24px; }
	.ksc-svc__sub .elementor-heading-title { font-size: 16px; }
	.ksc-svc__grid .ksc-service { width: auto; }
}
.ksc-svc { overflow-x: clip; }
.ksc-svc > .ksc-svc__grid { --flex-direction: row; --flex-wrap: wrap; --justify-content: center; --align-items: flex-start; flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; align-items: flex-start !important; }
.ksc-svc > .ksc-svc__head { --flex-direction: column; --align-items: center; flex-direction: column !important; align-items: center !important; }
@media (min-width: 1101px) { .ksc-svc { height: 500px !important; min-height: 500px !important; } }



/* ==================================================================
   نظرات موکلین — کانتینر المنتور + عنوان‌های رایگان + هر کارت یک ویجت «کارت نظر موکل»
   ================================================================== */
.ksc-testis,
.ksc-testis .e-con {
	padding: 0 !important;
	gap: 0 !important;
	row-gap: 0 !important;
	column-gap: 0 !important;
}
.ksc-testis.e-con {
	--display: block;
	display: block;
	position: relative;
	height: 560px;
	min-height: 560px;
	box-sizing: border-box;
	padding-top: 50px !important;
	direction: rtl;
}
.ksc-testis .elementor-widget { margin: 0; }
.ksc-testis > .ksc-testis__bg.e-con {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 312px;
	min-height: 0;
	pointer-events: none;
	background: url('../fig/testi-bg.jpg') 0 0 / 100% 100% no-repeat;
}
.ksc-testis > .ksc-testis__head.e-con {
	--display: flex;
	display: flex;
	flex-direction: column !important;
	align-items: center !important;
	position: relative;
	z-index: 1;
	width: 100%;
	text-align: center;
}
.ksc-testis__head .elementor-widget { width: auto; max-width: 100%; }
.ksc-testis__head .elementor-heading-title { margin: 0; padding: 0; text-align: center; }
.ksc-testis > .ksc-testis__stage.e-con {
	--display: block;
	display: block;
	position: absolute;
	left: 50%;
	top: 178px;
	width: 1320px;
	height: 382px;
	min-height: 0;
	margin: 0 0 0 -660px;
	z-index: 1;
}
.ksc-testis__stage > .ksc-testis__slider.e-con {
	--display: block;
	display: block;
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	min-height: 0;
}
.ksc-testis__slider > .ksc-testis__cards.e-con {
	--display: block;
	display: block;
	position: absolute;
	left: -20px;
	top: -20px;
	width: 1360px;
	height: 256px;
	min-height: 0;
	box-sizing: border-box;
	padding: 20px !important;
	overflow: hidden;
}
.ksc-testis__cards > .ksc-testis__grid.e-con {
	--display: flex;
	display: flex;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 24px !important;
	row-gap: 24px !important;
	column-gap: 24px !important;
	direction: rtl;
	width: max-content !important;
	max-width: none;
	min-height: 0;
	transition: transform 0.45s ease;
}
.ksc-testis__grid > .elementor-widget { flex: 0 0 312px; width: 312px; max-width: none; }
.ksc-testis__grid .elementor-widget-container { padding: 0; }
.ksc-testis__grid .ksc-testis__card { width: 100%; }
/* فلش/نقطه‌ها نسبت به خود اسلایدر چیده می‌شوند */
.elementor-widget-ksc-slider-nav,
.elementor-widget-ksc-slider-nav > .elementor-widget-container { display: contents; }

/* دکمهٔ «مشاهده بیشتر» = دکمهٔ رایگان المنتور */
.ksc-testis__stage > .ksc-testis__morew {
	position: absolute;
	left: 570.5px;
	top: 284px;
	width: 180px !important;
	height: 48px;
	margin: 0;
}
.ksc-testis__morew .elementor-button {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 180px;
	height: 48px;
	padding: 0 24px 0 32px;
	background: transparent;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #2b1d9a;
	color: #2b1d9a;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	direction: ltr;
}
.ksc-testis__morew .elementor-button:hover { background: #2b1d9a; color: #fff; }
.ksc-testis__morew .elementor-button-content-wrapper { gap: 4px; direction: ltr; align-items: center; }
.ksc-testis__morew .elementor-button-text { display: block; width: 100px; direction: rtl; text-align: left; white-space: nowrap; }
.ksc-testis__morew .elementor-button-content-wrapper::after {
	content: '';
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: url('../fig/svg/27.svg') center / contain no-repeat;
}

@media (max-width: 1100px) {
	.ksc-testis.e-con { height: auto; min-height: 0; padding: 50px 20px 56px !important; }
	.ksc-testis > .ksc-testis__bg.e-con { background-size: cover; }
	.ksc-testis > .ksc-testis__stage.e-con {
		--display: flex;
		display: flex;
		flex-direction: column !important;
		align-items: center !important;
		position: relative;
		left: auto;
		top: auto;
		width: auto;
		height: auto;
		margin: 32px auto 0;
		max-width: 1320px;
		gap: 24px !important;
		row-gap: 24px !important;
	}
	.ksc-testis__stage > .ksc-testis__slider.e-con { position: relative; inset: auto; width: 100%; }
	.ksc-testis__slider > .ksc-testis__cards.e-con { position: static; width: auto; height: auto; margin: 0 -20px; }
	.ksc-testis__cards > .ksc-testis__grid.e-con { width: 100% !important; }
	.ksc-testis__grid > .elementor-widget { flex: 0 0 calc((100% - 72px) / 4); width: auto; }
	.ksc-testis__grid .ksc-testis__card { height: auto; min-height: 216px; }
	.ksc-testis__stage > .ksc-testis__morew { position: static; }
}
@media (max-width: 1140px) { .ksc-testis__grid > .elementor-widget { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 940px) { .ksc-testis__grid > .elementor-widget { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .ksc-testis__grid > .elementor-widget { flex-basis: 100%; } }


/* ==================================================================
   پرسش و پاسخ — کانتینر المنتور: عنوان/لینک رایگان + «لیست سوالات» + «کارت پاسخگوی سوالات» (هر کدام ویجت)
   ================================================================== */
.ksc-faq.e-con,
.ksc-faq .e-con {
	padding: 0 !important;
	gap: 0 !important;
	row-gap: 0 !important;
	column-gap: 0 !important;
}
.ksc-faq.e-con {
	--display: block;
	display: block;
	position: relative;
	height: 554px;
	min-height: 554px;
	direction: rtl;
}
.ksc-faq .elementor-widget { margin: 0; }
.ksc-faq > .ksc-faq__stage.e-con {
	--display: block;
	display: block;
	position: relative;
	width: 1320px;
	height: 454px;
	min-height: 0;
	margin: 0 auto;
}
.ksc-faq__stage > .ksc-faqc__head {
	position: absolute;
	left: 1093px;
	top: 0;
	width: 227px !important;
	height: 24px;
}
.ksc-faqc__head .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 800;
	color: #040404;
	white-space: nowrap;
}
.ksc-faqc__head .elementor-heading-title::before {
	content: '';
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	background: url('../fig/svg/33.svg') center / contain no-repeat;
}
.ksc-faq__stage > .ksc-faqc__archive {
	position: absolute;
	left: 672px;
	top: 2px;
	width: 106px !important;
	height: 20px;
}
.ksc-faqc__archive .elementor-button {
	display: flex;
	align-items: center;
	height: 20px;
	padding: 0;
	background: none;
	color: #828282;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	box-shadow: none;
}
.ksc-faqc__archive .elementor-button:hover { background: none; color: #2b1d9a; }
.ksc-faqc__archive .elementor-button-content-wrapper { gap: 4px; align-items: center; }
.ksc-faqc__archive .elementor-button-text { display: block; width: 82px; white-space: nowrap; }
.ksc-faqc__archive .elementor-button-content-wrapper::after {
	content: '';
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: url('../fig/svg/34.svg') center / contain no-repeat;
}
.ksc-faq__stage > .ksc-faqc__list {
	position: absolute;
	left: 672px;
	top: 48px;
	width: 648px !important;
}
.ksc-faqc__list .ksc-faq__list { position: static; left: auto; top: auto; width: 100%; }
.ksc-faq__stage > .ksc-faqc__card {
	position: absolute;
	left: 0;
	top: 0;
	width: 648px !important;
	height: 454px;
}
.ksc-faqc__card .elementor-widget-container { height: 100%; padding: 0; }
.ksc-faqc__card .ksc-faq__card { position: relative; left: auto; top: auto; width: 648px; height: 454px; }

@media (max-width: 1100px) {
	.ksc-faq.e-con { height: auto; min-height: 0; padding: 40px 20px !important; }
	.ksc-faq > .ksc-faq__stage.e-con {
		--display: flex;
		display: flex;
		flex-direction: column !important;
		width: auto;
		height: auto;
		max-width: 760px;
		gap: 24px !important;
		row-gap: 24px !important;
	}
	.ksc-faq__stage > .ksc-faqc__head,
	.ksc-faq__stage > .ksc-faqc__archive,
	.ksc-faq__stage > .ksc-faqc__list,
	.ksc-faq__stage > .ksc-faqc__card { position: static; width: auto !important; height: auto; }
	.ksc-faq__stage > .ksc-faqc__head { order: 1; }
	.ksc-faq__stage > .ksc-faqc__archive { order: 2; align-self: flex-start; width: auto !important; }
	.ksc-faq__stage > .ksc-faqc__list { order: 3; }
	.ksc-faq__stage > .ksc-faqc__card { order: 4; }
	.ksc-faqc__card .ksc-faq__card { width: auto; height: auto; min-height: 454px; padding: 46px 24px 32px; position: relative; }
}
@media (min-width: 1101px) { .ksc-faq.e-con { height: 554px !important; } }

/* فونت قالب برای ویجت‌های رایگان المنتور (کیت المنتور پیش‌فرض Roboto می‌گذارد و فارسی را خراب می‌کند).
   اگر کاربر در خود ویجت فونت انتخاب کند، آن اولویت دارد. */
.elementor .elementor-widget-heading .elementor-heading-title,
.elementor .elementor-widget-text-editor,
.elementor .elementor-widget-button .elementor-button,
.elementor .elementor-widget-button .elementor-button-text {
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}


/* ==================================================================
   صفحه اصلی: همهٔ سربرگ‌ها = یک ویجت «ویرایشگر متن» رایگان المنتور
   ================================================================== */
.elementor-widget-text-editor .ksc-sec-head { text-align: center; }
.elementor-widget-text-editor .ksc-sec-head > * { text-align: center; }
.ksc-storiesc.e-con {
	--display: block;
	display: block;
	position: relative;
	height: 356px;
	min-height: 356px;
	box-sizing: border-box;
	padding: 78px 0 0 !important;
	direction: rtl;
}
.ksc-storiesc .elementor-widget { margin: 0; }
.ksc-storiesc > .elementor-widget-ksc-stories-track { width: 100%; }
.ksc-svc > .ksc-svc__head.elementor-widget { width: 100%; }
.ksc-svc__head .ksc-sec-head__title { margin-top: 4px; }

/* ---------- درباره وکیل (کانتینر + ویجت‌های رایگان) ---------- */
.ksc-aboutc.e-con {
	--display: block;
	display: block;
	position: relative;
	height: 1007px;
	min-height: 1007px;
	box-sizing: border-box;
	padding: 100px 0 0 !important;
	direction: rtl;
}
.ksc-aboutc .elementor-widget { margin: 0; }
.ksc-aboutc > .ksc-about__shape.e-con {
	position: absolute;
	right: 0;
	top: 228px;
	left: auto;
	width: 638px;
	height: 600px;
	min-height: 0;
	padding: 0 !important;
	z-index: 0;
	pointer-events: none;
	background: url('../icons/about-media-bg.svg') center / 100% 100% no-repeat;
}
.ksc-aboutc > .ksc-aboutc__head { position: relative; z-index: 1; width: 100%; }
.ksc-aboutc > .ksc-about__grid.e-con {
	--display: block;
	display: block;
	position: relative;
	z-index: 1;
	width: 1320px;
	max-width: 100%;
	height: 523px;
	min-height: 0;
	margin: 54px auto 0;
	padding: 0 !important;
}
.ksc-about__grid > .ksc-about__ring.e-con {
	position: absolute;
	left: 1047px;
	top: 100px;
	width: 222px;
	height: 222px;
	min-height: 0;
	padding: 0 !important;
	box-sizing: border-box;
	border: 2px solid #d8d8d8;
	border-radius: 50%;
	pointer-events: none;
}
.ksc-about__grid > .ksc-about__dots.e-con {
	position: absolute;
	left: 1094px;
	top: 141px;
	width: 140px;
	height: 50px;
	min-height: 0;
	padding: 0 !important;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 140 50%22 width=%22140%22 height=%2250%22 fill=%22%23d8d8d8%22%3E%3Ccircle cx=%222.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%2217.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%2232.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%2247.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%2262.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%2277.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%2292.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%22107.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%22122.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%22137.5%22 cy=%2247.5%22 r=%222.5%22/%3E%3Ccircle cx=%2217.5%22 cy=%2232.5%22 r=%222.5%22/%3E%3Ccircle cx=%2232.5%22 cy=%2232.5%22 r=%222.5%22/%3E%3Ccircle cx=%2247.5%22 cy=%2232.5%22 r=%222.5%22/%3E%3Ccircle cx=%2262.5%22 cy=%2232.5%22 r=%222.5%22/%3E%3Ccircle cx=%2277.5%22 cy=%2232.5%22 r=%222.5%22/%3E%3Ccircle cx=%2292.5%22 cy=%2232.5%22 r=%222.5%22/%3E%3Ccircle cx=%22107.5%22 cy=%2232.5%22 r=%222.5%22/%3E%3Ccircle cx=%22122.5%22 cy=%2232.5%22 r=%222.5%22/%3E%3Ccircle cx=%2232.5%22 cy=%2217.5%22 r=%222.5%22/%3E%3Ccircle cx=%2247.5%22 cy=%2217.5%22 r=%222.5%22/%3E%3Ccircle cx=%2262.5%22 cy=%2217.5%22 r=%222.5%22/%3E%3Ccircle cx=%2277.5%22 cy=%2217.5%22 r=%222.5%22/%3E%3Ccircle cx=%2292.5%22 cy=%2217.5%22 r=%222.5%22/%3E%3Ccircle cx=%22107.5%22 cy=%2217.5%22 r=%222.5%22/%3E%3Ccircle cx=%2247.5%22 cy=%222.5%22 r=%222.5%22/%3E%3Ccircle cx=%2262.5%22 cy=%222.5%22 r=%222.5%22/%3E%3Ccircle cx=%2277.5%22 cy=%222.5%22 r=%222.5%22/%3E%3Ccircle cx=%2292.5%22 cy=%222.5%22 r=%222.5%22/%3E%3C/svg%3E") 0 0 / 140px 50px no-repeat;
}
.ksc-about__grid > .elementor-widget-ksc-about-video { position: absolute; left: 670px; top: 0; width: 312px; height: 312px; }
.ksc-aboutc .ksc-about__video { position: relative; left: auto; top: auto; width: 312px; height: 312px; }
.ksc-about__grid > .ksc-about__photo.elementor-widget { position: absolute; left: 1008px; top: 211px; width: 312px; height: 312px; border-radius: 16px; overflow: hidden; }
.ksc-about__grid > .ksc-about__photo .elementor-widget-container { height: 100%; }
.ksc-about__grid > .ksc-about__intro.elementor-widget { position: absolute; left: 0; top: 0; width: 626px; height: 244px; box-shadow: inset 0 0 0 1px #ededed; }
.ksc-about__intro .ksc-about__pill,
.ksc-about__intro .ksc-about__heading,
.ksc-about__intro .ksc-about__text { margin: 0; }
.ksc-about__grid > .ksc-about__feature.elementor-widget { position: absolute; left: 116px; width: 510px; height: 50px; margin: 0; }
.ksc-about__grid > .ksc-about__feature--1 { top: 260px; }
.ksc-about__grid > .ksc-about__feature--2 { top: 326px; }
.ksc-about__feature .elementor-image-box-wrapper { display: flex; flex-direction: row; align-items: center; gap: 12px; direction: rtl; text-align: right; }
.ksc-about__feature .elementor-image-box-img { flex: 0 0 50px; width: 50px; height: 50px; margin: 0 !important; }
.ksc-about__feature .elementor-image-box-img img { display: block; width: 50px; height: 50px; }
.ksc-about__feature .elementor-image-box-content { flex: 0 0 448px; width: 448px; text-align: right; }
.ksc-about__feature .elementor-image-box-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: #000; white-space: nowrap; }
.ksc-about__feature .elementor-image-box-description { margin: 4px 0 0; font-size: 14px; line-height: 20px; font-weight: 400; color: #828282; white-space: nowrap; }
.ksc-about__grid > .ksc-aboutc__btn.elementor-widget { position: absolute; left: 437px; top: 416px; width: 189px; height: 48px; }
.ksc-aboutc__btn .elementor-button {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 189px;
	height: 48px;
	padding: 0 24px 0 32px;
	background: transparent;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #2b1d9a;
	color: #2b1d9a;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	direction: rtl;
}
.ksc-aboutc__btn .elementor-button:hover { background: #2b1d9a; color: #fff; }
.ksc-aboutc__btn .elementor-button-content-wrapper { gap: 4px; align-items: center; direction: rtl; }
.ksc-aboutc__btn .elementor-button-content-wrapper::before {
	content: '';
	order: -1;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: url('../icons/arrow-btn.svg') center / contain no-repeat;
}
@media (max-width: 1100px) {
	.ksc-aboutc.e-con { height: auto; min-height: 0; padding: 100px 0 60px !important; }
	.ksc-aboutc > .ksc-about__shape.e-con { display: none; }
	.ksc-aboutc > .ksc-about__grid.e-con {
		--display: flex;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 20px;
		width: auto;
		height: auto;
		margin: 40px 20px 0;
	}
	.ksc-about__grid > .ksc-about__ring.e-con,
	.ksc-about__grid > .ksc-about__dots.e-con { display: none; }
	.ksc-about__grid > .elementor-widget-ksc-about-video,
	.ksc-about__grid > .ksc-about__photo.elementor-widget,
	.ksc-about__grid > .ksc-about__intro.elementor-widget,
	.ksc-about__grid > .ksc-about__feature.elementor-widget,
	.ksc-about__grid > .ksc-aboutc__btn.elementor-widget { position: relative; left: auto; top: auto; width: auto; height: auto; max-width: 100%; }
	.ksc-about__grid > .elementor-widget-ksc-about-video { align-self: center; width: 312px; max-width: 100%; }
	.ksc-about__grid > .ksc-about__photo.elementor-widget { align-self: center; width: 312px; }
	.ksc-about__grid > .ksc-about__photo img { width: 100%; height: auto; }
	.ksc-about__grid > .ksc-about__intro.elementor-widget { box-shadow: none; }
	.ksc-about__intro .ksc-about__pill,
	.ksc-about__intro .ksc-about__heading,
	.ksc-about__intro .ksc-about__text { position: static; width: auto; display: block; margin-bottom: 12px; }
	.ksc-about__feature .elementor-image-box-content { flex: 1 1 auto; width: auto; }
	.ksc-about__feature .elementor-image-box-title,
	.ksc-about__feature .elementor-image-box-description { white-space: normal; }
	.ksc-about__grid > .ksc-aboutc__btn.elementor-widget { align-self: flex-start; }
}

/* ---------- FAQ: عنوان + لینک آرشیو + لیست = یک ویجت ---------- */
.ksc-faq__stage > .ksc-faqc__list { top: 0 !important; }
.ksc-faql__head { display: flex; align-items: center; justify-content: space-between; height: 24px; margin-bottom: 24px; direction: rtl; }
.ksc-faql__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; line-height: 24px; font-weight: 800; color: #040404; white-space: nowrap; }
.ksc-faql__title::before { content: ''; flex: 0 0 24px; width: 24px; height: 24px; background: url('../fig/svg/33.svg') center / contain no-repeat; }
.ksc-faql__archive { display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: #828282; text-decoration: none; }
.ksc-faql__archive:hover { color: #2b1d9a; }
.ksc-faql__archive::after { content: ''; flex: 0 0 20px; width: 20px; height: 20px; background: url('../fig/svg/34.svg') center / contain no-repeat; }
@media (max-width: 1100px) { .ksc-faql__head { margin-bottom: 16px; } }

/* ---------- وبلاگ (کانتینر + سربرگ رایگان + اسلایدر کارت‌ها) ---------- */
.ksc-blogc.e-con {
	--display: block;
	display: block;
	position: relative;
	height: 706px;
	min-height: 706px;
	box-sizing: border-box;
	padding: 50px 0 0 !important;
	direction: rtl;
}
.ksc-blogc .elementor-widget { margin: 0; }
.ksc-blogc > .ksc-blogc__head { width: 100%; }
.ksc-blogc > .elementor-widget-ksc-blog-slider { margin-top: 30px; }
@media (min-width: 1101px) {
	.ksc-blogc .ksc-blog__stage { position: relative; left: auto; top: auto; margin: 0 auto; width: 1320px; max-width: 100%; }
}
@media (max-width: 1100px) {
	.ksc-blogc.e-con { height: auto; min-height: 0; padding: 50px 20px 56px !important; }
	.ksc-blogc > .elementor-widget-ksc-blog-slider { margin-top: 0; }
}

/* ---------- وکلای ما (کانتینر + متن رایگان + کارت‌های Image Box) ---------- */
.ksc-teamc.e-con {
	--display: block;
	display: block;
	position: relative;
	height: 638px;
	min-height: 638px;
	box-sizing: border-box;
	padding: 0 !important;
	direction: rtl;
}
.ksc-teamc .elementor-widget { margin: 0; }
.ksc-teamc > .ksc-team__shape.e-con {
	position: absolute;
	right: 0;
	top: 0;
	width: 744px;
	height: 600px;
	min-height: 0;
	padding: 0 !important;
	transform: scaleX(-1);
	z-index: 0;
	pointer-events: none;
	background: url('../fig/svg/15.svg') center / 100% 100% no-repeat;
}
.ksc-teamc > .ksc-team__stage.e-con {
	--display: block;
	display: block;
	position: relative;
	z-index: 1;
	width: 1320px;
	max-width: 100%;
	height: 600px;
	min-height: 0;
	margin: 0 auto;
	padding: 0 !important;
	direction: rtl;
}
.ksc-team__stage > .ksc-team__slider.e-con { --display: block; display: block; position: absolute; inset: 0; width: auto; height: auto; min-height: 0; padding: 0 !important; pointer-events: none; }
.ksc-team__slider > * { pointer-events: auto; }
.ksc-team__slider > .ksc-team__cards.e-con {
	--display: block;
	display: block;
	position: absolute;
	left: 652px;
	top: 80px;
	width: 688px;
	height: 440px;
	min-height: 0;
	box-sizing: border-box;
	padding: 20px !important;
	overflow: hidden;
}
.ksc-team__cards > .ksc-team__track.e-con {
	--display: flex;
	display: flex;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 24px !important;
	width: max-content;
	max-width: none;
	min-height: 0;
	padding: 0 !important;
	transition: transform 0.45s ease;
}
.ksc-team__track > .ksc-team__card.elementor-widget {
	flex: 0 0 312px;
	width: 312px !important;
	height: 400px;
	box-sizing: border-box;
	padding: 16px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}
.ksc-team__card .elementor-image-box-wrapper { display: block; text-align: center; }
.ksc-team__card .elementor-image-box-img { display: block; width: 280px; height: 280px; margin: 0 !important; border-radius: 12px; overflow: hidden; }
.ksc-team__card .elementor-image-box-img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.ksc-team__card .elementor-image-box-content { margin-top: 16px; text-align: center; width: auto; }
.ksc-team__card .elementor-image-box-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: #040404; white-space: nowrap; }
.ksc-team__card .elementor-image-box-title a { color: inherit; }
.ksc-team__card .elementor-image-box-description { margin: 8px 0 0; height: 40px; font-size: 14px; line-height: 20px; font-weight: 400; color: #828282; overflow: hidden; }
.ksc-team__stage > .ksc-team__content.elementor-widget { position: absolute; left: -1px; top: 160px; width: 603px; z-index: 2; }
.ksc-team__content .ksc-team__pill { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: #040404; text-align: right; }
.ksc-team__content .ksc-team__heading { margin: 16px 0 0; font-size: 24px; line-height: 32px; font-weight: 800; color: #2b1d9a; text-align: right; white-space: nowrap; }
.ksc-team__content .ksc-team__text { margin: 16px 0 0; font-size: 16px; line-height: 28px; font-weight: 400; color: #828282; text-align: justify; }
.ksc-team__stage > .ksc-teamc__more.elementor-widget { position: absolute; left: 405px; top: 392px; width: 197px !important; height: 48px; z-index: 2; }
.ksc-teamc__more .elementor-button {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 197px;
	height: 48px;
	padding: 0 24px 0 32px;
	background: transparent;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #2b1d9a;
	color: #2b1d9a;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	direction: ltr;
}
.ksc-teamc__more .elementor-button:hover { background: #2b1d9a; color: #fff; }
.ksc-teamc__more .elementor-button-content-wrapper { gap: 4px; direction: ltr; align-items: center; }
.ksc-teamc__more .elementor-button-text { display: block; width: 117px; direction: rtl; text-align: left; white-space: nowrap; }
.ksc-teamc__more .elementor-button-content-wrapper::after { content: ''; flex: 0 0 20px; width: 20px; height: 20px; background: url('../fig/svg/27.svg') center / contain no-repeat; }
@media (min-width: 1101px) {
	.ksc-team--flip.ksc-teamc > .ksc-team__shape.e-con { right: auto; left: 0; transform: none; }
	.ksc-team--flip .ksc-team__stage > .ksc-team__content.elementor-widget { left: auto; right: 0; }
	.ksc-team--flip .ksc-team__stage > .ksc-teamc__more.elementor-widget { left: 717px; }
	.ksc-team--flip .ksc-team__slider > .ksc-team__cards.e-con { left: -20px; }
	.ksc-team--flip .ksc-team__arrow--prev { left: 624px; }
	.ksc-team--flip .ksc-team__arrow--next { left: -24px; }
	.ksc-team--flip .ksc-team__dots { left: 282px; }
}
@media (max-width: 1100px) {
	.ksc-teamc.e-con { height: auto; min-height: 0; padding: 48px 20px 56px !important; }
	.ksc-teamc > .ksc-team__shape.e-con { display: none; }
	.ksc-teamc > .ksc-team__stage.e-con { --display: flex; display: flex; flex-direction: column; gap: 24px; width: auto; max-width: 760px; height: auto; }
	.ksc-team__stage > .ksc-team__content.elementor-widget { position: static; width: auto; }
	.ksc-team__content .ksc-team__heading { white-space: normal; }
	.ksc-team__stage > .ksc-team__slider.e-con { position: relative; inset: auto; order: 2; width: 100%; pointer-events: auto; }
	.ksc-team__slider > .ksc-team__cards.e-con { position: static; width: auto; height: auto; margin: 0 -20px; }
	.ksc-team__cards > .ksc-team__track.e-con { width: 100%; }
	.ksc-team__track > .ksc-team__card.elementor-widget { flex: 0 0 calc((100% - 24px) / 2); width: auto !important; height: auto; padding-bottom: 20px; }
	.ksc-team__card .elementor-image-box-img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
	.ksc-team__card .elementor-image-box-description { height: auto; }
	.ksc-team__stage > .ksc-teamc__more.elementor-widget { position: static; order: 3; align-self: flex-start; }
	.ksc-team__slider .ksc-team__arrow { top: 40%; }
	.ksc-team__slider .ksc-team__arrow--prev { left: auto; right: -12px; }
	.ksc-team__slider .ksc-team__arrow--next { left: -12px; }
	.ksc-team__slider .ksc-team__dots { position: static; justify-content: center; margin-top: 16px; }
}
@media (max-width: 640px) {
	.ksc-team__track > .ksc-team__card.elementor-widget { flex-basis: 100%; }
}

/* Image Box / Icon Box / Counter: فونت و رنگ قالب (کیت المنتور آبی/Roboto می‌گذارد) */
.elementor .elementor-widget-image-box .elementor-image-box-title,
.elementor .elementor-widget-image-box .elementor-image-box-description,
.elementor .elementor-widget-icon-box .elementor-icon-box-title,
.elementor .elementor-widget-icon-box .elementor-icon-box-description,
.elementor .elementor-widget-counter .elementor-counter-number-wrapper,
.elementor .elementor-widget-counter .elementor-counter-title {
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
}
.ksc-aboutc .ksc-about__feature .elementor-image-box-title { color: #000; font-size: 16px; line-height: 24px; font-weight: 700; margin: 0; }
.ksc-aboutc .ksc-about__feature .elementor-image-box-description { color: #828282; font-size: 14px; line-height: 20px; font-weight: 400; margin: 4px 0 0; }
.ksc-team__stage .ksc-team__card .elementor-image-box-title { color: #040404; font-size: 16px; line-height: 24px; font-weight: 700; margin: 0; }
.ksc-team__stage .ksc-team__card .elementor-image-box-description { color: #828282; font-size: 14px; line-height: 20px; font-weight: 400; margin: 8px 0 0; }
.ksc-team__card .elementor-image-box-img { width: 280px !important; max-width: 100% !important; height: 280px; }
.ksc-team__card .elementor-image-box-img > a { display: block; width: 100%; height: 100%; }
.ksc-about__feature .elementor-image-box-img { width: 50px !important; }
@media (max-width: 1100px) { .ksc-team__card .elementor-image-box-img { width: 100% !important; height: auto; } }


/* ==================================================================
   صفحهٔ «درباره ما»: اینترو، آمار (Counter رایگان)، گالری
   ================================================================== */
.ksc-aintroc.e-con {
	--display: block;
	display: block;
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 872px;
	margin: -97px auto 0;
	padding: 0 !important;
	direction: rtl;
	text-align: center;
}
.ksc-aintroc .elementor-widget { margin: 0; }
.ksc-aintroc__text .ksc-aintro__text p, .ksc-aintroc__text .ksc-aintro__body p { text-align: center; }
.ksc-aintroc__text { margin-top: 0; }
.ksc-aintroc__text button.ksc-aintro__more { margin-top: 22px; }
.elementor-widget-ksc-about-media .ksc-modal[hidden] { display: none; }

.ksc-astatsc.e-con {
	--display: block;
	display: block;
	position: relative;
	padding: 40px 0 90px !important;
	overflow-x: clip;
	direction: rtl;
}
.ksc-astatsc .elementor-widget { margin: 0; }
.ksc-astatsc > .ksc-astats__blob.e-con {
	position: absolute;
	top: -197px;
	left: calc(50% + 118px);
	width: 760px;
	height: 700px;
	min-height: 0;
	padding: 0 !important;
	z-index: 0;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 760 700%22 width=%22760%22 height=%22700%22 fill=%22none%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220.5%22 y1=%220.1428%22 x2=%220.5%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23ffffff%22/%3E%3Cstop offset=%221%22 stop-color=%22%23eae8f5%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d=%22M0 100C0 44.7715 44.7715 0 100 0L660 0C715.229 0 760 44.7715 760 100L760 445.409C760 491.993 727.835 532.406 682.439 542.859L122.439 671.807C59.7896 686.233 0 638.646 0 574.357L0 100Z%22 fill=%22url%28%23g%29%22/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.ksc-astatsc > .ksc-astats__wrap.e-con {
	--display: flex;
	display: flex;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px !important;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 !important;
}
.ksc-astats__wrap > .ksc-astats__head.elementor-widget { width: 312px; flex: 0 0 312px; text-align: right; padding-top: 15px; }
.ksc-astats__wrap > .ksc-astats__cards.e-con {
	--display: flex;
	display: flex;
	flex-direction: row-reverse !important;
	flex-wrap: nowrap !important;
	gap: 52px !important;
	width: auto;
	margin-top: -4px;
	padding: 0 !important;
	min-height: 0;
}
.ksc-astats__head .ksc-astats__eyebrow, .ksc-astats__head .ksc-astats__title, .ksc-astats__head .ksc-astats__desc { text-align: right; }
.ksc-astats__cards > .ksc-astats__card.elementor-widget { position: relative; width: 200px !important; height: 200px; flex: 0 0 200px; }
.ksc-astats__card::before {
	content: '';
	position: absolute;
	right: -28px;
	bottom: -28px;
	width: 128px;
	height: 124px;
	border-radius: 12px;
	z-index: 0;
}
.ksc-astats__card--purple::before { background: linear-gradient(-135deg, #8c84e1 0%, rgba(140,132,225,0) 74.76%); }
.ksc-astats__card--orange::before { background: linear-gradient(-135deg, #ff8b42 0%, rgba(255,139,66,0) 74.76%); }
.ksc-astats__card--blue::before   { background: linear-gradient(-135deg, #1c75bc 0%, rgba(28,117,188,0) 74.76%); }
.ksc-astats__card--teal::before   { background: linear-gradient(-135deg, #50caca 0%, rgba(80,202,202,0) 74.76%); }
.ksc-astats__card > .elementor-widget-container {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 0 0 4px #ffffff;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.ksc-astats__card .elementor-counter { position: static; }
.ksc-astats__card .elementor-counter-number-wrapper {
	position: absolute;
	top: 50px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	direction: rtl;
	font-size: 46px;
	font-weight: 600;
	color: #111111;
	line-height: 1;
	z-index: 2;
}
.ksc-astats__card .elementor-counter-title {
	position: absolute;
	top: 130px;
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
	font-size: 15px;
	font-weight: 400;
	color: #23233c;
	padding: 0 12px;
	line-height: 1.5;
	z-index: 2;
}
@media (max-width: 1340px) {
	.ksc-astats__wrap > .ksc-astats__cards.e-con { gap: 28px !important; }
	.ksc-astats__wrap > .ksc-astats__head.elementor-widget { width: 240px; flex-basis: 240px; }
}
@media (max-width: 900px) {
	.ksc-astatsc > .ksc-astats__blob.e-con { display: none; }
	.ksc-astatsc > .ksc-astats__wrap.e-con { flex-direction: column !important; align-items: stretch; }
	.ksc-astats__wrap > .ksc-astats__head.elementor-widget { width: 100%; flex-basis: auto; text-align: center; }
	.ksc-astats__head .ksc-astats__eyebrow, .ksc-astats__head .ksc-astats__title, .ksc-astats__head .ksc-astats__desc { text-align: center; }
	.ksc-astats__wrap > .ksc-astats__cards.e-con { flex-wrap: wrap !important; justify-content: center; gap: 24px !important; }
}

.ksc-agalc.e-con {
	--display: block;
	display: block;
	padding: 20px 0 !important;
	direction: rtl;
}
.ksc-agalc .elementor-widget { margin: 0; }
.ksc-agalc > .ksc-agalc__head { width: 100%; }
.ksc-aintroc.e-con { max-width: 872px !important; margin: -97px auto 0 !important; width: 100%; }
.ksc-astatsc > .ksc-astats__wrap.e-con { max-width: 1320px !important; margin-inline: auto !important; }
.ksc-aintroc.e-con { margin: -87px auto 10px !important; }
@media (min-width: 901px) {
	.ksc-astatsc.e-con { margin-top: 119px; margin-bottom: 10px; }
	.ksc-agalc.e-con { margin-top: 145px; }
}
.ksc-astats__cards > .ksc-astats__card .elementor-counter {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 0 0 4px #ffffff;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.ksc-astats__cards > .ksc-astats__card .elementor-counter-number-wrapper {
	position: absolute;
	top: 50px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	direction: rtl;
	font-size: 46px;
	font-weight: 600;
	color: #111111;
	line-height: 1;
}
.ksc-astats__cards > .ksc-astats__card .elementor-counter-number-wrapper > span { font: inherit; color: inherit; }
.ksc-astats__cards > .ksc-astats__card .elementor-counter-title {
	position: absolute;
	top: 130px;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0 12px;
	text-align: center;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #23233c;
}
@media (min-width: 901px) { .ksc-teamc.ksc-team--flip.e-con { margin-top: 20px; } }

/* ---------- Contact page (free Elementor widgets) ---------- */
.ksc-contactc.e-con {
	--padding-top: 0; --padding-bottom: 72px; --padding-left: 24px; --padding-right: 24px;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 24px !important;
	max-width: 1320px !important;
	width: 100% !important;
	margin: -67px auto 0 !important;
	padding: 0 24px 72px !important;
	position: relative;
	z-index: 2;
	direction: rtl;
}
.ksc-contactc__side.e-con {
	flex: 760 1 0 !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 12px !important;
	padding: 97px 0 0 !important;
	margin: 0 !important;
	order: 1;
	text-align: right;
}
.ksc-contactc__formcol.e-con {
	flex: 536 1 0 !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	padding: 0 !important;
	margin: 0 !important;
	order: 2;
	position: relative;
	z-index: 5;
}
.ksc-contactc__head .ksc-contact__badge { display: block; }
.ksc-contactc__head .ksc-contact__title { margin: 12px 0 0 !important; font-size: 28px; font-weight: 800; line-height: 40px; color: #040404; font-family: var(--ks-font, inherit); }
.ksc-contactc__head .ksc-contact__lead { margin: 12px 0 0 !important; font-size: 16px; line-height: 28px; color: #828282; text-align: justify; }
.ksc-contactc__head .ksc-contact__badge { font-size: 16px; line-height: 24px; color: #2b1d9a; }
.ksc-contactc__card.e-con {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 22px 16px !important;
	background: #fff;
	border-radius: 16px;
	padding: 26px !important;
	margin: 19px 0 0 !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
	align-items: start !important;
	max-width: 100% !important;
}
.ksc-contactc__cell .ksc-contact__cell b { font-size: 15px; font-weight: 400; color: #828282; line-height: 28px; }
.ksc-contactc__cell .ksc-contact__cell i { font-size: 16px; font-weight: 700; color: #040404; font-style: normal; line-height: 28px; }
.ksc-contactc__map { margin-top: 14px; }
.ksc-contactc__map .ksc-map { margin-top: 0; }
.ksc-contactc .ksc-contact__form { margin: 0; }
@media (max-width: 900px) {
	.ksc-contactc.e-con { flex-direction: column !important; align-items: stretch !important; padding: 0 16px 48px !important; }
	.ksc-contactc__side.e-con, .ksc-contactc__formcol.e-con { flex: 1 1 auto !important; width: 100% !important; max-width: 100% !important; }
	.ksc-contactc__side.e-con { order: 2; padding-top: 32px !important; }
	.ksc-contactc__formcol.e-con { order: 1; }
	.ksc-contactc__card.e-con { grid-template-columns: 1fr; }
}
