/* Shared-component candidate, derived from the deployed AveFlix design.
   It owns its selectors and tokens; RaceVault does not restyle the component. */
.aveflix-shared-layout { padding-top: 0; --aveflix-header-offset: 104px; }
.aveflix-header {
  display: block;
  min-height: 0;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #1c2025;
  color: #e7eaee;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.aveflix-header, .aveflix-header * { box-sizing: border-box; }
.aveflix-header [hidden] { display: none !important; }
.aveflix-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 104px;
  width: min(100% - 64px, 1040px);
  border-bottom: 1px solid #39414a;
  padding: 0;
  margin: auto;
}
.aveflix-header a { color: #a9c8e7; text-decoration: none; }
.aveflix-header a:hover { text-decoration: underline; text-underline-offset: 4px; }
.aveflix-header :is(a, button):focus-visible { outline: 2px solid #a9c8e7; outline-offset: 4px; }
.aveflix-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.aveflix-brand-icon { display: block; width: 42px; height: 42px; object-fit: contain; border-radius: 3px; }
.aveflix-wordmark { color: #e7eaee; font-size: 28px; font-weight: 700; letter-spacing: -.055em; }
.aveflix-wordmark > span { color: #a2c1df; }
.aveflix-navigation { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.aveflix-navigation a { color: #aab3bf; padding: 10px 0; }
.aveflix-navigation a[aria-current] { color: #e7eaee; position: relative; }
.aveflix-navigation a[aria-current]::after { content: ''; height: 2px; background: #9bbedd; position: absolute; bottom: 0; left: 0; right: 0; }
.aveflix-menu-toggle { display: none; font: inherit; cursor: pointer; }
@media (max-width: 1000px) { .aveflix-navigation { gap: 24px; } }
@media (max-width: 800px) {
  .aveflix-header-inner { width: calc(100% - 48px); }
  .aveflix-navigation { gap: 20px; font-size: 14px; }
}
@media (max-width: 650px) {
  .aveflix-shared-layout { --aveflix-header-offset: 82px; }
  .aveflix-header-inner { width: calc(100% - 40px); min-height: 82px; gap: 20px; flex-wrap: wrap; }
  .aveflix-brand-icon { width: 36px; height: 36px; }
  .aveflix-wordmark { font-size: 26px; }
  .aveflix-navigation { width: 100%; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 15px; }
  .aveflix-header.has-js .aveflix-header-inner { flex-wrap: nowrap; }
  .aveflix-header.has-js .aveflix-navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; padding: 10px 20px; background: #252c34; border: 1px solid #39414a; font-size: 16px; }
  .aveflix-header.has-js.is-open .aveflix-navigation { display: grid; gap: 0; }
  .aveflix-navigation a { padding: 12px 0; }
  .aveflix-navigation a[aria-current]::after { display: none; }
  .aveflix-navigation a[aria-current] { color: #c4d9eb; }
  .aveflix-menu-toggle { display: block; min-height: 44px; padding: 8px 0 8px 20px; background: none; border: 0; color: #aab3bf; }
}
