
@font-face {
    font-family: 'BookkMyungjo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Lt.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'BookkMyungjo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Bd.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'NexonLv1Gothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'NexonLv1Gothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NexonLv1Gothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

/* 카테고리 */
.board-category {
  display: block;
  position: relative;
  margin-bottom: 10px;
  text-align: center;
}

.category-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: wrap;
}

.category-list li {
  display: flex;
  align-items: center;
}

.category-list li:not(:last-child)::after {
  content: '|';
  color: #ccc;
  margin: 0 12px;
}

.category-list a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  padding: 4px 0;
}

.category-list a:hover {
  color: #333;
}

.category-list a.is-active {
  color: #333;
  font-weight: 700;
}

/* 리스트 - 카드형 레이아웃 */
.pb-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.pb-card {
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.2s;
}

.pb-card:hover {
  transform: translateY(-4px);
}

.pb-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #e9e9e9;
}

.pb-card__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 700;
}

.pb-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.pb-card:hover .pb-card__overlay {
  opacity: 1;
}

.pb-card__title {
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  margin-bottom: 6px;
}

.pb-card__name {
  color: #fff;
  font-size: 13px;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}