footer {
  padding: 25px 0;
  font-family: Montserrat, sans-serif;
}

footer .footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

footer span.copyright,
footer .footer-policy {
  font-size: 90%;
  line-height: 40px;
}

footer .copyright {
  color: #6c757d;
}

footer .footer-policy {
  color: #212529;
  text-decoration: none;
}

footer .footer-policy:hover,
footer .footer-policy:focus {
  color: #dc3545;
  text-decoration: underline;
}

.separator {
  width: 100%;
  border-top: 1px solid #6c757d;
  opacity: 0.5;
  margin: 24px 0;
}

.policy-page {
  padding: 180px 0 0;
  font-family: Montserrat, sans-serif;
  color: #212529;
}

.policy-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.policy-page .policy-updated {
  color: #6c757d;
  margin-bottom: 2rem;
}

.policy-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
}

.policy-page p,
.policy-page li {
  line-height: 1.65;
}

.policy-page .policy-details {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
}

.policy-page .policy-details li + li {
  margin-top: 0.25rem;
}

.policy-page a {
  color: #dc3545;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1080;
  background: rgba(33, 37, 41, 0.97);
  color: #ced4da;
  font-family: Montserrat, sans-serif;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

html.cookie-accepted .cookie-banner {
  display: none;
}

html:not(.cookie-accepted) body {
  padding-bottom: 90px;
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: #fff;
  text-underline-offset: 2px;
}

.cookie-banner a:hover,
.cookie-banner a:focus {
  color: #dc3545;
}

.cookie-banner .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  footer .footer-bar {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .policy-page {
    padding-top: 124px;
  }

  .policy-page h1 {
    font-size: 1.35rem;
  }

  .cookie-banner .container {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  html:not(.cookie-accepted) body {
    padding-bottom: 180px;
  }
}
