/* chunk: site-header */
/* site-header: fixed bar, logo left, navigation right; below 768px the menu button opens the navigation. */
[data-mx-chunk="site-header"] {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem max(2rem, calc((100% - var(--mx-max-width)) / 2));
  border-bottom: 1px solid var(--mx-color-border);
  background: color-mix(in srgb, var(--mx-color-bg) 95%, transparent);
}
[data-mx-chunk="site-header"][data-mx-scrolled] { border-bottom-color: var(--mx-color-border-strong, var(--mx-color-border)); }
[data-mx-chunk="site-header"] > a { display: block; line-height: 0; }
[data-mx-chunk="site-header"] img { height: 36px; width: auto; }
[data-mx-chunk="site-header"] button {
  display: none;
  padding: 0.5rem;
  border: 0;
  background: none;
  color: var(--mx-color-text);
  font-size: var(--mx-size-h3);
  line-height: 1;
  cursor: pointer;
}
[data-mx-chunk="site-header"] nav { display: flex; align-items: center; gap: 2rem; }
[data-mx-chunk="site-header"] nav a {
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  color: var(--mx-color-text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}
[data-mx-chunk="site-header"] nav a:hover,
[data-mx-chunk="site-header"] nav a:focus-visible,
[data-mx-chunk="site-header"] nav a[aria-current="page"] {
  border-bottom-color: var(--mx-color-link-hover);
  color: var(--mx-color-link-hover);
}
@media (max-width: 768px) {
  [data-mx-chunk="site-header"] { flex-wrap: wrap; padding-inline: 1rem; }
  [data-mx-chunk="site-header"] button { display: block; }
  [data-mx-chunk="site-header"] nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  [data-mx-chunk="site-header"] button[aria-expanded="true"] + nav { display: flex; }
  [data-mx-chunk="site-header"] nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--mx-color-border); }
}

/* chunk: reader-notice */
/* reader-notice: who stands behind a page and when it changed, closing the article. */
[data-mx-chunk="reader-notice"] {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mx-color-border);
  color: var(--mx-color-text-muted);
  font-size: 0.9rem;
}
[data-mx-chunk="reader-notice"] h2 { margin: 0 0 0.5rem; padding-bottom: 0; border-bottom: none; font-size: var(--mx-size-base); text-align: center; }
[data-mx-chunk="reader-notice"] ul { margin: 0; padding-left: 1.25rem; list-style-position: outside; text-align: center; }
[data-mx-chunk="reader-notice"] li { margin-bottom: 0.5rem; }
[data-mx-chunk="reader-notice"] a { overflow-wrap: anywhere; }

/* chunk: site-footer */
/* site-footer: brand, links and contact in a grid, the closing line across the foot. */
[data-mx-chunk="site-footer"] {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
  padding: 3rem max(2rem, calc((100% - var(--mx-max-width)) / 2 + 2rem)) 2rem;
  border-top: 1px solid var(--mx-color-border);
  background: var(--mx-color-bg);
  color: var(--mx-color-text-muted);
  font-size: 0.9rem;
  text-align: center;
}
[data-mx-chunk="site-footer"] > div p { margin-top: 0.5rem; font-size: 0.875rem; }
[data-mx-chunk="site-footer"] img { height: auto; }
[data-mx-chunk="site-footer"] strong { display: block; margin-bottom: 1rem; color: var(--mx-white, var(--mx-color-text)); font-size: 0.875rem; }
[data-mx-chunk="site-footer"] ul { list-style: none; }
[data-mx-chunk="site-footer"] li { margin-bottom: 0.5rem; }
[data-mx-chunk="site-footer"] li a,
[data-mx-chunk="site-footer"] address a { color: var(--mx-color-text-muted); font-size: 0.875rem; }
[data-mx-chunk="site-footer"] li a:hover,
[data-mx-chunk="site-footer"] address a:hover { color: var(--mx-color-link-hover); }
[data-mx-chunk="site-footer"] address a,
[data-mx-chunk="site-footer"] address p { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; font-style: italic; }
[data-mx-chunk="site-footer"] > p {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mx-color-border);
  font-size: 0.8125rem;
}
@media (max-width: 1024px) {
  [data-mx-chunk="site-footer"] { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  [data-mx-chunk="site-footer"] { grid-template-columns: 1fr; padding-inline: 1.5rem; }
  [data-mx-chunk="site-footer"] > p { flex-direction: column; gap: 0.5rem; }
}

