@charset "UTF-8";

.detail-card,
.answer-card {
    background: #fff;
    border-top: 3px solid #222;
}

.detail-header {
    padding: 28px 32px 22px;
    border-bottom: 1px solid #eee;
}

.detail-header-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.detail-header h2 {
    margin: 8px 0 0;
    font-size: 24px;
}

.detail-label {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 18px 32px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 13px;
}

.detail-content {
    padding: 38px 32px 55px;
    color: #555;
    font-size: 14px;
    line-height: 1.9;
    min-height: 220px;
}

.answer-card {
    margin-top: 35px;
}

.answer-title {
    padding: 20px 28px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-size: 16px;
}

.answer-body {
    padding: 30px 28px;
    line-height: 1.9;
    color: #555;
    min-height: 150px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.answer-content {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.detail-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 28px;
}

.detail-actions .right {
    display: flex;
    gap: 10px;
}

/* ==============================
   상세페이지 첨부파일, 관리자 상세 페이지 겸용
============================== */

.detail-file {
    padding: 18px 28px;
    border-bottom: 1px solid #eee;
}

.detail-file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.detail-file-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #333;
    font-size: 13px;
    text-decoration: none;
}

.detail-file-item:hover {
    text-decoration: underline;
}

.detail-file-icon {
    width: 16px;
    height: 16px;
}