@charset "utf-8";

/* ============================================
   RATING + LEGAL LINKS FOOTER
   Ours, not the design's. Re-apply the HTML
   fragments after every re-mirror (CLAUDE.md, Delta 3):
   the .rating-wrap block (rating icons, the legal
   links row and the copyright line), this file's
   <link>, and the consent-links.js <script>.
   ============================================ */
#footer .rating-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

#footer .rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 24px;
}

#footer .rating img { display: block; width: auto; height: 90px; }

/* "Cookie Settings" re-opens the Cookiebot dialog through
   /ns2/assets/js/consent-links.js; its href is the privacy policy, which is
   also where the click lands when uc.js is blocked. */
#footer .legal-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0 14px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

#footer .legal-links a {
  color: var(--color-text-sub);
  text-decoration: underline;
  text-underline-offset: 2px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

#footer .legal-links a:hover { color: var(--color-text); }

/* The separator is a border, not generated content: a ::before on the anchor
   would sit inside it, joining its accessible name ("| Privacy Policy") and its
   click target, and would pick up the link's underline. */
#footer .legal-links a + a {
  border-left: 1px solid var(--color-text-dim);
  padding-left: 14px;
}

#footer .copyright {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-text-dim);
}

@media (max-width: 1024px) {
  #footer .rating img { height: 72px; }
}

@media (max-width: 768px) {
  #footer .rating-wrap { gap: 16px; }
  #footer .rating { gap: 16px; }
  #footer .rating img { height: 56px; }
}

@media (max-width: 480px) {
  #footer .rating { gap: 12px; }
  #footer .rating img { height: 44px; }
  #footer .legal-links { gap: 0 10px; font-size: 12px; }
  #footer .legal-links a + a { padding-left: 10px; }
  #footer .copyright { font-size: 11px; }
}
