/* QDS governed shared footer CSS. Kept separate to preserve its post-page cascade position. */

/* Sprint 017: footer hierarchy, contact readability, and responsive layout repair. */
body:not(.wp-admin) .qds-site-footer{padding:28px 0 14px!important}
body:not(.wp-admin) .qds-site-footer__inner{grid-template-columns:minmax(260px,1.3fr) minmax(145px,.7fr) minmax(170px,.82fr) minmax(320px,1.42fr)!important;gap:22px clamp(22px,2.5vw,32px)!important;align-items:start}
body:not(.wp-admin) .qds-site-footer__brand h2{font-size:18px;line-height:1.2;letter-spacing:0}
body:not(.wp-admin) .qds-site-footer__brand p{margin-top:9px;line-height:1.55;max-width:390px}
body:not(.wp-admin) .qds-site-footer__inner>section>h3{margin:1px 0 18px;color:#AEB9CC;font-size:13px;line-height:1.25;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
body:not(.wp-admin) .qds-site-footer ul{margin:0!important;gap:0!important}
body:not(.wp-admin) .qds-site-footer li{margin:0;padding:0}
body:not(.wp-admin) .qds-site-footer li>a{box-sizing:border-box;display:inline-flex;align-items:center;min-width:44px;min-height:44px!important;height:44px;padding-block:0!important;color:#D9DEE8;font-size:14px!important;line-height:1.35;font-weight:700}
body:not(.wp-admin) .qds-site-footer a:focus-visible{outline:2px solid #4A7DFF;outline-offset:3px;border-radius:5px}
body:not(.wp-admin) .qds-footer-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
body:not(.wp-admin) .qds-footer-actions li:first-child{grid-column:1/-1}
body:not(.wp-admin) .qds-footer-actions .qds-footer-primary{color:#FFFFFF;font-weight:850}
body:not(.wp-admin) .qds-footer-actions .qds-footer-primary::after{content:"\2192";margin-left:8px;color:#4A7DFF;font-size:16px;transition:transform .18s ease}
body:not(.wp-admin) .qds-footer-actions .qds-footer-primary:hover::after{transform:translateX(3px)}
body:not(.wp-admin) .qds-footer-contact{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(130px,.75fr);gap:8px 14px;margin-top:10px;padding-top:12px;border-top:1px solid rgba(217,222,232,.14);font-style:normal}
body:not(.wp-admin) .qds-footer-contact-item{min-width:0}
body:not(.wp-admin) .qds-footer-contact-label,
body:not(.wp-admin) .qds-footer-social-label{display:block;margin:0 0 2px;color:#AEB9CC;font-size:11px;line-height:1.3;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
body:not(.wp-admin) .qds-footer-contact a{display:inline-flex;align-items:center;min-height:44px;color:#D9DEE8;font-size:14px!important;line-height:1.35;font-weight:700;white-space:nowrap}
body:not(.wp-admin) .qds-footer-social{margin-top:8px;padding-top:10px;border-top:1px solid rgba(217,222,232,.14)}
body:not(.wp-admin) .qds-footer-social-label{margin-bottom:7px}
body:not(.wp-admin) .qds-social-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body:not(.wp-admin) .qds-social-links a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:44px!important;height:44px;padding:6px 5px!important;border-color:rgba(217,222,232,.2);font-size:11px!important;line-height:1.2!important;font-weight:750;white-space:nowrap}
body:not(.wp-admin) .qds-site-footer__meta{margin-top:14px!important;padding-top:10px!important;gap:8px;color:rgba(255,255,255,.58);font-size:12px!important;line-height:1.45}

@media(max-width:1100px){
  body:not(.wp-admin) .qds-site-footer__inner{grid-template-columns:minmax(230px,1.2fr) minmax(130px,.68fr) minmax(155px,.78fr) minmax(300px,1.35fr)!important;gap:20px!important}
  body:not(.wp-admin) .qds-footer-contact{grid-template-columns:1fr}
}

@media(max-width:980px){
  body:not(.wp-admin) .qds-site-footer__inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 28px!important}
  body:not(.wp-admin) .qds-site-footer__brand,
  body:not(.wp-admin) .qds-footer-connect{grid-column:1/-1}
  body:not(.wp-admin) .qds-site-footer__inner>section>h3{margin-bottom:10px}
  body:not(.wp-admin) .qds-site-footer__inner>section:nth-child(2) ul,
  body:not(.wp-admin) .qds-site-footer__inner>section:nth-child(3) ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not(.wp-admin) .qds-footer-contact{grid-template-columns:minmax(190px,1fr) minmax(140px,1fr)}
}

@media(max-width:640px){
  body:not(.wp-admin) .qds-site-footer{padding:22px 0 12px!important}
  body:not(.wp-admin) .qds-site-footer__inner{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  body:not(.wp-admin) .qds-site-footer__brand,
  body:not(.wp-admin) .qds-footer-connect{grid-column:auto}
  body:not(.wp-admin) .qds-site-footer__brand{padding-left:12px}
  body:not(.wp-admin) .qds-site-footer__brand p{font-size:14px;line-height:1.5}
  body:not(.wp-admin) .qds-site-footer__inner>section>h3{margin-bottom:8px;font-size:12px}
  body:not(.wp-admin) .qds-site-footer__inner>section:nth-child(2) ul,
  body:not(.wp-admin) .qds-site-footer__inner>section:nth-child(3) ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not(.wp-admin) .qds-footer-actions{column-gap:12px}
  body:not(.wp-admin) .qds-footer-contact{grid-template-columns:1fr 1fr;margin-top:8px;padding-top:10px}
  body:not(.wp-admin) .qds-footer-contact a{font-size:13px!important}
  body:not(.wp-admin) .qds-footer-social{margin-top:6px;padding-top:8px}
  body:not(.wp-admin) .qds-social-links{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  body:not(.wp-admin) .qds-social-links a{padding-inline:3px!important;font-size:10px!important}
  body:not(.wp-admin) .qds-site-footer__meta{margin-top:12px!important;padding-top:9px!important;font-size:12px!important}
}

@media(max-width:360px){
  body:not(.wp-admin) .qds-footer-contact{grid-template-columns:1fr}
  body:not(.wp-admin) .qds-social-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body:not(.wp-admin) .qds-social-links a{font-size:12px!important}
}
