/* Existing local Vazir fonts: no CDN and no dependency on the old site. */
@font-face{font-family:"RSATCO Vazir";src:url("../../plugins/parsi-font/assets/fonts/Vazir/Vazir.woff2") format("woff2"),url("../../plugins/parsi-font/assets/fonts/Vazir/Vazir.woff") format("woff");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"RSATCO Vazir";src:url("../../plugins/parsi-font/assets/fonts/Vazir/Vazir-Bold.woff2") format("woff2"),url("../../plugins/parsi-font/assets/fonts/Vazir/Vazir-Bold.woff") format("woff");font-style:normal;font-weight:700;font-display:swap}
:root{--rsa-font:"RSATCO Vazir",Vazir,Tahoma,Arial,sans-serif;--rsa-body-size:15px;--rsa-rail-image:36px;--rsa-menu-duration:240ms}
html{scrollbar-gutter:stable}
body,.rsa-home,.rsa-reference-header,.site-content,.site-footer,#rsa-activities-dialog,button,input,select,textarea,.elementor-widget-text-editor,.elementor-heading-title{font-family:var(--rsa-font)!important;letter-spacing:0}
body{font-size:var(--rsa-body-size);line-height:1.95}
.site-content p,.site-content li,.site-footer p,.site-footer li{line-height:1.95;overflow-wrap:anywhere;word-break:normal}
.entry-content p{margin-block:0 1.1em}.entry-content h1,.entry-content h2,.entry-content h3,.woocommerce h1,.woocommerce h2,.woocommerce h3{font-family:var(--rsa-font)!important;line-height:1.65;letter-spacing:0;font-weight:700}
.entry-title,.woocommerce-products-header__title{font-size:clamp(25px,2.3vw,34px);margin-block:0 .8em}
.entry-content h2{font-size:clamp(21px,1.9vw,27px)}.entry-content h3{font-size:20px}
.rsa-home h1{font-size:clamp(27px,2.4vw,40px);line-height:1.65;letter-spacing:0;font-weight:700}
.rsa-home .rsa-hero p{font-size:16px;line-height:2.05}.rsa-home h2{line-height:1.7}.rsa-home .rsa-card h3{line-height:1.85;font-size:16px;font-weight:700}.rsa-home .rsa-card p{font-size:14px;line-height:1.95}.rsa-home .rsa-card .rsa-card-link{font-size:13px;line-height:1.9}
.rsa-reference-header input,.rsa-reference-header button{font-size:14px}.rsa-header-contact{font-size:13px}.rsa-header-contact strong{font-size:14px;line-height:1.8}.rsa-category-trigger{white-space:nowrap}
.site-footer p,.site-footer li,.site-footer .elementor-widget-text-editor{font-size:14px;line-height:2}.site-footer .elementor h2{font-size:18px;font-weight:700;line-height:1.9}.site-footer .elementor-widget-text-editor h3{font-size:20px;font-weight:700;line-height:1.8;margin-top:14px;margin-bottom:10px}.site-footer li{margin-bottom:4px}
.rsa-reference-panel-title h2{font-family:var(--rsa-font)!important;font-size:14px;line-height:1.8}.rsa-access-row>a{font-size:14px;line-height:1.85;overflow-wrap:anywhere}.rsa-branch-panel .rsa-access-row>a{font-size:13px;line-height:1.9}.rsa-access-row img{width:32px;height:32px;flex-basis:32px}.rsa-access-row>a{min-height:52px}.rsa-branch-toggle{min-height:40px}
.wpforms-container label{font-family:var(--rsa-font)!important;line-height:1.8}.wpforms-container input,.wpforms-container textarea,.wpforms-container select{font-family:var(--rsa-font)!important;font-size:15px;line-height:1.8;max-width:100%;box-sizing:border-box}.wpforms-container textarea{min-height:160px}.wpforms-container button{font-family:var(--rsa-font)!important;font-size:15px;min-height:46px}
html[dir=rtl] .entry-content,html[dir=rtl] .woocommerce{direction:rtl;text-align:right}html[dir=ltr] .entry-content{direction:ltr;text-align:left}
bdi,[dir=ltr],input[type=email],input[type=tel]{unicode-bidi:isolate}input[type=email],input[type=tel]{direction:ltr;text-align:left}
/* Only the approved rail is narrowed; opening the panel never moves the page. */
@media(min-width:768px){body{padding-right:56px!important}.rsa-activity-rail{width:56px;padding:6px}.rsa-rail-open{width:44px;height:44px;margin-bottom:8px}.rsa-activity-rail nav{gap:8px;display:flex;flex-direction:column;align-items:center}}
.rsa-sector-button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-width:44px;min-height:44px;padding:2px!important;border:1px solid transparent;border-radius:50%;background:transparent!important;box-shadow:none;cursor:pointer}
.rsa-activity-rail nav .rsa-sector-button img{display:block;width:var(--rsa-rail-image);height:var(--rsa-rail-image);max-width:100%;object-fit:cover;border-radius:50%;margin:0}
.rsa-sector-button:hover,.rsa-sector-button[aria-expanded=true],.rsa-sector-button:focus-visible{border-color:#70499c;background:#f8f4fb!important}
.rsa-sector-button:focus-visible{outline:2px solid #70499c;outline-offset:2px}
#rsa-activities-dialog{opacity:0;transform:translateX(12px);transition:opacity var(--rsa-menu-duration) ease,transform var(--rsa-menu-duration) ease;z-index:100000}
#rsa-activities-dialog.rsa-is-visible{opacity:1;transform:translateX(0)}
#rsa-activities-dialog.rsa-hover-panel{right:56px;top:0;height:100dvh;max-height:100dvh;overflow-x:hidden;overflow-y:auto;box-shadow:-8px 2px 28px #21173522;border-inline-end:1px solid #eee;border-radius:10px 0 0 10px}
.admin-bar #rsa-activities-dialog.rsa-hover-panel{top:32px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
.rsa-sector-mode .rsa-level-0>li:not(.rsa-active-sector){display:none}
.rsa-sector-mode .rsa-level-0>.rsa-active-sector>.rsa-branch-panel{position:static;width:auto;max-width:none;max-height:none;overflow:visible;box-shadow:none;border-radius:0;margin:4px 0;padding:0 8px;border:0}
.rsa-sector-mode .rsa-level-0>.rsa-active-sector>.rsa-access-row>.rsa-branch-toggle{display:none}
.rsa-sector-mode .rsa-level-0>.rsa-active-sector>.rsa-access-row>a{font-weight:700;color:#70499c;border-bottom:1px solid #eee7f3;padding:10px 2px;margin-bottom:6px}
.rsa-sector-mode .rsa-active-sector{animation:rsa-sector-fade 200ms ease-out}
.rsa-sector-mode .rsa-branch-panel .rsa-branch-panel{margin-inline-start:8px;padding-inline-start:8px}
@keyframes rsa-sector-fade{from{opacity:.4;transform:translateX(4px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:767px){
 body{padding-right:0!important;font-size:var(--rsa-body-size)}
 .rsa-home h1{font-size:27px;line-height:1.7}.rsa-home .rsa-hero p{font-size:15px;line-height:2}.rsa-home .rsa-card h3{font-size:15px}.rsa-home .rsa-card p{font-size:13px;line-height:1.95}
 .rsa-header-contact strong{font-size:11px}.rsa-category-trigger{font-size:12px}.rsa-header-actions{gap:6px}
 .rsa-activity-rail,.admin-bar .rsa-activity-rail{padding:8px 12px;gap:8px}.rsa-rail-open{width:40px;height:40px;min-width:40px;margin:0}.rsa-activity-rail nav{gap:2px;min-width:0;display:flex;flex-direction:row;justify-content:space-between}
 .rsa-sector-button{width:40px;height:40px;min-width:0;min-height:40px;padding:3px!important}.rsa-activity-rail nav .rsa-sector-button img{width:min(var(--rsa-rail-image),32px);height:min(var(--rsa-rail-image),32px)}
 .rsa-access-row>a{font-size:14px;line-height:1.9}.rsa-branch-panel .rsa-access-row>a{font-size:13px}.rsa-branch-toggle{width:36px;flex-basis:36px;min-height:44px}
 .site-footer p,.site-footer li,.site-footer .elementor-widget-text-editor{font-size:14px;line-height:2}.site-footer .elementor-widget-text-editor h3{font-size:18px}
}
@media(max-width:359px){.rsa-sector-button{width:36px;height:36px;min-height:36px}.rsa-activity-rail nav .rsa-sector-button img{width:28px;height:28px}.rsa-activity-rail{padding-inline:8px}.rsa-rail-open{width:36px;height:36px;min-width:36px}}
@media(prefers-reduced-motion:reduce){#rsa-activities-dialog{transition:none;transform:none}.rsa-sector-mode .rsa-active-sector{animation:none}}

#page :is(h1,h2,h3,h4,h5,h6),#rsa-activities-dialog h2{font-family:var(--rsa-font)!important}

@media(min-width:768px){.rsa-activity-rail nav{margin-inline:-6px;padding-inline:6px;width:calc(100% + 12px)}}
