/* 최신 뉴스 스킨 기본형 */
.real_news_skin {
    background: #f7f8fa;
    padding: 12px 14px 16px 14px;
    width: 100%;
}

.rn_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 10px;
    border-bottom: 1px solid #9b9b9b;
    margin-bottom: 12px;
}

.rn_title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.rn_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rn_item {
    display: flex;
    gap: 10px;
    align-items: center; /* 순위/제목 수직 중앙 정렬 */
    padding: 6px 0 10px;
    border-bottom: 1px solid #e9edf3;
}

.rn_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rn_rank {
    font-size: 16px;
    font-weight: 700;
    color: #0b57d0;
    font-style: italic;
    text-align: right;
    min-width: 20px;
    line-height: 1; /* 숫자 세로 중앙 맞춤 */
}

.rn_text {
    display: block;
    flex: 1;
}

.rn_title_text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    line-height: 1.5;
    color: #111827;
    text-decoration: none;
}

.rn_title_text:hover {
    color: #0b57d0;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .rn_header {
        margin-bottom: 10px;
    }
    .rn_title {
        font-size: 17px;
    }
    .rn_item {
        gap: 8px;
        padding: 4px 0 10px;
    }
    .rn_title_text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .rn_list {
        gap: 10px;
    }
    .rn_item {
        gap: 6px;
        padding: 4px 0 8px;
    }
    .rn_title_text {
        font-size: 13px;
        line-height: 1.45;
    }
}

