/* Main footer for current Bootstrap 5 shells. Legacy pages own footer_old.css. */
.site-footer{--footer-ink:#42515d;--footer-accent:#a90d19;--footer-line:#dfe5e8;position:relative;background:#eef0f2;border-block-start:1px solid var(--footer-line);color:var(--footer-ink);font:13px/2.3 iranyekan-md-fanumber,sans-serif;overflow-wrap:anywhere}
.site-footer *{box-sizing:border-box}
.site-footer a{color:var(--footer-accent);text-decoration:none}
.site-footer a:hover{text-decoration:underline;text-underline-offset:5px}
.site-footer a:focus-visible{outline:2px solid var(--footer-accent);outline-offset:5px;border-radius:5px}
.site-footer :is(p,ul,h2){margin:0}
.site-footer ul{padding:0;list-style:none}
.site-footer__notice-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px;padding:24px 28px;background:#f7f7f8;border-block-end:1px solid var(--footer-line)}
.site-footer .site-footer__notice{font-size:13.5px;line-height:2.2;color:#ad0707}
.site-footer .site-footer__contacts{display:flex;flex-wrap:wrap;gap:8px 26px;margin-block-start:16px;font-size:13px;line-height:2;color:var(--footer-ink)}
.site-footer__contacts li{display:inline-flex;align-items:center;gap:8px;max-width:100%}
.site-footer__contacts i{font-size:18px;color:#657580;flex:none}
.site-footer__contacts [dir=ltr]{unicode-bidi:isolate}
.site-footer__apps{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px}
.site-footer__apps a{display:flex;align-items:center;min-height:48px;border-radius:8px}
.site-footer__apps img{display:block;width:160px;max-width:100%;height:auto}
.site-footer__body{display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr) auto;align-items:start;gap:32px;padding:28px}
.site-footer__about{min-width:0}
.site-footer .site-footer__about h2{font:14px/2 iranyekan-bold-fanumber,sans-serif;color:#293e4b;margin-block-end:12px}
.site-footer .site-footer__about p{font-family:iranyekan-li-fanumber,sans-serif;font-size:13px;line-height:2.3;text-align:justify;color:var(--footer-ink)}
.site-footer__navigation{padding-block-start:34px;min-width:0}
.site-footer__navigation ul{display:grid;gap:6px}
.site-footer__navigation a{display:inline-flex;align-items:center;min-height:40px;padding:6px 10px;border-radius:7px;line-height:2;transition:background-color .15s}
.site-footer__navigation a:is(:hover,[aria-current=page]){background:#fff;color:var(--footer-accent)}
.site-footer__licenses{display:flex;justify-content:center;align-items:center;gap:12px;padding-block-start:8px}
.site-footer__licenses a{display:flex;align-items:center;justify-content:center;width:112px;height:140px;background:#fff;border:1px solid var(--footer-line);border-radius:12px;transition:border-color .15s}
.site-footer__licenses a:hover{border-color:#b5c2ca}
.site-footer__licenses img{display:block;width:100%;height:100%;padding:12px;object-fit:contain}
@media(max-width:1199.98px){.site-footer__notice-row{gap:24px}.site-footer__apps{max-width:170px;gap:12px}.site-footer__body{grid-template-columns:minmax(0,1fr) minmax(200px,1fr);gap:20px 32px}.site-footer__about{grid-column:1/-1}.site-footer__navigation{padding-block-start:0}.site-footer__licenses{justify-content:flex-end;padding-block-start:0}}
@media(max-width:767.98px){.site-footer__notice-row{grid-template-columns:minmax(0,1fr);padding:22px 18px}.site-footer__apps{max-width:none;justify-content:flex-start}.site-footer__apps img{width:144px}.site-footer__body{grid-template-columns:minmax(0,1fr);padding:22px 18px;gap:20px}.site-footer__about{grid-column:auto}.site-footer__licenses{justify-content:flex-start}.site-footer__navigation a{min-height:44px}}
@media(prefers-reduced-motion:reduce){.site-footer a{transition:none}}
