// Govspeak call to action
// http://govuk-component-guide.herokuapp.com/components/govspeak/fixtures/call_to_action
//
// Support:
//
// - alphagov/whitehall: ✔︎
// - alphagov/govspeak: ✔︎

.govuk-govspeak {
  .call-to-action {
    margin-top: $gutter;
    margin-bottom: $gutter;
    background-color: $panel-colour;
    padding: $gutter-half;

    &:first-child {
      margin-top: 0;
    }

    p:last-child,
    ul:last-child,
    ol:last-child {
      margin-bottom: 0;
    }

    ol {
      @include media(desktop) {
        list-style-position: outside;
      }
    }
  }
}

// Govspeak call to action
// http://govuk-component-guide.herokuapp.com/components/govspeak/fixtures/call_to_action
//
// Support:
//
// - alphagov/whitehall: ✔︎
// - alphagov/govspeak: ✔︎

.govuk-govspeak {
  .call-to-action {
    margin-top: $gutter;
    margin-bottom: $gutter;
    background-color: $panel-colour;
    padding: 2em;

    &:first-child {
      margin-top: 0;
    }

    p:last-child,
    ul:last-child,
    ol:last-child {
      margin-bottom: 0;
    }
  }
}

Apply rationalised design to call to action
Apply rationalised design to call to action

The template consolidation team have been working on Govspeak and have produced a rationalised design for the various Govspeak callouts.

This modifies the ‘call to action’ callout to use 2em padding. It also removes a redundant declaration - ordered lists already have a list-style-position of outside as set in the govspeak typography file.
