/* 메인 영역 */
.notice-detail-main {
    padding-bottom: 4em;
}

/* content-section 기본 박스 스타일 (introduction 톤과 통일) */
.notice-detail-section {
    max-width: 75%;
    margin: 3em auto;
    padding: 2.5em 3em;
    background-color: #f9f9f9;
    border-radius: 1em;
    box-shadow: 0 0.2em 0.4em rgba(0,0,0,0.1);
}

/* 제목 영역 */
.detail-title-box {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
}

.detail-title {
    font-size: 1.7em;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* 메타 정보 */
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6em;
    font-size: 0.9em;
    color: #666;
}

.detail-id {
    font-weight: 600;
    color: #777;
}

.detail-date,
.detail-updated {
    padding-left: 0.6em;
    border-left: 0.08em solid #ddd;
}

/* 구분선 */
.detail-divider {
    margin: 1.8em 0 1.5em 0;
    border: 0;
    border-top: 0.08em solid #e0e0e0;
}

/* 본문 */
.detail-content {
    font-size: 1.05em;
    line-height: 1.8;
    color: #444;
    word-break: keep-all;
}

/* 본문 안에서 줄바꿈/목록 등을 예쁘게 */
.detail-content p {
    margin: 0 0 1em 0;
}

.detail-content ul,
.detail-content ol {
    margin: 0.5em 0 1em 1.2em;
    padding: 0;
}

/* 하단 버튼 영역 */
.detail-bottom {
    margin-top: 2.5em;
    text-align: right;
}

.btn-back {
    display: inline-block;
    padding: 0.6em 1.4em;
    font-size: 0.9em;
    background: #ffffff;
    border: 0.08em solid #ccc;
    border-radius: 0.5em;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.btn-back:hover {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: #fff;
}

/* 상세 페이지 본문 스타일 */
.detail-content {
    min-height: 200px; /* 너무 짧아 보이지 않게 최소 높이 지정 */
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    
    /* ▼▼▼ 핵심: 엔터와 띄어쓰기를 입력한 그대로 보여줌 ▼▼▼ */
    white-space: pre-wrap; 
    word-break: break-all; /* 긴 영문 주소 등이 있어도 밖으로 튀어 나가지 않게 자름 */
}


/* 반응형 */
@media (max-width: 768px) {
    .notice-detail-section {
        max-width: 95%;
        margin: 2.2em auto;
        padding: 1.6em 1.2em;
    }

    .detail-title {
        font-size: 1.4em;
    }

    .detail-meta {
        gap: 0.4em;
    }

    .detail-date,
    .detail-updated {
        border-left: none;
        padding-left: 0;
    }

    .btn-back {
        width: 100%;
        text-align: center;
        padding: 0.8em 0;
    }
}
