/* Public calls to action reflow without changing preview or colour controls. */
@media (max-width: 1023px) {
  body.public-editorial main :is(a.button, form button:not([type="button"]):not([type="reset"])) {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    touch-action: manipulation;
  }

  body.public-editorial main .actions {
    flex-wrap: wrap;
  }

  body.public-editorial main .actions > * {
    min-width: 0;
    max-width: 100%;
  }

  body.public-editorial main .actions > a:not(.button) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  body.public-editorial main :is(a.button, form button:not([type="button"]):not([type="reset"])) {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 16px;
    line-height: 1.4;
  }

  body.public-editorial main .actions {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  body.public-editorial main :is(a.button, form button:not([type="button"]):not([type="reset"])) {
    width: 100%;
  }

  body.public-editorial main .actions {
    align-items: stretch;
  }

  body.public-editorial main .actions > form {
    width: 100%;
  }
}
