/* ===== Page Banner ===== */
.page-banner {
  padding: 120px 0 40px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-500);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .current { color: var(--gray-700); font-weight: 500; }

/* ===== List ===== */
.list-section { padding: 60px 0 100px; }

.list-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.list-tab {
  padding: 8px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  background: var(--white);
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-ko);
  cursor: pointer;
  transition: all 0.2s;
}

.list-tab.active,
.list-tab:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.list-table {
  border-top: 2px solid var(--gray-900);
}

.list-head {
  display: grid;
  grid-template-columns: 60px 72px 1fr 110px 72px;
  padding: 14px 16px;
  background: var(--gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
}

.list-head .col-title { text-align: left; padding-left: 8px; }

.list-body li {
  border-bottom: 1px solid var(--gray-100);
}

.list-body a {
  display: grid;
  grid-template-columns: 60px 72px 1fr 110px 72px;
  padding: 16px;
  align-items: center;
  text-align: center;
  transition: background 0.2s;
}

.list-body a:hover {
  background: var(--gray-100);
}

.col-num {
  font-size: 14px;
  color: var(--gray-400);
  font-family: var(--font-en);
}

.col-title {
  text-align: left !important;
  padding-left: 8px;
  font-size: 15px;
  color: var(--gray-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.list-body a:hover .col-title { color: var(--primary); }

.col-date {
  font-size: 14px;
  color: var(--gray-400);
  font-family: var(--font-en);
}

.col-views {
  font-size: 13px;
  color: var(--gray-400);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
}

.page-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-en);
  color: var(--gray-500);
  transition: all 0.2s;
}

.page-link:hover { background: var(--gray-100); }

.page-link.active {
  background: var(--primary);
  color: var(--white);
}

/* ===== Detail ===== */
.detail-section { padding: 40px 0 100px; }

.detail-card {
  max-width: 860px;
  margin: 0 auto;
}

.detail-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 40px;
}

.detail-header .badge { margin-bottom: 12px; display: inline-block; }

.detail-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--gray-400);
}

.detail-body {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.9;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

.detail-body ul {
  padding-left: 20px;
  margin: 12px 0;
}

.detail-body li {
  list-style: disc;
  margin-bottom: 6px;
  color: var(--gray-600);
}

.detail-footer {
  padding-top: 24px;
}

.detail-nav {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.detail-nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  transition: background 0.2s;
}

.detail-nav-item:first-child {
  border-bottom: 1px solid var(--gray-200);
}

.detail-nav-item:hover { background: var(--gray-100); }

.nav-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  flex-shrink: 0;
  width: 48px;
}

.nav-title {
  font-size: 14px;
  color: var(--gray-700);
}

.detail-nav-item:hover .nav-title { color: var(--primary); }

.detail-actions {
  display: flex;
  justify-content: center;
}

.btn-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  transition: all 0.2s;
}

.btn-list:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .list-head { display: none; }

  .list-body a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 8px;
  }

  .col-num { display: none; }
  .col-views { display: none; }
  .col-title { padding-left: 0; white-space: normal; }

  .col-badge { justify-self: start; }
  .col-date { justify-self: start; font-size: 13px; }

  .detail-title { font-size: 22px; }
}
