
.wiki-view-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 헤더 영역 */
.wiki-view-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #333;
}

.breadcrumb .sep {
    margin: 0 8px;
    color: #ccc;
}

.view-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 20px;
    color: #222;
}

.view-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
}

.view-meta .category {
    color: #666;
    font-weight: 500;
}

/* 본문 영역 */
.wiki-view-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
}

.wiki-view-content h2,
.wiki-view-content h3,
.wiki-view-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.wiki-view-content h2 {
    font-size: 24px;
}

.wiki-view-content h3 {
    font-size: 20px;
}

.wiki-view-content h4 {
    font-size: 18px;
}

.wiki-view-content p {
    margin-bottom: 20px;
}

.wiki-view-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.wiki-view-content ul,
.wiki-view-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.wiki-view-content li {
    margin-bottom: 10px;
}

.wiki-view-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #f8f9fa;
    border-left: 4px solid #333;
    font-style: italic;
}

.wiki-view-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.wiki-view-content table th,
.wiki-view-content table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.wiki-view-content table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* 관련 콘텐츠 */
.wiki-related {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.related-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    margin-bottom: 10px;
}

.related-list li:last-child {
    margin-bottom: 0;
}

.related-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.2s;
}

.related-list li a:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.related-list .subject {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-list .date {
    font-size: 13px;
    color: #999;
    margin-left: 20px;
}

/* 버튼 영역 */
.wiki-view-buttons {
    text-align: center;
}

.btn-list {
    display: inline-block;
    padding: 14px 40px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    transition: background 0.2s;
}

.btn-list:hover {
    background: #222;
}

/* 반응형 */
@media (max-width: 768px) {
    .wiki-view-section {
        padding: 40px 15px;
    }

    .view-title {
        font-size: 24px;
    }

    .view-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

