/*
 * The kultiva.dk footer (packages/views/src/footer.tsx), shared by the event
 * list (portal.css pages) and the pages for kommuner (apps/landing). Deeper
 * paper band, brand and contact, four link columns and a bottom line with the company and the no-tracking
 * promise. Uses only tokens both stylesheets define.
 */

.site-footer {
  margin-top: 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 16px;
}

.footer-wrap {
  max-width: 1248px;
  margin-inline: auto;
  padding: 64px 24px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 3fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.footer-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer-contact {
  margin: 0;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}

.footer-heading {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.3;
}

.footer-column a:hover,
.footer-logo:hover span {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 15px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .footer-company {
  margin-right: auto;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

@media (max-width: 960px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .footer-wrap {
    padding: 48px 20px 24px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-column a {
    min-height: 44px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
  }
}
