/*
 * SoulShive 2026 — Global Readability Patch
 * Purpose: gently increase very small UI text without making the site bulky.
 * Loaded from footer.php so it comes after page-specific CSS.
 */

/* Normal page copy */
body.ss26-page:not(.ss26-page-admin) p{
  font-size:max(11px, .78em) !important;
  line-height:1.58 !important;
}

body.ss26-page:not(.ss26-page-admin) small{
  font-size:max(9.5px, .72em) !important;
  line-height:1.5 !important;
}

/* Forms */
body.ss26-page:not(.ss26-page-admin) label{
  font-size:max(9.5px, .70em) !important;
  line-height:1.35 !important;
}

body.ss26-page:not(.ss26-page-admin) input,
body.ss26-page:not(.ss26-page-admin) select,
body.ss26-page:not(.ss26-page-admin) textarea{
  font-size:max(12px, .82em) !important;
}

/* Buttons and compact interactive UI */
body.ss26-page:not(.ss26-page-admin) button,
body.ss26-page:not(.ss26-page-admin) .btn,
body.ss26-page:not(.ss26-page-admin) [class*="-btn"],
body.ss26-page:not(.ss26-page-admin) [class*="button"]{
  font-size:max(9.5px, .70em) !important;
}

/* General links inside content — leave large headings untouched */
body.ss26-page:not(.ss26-page-admin) main a,
body.ss26-page:not(.ss26-page-admin) .wrap > a{
  font-size:max(9.5px, .70em);
}

/* Tables */
body.ss26-page:not(.ss26-page-admin) table{
  font-size:max(11px, .78em) !important;
}
body.ss26-page:not(.ss26-page-admin) table th{
  font-size:max(10px, .72em) !important;
}
body.ss26-page:not(.ss26-page-admin) table td{
  font-size:max(11px, .78em) !important;
}

/* Header: only a tiny increase */
body.ss26-page:not(.ss26-page-admin) .ss26-mainnav a{
  font-size:10.5px !important;
}
body.ss26-page:not(.ss26-page-admin) .ss26-user,
body.ss26-page:not(.ss26-page-admin) .ss26-mini-btn,
body.ss26-page:not(.ss26-page-admin) .ss26-add-btn{
  font-size:9.5px !important;
}

/* Page masthead description */
body.ss26-page:not(.ss26-page-admin) .ss26-page-masthead p{
  font-size:12.5px !important;
  line-height:1.55 !important;
}
body.ss26-page:not(.ss26-page-admin) .ss26-page-kicker{
  font-size:9.5px !important;
}

/* Footer — previous 8–10px text was too small */
body.ss26-page:not(.ss26-page-admin) .ss26-footer-kicker,
body.ss26-page:not(.ss26-page-admin) .ss26-footer-grid h4{
  font-size:10px !important;
}
body.ss26-page:not(.ss26-page-admin) .ss26-footer-brand p,
body.ss26-page:not(.ss26-page-admin) .ss26-newsletter p{
  font-size:11px !important;
  line-height:1.55 !important;
}
body.ss26-page:not(.ss26-page-admin) .ss26-footer-grid > div:not(:first-child) > a,
body.ss26-page:not(.ss26-page-admin) .ss26-footer-actions a,
body.ss26-page:not(.ss26-page-admin) .ss26-footer-partner-row a{
  font-size:10px !important;
}
body.ss26-page:not(.ss26-page-admin) .ss26-footer-bottom{
  font-size:9.5px !important;
}

/* Frequently used compact labels/badges should stay compact but readable */
body.ss26-page:not(.ss26-page-admin) [class*="badge"],
body.ss26-page:not(.ss26-page-admin) [class*="kicker"],
body.ss26-page:not(.ss26-page-admin) [class*="label"],
body.ss26-page:not(.ss26-page-admin) [class*="meta"]{
  font-size:max(8.5px, .64em);
}

/* Specific 2026 pages contain 6–8px text. Raise those slightly. */
body.ss26-page:not(.ss26-page-admin) .sh26-lead,
body.ss26-page:not(.ss26-page-admin) .sh26-status-main p,
body.ss26-page:not(.ss26-page-admin) .sh26-route small,
body.ss26-page:not(.ss26-page-admin) .sh26-panel-head p,
body.ss26-page:not(.ss26-page-admin) .sh26-answer,
body.ss26-page:not(.ss26-page-admin) .sh26-side-card p,
body.ss26-page:not(.ss26-page-admin) .sh26-field label,
body.ss26-page:not(.ss26-page-admin) .sh26-note,
body.ss26-page:not(.ss26-page-admin) .sh26-trust-card small{
  font-size:10px !important;
}

body.ss26-page:not(.ss26-page-admin) .sh26-route b,
body.ss26-page:not(.ss26-page-admin) .sh26-side-title b,
body.ss26-page:not(.ss26-page-admin) .sh26-faq-q{
  font-size:11px !important;
}

/* Mobile: readable without making cards oversized */
@media(max-width:700px){
  body.ss26-page:not(.ss26-page-admin) p{font-size:12px !important}
  body.ss26-page:not(.ss26-page-admin) small{font-size:10px !important}
  body.ss26-page:not(.ss26-page-admin) label{font-size:10px !important}
  body.ss26-page:not(.ss26-page-admin) input,
  body.ss26-page:not(.ss26-page-admin) select,
  body.ss26-page:not(.ss26-page-admin) textarea{font-size:13px !important}

  body.ss26-page:not(.ss26-page-admin) .ss26-mainnav a{font-size:11px !important}
  body.ss26-page:not(.ss26-page-admin) .ss26-page-masthead p{font-size:11.5px !important}

  body.ss26-page:not(.ss26-page-admin) .ss26-footer-grid > div:not(:first-child) > a,
  body.ss26-page:not(.ss26-page-admin) .ss26-footer-actions a{
    font-size:10.5px !important;
  }
}
