/* 공지사항 (커뮤니티형 규격) */
.board_webzine_wrap .notice_list { list-style: none; margin: 0 -15px 15px -15px; padding: 0; }
.board_webzine_wrap .notice_list .notice { border-bottom: 1px solid #f1f5f9; transition: background 0.2s; background: #fafbff; }
.board_webzine_wrap .notice_list .notice:hover { background: #f1f5ff; }
.board_webzine_wrap .notice_list .item_wrap { display: flex; align-items: center; padding: 10px 0; gap: 15px; }
.board_webzine_wrap .notice_list .info_area { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.board_webzine_wrap .notice_list .title_line { display: flex; align-items: center; gap: 4px; }
.board_webzine_wrap .notice_list .title_text { font-size: 15px; font-weight: 600; color: var(--point-color); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board_webzine_wrap .notice_list .title_text strong { font-weight: 800; }
.board_webzine_wrap .notice_list .notice_label { display: inline-flex; align-items: center; justify-content: center; height: 18px; padding: 0 6px; background: var(--point-color); color: #fff; border-radius: 3px; font-size: 10px; font-weight: 800; }
.board_webzine_wrap .notice_list .cmt_count { display: inline-flex; align-items: center; justify-content: center; height: 18px; min-width: 18px; padding: 0 5px; background: var(--point-color); color: #fff; border-radius: 3px; font-size: 10px; font-weight: 800; line-height: 1; position: relative; top: -1px; box-sizing: border-box; }
.board_webzine_wrap .notice_list .n_icon { display: inline-flex; align-items: center; justify-content: center; height: 18px; min-width: 18px; padding: 0 5px; background: #ef4444; color: #fff; border-radius: 3px; font-size: 10px; font-weight: 800; line-height: 1; position: relative; top: -1px; box-sizing: border-box; }

@media screen and (max-width: 768px) {
    .board_webzine_wrap .notice_list .n_icon { padding: 0 6px 1px 4px !important; }
}

.board_webzine_wrap {
    margin: 20px 0;
    padding: 0 15px;
}

.webzine_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.webzine_item {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.webzine_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--point-color);
}

/* 섬네일 영역 */
.webzine_item .thumbnail_area {
    width: 240px;
    min-width: 240px;
    aspect-ratio: 16/9;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.webzine_item .thumbnail_area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webzine_item .no_thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
}

.webzine_item .no_thumb svg {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
    opacity: 0.5;
}

.webzine_item .no_thumb span {
    font-size: 11px;
    font-weight: 700;
}

/* 정보 영역 */
.webzine_item .info_area {
    padding: 20px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* flex 자식의 텍스트 줄임표 작동을 위해 */
}

/* 좌측 상단 배지 그룹 */
.webzine_item .badge_group {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    display: flex !important;
    gap: 4px !important;
    z-index: 2 !important;
}

.webzine_item .category_badge, .webzine_item .vote_badge {
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #fff !important;
    backdrop-filter: blur(4px) !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
}

.webzine_item .category_badge {
    background: rgba(0,0,0,0.6) !important;
}

.webzine_item .vote_badge {
    background: rgba(225, 29, 72, 0.8) !important;
}

.webzine_item .title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.webzine_item .summary {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

/* 메타 정보 (작성자, 날짜 등) */
.webzine_item .meta_area {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #94a3b8;
}

.webzine_item .author_area {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-weight: 600;
}

.webzine_item .profile_img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
}

.webzine_item .profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webzine_item .stats {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.webzine_item .stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.webzine_item .cmt_count {
    color: var(--point-color);
    font-weight: 700;
}

.webzine_item .n_icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 3px;
    margin-left: 5px;
    animation: none !important;
}

/* 관리자 체크박스 */
.webzine_item .chk_area {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

/* 반응형 모바일 */
@media screen and (max-width: 768px) {
    .webzine_item {
        flex-direction: column;
    }
    
    .webzine_item .thumbnail_area {
        width: 100%;
        min-width: 100%;
    }
    
    .webzine_item .info_area {
        padding: 15px;
    }
    
    .webzine_item .title {
        font-size: 16px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .webzine_item .summary {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .webzine_item .meta_area {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .webzine_item .stats {
        margin-left: 0;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }
}
