/* ---------------------------------------------------------------------------
   Footer fixes — 2026-09-18

   Giuliano: "I don't know why you added those arrows on the footer. That
   looks horrible." footer() in app.js no longer renders <details>/<summary>
   for the link columns — each is now a plain
   <div class="foot-sec"><h4>Title</h4><a>...</a>...</div>. Every rule in
   mobile-navigation.css that drew the chevron (.foot-sec > summary::after,
   .foot-sec[open] > summary::after, #app footer .foot-sec > summary) now
   targets an element that no longer exists, so no chevron is drawn on
   mobile or desktop. This file restyles the plain markup:
     - the column heading is an <h4>, not the <b> that style.css's
       .footer-grid b rule expects, so it needs its own rule here.
     - .foot-sec still carries the old mobile accordion's border/padding
       from mobile-navigation.css; reset it.
     - below 760px, lay the columns out as a compact 2-column grid of plain
       link lists (Alibaba's mobile footer), instead of the old stacked
       accordion rows.
   --------------------------------------------------------------------------- */

#app footer .foot-sec {
  border: 0;
  padding: 0;
}
#app footer .foot-sec h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
#app footer .foot-sec > a {
  display: block;
}

@media (max-width: 760px) {
  #app footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 16px;
    padding-top: 10px;
  }
  #app footer .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 6px;
  }
  #app footer .foot-sec {
    border: 0;
    padding: 0;
  }
  #app footer .foot-sec h4 {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 650;
    color: var(--ink);
  }
  #app footer .foot-sec > a {
    display: block;
    min-height: 0;
    padding: 0;
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--gray);
  }
  #app footer .foot-sec:last-of-type {
    border: 0;
  }
}
