/* Keep footer content inside its card, including RTL and narrow layouts. */
.footer .footer-main.footer-social{padding:32px!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start;margin:0!important}
.footer .footer-right-section,.footer .footer-left-section{min-width:0;width:100%}
.footer .footer-right-section>img{display:block;max-width:100%;height:auto!important;object-fit:contain;margin:0 0 24px}
.footer .footer-right-section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.footer .footer-right-section>div>div{min-width:0}
.footer .footer-right-section>div>div:last-child:empty{display:none}
.footer .footer-right-section a,.footer .footer-right-section button,.footer p{overflow-wrap:anywhere;max-width:100%}
.footer .footer-right-section button{white-space:normal}
.footer .footer-right-section .footer_btn_primary{margin-inline:0!important}
.footer .footer-left-section{padding-top:92px}
.footer .footer-left-section>div:first-child{height:auto;display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px}
.footer .footer-left-section>div:first-child>div{min-width:0;aspect-ratio:auto}
.footer .footer-left-section>div:first-child>div:nth-child(3){display:none}
.footer .footer-left-section>div:first-child>div:last-child{grid-column:1/-1}
.footer .footer-left-section img{max-width:100%;object-fit:contain}
.footer .footer-left-section>div:last-child>img{height:auto!important}
.footer>div:nth-child(2):not(.footer-description){padding:0 32px 24px!important}
.footer .footer-bottom-social{margin:0!important;row-gap:20px}
.footer .footer-bottom-social>[class*=col-]{padding:0;min-width:0}
.footer .footer-bottom-social .d-flex{flex-wrap:wrap;gap:12px}
@media(max-width:1080px){.footer .footer-main.footer-social{grid-template-columns:1fr;padding:24px!important}.footer .footer-left-section{padding-top:0;align-items:stretch}.footer .footer-left-section>div{max-width:none}.footer>div:nth-child(2):not(.footer-description){padding:0 24px 24px!important}}
@media(max-width:490px){.footer .footer-main.footer-social{padding:20px!important;gap:20px}.footer .footer-right-section>img{width:220px!important;margin-bottom:0}.footer>div:nth-child(2):not(.footer-description){padding:0 20px 20px!important}}
