/* Layout only. Text, phone/email bindings and destinations stay in the CMS. */
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-content{padding-block:16px 48px}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-intro{padding-block:12px 24px;margin-block-end:24px}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-intro h1{max-width:30ch;text-wrap:pretty}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-intro p{margin:12px 0 0;max-width:65ch}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;margin:0}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card{display:flex;flex-direction:column;min-width:0;height:auto;align-self:stretch;padding:24px;gap:12px;border:1px solid var(--uni-line);border-radius:4px;background:var(--uni-paper)}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card h2{font-size:1.25rem;line-height:1.7;margin:0}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card p{margin:0;color:var(--uni-muted);line-height:1.9}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card nav{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-block-start:auto;padding-block-start:8px}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card nav a{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;width:fit-content;max-width:100%;margin:0;padding:6px 0;line-height:1.75;overflow-wrap:anywhere;text-decoration:none}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card nav a:hover{text-decoration:underline;text-underline-offset:.25em}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card:has(a[href^="tel:"]){grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);column-gap:40px;row-gap:8px;background:var(--uni-wash)}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card:has(a[href^="tel:"]) h2{grid-column:1;align-self:end}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card:has(a[href^="tel:"]) p{grid-column:1;align-self:start}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card:has(a[href^="tel:"]) nav{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px;padding:0;margin:0;align-content:center}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card nav a[dir=ltr]{justify-self:start;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-content>a.text-link{display:flex;align-items:center;gap:8px;min-height:52px;width:100%;margin-block:24px 0;padding:16px 0;border-block:1px solid var(--uni-line);font-weight:650;text-decoration:none}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-content>a.text-link:hover{text-decoration:underline;text-underline-offset:.25em}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-content>.source-note{max-width:none;width:100%;margin:0;padding:16px 0 0;border:0;text-align:start}
@media(max-width:800px){
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card-grid{gap:16px}
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card{padding:20px}
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card:has(a[href^="tel:"]){grid-template-columns:minmax(0,1fr);gap:12px}
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card:has(a[href^="tel:"]) nav{grid-column:1;grid-row:auto;gap:4px 16px}
}
@media(max-width:600px){
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-content{padding-block:4px 32px}
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-intro{padding-block:12px 20px;margin-block-end:20px}
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card-grid{grid-template-columns:minmax(0,1fr)}
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card:has(a[href^="tel:"]) nav{grid-template-columns:minmax(0,1fr)}
 html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-card nav{margin-block-start:0}
}
