/* Scoped logo, footer and template refinements. */
.home-hero .hero-logo,.home-hero .hero-logo:hover{animation:none!important;transform:none!important;translate:none!important;scale:1!important}
.site-header .brand-logo{animation:none!important;transform:none!important;translate:none!important;scale:1!important;transition:filter .2s ease}
.site-header .brand:hover .brand-logo,.site-header .brand:focus-visible .brand-logo{animation:none!important;transform:none!important;translate:none!important;scale:1!important;filter:drop-shadow(0 0 10px rgba(255,255,255,.55))}
.site-footer .partner:hover img,.site-footer .partner-link:focus-visible img{filter:drop-shadow(0 0 10px rgba(255,255,255,.55))}
.footer-brand-logo{display:block;width:min(100%,240px);height:auto;max-height:80px;object-fit:contain;margin:0 auto 4px}
.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.template-card{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--panel);min-width:0}
.template-card img{display:block;width:100%;height:160px;object-fit:contain;margin:0 0 20px}
.template-card h3{margin:0 0 12px}
@media(prefers-reduced-motion:reduce){.site-header .brand-logo{transition:none}}
