body {
  font-family: "Noto Sans KR", sans-serif;
}

/* Header */
.header {
  background-color: #013d6a;
  border-bottom: 1px solid #d1d5db;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Desktop nav */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    /* text-sm */
  }
}

/* Language selector */

.translate {
  height: 40px; /* Match button height */
  display: flex; /* Use flex for alignment if needed */
  align-items: center; /* Vertically center content */
  padding: 0 16px; /* Optional: to match button padding */
}

/* Header menu (ul/li) */
.desktop-nav .menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .menu > li {
  position: relative;
}

/* Language dropdown */
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  padding: 0.5rem 0.5rem;
  list-style: none;
  margin: 0.25rem 0 0 0;
  z-index: 60;
}

.lang-dropdown li {
  margin: 0;
  padding: 0;
}

.lang-dropdown li button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #013d6a;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
}

.lang-dropdown li button:hover {
  color: #2563eb;
  background: #f3f4f6;
}

.language-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #002b4d;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  position: relative;
}

.language-select select {
  background: transparent;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
  padding-right: 1rem;
}

.language-select .dropdown-icon {
  width: 0.75rem;
  height: 0.75rem;
  position: absolute;
  right: 0.5rem;
  pointer-events: none;
  color: white;
}

/* Google Translate inline gadget look & feel (header) */
.header .goog-te-gadget {
  display: inline-flex !important;
  align-items: center;
}

.header .goog-te-gadget-simple {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #bbbbbb;
  border-radius: 2px;
  padding: 2px 6px;
  height: 24px;
  line-height: 1;
  white-space: nowrap;
}

.header .goog-te-gadget-icon {
  width: 14px !important;
  height: 14px !important;
  margin-right: 4px;
  vertical-align: middle;
}

.header .goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed {
  color: #111827 !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.header .goog-te-gadget-simple span[aria-hidden="true"] {
  color: #767676 !important;
}

/* Sidebar */
.sidebar {
  width: 220px;
  background-color: #f5f7fa;
  border-right: 1px solid #e5e7eb;
  min-height: 100vh;
  padding-top: 1.25rem;
  transition: transform 0.3s;
  transform: translateX(-100%);
  position: fixed;
  top: 73px;
  left: 0;
  z-index: 30;
}

@media (min-width: 1024px) {
  .sidebar {
    transform: translateX(0);
    position: static;
    height: auto;
  }
}

.sidebar-title {
  color: #013d6a;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #d1d5db;
  padding-bottom: 0.5rem;
}

.sidebar-link {
  display: block;
  color: #013d6a;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
}

.sidebar-link:hover {
  color: #2563eb;
  background-color: #e5e7eb;
}
