/* Firmpoint Attorneys LP: legibility and touch fixes on the original design (October 2026). */

/* Phones: no label text below 12px. The logo lockup's small "ATTORNEYS LP" is part of the logo and is left as designed. */
@media (max-width: 760px) {
  [style*="font-size:10.5px"], [style*="font-size: 10.5px"],
  [style*="font-size:11px"], [style*="font-size: 11px"],
  [style*="font-size:11.5px"], [style*="font-size: 11.5px"] { font-size: 12px !important; }

  /* Footer links and stand-alone phone, WhatsApp and email links: about 32px tall to tap (WCAG 2.2 asks for 24px).
     Links inside sentences, and the underlined legal links (already well spaced), are left alone. */
  footer a:not([style*="border-bottom"]) { display: inline-block; padding-top: 7px; padding-bottom: 7px; }
  a[href^="tel:"]:not(p a):not([style*="border-bottom"]),
  a[href*="wa.me"]:not(p a):not([style*="border-bottom"]),
  a[href^="mailto:"]:not(p a):not([style*="border-bottom"]) { display: inline-block; padding-top: 7px; padding-bottom: 7px; }
}

/* The homepage's three statement switches are 2px bars: keep the look, widen what a finger can hit. */
button[aria-label^="Show"] { position: relative; }
button[aria-label^="Show"]::after { content: ""; position: absolute; left: -6px; right: -6px; top: -16px; bottom: -16px; }

/* Very narrow phones (under 352px): keep WhatsApp and the menu in the header; Call stays in the menu and footer. */
@media (max-width: 351px) { [data-fp-call] { display: none !important; } }
