/* ================================================================
   사이드 리스트 스킨 1 - 썸네일 좌측, 제목/요약 우측 형식
   ================================================================ */

.side_skin_list1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 각 뉴스 아이템 */
.side_skin_item {
    width: 100%;
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: background-color 0.2s ease;
}

.side_skin_item:hover {
    background-color: #fafafa;
}

/* 마지막 항목은 구분선 제거 */
.side_skin_item:last-child {
    border-bottom: none;
}

/* 좌측 썸네일 */
.side_skin_thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    position: relative;
}

.side_skin_thumb a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.side_skin_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.side_skin_thumb:hover img {
    transform: scale(1.05);
}

/* 우측 텍스트 콘텐츠 */
.side_skin_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0; /* 텍스트 오버플로우 방지 */
}

/* 제목 */
.side_skin_title {
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #1a1a1a;
}

.side_skin_title a {
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.side_skin_title a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* 본문 요약 */
.side_skin_summary {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

/* 관련기사 영역 */
.side_skin_related_list {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side_skin_related_list .related_news_item {
    position: relative;
    padding-left: 16px;
    margin: 0;
}

.side_skin_related_list .related_news_item::before {
    content: 'ㄴ';
    position: absolute;
    left: 0;
    top: 0;
    color: #22b14c;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
}

.side_skin_related_list .related_news_item a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.side_skin_related_list .related_news_item a:hover {
    color: #22b14c;
    text-decoration: underline;
}

/* 반응형 - 작은 화면 대응 */
@media (max-width: 768px) {
    .side_skin_item {
        padding: 12px 0;
        gap: 10px;
    }
    
    .side_skin_thumb {
        width: 100px;
        height: 70px;
    }
    
    .side_skin_title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .side_skin_summary {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .side_skin_item {
        padding: 10px 0;
        gap: 8px;
    }
    
    .side_skin_thumb {
        width: 80px;
        height: 60px;
    }
    
    .side_skin_title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .side_skin_summary {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}

