/**
 * KBoard News Thumbnail Skin - Latest List Style (RSS Style Match)
 */

#kboard-news-thumbnail-latest {
    width: 100%;
}

.kboard-news-latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kboard-news-item {
    display: grid;
    grid-template-columns: 11% 1fr;
    grid-gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
    line-height: 1.5em;
    padding-bottom: 8px;
    padding-left: 6px;
}

.kboard-news-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

/* 썸네일 영역 */
.kboard-news-thumbnail {
    position: relative;
}

.kboard-news-thumbnail img {
    width: 100%;
    height: 57px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* 썸네일이 없을 때 첫 글자 표시 */
.kboard-news-no-image {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kboard-news-no-image span {
    font-size: 24px;
    font-weight: bold;
    color: #757575;
    text-transform: uppercase;
}

/* 콘텐츠 영역 */
.kboard-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    gap: 2px;
}

.kboard-news-board-label {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.kboard-news-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    margin: 0;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kboard-news-new-badge {
    display: inline-block;
    background: #ff4444;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 5px;
    vertical-align: middle;
}

.kboard-news-secret {
    font-size: 14px;
    margin-right: 5px;
}

/* 호버 효과 */
.kboard-news-item:hover .kboard-news-title {
    color: #667eea;
}

/* 모바일 반응형 */
@media (max-width: 600px) {
    .kboard-news-item {
        grid-template-columns: 85px 1fr;
    }

    .kboard-news-thumbnail img,
    .kboard-news-no-image {
        height: 48px;
    }

    .kboard-news-title {
        font-size: 14px;
    }

    .kboard-news-board-label {
        font-size: 12px;
    }
}
