/* Hallmark v2.0.0 | WebM8 v1.9.87 | component: mobile footer | existing theme preserved */
/* Critique: long link lists compete with the tool viewport; make navigation available on demand without changing desktop. */
@media (max-width: 700px) {
  .site-footer .webm8-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    padding-block: 16px 0;
  }
  .site-footer .webm8-footer-about {
    grid-column: auto;
    gap: 4px;
    padding-bottom: 12px;
  }
  .site-footer .webm8-footer-logo { font-size: 19px; }
  .site-footer .webm8-footer-nav[data-m8-footer-mobile] {
    display: block;
    min-width: 0;
    border-top: 1px solid var(--line);
  }
  .site-footer .m8-footer-mobile-disclosure { min-width: 0; }
  .site-footer .m8-footer-mobile-disclosure > summary,
  .site-footer .m8-seo-footer > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    overflow-wrap: anywhere;
    border-radius: 3px;
  }
  .site-footer .m8-footer-mobile-disclosure > summary::-webkit-details-marker,
  .site-footer .m8-seo-footer > summary::-webkit-details-marker { display: none; }
  .site-footer .m8-footer-mobile-disclosure > summary::after,
  .site-footer .m8-seo-footer > summary::after {
    content: '';
    display: block;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: translate(-3px, -2px) rotate(45deg);
  }
  .site-footer .m8-footer-mobile-disclosure[open] > summary::after,
  .site-footer .m8-seo-footer[open] > summary::after {
    transform: translate(-3px, 2px) rotate(225deg);
  }
  .site-footer .m8-footer-mobile-disclosure > summary:hover,
  .site-footer .m8-footer-mobile-disclosure[open] > summary,
  .site-footer .m8-seo-footer > summary:hover,
  .site-footer .m8-seo-footer[open] > summary { color: var(--accent); }
  .site-footer .m8-footer-mobile-disclosure > summary:active,
  .site-footer .m8-seo-footer > summary:active { background: var(--active); }
  .site-footer .m8-footer-mobile-disclosure > summary:focus-visible,
  .site-footer .m8-seo-footer > summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  .site-footer .m8-footer-mobile-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
    gap: 0 12px;
    padding: 0 0 8px;
    min-width: 0;
  }
  .site-footer .webm8-footer-nav .m8-footer-mobile-links > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    min-width: 0;
    padding: 8px 0;
    line-height: 1.4;
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .site-footer .webm8-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-block: 8px 12px;
    text-align: center;
    font-size: 11px;
  }
  .site-footer .webm8-footer-legal {
    order: -1;
    justify-content: center;
    gap: 2px 12px;
  }
  .site-footer .webm8-footer-legal > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
  }
  /* No animated height, no delayed visibility, including reduced-motion mode. */
  @media (prefers-reduced-motion: reduce) {
    .site-footer .m8-footer-mobile-disclosure *,
    .site-footer .m8-seo-footer > summary { transition: none; animation: none; }
  }
}
