/* ratios.css
   Copyright © 2026 LexPro. All rights reserved.
   Child care ratios by state (/ratios, /ratios/<state>) on Sunporch's site. */
.ratios-states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ratios-states li[hidden] { display: none; }
@media (max-width: 900px) { .ratios-states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ratios-states { grid-template-columns: 1fr; } }
.ratios-none { font-size: 18px; font-weight: 700; margin: 0 0 18px; }

.ratios-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ratios-pdf-note { margin: 10px 0 0; font-size: 15px; }

.ratios-table-wrap { overflow-x: auto; border: 2px solid #16305A; border-radius: 16px; background: #fff; }
.ratios-table { width: 100%; border-collapse: collapse; font-size: 17px; color: #16305A; }
.ratios-table caption { text-align: left; font-weight: 800; font-size: 15px; padding: 14px 18px 0; color: #4A5A75; }
.ratios-table th, .ratios-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid #D5DEEC; vertical-align: middle; }
.ratios-table thead th { background: #FFF4CC; font-size: 15px; font-weight: 900; border-bottom: 2px solid #16305A; }
.ratios-table tbody tr:last-child th, .ratios-table tbody tr:last-child td { border-bottom: 0; }
.ratios-table tbody th { font-weight: 800; }
.ratios-big { font-size: 22px; font-weight: 900; white-space: nowrap; }
@media (max-width: 560px) {
  .ratios-table { font-size: 15px; }
  .ratios-table th, .ratios-table td { padding: 10px 12px; }
  .ratios-big { font-size: 18px; }
}

.ratios-notes-title { font-size: 24px; margin: 36px 0 12px; }
.ratios-notes { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.55; max-width: 72ch; }
.ratios-notes li { margin: 0 0 10px; list-style: disc; }
.ratios-caveat { font-style: italic; }
.ratios-source, .ratios-disclaimer { font-size: 15px; max-width: 72ch; margin: 18px 0 0; }
.ratios-source a { font-weight: 700; }
