
/* SOTUDY — Shared Header */

.site-header {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid #e8edf0;
}

.site-header .header-inner {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0 clamp(20px, 3.125vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}

.site-header .brand {
  color: #293845;
  font: 400 23px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .site-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(18px, 2.8vw, 35px);
  margin: 0;
  padding: 0;
}

.site-header .site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 1px 0 0;
  color: #73808b;
  font: 400 14px/1 -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, "Malgun Gothic", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header .site-nav a:hover,
.site-header .site-nav a[aria-current="page"] {
  color: #293845;
}

.site-header .site-nav a[aria-current="page"] {
  font-weight: 600;
}

.site-header .site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #99ccee;
}

/* Mobile */

@media (max-width: 720px) {
  .site-header {
    height: 62px;
  }

  .site-header .header-inner {
    padding: 0 20px;
    gap: 12px;
  }

  .site-header .brand {
    font-size: 20px;
  }

  .site-header .site-nav {
    gap: 18px;
  }

  .site-header .site-nav a {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .site-header .brand {
    font-size: 18px;
  }

  .site-header .site-nav {
    gap: 11px;
  }

  .site-header .site-nav a {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a {
    transition: none;
  }
}
