/* P01 R06: restore approved 2026-10-29 global footer on R05 review pages.
   Strictly limited to the canonical global footer. No header/page selectors. */
#site-footer[data-wichf-site-footer="canonical"] {
  display: block;
  margin: 0;
  padding: 50px 0 24px;
  color: #f5f0e7;
  background-color: #0a251d;
  background-image: linear-gradient(90deg,#061c1533,#061c151a),url('/assets/media/homepage/ad-20261028/footer-texture.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#site-footer[data-wichf-site-footer="canonical"] .site-footer__grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 24px;
}
#site-footer[data-wichf-site-footer="canonical"] .site-footer__brand > .r03-footer-wordmark {
  display: block;
  width: 132px;
  height: 31px;
  margin: 0 0 17px;
  object-fit: contain;
  object-position: left;
  filter: brightness(0) invert(1);
}
/* The canonical footer on exhibition/detail pages lacks the homepage's image.
   Give it the same visible white wordmark without altering navigation markup. */
#site-footer[data-wichf-site-footer="canonical"] .site-footer__brand:not(:has(> .r03-footer-wordmark))::before {
  content: "";
  display: block;
  width: 132px;
  height: 31px;
  margin: 0 0 17px;
  background: url('/assets/media/common/wichf_wordmark.png') left center/contain no-repeat;
  filter: brightness(0) invert(1);
}
#site-footer[data-wichf-site-footer="canonical"] .site-footer__brand strong {
  display: block;
  max-width: 270px;
  font-size: 20px;
  line-height: 1.22;
  color: #f5f0e7;
}
#site-footer[data-wichf-site-footer="canonical"] .site-footer__brand p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #c0cbbc;
}
#site-footer[data-wichf-site-footer="canonical"] .footer-group h2 {
  margin: 8px 0 18px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .14em;
  color: #d4b879;
}
#site-footer[data-wichf-site-footer="canonical"] .footer-group a {
  display: flex;
  min-height: 40px;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #d5ded0;
}
#site-footer[data-wichf-site-footer="canonical"] .footer-group a:hover {
  color: #dfc589;
}
#site-footer[data-wichf-site-footer="canonical"] .r03-footer-link {
  display: flex;
}
#site-footer[data-wichf-site-footer="canonical"] .site-footer__base {
  margin-top: 18px;
  padding-top: 18px;
}
#site-footer[data-wichf-site-footer="canonical"] :is(a,button):focus-visible {
  outline: 2px solid #d5b976;
  outline-offset: 4px;
}
@media (max-width: 1023px) {
  #site-footer[data-wichf-site-footer="canonical"] .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 720px) {
  #site-footer[data-wichf-site-footer="canonical"] { padding: 38px 0 22px; }
  #site-footer[data-wichf-site-footer="canonical"] .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #site-footer[data-wichf-site-footer="canonical"] .site-footer__base {
    display: grid;
    gap: 14px;
  }
}
