@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/vazirmatn-latin-wght-normal.woff2") format("woff2");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--trocairan-green: #07820c;
	--trocairan-radius: 14px;
}

body,
button,
input,
select,
textarea {
	font-family: "Vazirmatn", Tahoma, sans-serif;
}

/* Homepage: keep the existing design while reducing unnecessary height. */
.home .l-main > .l-section > .l-section-h {
	padding-top: clamp(1.75rem, 3vw, 3rem);
	padding-bottom: clamp(1.75rem, 3vw, 3rem);
}

/* Keep the featured slider visually attached to the site header. */
.home .l-main > .l-section:first-of-type > .l-section-h {
	padding-top: 0.75rem;
}

.home .l-main > .l-section:nth-of-type(2) > .l-section-h {
	padding-top: clamp(1.5rem, 2.5vw, 2.5rem);
	padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

.home .l-main > .l-section:nth-of-type(3) > .l-section-h,
.home .l-main > .l-section:nth-of-type(4) > .l-section-h {
	padding-top: clamp(1.5rem, 2.5vw, 2.5rem);
	padding-bottom: clamp(1.25rem, 2vw, 2rem);
}

.home .l-main .w-separator {
	margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

.home .l-main .w-grid-item-h,
.home .l-main .w-iconbox {
	border-radius: var(--trocairan-radius);
}

.home .l-main .w-grid-item-h {
	overflow: hidden;
}

.home .l-main > .l-section:nth-of-type(3) .owl-stage-outer,
.home .l-main > .l-section:nth-of-type(4) .owl-stage-outer {
	margin-bottom: 0;
}

.home .l-main > .l-section:nth-of-type(3) .owl-dots,
.home .l-main > .l-section:nth-of-type(4) .owl-dots {
	margin-top: 1rem;
}

.home .l-main .w-iconbox-title {
	line-height: 1.7;
}

.home .l-main .w-post-elm.post_title {
	line-height: 1.75;
}

.home .l-main .w-post-elm.post_content,
.home .l-main .w-post-elm.post_excerpt {
	line-height: 1.9;
}

@media (max-width: 1024px) {
	.home .l-main > .l-section:first-of-type .g-cols {
		row-gap: 1.25rem;
	}

	.home .l-main > .l-section:nth-of-type(2) .g-cols {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.home .l-main > .l-section:nth-of-type(2) .vc_column_container {
		width: auto;
		margin: 0;
	}

	.home .l-main > .l-section:nth-of-type(2) .vc_column-inner {
		height: 100%;
	}

	.home .l-main > .l-section:nth-of-type(2) .w-iconbox {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 132px;
		height: 100%;
		padding: 14px !important;
		text-align: center;
	}

	.home .l-main > .l-section:nth-of-type(2) .w-iconbox > .w-iconbox-link {
		display: inline-flex;
		width: auto;
	}

	.home .l-main > .l-section:nth-of-type(2) .w-iconbox-meta {
		display: block;
		width: 100%;
		text-align: center;
	}

	.home .l-main > .l-section:nth-of-type(2) .w-iconbox-meta .w-iconbox-link {
		display: block;
		width: 100%;
	}

	.home .l-main > .l-section:nth-of-type(2) .w-iconbox-title {
		margin: 6px 0 0 !important;
		padding: 0 !important;
		color: #203129;
		font-family: "Vazirmatn", Tahoma, sans-serif !important;
		font-size: 14px !important;
		font-weight: 600;
		line-height: 1.8 !important;
	}

	.home .l-main > .l-section:nth-of-type(3) .vc_row_inner .g-cols {
		align-items: center;
	}
}

@media (max-width: 600px) {
	.home .l-main > .l-section > .l-section-h {
		padding-top: 1.35rem;
		padding-bottom: 1.35rem;
	}

	.home .l-main > .l-section:first-of-type > .l-section-h {
		padding-top: 0.5rem;
	}

	.home .l-main > .l-section:nth-of-type(3) > .l-section-h,
	.home .l-main > .l-section:nth-of-type(4) > .l-section-h {
		padding-top: 1.1rem;
		padding-bottom: 0.75rem;
	}

	.home .l-main > .l-section:nth-of-type(2) .w-iconbox-icon {
		margin: 0 !important;
		font-size: 28px !important;
	}

	.home .l-main > .l-section:nth-of-type(2) .w-iconbox {
		min-height: 122px;
		padding: 11px 8px !important;
	}

	.home .l-main > .l-section:nth-of-type(2) .w-iconbox-title {
		display: -webkit-box;
		overflow: hidden;
		min-height: 3.6em;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	.home .l-main > .l-section:nth-of-type(3) .vc_row_inner .g-cols {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px;
	}

	.home .l-main > .l-section:nth-of-type(3) .vc_column-inner {
		padding-left: 0;
		padding-right: 0;
	}

	.home .l-main .w-separator {
		margin-bottom: 0.75rem;
	}

	.home .l-main > .l-section:nth-of-type(3) .owl-dots,
	.home .l-main > .l-section:nth-of-type(4) .owl-dots {
		margin-top: 0.6rem;
		margin-bottom: 0;
	}

	.home .l-main .w-separator-text,
	.home .l-main .w-btn-label {
		font-size: 13px;
	}

	.home .l-main .w-post-elm.post_title {
		font-size: 15px;
	}

	.home .l-main .w-post-elm.post_content,
	.home .l-main .w-post-elm.post_excerpt {
		font-size: 13px;
	}

	.l-footer .l-section-h {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}
