/**
 * Technosevin — فونت Vazirmatn، اعداد فارسی و راست‌چین سراسری
 */

@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn%5Bwght%5D.woff2') format('woff2');
	unicode-range: U+0600-06FF, U+200C-200D, U+0030-0039;
}

@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');
}

html {
	direction: rtl;
}

/* حذف فاصله اضافی بالای صفحه — margin هدر Astra و padding محتوا */
.ast-below-header-bar.ast-below-header,
.ast-header-break-point .ast-below-header-bar.ast-below-header,
.ast-above-header-bar.ast-above-header,
.ast-header-break-point .ast-above-header-bar.ast-above-header,
.ast-primary-header-bar.ast-primary-header,
.ast-header-break-point .ast-primary-header-bar.ast-primary-header {
	margin-top: 0 !important;
}

#masthead,
#masthead .ast-desktop-header,
#masthead .ast-mobile-header-wrap {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

#content.site-content,
.site-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

html,
body {
	font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
	font-feature-settings: 'ss01' on, 'ss02' on;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	text-align: right;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body li,
body label,
body input,
body textarea,
body select,
body button,
body .entry-title,
body .site-title,
body .menu-item,
body .widget-title,
body .woocommerce-Price-amount,
body .elementor-widget-container {
	font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
	font-feature-settings: 'ss01' on, 'ss02' on;
}

/* لینک‌ها — به‌جز آیکون‌های داخلشان */
body a:not(.material-icons):not(.material-symbols-outlined) {
	font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
	font-feature-settings: 'ss01' on, 'ss02' on;
}

/* فونت آیکون‌ها — نباید با Vazirmatn override شوند */
.material-icons,
body .material-icons,
body span.material-icons,
body i.material-icons,
#homepage-v1 .material-icons,
#projects-v1-root .material-icons,
#sazeh-chaderi-v1 .material-icons,
#rookesh-estakhr-v1 .material-icons,
#saghf-alachiq-v1 .material-icons {
	font-family: 'Material Icons' !important;
	font-weight: normal !important;
	font-style: normal !important;
	font-feature-settings: 'liga' !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	direction: ltr !important;
	-webkit-font-smoothing: antialiased;
}

.material-symbols-outlined,
body .material-symbols-outlined,
body span.material-symbols-outlined,
#homepage-v1 .material-symbols-outlined,
#projects-v1-root .material-symbols-outlined,
#sazeh-chaderi-v1 .material-symbols-outlined,
#rookesh-estakhr-v1 .material-symbols-outlined,
#saghf-alachiq-v1 .material-symbols-outlined {
	font-family: 'Material Symbols Outlined' !important;
	font-weight: normal !important;
	font-style: normal !important;
	font-feature-settings: 'liga' !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	direction: ltr !important;
	-webkit-font-smoothing: antialiased;
}

.astra-icon,
.astra-icon::before,
.astra-icon::after,
[class*='astra-icon-']::before,
[class*='astra-icon-']::after {
	font-family: Astra !important;
	font-feature-settings: normal !important;
}

.dashicons,
.dashicons::before {
	font-family: dashicons !important;
	font-feature-settings: normal !important;
}

.eicon,
[class*='eicon-']::before {
	font-family: eicons !important;
	font-feature-settings: normal !important;
}

/* قالب‌های لندینگ Technosevin */
#homepage-v1.homepage-v1-root,
#projects-v1-root.projects-v1-root,
#sazeh-chaderi-v1.sazeh-chaderi-v1-root,
#rookesh-estakhr-v1.rookesh-estakhr-v1-root,
#saghf-alachiq-v1.saghf-alachiq-v1-root {
	font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
	font-feature-settings: 'ss01' on, 'ss02' on;
	direction: rtl;
	text-align: right;
}

#homepage-v1.homepage-v1-root .font-eng,
#sazeh-chaderi-v1.sazeh-chaderi-v1-root .font-eng,
#rookesh-estakhr-v1.rookesh-estakhr-v1-root .font-eng,
#saghf-alachiq-v1.saghf-alachiq-v1-root .font-eng {
	font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
	font-feature-settings: 'ss01' on, 'ss02' on;
}

/* فوتر — راست‌چین و فارسی‌سازی متن */
#colophon.site-footer,
.site-footer,
footer#colophon,
.footer-adv,
.ast-small-footer {
	direction: rtl !important;
	text-align: right !important;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer p,
.site-footer li,
.site-footer label,
.site-footer span:not(.material-icons):not(.material-symbols-outlined):not(.astra-icon):not(.dashicons),
.site-footer a:not(.material-icons):not(.material-symbols-outlined),
.site-footer .widget-title,
.site-footer .widget,
.site-footer .textwidget,
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-html-1,
.site-footer .ast-footer-html-2,
.site-footer .footer-widget-area,
.site-footer .footer-widget-area-inner,
.site-footer .site-footer-section,
.site-footer .ast-small-footer-section,
.site-footer .menu-item a,
.footer-adv h1,
.footer-adv h2,
.footer-adv h3,
.footer-adv h4,
.footer-adv h5,
.footer-adv h6,
.footer-adv p,
.footer-adv li,
.footer-adv a:not(.material-icons):not(.material-symbols-outlined),
.footer-adv .widget-title,
.footer-adv .textwidget,
.ast-small-footer h1,
.ast-small-footer h2,
.ast-small-footer h3,
.ast-small-footer h4,
.ast-small-footer h5,
.ast-small-footer h6,
.ast-small-footer p,
.ast-small-footer li,
.ast-small-footer a:not(.material-icons):not(.material-symbols-outlined) {
	direction: rtl !important;
	text-align: right !important;
	font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
	font-feature-settings: 'ss01' on, 'ss02' on;
}

.site-footer .ast-footer-copyright,
.site-footer .footer-widget-area-inner,
.site-footer [class*='ast-footer-html'],
.site-footer .ast-small-footer-section {
	text-align: right !important;
}

.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-horizontal-menu,
.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-tablet-horizontal-menu,
.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-mobile-horizontal-menu {
	justify-content: flex-start !important;
}

.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-vertical-menu,
.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-tablet-vertical-menu,
.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-mobile-vertical-menu {
	justify-content: flex-start !important;
}

.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-vertical-menu .menu-item,
.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-tablet-vertical-menu .menu-item,
.site-footer .footer-widget-area[data-section='section-footer-menu'] .astra-footer-mobile-vertical-menu .menu-item {
	align-items: flex-start !important;
}

.site-footer #astra-footer-menu,
.site-footer #astra-footer-menu .menu-item,
.site-footer #footer-site-navigation {
	direction: rtl !important;
	text-align: right !important;
}

.site-footer .ast-builder-grid-row {
	direction: rtl;
}

.site-footer a[href^='tel:'],
.site-footer a[href^='mailto:'],
.site-footer [dir='ltr'] {
	direction: ltr !important;
	text-align: right !important;
	unicode-bidi: embed;
}

/* فوتر — رنگ متن سفید */
#colophon.site-footer,
.site-footer,
footer#colophon,
.footer-adv,
.ast-small-footer,
.site-footer .site-footer-section,
.site-footer .footer-widget-area,
.site-footer .footer-widget-area-inner {
	color: #fff !important;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer p,
.site-footer li,
.site-footer label,
.site-footer span:not(.material-icons):not(.material-symbols-outlined):not(.astra-icon):not(.dashicons),
.site-footer .widget-title,
.site-footer .widget,
.site-footer .textwidget,
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-html-1,
.site-footer .ast-footer-html-2,
.site-footer .ast-small-footer-section,
.footer-adv h1,
.footer-adv h2,
.footer-adv h3,
.footer-adv h4,
.footer-adv h5,
.footer-adv h6,
.footer-adv p,
.footer-adv li,
.footer-adv .widget-title,
.footer-adv .textwidget,
.ast-small-footer h1,
.ast-small-footer h2,
.ast-small-footer h3,
.ast-small-footer h4,
.ast-small-footer h5,
.ast-small-footer h6,
.ast-small-footer p,
.ast-small-footer li {
	color: #fff !important;
}

.site-footer a:not(.material-icons):not(.material-symbols-outlined):not(.ast-social-color-type-custom),
.footer-adv a:not(.material-icons):not(.material-symbols-outlined),
.ast-small-footer a:not(.material-icons):not(.material-symbols-outlined),
.site-footer .widget a,
.site-footer .textwidget a,
.site-footer #astra-footer-menu .menu-item > a,
.site-footer #astra-footer-menu .menu-item > a:visited,
.site-footer .menu-item a,
.site-footer .menu-item a:visited {
	color: #fff !important;
}

.site-footer a:not(.material-icons):not(.material-symbols-outlined):not(.ast-social-color-type-custom):hover,
.site-footer a:not(.material-icons):not(.material-symbols-outlined):not(.ast-social-color-type-custom):focus,
.footer-adv a:not(.material-icons):not(.material-symbols-outlined):hover,
.footer-adv a:not(.material-icons):not(.material-symbols-outlined):focus,
.ast-small-footer a:not(.material-icons):not(.material-symbols-outlined):hover,
.ast-small-footer a:not(.material-icons):not(.material-symbols-outlined):focus,
.site-footer .widget a:hover,
.site-footer .widget a:focus,
.site-footer #astra-footer-menu .menu-item > a:hover,
.site-footer #astra-footer-menu .menu-item > a:focus,
.site-footer #astra-footer-menu .menu-item.current-menu-item > a {
	color: #fff !important;
	opacity: 0.85;
}
