@charset "utf-8";

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

/* 헤더 */
.latest-pic-block .latest-header {
    padding: 0 0 0.5rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.latest-pic-block .latest-title {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

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

/* 더보기 링크 */
.latest-pic-block .latest-more {
    font-size: 0.8125rem;
    color: #9ca3af;
    transition: color 0.15s ease;
    letter-spacing: -0.01em;
    text-decoration: none;
}

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

/* 카드 스타일 */
.latest-pic-block .latest-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.latest-pic-block .latest-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 썸네일 */
.latest-pic-block .latest-card-thumbnail {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background-color: #f5f5f5;
}

.latest-pic-block .latest-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-pic-block .latest-card:hover .latest-card-thumbnail img {
    transform: scale(1.1);
}

.latest-pic-block .latest-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    color: #d1d5db;
    font-size: 2.5rem;
}

/* 카드 바디 */
.latest-pic-block .card-body {
    padding: 1rem;
}

.latest-pic-block .latest-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.latest-pic-block .latest-card:hover .latest-card-title a {
    color: #5b7cff !important;
}

/* 메타 정보 */
.latest-pic-block .latest-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

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

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

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

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

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

/* 반응형 */
@media (max-width: 576px) {
    .latest-pic-block .latest-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

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

    .latest-pic-block .card-body {
        padding: 0.875rem;
    }

    .latest-pic-block .latest-card-title {
        font-size: 0.875rem;
    }
}