/* Keep the consent choices in the reading order, below the video frame. */
body.mcc-components-page [data-mcc-cookie-notice-anchor] .mcc-cookie-banner {
  position: static;
  margin: .75rem auto 0;
  padding: .625rem .75rem;
  max-height: none;
  overflow: visible;
  font-size: .875rem;
  line-height: 1.45;
  box-shadow: none;
}

[data-mcc-cookie-notice-anchor] .mcc-cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}

[data-mcc-cookie-notice-anchor] .mcc-cookie-inner > p {
  flex: 1 1 20rem;
  min-width: 0;
}

[data-mcc-cookie-notice-anchor] .mcc-cookie-actions {
  flex: 0 1 auto;
  margin-top: 0;
}

body.mcc-components-page [data-mcc-cookie-notice-anchor] .mcc-overlay-button {
  padding: .375rem !important;
  font-size: .875rem !important;
}

@media (max-width: 991px) {
  [data-mcc-cookie-notice-anchor] .mcc-cookie-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr));
    flex-basis: 100%;
  }
}
