/* ===================================================================
 * site-header.css — canonical site header CSS
 *
 * SOURCE OF TRUTH. Do NOT define .site-header/.header-*/page-nav rules
 * per-page. Edit this file or the template at
 * _templates/site_header_template.html.
 *
 * Generated v3.7.104 from index.html canonical block (which was
 * established in v3.7.101 after the orphan-mobile-rules debacle).
 * =================================================================== */

.skip-link { position: absolute; top: -40px; left: 12px; z-index: 1000; padding: 8px 16px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 4px; }

.skip-link:focus { top: 12px; }

.page-sticky-wrap { position: sticky; top: 0; z-index: 50; background: #ffffff; }

.site-header-main {
  background-image: url('flag-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.site-header-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 241, 234, 0.78) 0%, rgba(245, 241, 234, 0.92) 100%);
  pointer-events: none;
  z-index: 0;
}

.site-header-main > * { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 0 32px; }

.header-brand-row {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 6px; padding-top: 24px; padding-bottom: 16px;
}

.header-title {
  font-family: 'UnifrakturCook', 'Old English Text MT', 'Goudy Text MT', serif;
  font-weight: 700; font-size: 50px; line-height: 1.0; letter-spacing: 0.005em;
  color: #000; margin: 0; white-space: nowrap;
}

.header-title em { font-style: normal; font-weight: 700; color: inherit; }

.header-title-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
}

.header-tagline { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-soft); font-weight: 400; line-height: 1.4; }

.header-tagline-eyebrow {
  font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--navy); font-weight: 500; margin-left: 6px;
}

.header-meta { display: flex; gap: 18px; flex-shrink: 0; margin-top: 6px; }

.header-meta-item { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); white-space: nowrap; }

.header-meta-item em { font-style: normal; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); }

.header-meta-item strong { color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 13px; }

@media (max-width: 720px) {
  .header-title { font-size: 38px; white-space: normal; }
  .header-title-row { flex-direction: column; gap: 8px; align-items: flex-start; }
}

.page-nav { display: flex; gap: 8px; padding: 10px 0; font-family: "Inconsolata", "Courier New", Consolas, monospace; font-size: 12px; position: relative; z-index: 1; }

.page-nav-link { padding: 5px 12px; color: var(--ink-soft); text-decoration: none; border-radius: 3px; font-weight: 500; background: rgba(255, 255, 255, 0.5); letter-spacing: 0.05em; }

.page-nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.85); }

.page-nav-link.active { background: var(--ink); color: var(--paper); }

.tricolor-band { display: flex; height: 4px; position: relative; z-index: 2; }

.tricolor-band span { flex: 1; }

.tricolor-band span:nth-child(1) { background: var(--red); }

.tricolor-band span:nth-child(2) { background: #fff; }

.tricolor-band span:nth-child(3) { background: var(--blue); }

.header-tagline-eyebrow {
  font-family: "Inconsolata", "Courier New", Consolas, monospace;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  margin-left: 6px;
}

.header-meta-item { font-family: "Inconsolata", "Courier New", Consolas, monospace; font-size: 11px; color: var(--ink-soft); white-space: nowrap; }

.page-nav-link {
  padding: 3px 12px;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 3px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .header-title { font-size: 38px; white-space: normal; }
  .header-title-row { flex-direction: column; gap: 8px; align-items: flex-start; }
  .header-brand-row { flex-direction: column; align-items: flex-start; }
  .site-header-main > * { padding-left: 16px; padding-right: 16px; }
  .header-meta { flex-wrap: wrap; gap: 12px; }
}

.header-tagline {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-style: italic;
  font-size: 14px;
  color: #4a4640;
  font-weight: 400;
  line-height: 1.4;
}

.header-tagline-eyebrow {
  font-family: "Inconsolata", "Courier New", Consolas, monospace;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a4640;
  font-weight: 500;
  margin-left: 6px;
}

.header-meta-item {
  font-family: "Inconsolata", "Courier New", Consolas, monospace;
  font-size: 11px;
  color: #4a4640;
  white-space: nowrap;
}

.header-meta-item em {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4a4640;
}

.header-meta-item strong {
  color: #1a1814;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 700;
  font-size: 13px;
}

.page-nav-link {
  padding: 3px 12px;
  color: #4a4640;
  text-decoration: none;
  border-radius: 3px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.page-nav-link:hover { color: #1a1814; background: rgba(255, 255, 255, 0.85); }

.page-nav-link.active { background: #1a1814; color: #f5f1ea; }

.tricolor-band span:nth-child(1) { background: #B22234; }

.tricolor-band span:nth-child(2) { background: #ffffff; }

.tricolor-band span:nth-child(3) { background: #3C3B6E; }

.tricolor-band-footer { max-width: 1400px; margin: 0 auto; }

.tricolor-band-footer { max-width: none !important; width: 100% !important; flex-shrink: 0; }

.header-search-wrap {
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
  position: relative !important;
  width: 280px !important;
  max-width: 100% !important;
}

.header-search-icon {
  position: absolute !important;
  left: 10px !important;
  width: 14px !important;
  height: 14px !important;
  color: var(--ink-muted, #6b6760) !important;
  pointer-events: none !important;
}

.header-search-input {
  width: 100% !important;
  padding: 6px 12px 6px 30px !important;
  font-family: var(--mono, "Inconsolata", "Courier New", monospace) !important;
  font-size: 12px !important;
  color: var(--ink, #1a1814) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid var(--rule, #d8d4cc) !important;
  border-radius: 3px !important;
  outline: none !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.header-search-input::placeholder {
  color: var(--ink-muted, #6b6760) !important;
  font-style: italic !important;
}

.header-search-input:focus {
  border-color: var(--red, #B22234) !important;
  background: #ffffff !important;
}

.page-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

@media (max-width: 760px) {
  .header-search-wrap { width: 100% !important; margin-top: 8px !important; }
}

.site-header-main > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.site-header-main > * {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

.tricolor-band, .tricolor-band-footer {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

