/* Public website breakpoints — Tailwind's sm 640, md 768, lg 1024, xl 1280, 2xl 1536 (mobile first). */

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .newsletter-inputs { flex-direction: row; align-items: flex-start; }
  .pill-button { flex-shrink: 0; }
  .footer-bottom-row { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  .section-sm { padding: 2.5rem 0; }
  .section-md { padding: 4rem 0; }
  .section-lg { padding: 5rem 0; }
  .newsletter { padding: 4rem 0; }
  .inner-hero { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 3; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
  .section-lg { padding: 6rem 0; }
  .newsletter-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-grid { grid-template-columns: 38fr 18fr 18fr 18fr; column-gap: 3rem; }
  .footer-brand { grid-column: span 1; }
}

@media (min-width: 1280px) {
  .container { padding-left: 3rem; padding-right: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.site) { scroll-behavior: auto; }
  .mobile-nav[open] { animation: none; }
  a.social-icon:hover { transform: none; }
}

/* Website Manager (2026-11-09): the footer has 1–5 configurable columns after the brand column. */
.footer-cta { margin-top: 0.25rem; }
@media (min-width: 1024px) {
  .footer-grid.footer-cols-1 { grid-template-columns: 38fr 18fr; }
  .footer-grid.footer-cols-2 { grid-template-columns: 38fr 18fr 18fr; }
  .footer-grid.footer-cols-4 { grid-template-columns: 34fr repeat(4, 16fr); column-gap: 2rem; }
  .footer-grid.footer-cols-5 { grid-template-columns: 30fr repeat(5, 14fr); column-gap: 1.5rem; }
}
