/* Approved footer cleanup: existing five-column layout stays unchanged. */
.site-footer .hk-footer-legal{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 17px}
.site-footer .hk-footer-share{appearance:none;background:transparent;border:0;color:#ffe3a2;font:800 14px/1.5 inherit;font-family:inherit;font-size:14px;cursor:pointer;text-decoration:underline;padding:5px 0}
.site-footer .hk-footer-share:hover,.site-footer .hk-footer-share:focus-visible{color:#fff;outline-offset:4px}
.site-footer .hk-footer-app-emblem{position:relative;isolation:isolate;width:76px;height:82px;flex-direction:column;border-radius:20px;background:linear-gradient(145deg,#fff6ca,#f1c64b 50%,#fff9df);border:3px solid #fff4b4;box-shadow:0 0 0 3px #d9a932,0 9px 18px #001e1659}
.site-footer .hk-footer-app-emblem .hk-footer-app-mark{font-size:30px;line-height:1;color:#07543a;letter-spacing:-2px}
.site-footer .hk-footer-app-emblem .hk-footer-app-label{font-size:12px;letter-spacing:3px;color:#7c1029}
.site-footer .hk-footer-app-emblem .hk-footer-app-spark{position:absolute;top:-14px;right:-13px;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#a20d2a;color:#ffe57d;font-size:19px;box-shadow:0 0 0 3px #ffe39b}
@media(prefers-reduced-motion:no-preference){.site-footer .hk-footer-app-emblem{animation:hk-app-glow 2.4s ease-in-out infinite alternate}.site-footer .hk-footer-app-spark{animation:hk-app-blink 1.5s ease-in-out infinite}@keyframes hk-app-glow{from{box-shadow:0 0 0 3px #d9a932,0 9px 18px #001e1659}to{box-shadow:0 0 0 5px #ffdf75,0 0 26px #ffe67e9e}}@keyframes hk-app-blink{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.88)}}}
.site-footer .hk-footer-gallery.hk-gallery-slideshow{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:12px;border:2px solid #dfbb62;background:#103b30}
.site-footer .hk-footer-gallery.hk-gallery-slideshow a{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;opacity:0;visibility:hidden;transition:opacity .7s ease;border:0;border-radius:0}
.site-footer .hk-footer-gallery.hk-gallery-slideshow a.hk-gallery-active{opacity:1;visibility:visible;z-index:1}
.site-footer .hk-footer-gallery.hk-gallery-slideshow img{width:100%;height:100%;object-fit:cover}
.site-footer .hk-gallery-count{font-size:14px;color:#ffe3a2;margin:0}
@media(prefers-reduced-motion:reduce){.site-footer .hk-footer-gallery.hk-gallery-slideshow a{transition:none}}

/* Mobile footer gallery containment: prevent the 31-image max-content track
   from expanding its CSS grid column and the entire viewport. */
.site-footer .hk-footer-column{min-width:0;max-width:100%}
.site-footer .hk-footer-gallery.hk-footer-gallery-autoplay{box-sizing:border-box;display:block!important;position:relative;min-width:0!important;width:100%!important;max-width:100%!important;overflow:hidden!important;contain:inline-size}
.site-footer .hk-footer-gallery-autoplay .hk-footer-gallery-track{display:flex;flex-wrap:nowrap;width:max-content;max-width:none;min-width:0;will-change:transform}
.site-footer .hk-footer-gallery-autoplay .hk-footer-gallery-track img{display:block;flex:0 0 86px;width:86px;max-width:86px;height:78px;object-fit:cover}
@media(max-width:760px){.site-footer,.site-footer .wrap,.site-footer .hk-footer-column{min-width:0;max-width:100%;box-sizing:border-box}.site-footer .hk-footer-gallery.hk-footer-gallery-autoplay{width:100%!important;max-width:100%!important;overflow:hidden!important}}

/* Permanently keep the footer picture gallery compact on every screen. */
.site-footer .hk-footer-gallery.hk-footer-gallery-autoplay{
  width:100%!important;max-width:260px!important;
  height:100px!important;min-height:100px!important;max-height:100px!important;
  aspect-ratio:auto!important;overflow:hidden!important;
  margin-inline:0!important;
}
.site-footer .hk-footer-gallery-autoplay .hk-footer-gallery-track{
  height:100px!important;align-items:center!important;
}
.site-footer .hk-footer-gallery-autoplay .hk-footer-gallery-track img{
  width:86px!important;min-width:86px!important;max-width:86px!important;
  height:78px!important;min-height:78px!important;max-height:78px!important;
  object-fit:cover!important;flex:0 0 86px!important;
}
@media(max-width:760px){
 .site-footer .hk-footer-gallery.hk-footer-gallery-autoplay{
  width:min(260px,100%)!important;max-width:100%!important;
  height:100px!important;max-height:100px!important;
 }
}
