/* 첨부파일 블록 */
.File_Block {
    border-top: 1px solid #ccc;
    padding: 57.6px 0px 15.36px 0px;
}
.File_Item {
    display: flex;
    align-items: center;
    padding: 7.68px 0;
}
.File_Download {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2.88px 9.6px;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0px 19.2px 0 5.76px;
    transition: background-color 0.3s, border 0.3s, color 0.3s;
}
.File_Download:hover {
    border: 1px solid #555;
    color: #222;
    transition: background-color 0.3s, border 0.3s, color 0.3s;
}

/* 이미지 블록 */
.Image_Block {
    padding-bottom: 19.2px;
}
.Image_Block img {
    max-width: 100%;
    height: auto;
}
.Image_Item {
    padding-bottom: 19.2px;
}
.Image_Caption {
    padding-top: 7.68px;
    color: #888888;
}

/* 아이콘 리스트 */
.Icon_List {
    margin-right: 19.2px;
}
.Icon_List img {
    width: 76.8px;
    border-radius: 50%;
}

/* 공지 텍스트 */
.Notice_Text {
    background: #222;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
}

/* 숨김 텍스트 */
.Hide_Text {
    background: #f00;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
}

/* 비밀 텍스트 */
.Secret_Text {
    background: #222;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
}

/* 편집 텍스트 */
.Edit_Text {
    background: #002291;
    color: #fff;
    padding: 5.76px 40px;
    border-radius: 5px;
    margin-right: 9.6px;
    transition: background-color 0.3s, color 0.3s;
}
.Edit_Text:hover {
    background: #3340f8;
    transition: background-color 0.3s, color 0.3s;
}

/* 삭제 텍스트 */
.Delete_Text {
    background: #dc3545;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.Delete_Text:hover {
    background: #c82333;
    transition: background-color 0.3s, color 0.3s;
}

/* 주제 블록 */
.Subject_Text {
    color: #333;
    font-size: 19.2px;
    font-weight: bold;
}
.Subject_Right {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 19.2px;
    text-align: right;
}

/* 삭제 확인 모달 */
.delete-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.delete-modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delete-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.delete-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.delete-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.delete-modal-close:hover {
    color: #333;
}

.delete-modal-body {
    padding: 20px;
    color: #333;
}

.delete-modal-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.delete-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.delete-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.delete-modal-btn.cancel {
    background-color: #f0f0f0;
    color: #333;
}

.delete-modal-btn.cancel:hover {
    background-color: #e0e0e0;
}

.delete-modal-btn.confirm {
    background-color: #dc3545;
    color: #fff;
}

.delete-modal-btn.confirm:hover {
    background-color: #c82333;
}

.No_Post {
    padding: 38.4px;
    text-align: center;
    color: #888888;
    font-size: 12.48px;
}

/* 댓글 */
.Comment_Block {
    border-bottom: 1px solid #aaa;
    padding-bottom: 20px;
}

/* 대문 / 목록 버튼 */
.ViewBtns {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28.8px 19.2px 38.4px 0;
}
.ViewBtns a {
    display: inline-flex;
    min-width: 76px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    background: #fff;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.ViewBtns a:hover {
    border-color: #0c29aa;
    background: #f0f2ff;
    color: #0c29aa;
}
.ViewBtns a:focus-visible {
    outline: 2px solid #0c29aa;
    outline-offset: 2px;
}
.ViewBtns .btn_home {
    width: 192px;
    border-color: #0c29aa;
    background: #0c29aa;
    color: #fff;
}
.ViewBtns .btn_home:hover {
    border-color: #091f88;
    background: #091f88;
    color: #fff;
}
.btn_list {
    width: 192px;
}

/* 하단 버튼 행: 대문 / 목록은 기존 그대로, 게시물 삭제 / 이동 / 복사는 같은 행 왼쪽 */
.ViewBtns {
    position: relative;
}
.ViewBtns_Left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 9.6px;
    margin-left: 20px;
}
.ViewBtns_Left a {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2.88px 9.6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s, border 0.3s, color 0.3s;
}
.ViewBtns_Left a:hover {
    border: 1px solid #555;
    color: #222;
}
.ViewBtns_Left a.btn_delete {
    background: #dc3545;
    color: #fff;
    border: 1px solid #dc3545;
}
.ViewBtns_Left a.btn_delete:hover {
    background: #c82333;
    border: 1px solid #c82333;
    color: #fff;
}