:root {
  --site-navy: #213B55;
  --site-navy-dark: #142A3D;
  --site-paper: #F7F7F5;
  --site-white: #FFFFFF;
  --site-accent: #C0603F;
  --site-radius: 8px;
  --site-max: 1180px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(33, 59, 85, 0.12);
  background: rgba(247, 247, 245, 0.94);
  backdrop-filter: blur(16px);
}

.site-header .nav {
  max-width: var(--site-max);
  min-height: 78px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

.site-header .brand {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 0;
  color: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.site-header .brand img {
  width: 220px;
  height: auto;
  display: block;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--site-navy);
  font-size: 0.92rem;
  white-space: nowrap;
  line-height: 1.5;
}

.site-header .nav-links a {
  opacity: 0.88;
  color: var(--site-navy);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  color: var(--site-accent);
  opacity: 1;
}

.site-header .button {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-accent);
  border-radius: var(--site-radius);
  background: var(--site-accent);
  color: var(--site-white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.5;
  box-shadow: none;
  text-transform: none;
}

.site-header .button:hover {
  background: #9E4E34;
  border-color: #9E4E34;
}

.site-footer {
  padding: 0;
  border-top: 1px solid rgba(33, 59, 85, 0.12);
  background: var(--site-navy-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.site-footer .footer-inner,
.site-footer .footer-row {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

#post-author,
.kicker,
.back-link {
  color: var(--site-accent);
}

.back-link:hover {
  color: #9E4E34;
}

@media (max-width: 1080px) {
  .site-header .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header .nav-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

@media (max-width: 760px) {
  .site-header .brand {
    min-width: 0;
  }

  .site-header .brand img {
    width: 188px;
  }

  .site-header .nav > .button {
    display: none;
  }

  .site-footer .footer-inner,
  .site-footer .footer-row {
    flex-direction: column;
  }
}
