/* Shared R7: preserve native content ownership; correct Persian reading and action layout. */
.phx-sec,.phx-prose.phx-legacy,.phx-aside,.phx-footer{direction:rtl}
.phx-prose.phx-legacy,.phx-prose.phx-legacy :is(h2,h3,h4,p,li){text-align:right!important}
.phx-prose.phx-legacy [dir=ltr]{direction:rtl;text-align:right}
.phx-prose.phx-legacy [lang=en],.phx-prose.phx-legacy :is(code,pre),.phx-modal a[href^="tel:"]{direction:ltr;unicode-bidi:isolate}
.phx-modal a[href^="tel:"]{display:inline-block}
.phx-prose.phx-legacy :is(h2,h3){max-width:100%;text-wrap:pretty}
.phx-head.phx-center{margin-inline:auto!important;width:100%!important;align-items:center!important;text-align:center!important}
.phx-head.phx-center>.elementor-widget{width:100%!important;text-align:center!important}
.phx-head.phx-center .elementor-heading-title{justify-content:center!important;text-align:center!important}
.phx-head:not(.phx-center)>.elementor-widget{text-align:right!important}
.phx-head:not(.phx-center) .elementor-heading-title{justify-content:flex-start;text-align:right}
.phx-eyebrow .elementor-heading-title{direction:rtl}
.phx-partner{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:15px!important;padding:22px 16px!important;background:#fff!important;border:1px solid #e8e2ef!important;border-radius:16px!important;min-height:160px}
.phx-partner .elementor-widget-image{width:100%!important;height:76px!important;display:grid;place-items:center}
.phx-partner .elementor-widget-image img{width:146px!important;height:68px!important;object-fit:contain!important;margin-inline:auto!important}
.phx-partner .phx-partner-name{width:100%!important;text-align:center!important}
.phx-partner .phx-partner-name .elementor-heading-title{font-size:12px!important;line-height:1.9!important;color:#665d76!important}
@media(min-width:768px){.phx-row:has(>.phx-aside){align-items:flex-start!important;gap:36px!important}.phx-row>.phx-aside{order:-1;flex:0 0 300px!important;max-width:300px!important;margin:0!important;position:sticky;top:102px}.phx-row:has(>.phx-aside)>.e-con:not(.phx-aside){flex:1 1 0!important;min-width:0}}
.phx-aside{padding:28px!important;border:1px solid #e5ddef!important;border-top:3px solid #dda441!important;background:#fff!important;box-shadow:0 14px 38px -30px #32214e!important;border-radius:18px!important;direction:rtl;text-align:right}
.phx-aside .phx-small p{font-size:14px!important;line-height:1.95!important}
.phx-aside .elementor-button{min-height:46px!important;border-radius:10px!important;box-shadow:none!important;font-size:14px!important;padding:12px 18px!important}
.phxr7-inquiry{box-sizing:border-box;width:100%;max-width:1240px;margin-inline:auto;padding:42px 46px;border:1px solid #ded5ea;border-radius:22px;background:#f5f1f9;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:46px;align-items:center;font-family:var(--phx-font);text-align:right;color:#332747}
.phxr7-inquiry h2{font-family:inherit!important;font-size:clamp(26px,2.6vw,34px)!important;line-height:1.65;margin:7px 0 12px!important;color:#2a2040!important}
.phxr7-inquiry p{max-width:660px;margin:0;color:#61556f;font-size:15px;line-height:2}
.phxr7-eyebrow{font-size:12px!important;font-weight:750;color:#8c5d17!important;line-height:1.8;margin:0}
.phxr7-inquiry-actions{display:flex;align-items:stretch;flex-direction:column;gap:13px}
.phxr7-inquiry .phxr7-action{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 23px;border-radius:12px;background:#f4ab27;color:#2c2044;font-weight:800;font-size:15px;min-height:50px;text-decoration:none!important}
.phxr7-inquiry .phxr7-action:hover{background:#ffc35b}
.phxr7-phone{display:flex;justify-content:space-between;gap:12px;padding:6px 3px;font-size:13px;color:#544069!important;text-decoration:none!important}
.phxr7-inquiry-actions>span{font-size:10px;color:#72657e;line-height:1.8}
.phxr7-inquiry :is(a,button):focus-visible,.phxr7-newsletter-link:focus-visible,.phxr7-map a:focus-visible{outline:3px solid #8762b2;outline-offset:4px}
.phxr7-optional{grid-column:1/-1;border:1px solid #e7e1ed;border-radius:11px;background:#fbf9fd;padding:0!important;margin:2px 0 0!important}
.phxr7-optional>summary{cursor:pointer;padding:12px 15px;font-size:13px;font-weight:650;color:#624582;line-height:1.8}
.phxr7-optional>summary:focus-visible{outline:2px solid #78579e;outline-offset:2px;border-radius:10px}
.phxr7-optional-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:4px 15px 17px}
.phxr7-optional-fields label{font-size:13px!important}.phxr7-optional-fields .phx-wide{grid-column:1/-1}
.phx-modal.is-form .phx-mform,.phx-modal.is-newsletter .phx-mform{padding:36px!important}
.phx-modal.is-form .phx-m-h{font-size:27px!important;line-height:1.6!important;margin-bottom:9px!important}
.phx-modal .phx-m-sub{color:#685c75!important;font-size:14px!important;line-height:1.95!important;margin-bottom:24px!important}
.phx-modal .phx-form-fields{gap:16px!important}
.phx-modal .phx-form-note,.phx-modal .phx-m-alt{color:#766784!important;font-size:12px!important;line-height:1.9!important}
.phx-modal .phx-form button[type=submit]{background:#f4ac2b!important;color:#2a2140!important;border-radius:11px!important;min-height:48px;font-weight:800}
.phx-modal .phx-modal-x{width:44px!important;height:44px!important;border-radius:12px!important;top:12px!important;left:12px!important;font-size:26px!important;background:#f4eff8!important;color:#503b70!important}
.phx-modal.is-newsletter .phx-modal-box{max-width:560px}
.phx-modal.is-newsletter .phx-form-inline{display:grid;gap:14px}
.phx-modal.is-newsletter input[type=email]{direction:ltr;text-align:left;width:100%;border:1px solid #ded5e7;border-radius:11px;padding:13px 16px;background:#fbf9fd;color:#302443}
.phx-footer{background:#241d38!important;padding:62px 28px 22px!important;border-top:4px solid #d6a245!important}
.phx-footer>.e-con-inner{max-width:1240px!important}
.phx-footer .phx-fgrid{grid-template-columns:1fr 1fr 1.5fr!important;gap:42px 64px!important}
.phx-footer .phx-fbrand{grid-column:1/-1;display:grid!important;grid-template-columns:180px minmax(0,1fr) auto!important;gap:34px!important;align-items:center!important;padding-bottom:38px!important;border-bottom:1px solid #ffffff24}
.phx-footer .phx-fbrand>.elementor-widget{width:100%!important;margin:0!important;min-width:0}
.phx-footer .phx-fbrand .phx-logo-w img{width:164px!important;height:auto!important;max-height:75px;object-fit:contain}
.phx-footer .phx-fbrand .phx-small p{max-width:650px;font-size:14px!important;line-height:2!important;margin:0}
.phx-footer .phx-fbrand .elementor-button{border-radius:11px!important;background:#f4ab27!important;color:#2a2040!important;box-shadow:none!important;font-size:13px!important;min-height:46px;padding:13px 22px!important}
.phx-footer .phx-ftitle .elementor-heading-title{font-size:17px!important;color:#f4eafd!important;border-bottom:1px solid #ffffff24;padding-bottom:15px!important;margin-bottom:3px!important}
.phx-footer .phx-flinks .elementor-icon-list-text{font-size:13px!important;color:#d2c7df!important;line-height:1.95!important}
.phx-footer .phx-flinks .elementor-icon-list-item{padding:7px 0!important}
.phx-footer .phx-flinks .elementor-icon-list-icon{display:none!important}
.phx-footer a:hover .elementor-icon-list-text{color:#ffca78!important}
.phx-footer .phx-ftitle-s .elementor-heading-title{font-size:12px!important;color:#bcaacf!important;margin:14px 0 0!important}
.phxr7-newsletter-link{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:12px 15px;border:1px solid #746084;border-radius:10px;color:#f6e7ff!important;background:#ffffff06;font-size:13px;font-weight:700;text-decoration:none!important}
.phxr7-newsletter-link:hover{background:#ffffff10;border-color:#e4b264}
.phx-footer .phx-fbottom{margin-top:36px!important;padding-top:20px!important;border-top:1px solid #ffffff24!important;gap:18px!important}
.phx-footer .phx-fbottom p,.phx-footer .phx-fbottom a{font-size:11px!important;color:#bcaecb!important}
.phxr7-map{font-family:var(--phx-font);max-width:1240px;width:calc(100% - 48px);margin:0 auto 70px;text-align:right}
.phxr7-map-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:23px}
.phxr7-map h2{font:800 clamp(25px,2.4vw,34px)/1.7 var(--phx-font);color:#302445;margin:6px 0 9px}
.phxr7-map-heading p:not(.phxr7-eyebrow){font-size:14px;color:#6d607c;line-height:2;margin:0}
.phxr7-map-route{color:#5e417f!important;border:1px solid #d8cce4;border-radius:10px;padding:12px 16px;font-size:13px;font-weight:750;white-space:nowrap}
.phxr7-map iframe{display:block;width:100%;height:440px;border:1px solid #ded6e7;border-radius:20px;background:#f7f4fa}
.phxr7-map-caption{color:#746780;font-size:11px;line-height:1.9;margin-top:12px}
@media(max-width:1024px){.phx-footer .phx-fbrand{grid-template-columns:140px 1fr!important}.phx-footer .phx-fbrand>.elementor-widget-button{grid-column:2}.phx-footer .phx-fgrid{gap:32px!important}.phxr7-inquiry{padding:32px;gap:26px;grid-template-columns:1.2fr 1fr}}
@media(max-width:767px){.phx-row>.phx-aside{order:initial;max-width:none!important;width:100%!important;position:static}.phxr7-inquiry{grid-template-columns:1fr;gap:22px;padding:28px 24px;border-radius:18px}.phxr7-inquiry h2{font-size:26px!important}.phxr7-inquiry p{font-size:14px}.phx-modal.is-form .phx-mform,.phx-modal.is-newsletter .phx-mform{padding:56px 22px 25px!important}.phx-modal.is-form .phx-m-h{font-size:23px!important}.phx-modal .phx-m-sub{font-size:13px!important;margin-bottom:19px!important}.phx-modal .phx-form-fields{gap:13px!important}.phxr7-optional-fields{grid-template-columns:1fr;gap:12px}.phx-footer{padding:42px 22px 88px!important}.phx-footer .phx-fgrid{grid-template-columns:1fr 1fr!important;gap:28px!important}.phx-footer .phx-fbrand{display:flex!important;align-items:flex-start!important;gap:20px!important;padding-bottom:28px!important}.phx-footer .phx-fbrand>.elementor-widget-button{width:auto!important}.phx-footer .phx-fcol:last-child{grid-column:1/-1}.phx-footer .phx-logo-w img{width:144px!important}.phx-footer .phx-fbottom{align-items:flex-start!important;gap:9px!important}.phxr7-map{width:calc(100% - 36px);margin-bottom:44px}.phxr7-map-heading{display:block}.phxr7-map-route{display:inline-flex;margin-top:18px}.phxr7-map iframe{height:360px;border-radius:15px}.phx-partner{min-height:145px;padding:17px 12px!important}}
@media(prefers-reduced-motion:reduce){.phxr7-inquiry *,.phx-footer *{scroll-behavior:auto!important;transition:none!important}}
.phxr7-contact-help{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;padding:20px 0 0;font-size:13px}.phxr7-contact-help a{color:#624582;text-decoration:underline;text-underline-offset:5px}.phx-footer a[href^="tel:"] .elementor-icon-list-text{direction:ltr;unicode-bidi:isolate}
@media(min-width:768px){.phxr-article-layout{direction:rtl;grid-template-columns:minmax(220px,280px) minmax(0,780px)!important}.phxr-admission-layout{direction:rtl;grid-template-columns:minmax(240px,300px) minmax(0,820px)!important}.phxr-article-aside,.phxr-admission-guide{order:-1;text-align:right}.phxr-admission-layout>div,.phxr-article-content{min-width:0}}
