/* Footer-only unified brand asset. No header/logo-source/favicon changes. */
#site-footer .footer-identity{max-width:540px}
#site-footer .footer-identity .brand,#site-footer .footer-identity .brand img{display:block;width:480px;max-width:100%;height:auto}
@media(max-width:900px){#site-footer .footer-main{grid-template-columns:1fr;gap:26px}#site-footer .footer-contact{padding-top:0}}
@media(max-width:600px){#site-footer .footer-identity .brand,#site-footer .footer-identity .brand img{width:350px;max-width:100%;height:auto}}

/* Restore the unified SVG src: old common CSS replaces footer images with the legacy logo. */
#site-footer .footer-identity .brand > img{content:normal;object-fit:contain;object-position:left center;max-height:none}

/* Preserve each language’s existing official header src without changing geometry. */
#site-header > .brand > img{content:normal}

/* NEXT BATCH ONLY. Append after the existing footer-brand-asset.css rules.
   Footer-scoped geometry; original official artwork, slogan, URLs and header stay intact. */
#site-footer.footer-lockup {
  padding: 28px 5% 20px;
}
#site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px 6%;
  margin: 0 auto;
}
#site-footer .footer-identity { min-width: 0; max-width: 420px; }
#site-footer .footer-identity .brand,
#site-footer .footer-identity .brand img {
  width: 420px;
  max-width: 100%;
  height: auto;
  margin: 0;
}
#site-footer .footer-contact { min-width: 0; margin: 0; padding: 0; }
#site-footer .footer-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}
#site-footer .footer-contact-grid > a { min-width: 0; }
#site-footer .footer-phone { font-size: 18px; line-height: 1.5; }
#site-footer .footer-context { margin-top: 2px; color: #536b5f; }
#site-footer .footer-inquiry { min-height: 32px; display: inline-flex; align-items: center; }
#site-footer .footer-base { margin: 16px auto 0; padding-top: 12px; }
#site-footer .footer-base .footer-links { gap: 2px 12px; color: #536b5f; }
#site-footer .footer-base .footer-links a { min-height: 32px; }
#site-footer .footer-base > p { margin-top: 6px; font-size: 12px; color: #536b5f; }
@media (max-width: 900px) and (min-width: 761px) {
  #site-footer .footer-main { gap: 24px 5%; }
  #site-footer .footer-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  #site-footer .footer-contact-grid > a { min-height: 32px; }
  #site-footer .footer-context { display: inline; }
  #site-footer .footer-phone { display: inline; }
}
@media (max-width: 760px) {
  #site-footer.footer-lockup { padding: 20px 6% 18px; }
  #site-footer .footer-main { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #site-footer .footer-identity { max-width: 340px; }
  #site-footer .footer-identity .brand,
  #site-footer .footer-identity .brand img { width: 340px; }
  #site-footer .footer-contact { margin: 0; padding: 0; border: 0; }
  #site-footer .footer-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  #site-footer .footer-contact-grid > a { min-height: 32px; line-height: 1.6; }
  #site-footer .footer-phone { display: inline; font-size: 17px; }
  #site-footer .footer-context { display: inline; margin: 0; }
  #site-footer .footer-inquiry { margin: 0; }
  #site-footer .footer-base { margin-top: 12px; padding-top: 10px; }
  #site-footer .footer-base .footer-links { gap: 2px 10px; }
  #site-footer .footer-base > p { margin-top: 6px; }
}

/* Footer logo follows the approved header's width at each breakpoint. */
#site-footer.footer-lockup{--footer-logo-width:260px;padding-top:20px;padding-bottom:16px}
#site-footer.footer-lockup .footer-identity{width:var(--footer-logo-width);max-width:100%}
#site-footer.footer-lockup .footer-identity .brand,
#site-footer.footer-lockup .footer-identity .brand img{width:var(--footer-logo-width);max-width:100%;height:auto}
#site-footer.footer-lockup .footer-main{gap:12px 4%;align-items:center}
#site-footer.footer-lockup .footer-base{margin-top:12px;padding-top:10px}
@media(max-width:1023px){#site-footer.footer-lockup{--footer-logo-width:190px}}
@media(max-width:760px){#site-footer.footer-lockup{padding-top:16px;padding-bottom:14px}#site-footer.footer-lockup .footer-main{gap:10px}}
@media(max-width:600px){#site-footer.footer-lockup{--footer-logo-width:170px}}
@media(max-width:360px){#site-footer.footer-lockup{--footer-logo-width:135px}}
