/* Load after page styles so mobile alignment has one consistent source. */
@media (max-width: 768px) {
  body { text-align: center; }

  /* Center the boxes as well as the text inside constrained headings. */
  body :is(h1, h2, h3, h4, p, blockquote, figcaption, .section-title, .section-subtitle, .section-content, .hero-subtitle) {
    text-align: center;
    margin-inline: auto;
  }
  body :is(h1, h2, h3, h4) { max-width: 100%; }
  .about-main :is(h1, h2, h3, p),
  .about-hero h1, .about-hero p { margin-inline: auto; }
  .about-stat { text-align: center; border-left-width: 1px; border-top: 3px solid var(--color-accent); }
  .about-card, .about-gallery figcaption, .about-feature__image figcaption { text-align: center; }

  /* Text columns and compact cards should share the center of their section. */
  .aure-intro-manifesto, .aure-programs-text, .aure-cta-heading-block,
  .coaches-hero-content, .coaches-manifesto-column, .coaches-cta-copy,
  .programs-workflow-header-left, .programs-workflow-header-right,
  .programs-spotlight-overlay-content, .programs-rail-content,
  .contact-hero-content-rail, .contact-form-header-left, .contact-form-header-right,
  .legal-hero, .legal-content, .legal-aside, .about-stat {
    text-align: center;
    margin-inline: auto;
    min-width: 0;
    max-width: 100%;
  }

  .aure-hero-proof, .aure-hero-cta-group, .aure-hero-benefits-row,
  .aure-intro-action, .aure-cta-meta-row, .aure-cta-buttons,
  .aure-check-item, .aure-benefit-item,
  .programs-hero-cta-group, .programs-hero-benefits-row,
  .programs-hero-featured-card, .programs-hero-rating-text,
  .programs-filter-row, .programs-overview-actions,
  .programs-spotlight-meta-row, .programs-workflow-header,
  .programs-cta-buttons, .programs-cta-direct-contact,
  .workflow-title-row, .coaches-hero-proof, .coaches-hero-actions,
  .coaches-hero-benefits, .coach-meta-row, .coaches-cta-cluster,
  .contact-hero-badge, .contact-hero-meta-bar, .contact-hero-actions,
  .contact-directory-header, .contact-hours-header, .contact-preview-title-row,
  .contact-preview-actions, .contact-form-split-header,
  .contact-form-header-right, .contact-form-direct-badge,
  .contact-form-footer-row, .about-actions,
  .aure-footer-actions, .aure-footer-socials, .aure-footer-legal,
  .aure-footer-legal-links, .aure-contact-item, .aure-qr-block {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .aure-footer-cta, .aure-footer-directory > *, .aure-footer-copy,
  .aure-footer-nav, .aure-contact-mini, .aure-qr-text,
  .programs-hero-featured-card, .programs-cta-form-card,
  .coaches-hero-card, .contact-hero-badge {
    margin-inline: auto;
    text-align: center;
  }
  .aure-footer-nav, .aure-contact-mini { align-items: center; }
  .aure-footer-legal-links { flex-wrap: wrap; }
  .aure-qr-block { flex-direction: column; }

  /* Remove asymmetric accents that move otherwise centered copy. */
  .coaches-manifesto-title { border-left: 0; padding-left: 0; }
  .coaches-annotation-chat { margin-inline: 0; transform: none; }
  .coaches-manifesto-item, .coaches-annotation-chat,
  .programs-hero-featured-card, .programs-rail-item,
  .programs-mini-story, .coaches-rail-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-checklist, .legal-content ul, .legal-content ol {
    padding-inline: 0;
    list-style-position: inside;
    text-align: center;
  }
  .legal-aside a, .form-label, .contact-form-label { text-align: center; }
  form :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) { text-align: center; }
  .navigation-overlay-links { align-items: center; text-align: center; }
  .navigation-mobile-actions { align-items: center; }
}
