/* site.css — fixes shared by every page of carrierchk.com.
   Each page still carries its own <style>; this file is linked after it, so a
   rule here wins over the page's rule of the same strength. Keep it small:
   only things that were wrong on many pages at once (2026-11-26 review).
   Rules follow modern-web-guidance "form-factor-adaptation" (24px minimum
   targets, content never wider than the screen). */

/* Long words and URLs wrap instead of widening the page. */
body { overflow-wrap: break-word; }

/* Breadcrumbs: links tall enough to tap, and the current page readable
   (it was drawn in the border colour, nearly invisible). */
.breadcrumb a, .crumbs a { display: inline-flex; align-items: center; min-height: 24px; }
.breadcrumb > span:last-child, .crumbs > span:last-child { color: #57534e; }

/* FAQ questions and the blog's table of contents: at least 24px to tap. */
details > summary { min-height: 24px; }
.toc a { min-height: 24px; padding-block: 2px; }

/* Wide tables scroll sideways inside their own box (keyboard: tabindex="0"),
   never the whole page. */
.table-scroll { overflow-x: auto; max-width: 100%; }
.table-scroll > table { margin: 0; }

/* The page's own bottom padding (80px) plus the partner box's margin left a
   large empty gap above the Partners box. */
.container:has(+ #partner-band) { padding-bottom: 24px; }

/* WhatsApp button: on phones it covered the last footer links, so the footer
   gets room underneath it. It also stops pulsing for people who ask for less
   motion. */
@media (max-width: 700px) {
  body:has(.wa-float) > footer { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}
