/* 공시 상세페이지 커스텀 스타일 */
.content-section {
    padding: 60px 0;
    background-color: #fff;
}

/* 컨테이너 폭 고정 및 확장 */
.content-container {
    width: 100%;
    max-width: 1200px; /* 기존 900px에서 1200px로 확장 */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 제목 영역 */
.section-title h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    line-height: 1.4;
    word-break: keep-all;
    text-align: center;
}

/* 메타 정보 (날짜, 작성자, 조회수) */
.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #777;
    font-size: 0.95rem;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    justify-content: flex-end;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta i {
    font-size: 1.1rem;
    color: #999;
}

/* 본문 영역 내부의 정렬 초기화 */
.section-content .main-text {
    width: 100%;
    min-height: 400px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 50px;
    text-align: left; /* 본문은 기본 왼쪽 정렬로 고정 */
}

/* 게시글 내부에 중복된 제목이 있을 경우를 대비한 스타일 */
.main-text h2, .main-text h3 {
    text-align: left;
    margin-top: 0;
}

/* 첨부파일 영역 */
.section-attachments {
    margin-top: 40px;
}

.attachment-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eee;
}

.attachment-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.2s;
    text-decoration: none !important;
}

.attachment-item:hover {
    border-color: #e74c3c; /* 브랜드 포인트 컬러 */
    color: #e74c3c;
}

/* 하단 목록 버튼 */
.post-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.btn-list {
    display: inline-block;
    padding: 12px 40px;
    background-color: #222;
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    transition: background 0.3s;
    text-decoration: none !important;
}

.btn-list:hover {
    background-color: #e74c3c; /* 포인트 컬러로 변경 */
    color: #fff;
}