/**
 * @file
 * Lays out the buttons a Thrive paragraph renders beneath its questions.
 *
 * The buttons themselves are styled by the theme: they are built through
 * the same helper as every other call to action on this site, so they
 * arrive carrying the site's own button classes and nothing here touches
 * their appearance.
 *
 * Only the row they sit in needs styling. The theme scopes its own
 * ".links" rules inside each component that uses them, for instance in
 * components/generic-content/generic-content.scss, so a ".links" element
 * in a component the theme does not know about gets no layout at all.
 * These rules repeat that component's, which is what keeps the row
 * looking the same as the button rows above and below it.
 */

.thrive-survey-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

/* Matches the theme's "large" breakpoint, where button rows turn
   horizontal. Kept in a media query rather than a mixin because this file
   is plain CSS served by the module, not compiled with the theme. */
@media (min-width: 1024px) {
  .thrive-survey-buttons {
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }
}
