/* nlog_black 블로그 주제 항목 스타일 (클래스명은 기본 스킨과 겹치지 않게 Black_ / black- 접두어) */

.Black_Subject_Block {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 19.2px 38.4px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 19.2px;
    color: #fff;
}

.Black_Subject_Left {
    display: flex;
    align-items: center;
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
}

/* 아이콘 리스트 */
.Black_Icon_List {
    margin-right: 19.2px;
}

.Black_Icon_List img {
    width: 76.8px;
    border-radius: 50%;
    border: 2px solid #333;
    transition: border-color 0.25s ease;
}

.Black_Subject_Block:hover .Black_Icon_List img {
    border-color: #ffcc00;
}

/* 공지 텍스트 */
.Black_Notice_Text {
    background: #ffcc00;
    color: #000;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
    font-weight: 500;
}

/* 숨김 텍스트 */
.Black_Hide_Text {
    background: #cc0000;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
    font-weight: 500;
}

/* 비밀 텍스트 */
.Black_Secret_Text {
    background: #666;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
    font-weight: 500;
}

/* 편집 텍스트 */
.Black_Edit_Text {
    background: #0066ff;
    color: #fff;
    padding: 5.76px 40px;
    border-radius: 5px;
    margin-right: 9.6px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
}

.Black_Edit_Text:hover {
    background: #0052cc;
    transition: background-color 0.3s, color 0.3s;
}

/* 삭제 텍스트 */
.Black_Delete_Text {
    background: #cc0000;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
}

.Black_Delete_Text:hover {
    background: #990000;
    transition: background-color 0.3s, color 0.3s;
}

/* 주제 블록 */
.Black_Subject_Text {
    color: #ffcc00;
    font-size: 19.2px;
    font-weight: bold;
    transition: color 0.25s ease;
}

.Black_Subject_Block:hover .Black_Subject_Text {
    color: #fff;
}

.Black_Subject_Right {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 19.2px;
    text-align: right;
    color: #ccc;
    font-size: 14px;
}

.Black_Subject_Right a {
    text-decoration: none;
}

.Black_Category_Text {
    color: #999;
}

/* 삭제 확인 모달 */
.black-delete-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.black-delete-modal-content {
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    animation: blackSlideUp 0.3s ease;
}

@keyframes blackSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.black-delete-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.black-delete-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #ffcc00;
}

.black-delete-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
    transition: color 0.25s ease;
}

.black-delete-modal-close:hover {
    color: #ffcc00;
}

.black-delete-modal-body {
    padding: 20px;
    color: #ccc;
}

.black-delete-modal-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.black-delete-modal-body p:last-child {
    color: #999;
    font-size: 14px;
    margin-top: 10px;
}

.black-delete-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #333;
}

.black-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;
}

.black-delete-modal-btn.black-cancel {
    background-color: #333;
    color: #ccc;
}

.black-delete-modal-btn.black-cancel:hover {
    background-color: #444;
    color: #fff;
}

.black-delete-modal-btn.black-confirm {
    background-color: #cc0000;
    color: #fff;
}

.black-delete-modal-btn.black-confirm:hover {
    background-color: #990000;
}

/* 반응형 디자인 */

@media (max-width: 1200px) {
    .Black_Subject_Block {
        padding: 15.36px 28.8px;
    }

    .Black_Subject_Text {
        font-size: 18px;
    }

    .Black_Subject_Right {
        gap: 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .Black_Subject_Block {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 19.2px;
        gap: 10px 12px;
    }

    .Black_Subject_Left {
        width: 100%;
    }

    .Black_Icon_List {
        margin-right: 12px;
    }

    .Black_Icon_List img {
        width: 60px;
    }

    .Black_Subject_Text {
        font-size: 16px;
    }

    .Black_Subject_Right {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        flex-wrap: wrap;
        gap: 8px 10px;
        text-align: left;
        font-size: 12px;
    }

    .Black_Subject_Right div {
        flex: 1 1 auto;
        min-width: 150px;
    }

    .Black_Subject_Right div:last-child {
        flex: 0 0 100%;
    }

    .Black_Notice_Text,
    .Black_Hide_Text,
    .Black_Secret_Text {
        padding: 4.8px 12px;
        font-size: 12px;
        margin-right: 6px;
    }

    .Black_Edit_Text,
    .Black_Delete_Text {
        padding: 4.8px 12px;
        font-size: 12px;
        margin-right: 6px;
    }

    .black-delete-modal-content {
        width: 95%;
        max-width: 350px;
    }

    .black-delete-modal-header {
        padding: 15px;
    }

    .black-delete-modal-header h2 {
        font-size: 18px;
    }

    .black-delete-modal-body {
        padding: 15px;
    }

    .black-delete-modal-body p {
        font-size: 14px;
    }

    .black-delete-modal-footer {
        padding: 15px;
        gap: 8px;
    }

    .black-delete-modal-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .Black_Subject_Block {
        padding: 10px 12px;
        gap: 8px 10px;
    }

    .Black_Icon_List {
        margin-right: 10px;
    }

    .Black_Icon_List img {
        width: 48px;
    }

    .Black_Subject_Text {
        font-size: 14px;
    }

    .Black_Subject_Right div {
        min-width: 100%;
        font-size: 11px;
    }

    .Black_Notice_Text,
    .Black_Hide_Text,
    .Black_Secret_Text {
        padding: 3.6px 10px;
        font-size: 10px;
        margin-right: 4px;
    }

    .Black_Edit_Text,
    .Black_Delete_Text {
        padding: 3.6px 10px;
        font-size: 10px;
        margin-right: 4px;
    }

    .black-delete-modal-content {
        width: 95%;
        max-width: 300px;
    }

    .black-delete-modal-header {
        padding: 12px;
    }

    .black-delete-modal-header h2 {
        font-size: 16px;
    }

    .black-delete-modal-close {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }

    .black-delete-modal-body {
        padding: 12px;
    }

    .black-delete-modal-body p {
        font-size: 13px;
    }

    .black-delete-modal-footer {
        padding: 12px;
        gap: 6px;
    }

    .black-delete-modal-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}