/* Native footer disclosures: content visibility follows the open attribute. */
.footer .footer-back-to-top { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 14px; font-weight: 600; }
.footer .footer-category { min-width: 0; }
.footer .footer-category > summary { display: list-item; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 14px; line-height: 1.5; }
.footer .footer-category > summary h2 { display: inline; margin: 0; font: inherit; font-weight: 700; letter-spacing: 0; }
.footer .footer-category .footer-links { padding-bottom: 8px; }
.footer .footer-category .footer-links a, .footer .footer-category .footer-links .text-button { overflow-wrap: anywhere; }
.footer .footer-category .footer-links form { margin: 0; }
@media (max-width: 700px) {
  .footer { margin-top: 32px; padding: 12px 0 18px; }
  .footer .footer-top { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px 0 16px; }
  .footer .footer-brand { grid-column: auto; padding-bottom: 16px; }
  .footer .footer-brand p { max-width: 100%; margin: 8px 0 0; font-size: 13px; line-height: 1.5; }
  .footer .footer-category { border-top: 1px solid var(--ui-line, var(--line)); }
  .footer .footer-category:last-child { border-bottom: 1px solid var(--ui-line, var(--line)); }
  .footer .footer-category > summary { min-height: 52px; padding: 14px 0; font-size: 15px; }
  .footer .footer-category .footer-links { padding: 0 0 12px 16px; }
  .footer .footer-category .footer-links a, .footer .footer-category .footer-links .text-button { min-height: 44px; padding: 8px 0; font-size: 13px; }
  .footer .footer-bottom { margin-top: 0; padding-top: 12px; font-size: 12px; }
  .footer .footer-bottom span { margin: 4px 0; }
}
