/* =============================================================
   Supplete — Shared Site Elements
   Header + Footer styles shared across all pages.
   Source of truth: Content/Publishing/Shared_Site_Elements/
   ============================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&family=Nunito:wght@400;600;700&family=Raleway:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

/* CSS variables used by header/footer */
:root {
  --site-bg: #ffffff;
  --site-text: #273247;
  --site-line: #dfe8f2;
  --site-blue: #3576c6;
  --site-blue-deep: #2965af;
  --site-navy: #202735;
  --site-container: 1120px;
}

/* Container */
.container {
  width: min(var(--site-container), calc(100% - 32px));
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: 'Gilda Display', Georgia, serif;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-family: 'Raleway', sans-serif;
  font-weight: 450;
  margin-left: auto;
}

.nav a {
  color: inherit;
  text-decoration: none;
}

.nav a:hover {
  color: var(--site-blue-deep);
  text-decoration: underline;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--site-navy);
  color: #fff;
  margin-top: 0;
}

.footer-top {
  padding: 28px 0 30px;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 0.85fr);
  gap: 36px;
  align-items: start;
}

.footer-brand-block img.logo {
  width: 150px;
  object-fit: contain;
  background: #fff;
  padding: 8px 10px;
}

.footer-brand-block .tagline {
  margin: 16px 0 0;
  font-family: 'Gilda Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Gilda Display', Georgia, serif;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 6px;
  font-size: 0.78rem;
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px 0 18px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  font-size: 0.78rem;
}

.socials {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 1rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 6px 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }

  .brand {
    gap: 6px;
  }

  .brand img {
    width: 24px;
    height: 24px;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px 10px;
    font-size: 11px;
    margin-left: auto;
  }

  .nav a {
    white-space: nowrap;
  }

  .footer-top {
    padding: 20px 0;
    gap: 24px;
  }

  .footer-brand-block img.logo {
    width: 110px;
  }

  .footer-heading {
    font-size: 0.65rem;
  }

  .footer-links a {
    font-size: 0.72rem;
    margin-bottom: 4px;
  }

  .footer-bottom {
    padding: 10px 0 12px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.72rem;
    gap: 10px;
  }
}
