.ostad-ml {
	--ml-blue: #2980ff;
	--ml-ink: #111;
	--ml-body: #333;
	box-sizing: border-box;
	width: 100%;
	padding: 128px 0 0;
	color: var(--ml-ink);
	font-family: "IRANSansX", Sans-serif;
	background: #fff;
	overflow: hidden;
	direction: rtl;
	unicode-bidi: isolate;
}

.ostad-ml *,
.ostad-ml *::before,
.ostad-ml *::after {
	box-sizing: border-box;
}

.ostad-ml__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	width: min(647px, calc(100% - 32px));
	margin-inline: auto;
}

.ostad-ml__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	text-align: center;
}

.ostad-ml__title,
.ostad-ml__text {
	direction: rtl;
	unicode-bidi: plaintext;
}

.ostad-ml__title {
	margin: 0;
	color: var(--ml-ink);
	font-size: 30px;
	font-weight: 700;
	line-height: 36px;
}

.ostad-ml__text {
	margin: 0;
	color: var(--ml-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
}

.ostad-ml__stores {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 272px));
	justify-content: center;
	gap: 24px 17px;
	width: min(561px, 100%);
	direction: rtl;
}

.ostad-ml__stores > .ostad-ml-store:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
}

.ostad-ml-store {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 272px;
	max-width: 100%;
	height: 48px;
	padding-block: 0;
	padding-inline: 52px 16px;
	border: 2px solid var(--ml-blue);
	border-radius: 500px;
	background: #fff;
	color: var(--ml-blue);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.48px;
	text-decoration: none;
	white-space: nowrap;
	direction: rtl;
	unicode-bidi: isolate;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ostad-ml-store:hover,
.ostad-ml-store:focus-visible {
	background: rgba(41, 128, 255, 0.06);
	color: var(--ml-blue);
	outline: none;
}

.ostad-ml-store__label {
	display: inline-block;
	direction: rtl;
	unicode-bidi: plaintext;
	text-align: center;
}

.ostad-ml-store__icon {
	position: absolute;
	top: 50%;
	inset-inline-start: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	transform: translateY(-50%);
	pointer-events: none;
}

.ostad-ml-store__icon img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.ostad-ml-store--soon {
	border-color: #d7dce3;
	color: #8a93a0;
	cursor: default;
	opacity: 0.72;
}

.ostad-ml-store--soon .ostad-ml-store__icon {
	opacity: 0.55;
}

.ostad-ml__phones {
	display: flex;
	justify-content: center;
	width: min(585px, 100%);
	margin: 0;
	line-height: 0;
}

.ostad-ml__phones img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: top center;
}

@media (max-width: 640px) {
	.ostad-ml {
		padding: 72px 0 0;
	}

	.ostad-ml__inner {
		gap: 32px;
		width: calc(100% - 32px);
	}

	.ostad-ml__title {
		font-size: 24px;
		line-height: 32px;
	}

	.ostad-ml__text {
		font-size: 14px;
		line-height: 1.7;
	}

	.ostad-ml__stores {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		width: 100%;
	}

	.ostad-ml__stores > .ostad-ml-store:last-child:nth-child(odd) {
		grid-column: auto;
		justify-self: stretch;
	}

	.ostad-ml-store {
		width: 100%;
		white-space: normal;
		text-align: center;
	}

	.ostad-ml__phones {
		width: min(360px, 100%);
	}
}
