/* Shared header and breadcrumb styles across all templates. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: auto;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}

.site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 58px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.site-header .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 8px;
  text-decoration: none;
}

.site-header .nav-logo img {
  width: auto;
  height: 32px;
  max-width: none;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  list-style: none;
  overflow-x: auto;
}

.site-header .nav-links a {
  display: block;
  padding: 6px 11px;
  font-size: 13.5px;
  font-weight: 500;
  color: #888;
  text-decoration: none;
  border-radius: 7px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  color: #f0f0f0;
  background: #252525;
}

.site-header .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  max-width: max-content;
  padding: 7px 16px;
  border-radius: 8px;
  background: #E06500;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s;
}

.site-header .nav-cta:hover {
  background: #ff8c2a;
  color: #fff;
  text-decoration: none;
}

.site-header .nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-header .nav-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: #1e1e1e;
  cursor: pointer;
}

.site-header .nav-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #f0f0f0;
}

.site-header + main {
  padding-top: 0;
}

.breadcrumb {
  padding: 16px 0 0;
}

main > .breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 0;
  width: 100%;
}

.container > .breadcrumb {
  max-width: none;
  padding: 16px 0 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: #555;
  letter-spacing: 0;
  text-transform: none;
}

.breadcrumb li::after {
  content: '/';
  margin-left: 8px;
  color: #555;
}

.breadcrumb li + li::before,
.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #f0f0f0;
}

@media (max-width: 760px) {
  .site-header .nav-inner {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    align-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-header .nav-logo {
    margin-right: auto;
  }

  .site-header .nav-menu-button {
    display: inline-flex;
  }

  .site-header .nav-links,
  .site-header .nav-cta {
    display: none;
  }

  .site-header .nav-toggle:checked ~ .nav-links {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    order: 4;
    overflow: visible;
    padding-top: 8px;
  }

  .site-header .nav-toggle:checked ~ .nav-links li {
    width: 100%;
  }

  .site-header .nav-toggle:checked ~ .nav-links a {
    width: 100%;
    padding: 10px 12px;
  }

  .site-header .nav-toggle:checked ~ .nav-cta {
    display: inline-flex;
    flex: 0 0 100%;
    max-width: none;
    order: 5;
    margin-bottom: 4px;
    padding: 10px 14px;
  }
}
