/* Shared site footer; scoped to avoid page-specific footer rules. */
.yx-global-footer{all:initial;display:block;background:#102641;color:#d6dfeb;font:15px/1.8 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;text-align:left}
.yx-global-footer :where(*:not(svg):not(svg *)){all:revert;box-sizing:border-box}
.yx-global-footer .gf-inner{width:calc(100% - 64px);max-width:1180px;margin:0 auto}
.yx-global-footer .gf-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:42px;padding:48px 0 38px}
.yx-global-footer .gf-brand{display:block;color:#fff;font-size:26px;font-weight:650;letter-spacing:3px;margin-bottom:5px}
.yx-global-footer .gf-caption{display:block;color:#c6a755;font-size:11px;letter-spacing:2px}
.yx-global-footer p{margin:17px 0 0;color:#bac7d7;font-size:14px;line-height:1.9}
.yx-global-footer h2{font-size:16px;font-weight:600;color:#fff;margin:0 0 20px;line-height:1.6}
.yx-global-footer h2:after{content:"";display:block;width:23px;height:2px;background:#c6a755;margin-top:10px}
.yx-global-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.yx-global-footer a{color:#c8d3e1;text-decoration:none;cursor:pointer;transition:color .18s,background .18s;line-height:1.7;font-size:14px}
.yx-global-footer a:hover{color:#e5c875}
.yx-global-footer a:focus-visible{outline:2px solid #e5c875;outline-offset:5px;border-radius:2px}
.yx-global-footer .gf-contact{border-left:1px solid #ffffff20;padding-left:28px}
.yx-global-footer .gf-contact p{margin:0 0 20px}
.yx-global-footer .gf-button{display:block;text-align:center;background:#d3a527;color:#102641;border-radius:24px;padding:10px 15px;font-weight:600}
.yx-global-footer .gf-button:hover{background:#e2bb4d;color:#102641}
.yx-global-footer .gf-secondary{display:block;margin-top:14px;text-align:center}
.yx-global-footer .gf-bottom{border-top:1px solid #ffffff18}
.yx-global-footer .gf-bottom .gf-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0}
.yx-global-footer .gf-copyright{font-size:12px;color:#91a3bb;line-height:1.8}
.yx-global-footer .gf-bottom a{white-space:nowrap;font-size:12px}
@media(max-width:1000px){.yx-global-footer .gf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.yx-global-footer .gf-contact{padding-left:0;border-left:0}}
@media(max-width:640px){.yx-global-footer .gf-inner{width:calc(100% - 36px)}.yx-global-footer .gf-grid{gap:28px 20px;padding:32px 0}.yx-global-footer .gf-about,.yx-global-footer .gf-contact{grid-column:1/-1}.yx-global-footer .gf-brand{font-size:24px}.yx-global-footer .gf-bottom .gf-inner{align-items:flex-start;padding:18px 0 82px}.yx-global-footer h2{margin-bottom:15px}.yx-global-footer .gf-contact{border-top:1px solid #ffffff18;padding-top:24px}}

/* Social contacts: original QR images remain uncropped. */
.social-contacts,.yx-global-footer .social-contacts{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 22px;color:inherit}
.social-heading,.yx-global-footer .social-heading{font-size:15px;white-space:nowrap}
.social-items,.yx-global-footer .social-items{display:flex;gap:18px;align-items:flex-start}
.social-item,.yx-global-footer .social-item{position:relative;display:block}
.social-item summary,.yx-global-footer .social-item summary{display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;list-style:none;color:inherit;padding:3px;border-radius:5px}
.social-item summary::-webkit-details-marker{display:none}
.social-item summary:focus-visible{outline:2px solid #d3a527;outline-offset:3px}
.social-item svg,.yx-global-footer .social-item svg{display:block;width:28px;height:28px}
.social-wordmark,.yx-global-footer .social-wordmark{display:flex;align-items:center;height:28px;font-size:15px;font-weight:800;white-space:nowrap}
.social-name,.yx-global-footer .social-name{font-size:12px}
.social-qr,.yx-global-footer .social-qr{position:absolute;bottom:calc(100% + 12px);right:-8px;width:220px;padding:12px;border-radius:12px;background:#fff;color:#26334a;box-shadow:0 6px 30px #0003;z-index:30;text-align:center}
.social-qr img,.yx-global-footer .social-qr img{display:block;width:196px;height:196px;object-fit:contain;margin:0 0 8px}
.social-qr span,.yx-global-footer .social-qr span{display:block;font-size:14px}
.social-qr a,.yx-global-footer .social-qr a{display:block;font-size:12px;color:#715408;margin-top:6px}
.home-social .social-contacts{color:#102641}
.home-social>p{font-size:13px;color:#697387}
@media(max-width:640px){.social-item:first-child .social-qr{left:-8px;right:auto}.social-item:nth-child(2) .social-qr{left:-70px;right:auto}}

/* Footer reset must not erase SVG presentation attributes. */
.social-item svg path,.yx-global-footer .social-item svg path{fill:currentColor}
.social-item svg g,.yx-global-footer .social-item svg g{fill:#102641}
.social-item svg circle,.yx-global-footer .social-item svg circle{fill:inherit}
.social-item svg path[stroke],.yx-global-footer .social-item svg path[stroke]{stroke:#102641}
.yx-global-footer .social-item summary{color:#fff}

.yx-global-footer .gf-contact-intro{display:inline-block;white-space:nowrap;font-size:inherit;letter-spacing:normal}
