@charset "utf-8";

/* ============================================
   최신글 스킨 - basic (Bootstrap 5 기반)
   ============================================ */

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

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

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

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

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

/* 더보기 링크 - 절제된 스타일 */
.latest-basic .latest-more {
    font-size: 0.8125rem;
    color: #9ca3af;
    transition: color 0.15s ease;
    letter-spacing: -0.01em;
}

.latest-basic .latest-more:hover {
    color: #6b7280;
}

/* 리스트 아이템 */
.latest-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-basic .list-group-item:first-child {
    border-top: none;
}

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

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

/* 공지사항 - 세련된 강조 */
.latest-basic .list-group-item-primary {
    background-color: #f8f9ff;
    border-left: 2px solid #5b7cff;
    padding-left: calc(1.25rem - 2px);
}

.latest-basic .list-group-item-primary:hover {
    background-color: #f3f4ff;
}

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

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

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

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

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

/* 배지 - 미니멀 디자인 */
.latest-basic .badge {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.2em 0.5em;
    border-radius: 3px;
}

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

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

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

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

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

/* 반응형 조정 */
@media (max-width: 768px) {
    .latest-basic .list-group-item>div {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .latest-basic .list-group-item .small {
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .latest-basic .card-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .latest-basic .latest-more {
        align-self: flex-end;
    }
}