/* Shared by the homepage, static public pages, and generated blog pages. */
.site-header, .site-header * { box-sizing: border-box; }
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; color: #123044; border-bottom: 1px solid rgba(18,48,68,.1); font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.5; }
.site-header__inner { max-width: 1440px; min-height: 80px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header a { color: inherit; text-decoration: none; }
.site-header__logo { display: flex; flex: 0 0 230px; width: 230px; }
.site-header__logo img { display: block; width: 100%; height: auto; max-height: 118px; object-fit: contain; object-position: left center; }
.site-header__nav { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.site-header__nav a { font-size: 14px; font-weight: 600; color: rgba(18,48,68,.78); }
.site-header a:hover, .site-header a[aria-current="page"] { color: #c72b28; }
.site-header__actions { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
.site-header .site-header__button { display: inline-flex; justify-content: center; align-items: center; padding: 10px 20px; border: 1px solid rgba(18,48,68,.2); border-radius: 6px; background: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.site-header .site-header__button--primary { color: #fff; background: #c72b28; border-color: #c72b28; }
.site-header .site-header__button--primary:hover { color: #fff; background: #a82320; }
.site-header a:focus-visible, .site-header summary:focus-visible { outline: 3px solid #123044; outline-offset: 4px; }
.site-header__mobile { display: none; }
/* The static shared header renders before React starts, avoiding a header swap. */
#root > header { display: none !important; }
@media (max-width: 1279px) {
  .site-header__inner { padding: 0 24px; gap: 16px; }
  .site-header__logo { flex: 0 1 230px; }
  .site-header__nav, .site-header__actions > a:first-child { display: none; }
  .site-header__actions { margin-left: auto; }
  .site-header__mobile { display: block; }
  .site-header__mobile summary { display: flex; gap: 6px; align-items: center; justify-content: center; min-height: 44px; padding: 8px; border: 1px solid rgba(18,48,68,.2); border-radius: 6px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
  .site-header__mobile summary::-webkit-details-marker { display: none; }
  .site-header__mobile nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 120px); overflow: auto; padding: 16px 24px; display: grid; gap: 4px; background: #fffaf4; border-bottom: 1px solid rgba(18,48,68,.1); box-shadow: 0 12px 22px rgba(20,30,45,.08); }
  .site-header__mobile nav a { display: block; padding: 10px 12px; font-size: 16px; font-weight: 600; }
}
@media (max-width: 479px) {
  .site-header__inner { padding: 0 12px; gap: 8px; }
  .site-header__logo { min-width: 0; flex: 1 1 150px; }
  .site-header .site-header__button { padding: 10px 12px; font-size: 13px; }
  .site-header__mobile summary > span:last-child { display: none; }
  .site-header__mobile summary { min-width: 44px; font-size: 20px; }
}
