/* Fixed footer with "Kontakta oss" toggle — translated 1:1 from the legacy
   build's compiled stylesheet. The content is shown/hidden by
   /assets/js/footer.js. */
@layer styles {
  .footer-container {
    bottom: 0;
    display: grid;
    position: fixed;
    width: 100%;
  }

  .footer {
    background-color: var(--color__footer);
    padding-left: var(--page__margin);
    padding-right: var(--page__margin);
    transition: margin-bottom 0.5s;
  }

  .footer .card {
    line-height: 1.6;
    text-align: center;
  }

  .footer .heimr-cards {
    margin-bottom: var(--oma-page__space--small);
  }

  .size-900 .footer .heimr-cards {
    display: flex;
    justify-content: space-between;
  }

  .footer__content {
    padding: var(--oma-page__space--small);
  }

  .size-1200 .footer__content {
    margin-left: auto;
    margin-right: auto;
    width: var(--oma-grid__width);
  }

  .footer__text {
    color: var(--color__font--grey);
    font-size: var(--font__size--small);
    line-height: normal;
    text-align: center;
  }

  .footer__text {
    margin-top: var(--oma-page__space--extra-small);
  }

  .footer-toggle {
    background-color: var(--color__footer);
    border: none;
    border-top-left-radius: 0.1875rem;
    border-top-right-radius: 0.1875rem;
    color: var(--color__font-bright);
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 300;
    justify-self: center;
    padding: 0.5rem 1rem;
    right: 50%;
    text-align: center;
  }

  .heimr-created-by__link {
    color: var(--color__font--light-grey);
    text-decoration: none;
  }

  .heimr-created-by__link:hover {
    color: var(--color__font--bright);
  }
}
