/* Shared site footer. Markup: site/partials/footer.html, rendered into every
   production page by scripts/render_footer.py. This file is the only source of
   footer styling; do not add footer rules to page <style> blocks. */

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  background: #03111f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(3.5rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 5rem) 2.25rem;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Brand block */
.site-footer-logo {
  display: inline-block;
  text-decoration: none;
}

.site-footer-logo img {
  display: block;
  height: 3.25rem;
  width: auto;
  max-width: 100%;
}

.site-footer .site-footer-tagline {
  margin: 1.25rem 0 0;
  max-width: 17.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* Columns */
.site-footer .site-footer-label {
  margin: 0 0 1.1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ed9df;
  text-shadow: none;
}

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

/* Plain-text items (the cities) and links share one size, weight and colour. */
.site-footer-col li {
  margin: 0 0 0.65rem;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer-col li:last-child {
  margin-bottom: 0;
}

.site-footer-col a {
  font: inherit;
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer-col a:hover,
.site-footer-col a[aria-current] {
  color: #ffffff;
}

.site-footer-col a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer a:focus-visible {
  outline: 2px solid #9ed9df;
  outline-offset: 4px;
}

/* Bottom line */
.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.75rem;
}

.site-footer .site-footer-bottom p {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1020px) {
  .site-footer-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 2.75rem;
  }
  .site-footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer .site-footer-tagline {
    max-width: 23rem;
  }
}

@media (max-width: 700px) {
  .site-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }
  .site-footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer-col a {
    transition: none;
  }
}
