/* Site-wide header navigation. Keep this file loaded after page-specific styles. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #55494a;
  background: rgba(255, 249, 245, .96);
  border-bottom: 2px dashed #ffd8d5;
  backdrop-filter: blur(8px);
}

.site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  padding: 0;
  gap: 24px;
}

.site-header .logo {
  flex: 0 0 auto;
  color: #f58f8a;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.site-header nav.links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header nav.links a {
  width: auto;
  padding: 8px 10px;
  color: #55494a;
  background: transparent;
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.site-header nav.links a:hover {
  color: #55494a;
  background: #ffe7e4;
  transform: translateY(-1px);
}

.site-header nav.links a.current,
.site-header nav.links a[aria-current='page'] {
  color: #55494a;
  background: #ffe7e4;
}

.site-header .menu-btn {
  display: none;
  padding: 9px 15px;
  color: #fff;
  background: #f58f8a;
  border: 0;
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .site-header .menu-btn { display: block; }

  .site-header nav.links {
    display: none;
    position: absolute;
    top: 64px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: #fffdfb;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(85, 73, 74, .12);
  }

  .site-header nav.links.open { display: flex; }
  .site-header nav.links a { width: 100%; padding: 9px 12px; }
}
