/* Site header and footer, shared by every page (loaded after index.css on
   older pages, so plain values are used instead of the home.css tokens). */

.site-container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header,
.site-footer {
  font-family: Manrope, system-ui, sans-serif;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  display: block;
  width: 200px;
  height: 40px;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e3e7ec;
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #4a5866;
  text-decoration: none;
}

.site-nav a:hover {
  color: #0f1a24;
}

.site-nav a[aria-current="page"] {
  color: #0f1a24;
  background: #e7f3ee;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 72px;
  background: #198754;
  color: #fff;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 32px;
}

.site-footer-brand {
  flex: 1 1 260px;
}

.site-footer-brand p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer-col {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.site-footer-heading {
  font-weight: 800;
}

.site-footer-col a {
  color: #fff;
  text-decoration: none;
}

.site-footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer-bottom {
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 1px solid #3e9e6e;
  font-size: 13px;
}

/* Short footer (provider pages) */
.site-footer-short-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 14px;
}

.site-footer-short nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer-short a,
.site-footer-short a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  /* Keep the header short on phones: smaller logo, nav in one swipeable row */
  .site-header-inner {
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .site-logo img {
    width: 150px;
    height: 30px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 14px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: none;
    padding: 7px 10px;
    white-space: nowrap;
  }
}
