/* Shared bilingual footer: locale follows the existing document language. */
.shell-fa{display:none}html[lang="fa"] .shell-en{display:none}html[lang="fa"] .shell-fa{display:revert}
body > footer.shell-footer{display:block;max-width:none;width:100%;margin:64px 0 0;padding:0;border:0;border-top:1px solid #24404e;background:#061320;color:#e7f1f7;text-align:start}
.shell-footer-inner{max-width:1228px;margin:auto;padding:40px 24px calc(24px + max(env(safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px)));display:grid;grid-template-columns:1fr 2fr;gap:36px 64px}
.shell-footer .shell-footer-brand{display:block;min-width:0}
.shell-footer .brand{direction:ltr;display:inline-flex;align-items:center;gap:10px;min-height:44px}
.shell-footer .brand-mark{width:38px;height:38px;flex:0 0 38px;border:0;background:transparent;box-shadow:none}
.shell-footer .brand-name{font-family:GoogleSans,system-ui,sans-serif;font-size:22px;letter-spacing:-.035em}
.shell-footer .shell-footer-brand p{color:#a7bdcc;font-size:15px;line-height:1.6;margin:14px 0 0}
.shell-footer .shell-footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px 32px;min-width:0}
.shell-footer .shell-footer-nav > a{display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-height:76px;min-width:44px;padding:12px 0;border-bottom:1px solid #1b3443;color:#ebf6fb;text-decoration:none}
.shell-footer .shell-link-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px;font-weight:600}
.shell-footer svg{width:18px;height:18px;stroke:#77d8f8;stroke-width:1.5;flex:0 0 18px;transition:transform .18s}
html[dir="rtl"] .shell-footer svg{transform:scaleX(-1)}
.shell-footer .shell-link-detail{display:block;margin-top:6px;font-size:13px;font-weight:400;line-height:1.5;color:#9fb7c8}
.shell-footer .shell-footer-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #24404e;padding-top:16px}
.shell-footer .shell-footer-bottom small{font-size:13px;direction:ltr;color:#9fb7c8}
.shell-footer .shell-footer-bottom a{display:inline-flex;align-items:center;gap:12px;min-height:44px;min-width:44px;color:#c7dbe7;font-size:13px}
.shell-footer a:focus-visible{outline:2px solid #79dcff;outline-offset:5px;border-radius:4px}
.shell-footer .shell-footer-nav a:hover .shell-link-title,.shell-footer .shell-footer-bottom a:hover{color:#7fe0ff}
@media(max-width:800px){body > footer.shell-footer{margin-top:40px}.shell-footer-inner{padding:28px 18px calc(108px + max(env(safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px)));grid-template-columns:1fr;gap:24px}.shell-footer .shell-footer-nav{gap:4px 24px}.shell-footer .shell-footer-nav > a{min-height:86px}.shell-footer .brand-name{font-size:21px}.shell-footer .shell-footer-brand p{margin-top:8px}.shell-footer .shell-footer-bottom{gap:8px}.shell-footer .shell-link-detail{font-size:13px;line-height:1.65}.shell-footer .shell-footer-bottom a{font-size:14px}.shell-footer .shell-footer-bottom a > span:last-child{font-size:18px}}
@media(prefers-reduced-motion:reduce){.shell-footer svg{transition:none}}

html:not([lang="fa"]) :is(.shell-footer,.site-header) .shell-fa,html[lang="fa"] :is(.shell-footer,.site-header) .shell-en{display:none!important}
html[lang="fa"] :is(.shell-footer,.site-header) .shell-fa{display:inline}
