/* Final AA contrast polish.
   Keeps the existing palette, but darkens small-text accent variables so common blue/olive text clears WCAG AA on white and off-white backgrounds. */
:root {
  --aim-sky: #2a739f;
  --aim-sky-700: #2a739f;
  --aim-olive: #5d6d48;
}

/* Mobile weight loss/wellness title normalization.
   Fixes oversized serif card headings in the care cards and the care-includes list. */
@media (max-width: 820px) {
  .service-detail-page .weight-wellness-list-card h3,
  .service-detail-page .weight-wellness-card h3 {
    font-family: var(--font-body, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif) !important;
    font-size: clamp(17px, 4.55vw, 19px) !important;
    line-height: 1.28 !important;
    font-weight: 800 !important;
    letter-spacing: -0.012em !important;
    color: var(--aim-blue, #042249) !important;
    text-rendering: optimizeLegibility !important;
  }

  .service-detail-page .weight-wellness-list-card h3,
  .service-detail-page .weight-wellness-card h3 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  .service-detail-page .weight-wellness-list-card,
  .service-detail-page .weight-wellness-card {
    min-height: 0 !important;
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .service-detail-page .weight-wellness-card p,
  .service-detail-page .weight-wellness-list-card li {
    font-family: var(--font-body, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif) !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
    color: var(--aim-text-soft, #4e5a67) !important;
  }

  .service-detail-page .weight-wellness-list-card ul {
    gap: 10px !important;
  }

  .service-detail-page .weight-wellness-list-card li {
    grid-template-columns: 18px 1fr !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }
}
