/* Mobile rows use their page's content gutter, including support rules. */
/* Follow Sprint's fluid gutter above 680px within the mobile layout. */
@media (max-width: 767px) {
  body.editorial-site.site-panel[data-site-page]:not([data-site-page="top"]) {
    --panel-gutter: clamp(16px, 2.777778vw, 40px);
    --panel-cell: var(--panel-gutter);
  }
  body.editorial-site.site-panel[data-site-page]:not([data-site-page="top"]) main :is(#about, #solutions, #cases)[data-sprint-section],
  body.editorial-site.site-panel[data-site-page]:not([data-site-page="top"]) :is(#reasons, #company)[data-sprint-reasons] {
    --panel-gutter: inherit;
  }
  body.editorial-site.site-panel.service-panel[data-site-page] main :is(#flow, #faq) {
    --support-gutter: var(--panel-gutter) !important;
  }
}
@media (max-width: 680px) {
  /* Sprint's body copy uses 16px gutters; hero and breadcrumbs
     keep their separate 20px photo and navigation insets. */
  body.editorial-site.site-panel[data-site-page]:not([data-site-page="top"]) {
    --panel-gutter: 16px;
    --panel-cell: 16px;
  }

  /* Once the heading stacks above the questions, the list owns a complete frame. */
  body.aitria-panel.page-ai-ux-sprint #faq .faq-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body:is(.aitria-panel, .editorial-site.service-panel)[data-site-page] main #faq .faq-card {
    margin-inline: 0 !important;
    border-left: 1px solid var(--ap-rule-color, var(--border, #8a8f95)) !important;
  }
  body:is(.aitria-panel, .editorial-site.service-panel)[data-site-page] main #faq :is(.faq-q, .faq-item[open])::before {
    content: none !important;
  }

  /* The preceding row paints these shared edges exactly once. */
  body.editorial-site[data-site-page="top"] #shift .quality-heading {
    border-top: 0 !important;
  }
  body.editorial-site.service-panel.page-ux-workshop #contact .workshop-contact-terms {
    border-top: 0 !important;
  }
}
