/* Board View - 공통 스타일 */

.bv-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    box-sizing: border-box;
}

/* ── 헤더 ── */
.bv-title-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.bv-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: #1d2c58;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 4px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.bv-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    line-height: 1.45;
    letter-spacing: -0.02em;
    margin: 0;
}

.bv-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.bv-sep { color: #ccc; }

.bv-divider {
    border: none;
    border-top: 1px solid #e0e6f0;
    margin: 0 0 32px;
}

/* ── 본문 ── */
.bv-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    word-break: keep-all;
    margin-bottom: 40px;
}

.bv-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── 관련링크 ── */
.bv-links {
    border-top: 1px solid #e0e6f0;
    padding: 16px 0;
    margin-bottom: 24px;
}
.bv-links ul { list-style: none; padding: 0; margin: 0; }
.bv-links li a { color: #1d2c58; font-size: 14px; text-decoration: underline; }

/* ── 이전글/다음글 ── */
.bv-nav { border-top: 1px solid #e0e6f0; margin-bottom: 24px; }

.bv-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f4fb;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.15s;
}
.bv-nav-item:hover { color: #1d2c58; }

.bv-nav-label {
    flex-shrink: 0;
    font-weight: 700;
    color: #1d2c58;
    font-size: 13px;
    min-width: 42px;
}

.bv-nav-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ── 목록/수정/삭제 버튼 ── */
.bv-foot { display: flex; justify-content: flex-end; gap: 10px; }

.bv-btn-list, .bv-btn-edit, .bv-btn-delete {
    display: inline-block;
    padding: 10px 28px;
    background: #f0f4fb;
    color: #1d2c58;
    font-size: 14px;
    font-weight: 700;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.15s;
    cursor: pointer;
}
.bv-btn-list:hover, .bv-btn-edit:hover { background: #e0e8f8; }
.bv-btn-delete { background: #fdeeee; color: #c0392b; }
.bv-btn-delete:hover { background: #fadddd; }

/* ── 반응형 ── */
@media (max-width: 768px) {
    .bv-wrap { padding: 60px 16px 60px; }
    .bv-title { font-size: 18px; }
    .bv-badge { font-size: 11px; padding: 3px 8px; }
    .bv-content { font-size: 14px; }
    .bv-nav-item { font-size: 13px; gap: 10px; }
}

.case-lock-wrap {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}
.case-lock-content {
  filter: blur(14px);
  pointer-events: none;
  user-select: none;
}
.case-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.case-lock-overlay img {
  width: 35px;
}
.case-lock-overlay p {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
  margin: 0;
}
