.insight-detail-container {
    max-width: 1520px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.8;
    color: #222;
}

.insight-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.insight-detail-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}

.insight-detail-content {
    font-size: 16px;
    white-space: pre-line;
    padding-bottom: 40px;
    /*border-bottom: 1px solid #eee;*/
}


/* 새로 추가된 버튼형 네비게이션 */
.insight-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.nav-btn {
    display: inline-block;
    padding: 12px 18px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
}

.nav-btn:hover {
    background-color: #e0e0e0;
}

.nav-btn.back {
    background-color: #333;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.nav-btn.back:hover {
    background-color: #222;
}

.insight-back-link {
    display: block;
    margin-top: 30px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.insight-back-link:hover {
    text-decoration: underline;
}

.insight-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* 이전/다음글 위아래 배치용 (선택적으로 사용) */
.insight-navigation-vertical {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 15px;
    color: #444;
}

.insight-navigation-vertical .nav-item {
    margin-bottom: 20px;
}

.insight-navigation-vertical .nav-label {
    font-weight: bold;
    color: #999;
    font-size: 14px;
}

/* 이전글/다음글 라벨 스타일 */
.nav-label {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    margin-right: 8px;
    vertical-align: middle;
}

.insight-navigation-vertical .nav-title {
    text-decoration: none;
    color: #333;
    display: inline-block;
    margin-top: 5px;
}

.insight-navigation-vertical .nav-title:hover {
    text-decoration: underline;
}

/* 목록으로 돌아가기 - 상단 좌측 */
.insight-back-top {
    max-width: 1520px;
    margin: 30px auto 0;
    padding: 0 20px;
    text-align: left;
}

.insight-back-top .back {
    font-size: 14px;
    padding: 8px 14px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.insight-back-top .back:hover {
    background-color: #333;
}

/* 세로형 버튼 스타일 */
.insight-nav-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.insight-nav-vertical .nav-btn {
    display: inline-block;
    padding: 12px 18px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
}

.insight-nav-vertical .nav-btn:hover {
    background-color: #e0e0e0;
}

.post-content p {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.post-content * {
    word-break: keep-all;
    white-space: normal;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}