@charset "utf-8";

/* ============================================
   최신글 스킨 - pic_basic (Bootstrap 5 기반)
   썸네일 좌 + 텍스트 우 레이아웃
   ============================================ */

/* 카드 기본 스타일 */
.latest-pic-basic.card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
}

.latest-pic-basic .card-header {
    background-color: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    padding: 1rem 1.25rem;
}

/* 제목 스타일 */
.latest-pic-basic .card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.latest-pic-basic .card-title a {
    color: #1a1a1a;
    transition: color 0.15s ease;
}

.latest-pic-basic .card-title a:hover {
    color: #4a5568 !important;
}

/* 리스트 아이템 */
.latest-pic-basic .list-group-item {
    border-left: none;
    border-right: none;
    border-color: #f0f0f0;
    padding: 0.875rem 1.25rem;
    transition: background-color 0.12s ease;
}

.latest-pic-basic .list-group-item:first-child {
    border-top: none;
}

.latest-pic-basic .list-group-item:last-child {
    border-bottom: none;
}

.latest-pic-basic .list-group-item:hover {
    background-color: #fafafa;
}

/* 썸네일 이미지 */
.latest-pic-basic .list-group-item img.rounded {
    object-fit: cover;
}

/* 제목 링크 */
.latest-pic-basic .list-group-item a {
    color: #2d3748;
    transition: color 0.15s ease;
    font-size: 0.9375rem;
}

.latest-pic-basic .list-group-item a:hover {
    color: #5b7cff !important;
    text-decoration: none !important;
}

/* 공지사항 제목 */
.latest-pic-basic .list-group-item a.fw-bold {
    color: #1a202c;
}

.latest-pic-basic .list-group-item a.fw-bold:hover {
    color: #5b7cff !important;
}

/* 아이콘 */
.latest-pic-basic .fa {
    font-size: 0.8125rem;
    opacity: 0.6;
}

/* 배지 */
.latest-pic-basic .badge {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.2em 0.5em;
    border-radius: 3px;
}

.latest-pic-basic .badge.bg-danger {
    background-color: #ef4444 !important;
}

.latest-pic-basic .badge.bg-warning {
    background-color: #f59e0b !important;
}

.latest-pic-basic .badge.bg-primary {
    background-color: #5b7cff !important;
}

/* 메타 정보 */
.latest-pic-basic .text-muted.small {
    font-size: 0.8125rem;
    color: #9ca3af !important;
}

/* 빈 목록 */
.latest-pic-basic .list-group-item.text-center {
    color: #9ca3af !important;
    font-size: 0.875rem;
}

/* 반응형 조정 */
@media (max-width: 576px) {
    .latest-pic-basic .list-group-item .d-flex.gap-3 {
        flex-direction: column;
    }

    .latest-pic-basic .list-group-item img.rounded {
        width: 100% !important;
        height: auto !important;
        max-height: 200px;
    }

    .latest-pic-basic .card-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
}
