
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  background-color: #f5f6fa;
  color: #111827;
}
a { color: inherit; text-decoration: none; }

.topbar { background: #0f172a; color: #e5e7eb; font-size: 0.8rem; }
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.2rem 1.2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.topbar-inner a { color: #9ca3af; }
.topbar-inner a:hover { color: #e5e7eb; }

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 12px;

  background-image: url("/nsaid_logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: transparent;

  flex-shrink: 0; 
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #1d4ed8;
  line-height: 1.3;
}
.brand-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}
.main-nav a { padding-bottom: 0.25rem; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: #2563eb; border-color: #2563eb; }

.hero {
  background: radial-gradient(circle at top left, #1d4ed8 0, #1d4ed8 25%, #020617 70%);
  color: #f9fafb;
  padding: 3rem 1.5rem 3.2rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: center;
}
.hero-kor { font-size: 0.95rem; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.85; }
.hero-title { font-size: 2.3rem; font-weight: 800; line-height: 1.25; margin: 0.5rem 0 0.4rem; }
.hero-sub { font-size: 0.95rem; opacity: 0.9; margin-bottom: 0.9rem; }
.hero-keywords { font-size: 0.9rem; color: #bfdbfe; margin-bottom: 1rem; }
.hero-keywords span {
  display: inline-block; margin-right: 0.4rem; padding: 0.15rem 0.55rem;
  border-radius: 999px; border: 1px solid rgba(191, 219, 254, 0.7);
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  border-radius: 999px; border: 1px solid transparent;
  padding: 0.55rem 1.35rem; font-size: 0.9rem; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: #facc15; border-color: #facc15; color: #1f2937; font-weight: 600; }
.btn-primary:hover { background: #fde047; }
.btn-outline { background: transparent; border-color: rgba(243,244,246,0.6); color: #e5e7eb; }
.btn-outline:hover { background: rgba(15,23,42,0.6); }
.hero-note { font-size: 0.78rem; color: #9ca3af; margin-top: 0.9rem; line-height: 1.5; }

.hero-side {
  background: rgba(15,23,42,0.85);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.9rem;
}
.hero-side h3 { margin: 0 0 0.7rem; font-size: 1rem; }
.hero-side dl { margin: 0; }
.hero-side dt { font-weight: 600; margin-top: 0.35rem; color: #e5e7eb; }
.hero-side dd { margin: 0.05rem 0 0.35rem; color: #cbd5f5; }

.page-wrapper { max-width: 1100px; margin: 0 auto; padding: 2.4rem 1.5rem; }
.page-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.5rem; }
.sidebar-box {
  background: #ffffff; border-radius: 0.75rem; border: 1px solid #e5e7eb; padding: 0.9rem 1rem;
}
.sidebar-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6rem; }
.sidebar-nav { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.sidebar-nav li { padding: 0.25rem 0; }
.sidebar-nav a { display: block; padding: 0.15rem 0.1rem; }
.sidebar-nav a:hover { color: #2563eb; }

.content { min-height: 400px; }
.breadcrumb { font-size: 0.78rem; color: #6b7280; margin-bottom: 0.4rem; }
.page-title { font-size: 1.4rem; margin: 0.2rem 0 0.5rem; }
.section-divider { border: 0; border-top: 1px solid #e5e7eb; margin: 0.6rem 0 1.2rem; }

.card {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.2rem;
  font-size: 0.94rem;
}
.table-basic { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table-basic th, .table-basic td {
  border-bottom: 1px solid #e5e7eb; padding: 0.5rem 0.2rem; text-align: left;
}
.table-basic th { width: 28%; font-weight: 600; color: #374151; }
.table-basic td { color: #4b5563; }

.list-plain { margin: 0.2rem 0 0; padding-left: 1.1rem; font-size: 0.9rem; }
.list-plain li { margin-bottom: 0.2rem; }

footer {
  background: #0f172a;
  color: #9ca3af;
  font-size: 0.8rem;
  padding: 1.8rem 1.5rem 1.4rem;
  margin-top: 2.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: space-between;
}
.footer-col { min-width: 230px; }
.footer-col strong { color: #e5e7eb; }
.footer-bottom {
  max-width: 1100px;
  margin: 1.1rem auto 0;
  padding-top: 0.6rem;
  border-top: 1px solid #1f2937;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 870px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .page-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .main-nav ul { display: none; }
  .hero { padding-top: 2.1rem; }
  .hero-title { font-size: 2rem; }
}
