/* Notice page-only presentation. Other informational pages keep fm-legal-pages.css unchanged. */
body.fm-notice-page-template
  .page-block.container.fm-legal-shell
  > .main-title {
  box-sizing: border-box;
  max-width: 960px;
  margin: 92px auto 0;
  padding: 0;
  border-radius: var(--fm-radius-xl) var(--fm-radius-xl) 0 0;
  background: var(--fm-neutral-0);
}

body.fm-notice-page-template .page-block.container.fm-legal-shell > .inner {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 0 0 var(--fm-radius-xl) var(--fm-radius-xl);
  background: var(--fm-neutral-0);
}

body.fm-notice-page-template
  .page-block.container.fm-legal-shell
  > .inner
  > .inner-content.fm-legal-content
  :is(.text, .fm-legal-content__body)
  li:last-child {
  margin-bottom: 40px;
}

body.fm-notice-page-template
  .page-block.container.fm-legal-shell
  > .inner
  > .inner-content.fm-legal-content
  ul {
  border-bottom: 1px solid var(--fm-neutral-100);
  margin: 0 0 40px;
}
body.fm-notice-page-template
  .page-block.container.fm-legal-shell
  > .inner
  > .inner-content.fm-legal-content {
  max-width: none;
  margin: 0;
  padding: 20px 0;
  border-radius: 0 0 var(--fm-radius-xl) var(--fm-radius-xl);
  background: var(--fm-neutral-0);
}

body.fm-notice-page-template .fm-notice-page__actions {
  margin-top: 40px;
}

body.fm-notice-page-template .fm-notice-page__home-button {
  display: inline-flex;
  min-height: var(--fm-button-m-height);
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  height: var(--fm-button-cta-l-height);
  border: 0;
  border-radius: var(--fm-button-cta-l-radius);
  background: var(--fm-button-primary-bg-default);
  color: var(--fm-neutral-0) !important;
  font: var(--fm-type-body-l-medium);
  letter-spacing: var(--fm-type-interface-s-letter-spacing);
  text-decoration: none !important;
  transition: background-color 160ms ease;
}

body.fm-notice-page-template .fm-notice-page__home-button:hover {
  background: var(--fm-button-primary-bg-hover);
}

body.fm-notice-page-template .fm-notice-page__home-button:focus-visible {
  outline: 2px solid var(--fm-primary-300);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.fm-notice-page-template
    .page-block.container.fm-legal-shell
    > .main-title {
    max-width: none;
    padding: 0px;
    margin: 0 0 20px 0;
    border-radius: var(--fm-radius-xl) var(--fm-radius-xl) 0 0;
  }

  body.fm-notice-page-template .page-block.container.fm-legal-shell > .inner {
    max-width: none;
    border-radius: 0 0 var(--fm-radius-xl) var(--fm-radius-xl);
  }

  body.fm-notice-page-template
    .page-block.container.fm-legal-shell
    > .inner
    > .inner-content.fm-legal-content
    ul {
    border-bottom: 0;
    margin: 0;
  }
  body.fm-notice-page-template
    .page-block.container.fm-legal-shell
    > .inner
    > .inner-content.fm-legal-content {
    padding: 20px 0px;
    border-radius: 0 0 var(--fm-radius-xl) var(--fm-radius-xl);
  }

  body.fm-notice-page-template .fm-notice-page__actions {
    margin-top: 20px;
  }
}
