/* ================================================================
   탑뉴스 스킨 1 - 메인 헤드라인 형식
   이미지 왼쪽 배치, 큰 제목 강조형
   ================================================================ */

/* 탑뉴스 메인 영역 */
.topnews1_area {
    width: 100%;
    max-width: 940px;
    margin: 0 0 25px 0; /* 각 뉴스 사이 간격 */
    background: #fff;
    padding: 0 0 25px 0;
    border-bottom: 1px solid #e0e0e0; /* 구분선 */
    font-family: 'Noto Sans KR', sans-serif;
    overflow: hidden !important; /* float 영향 차단 - 중요! */
    clear: both !important; /* float 초기화 - 중요! */
    display: block !important; /* flex 재정의 방지 */
}

/* 마지막 항목은 구분선 제거 */
.topnews1_area:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* 메인 제목 (최상단 강조) */
.topnews1_title {
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: bold;
    letter-spacing: -0.5px;
    color: #000;
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
}

.topnews1_title a {
    color: #000;
    text-decoration: none;
    display: block;
}

.topnews1_title a:hover {
    text-decoration: underline;
}

/* 이미지 + 콘텐츠 본문 영역 */
.topnews1_body {
    width: 100%;
    display: block;
    position: relative;
}

/* Clearfix for float layout */
.topnews1_body::after {
    content: "";
    display: table;
    clear: both;
}

/* 좌측 썸네일 */
.topnews1_thumb {
    float: left;
    width: 200px;
    height: 130px;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
    margin: 0 15px 10px 0;
}

.topnews1_thumb a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.topnews1_thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0;
    padding: 0;
    border: 0;
}

/* 우측 텍스트 콘텐츠 영역 (BFC 생성으로 float 영향 차단) */
.topnews1_content {
    display: block;
    overflow: hidden; /* BFC 생성 - 썸네일 float 영향 차단 */
    min-height: 130px; /* 썸네일 높이에 맞춤 */
}

/* 본문 요약 (headline 스킨 참고) */
.topnews1_summary {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 14px;
    line-height: 25px;
    color: #555;
    font-family: 'Noto Sans KR', sans-serif;
    text-align: justify;
}

/* 관련기사 영역 */
.topnews1_related_list {
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topnews1_related_list .related_news_item {
    position: relative;
    padding-left: 18px;
    margin: 0;
}

.topnews1_related_list .related_news_item::before {
    content: 'ㄴ';
    position: absolute;
    left: 0;
    top: 0;
    color: #22b14c;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}

.topnews1_related_list .related_news_item a {
    color: #000000;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    transition: color 0.2s;
}

.topnews1_related_list .related_news_item a:hover {
    color: #22b14c;
    text-decoration: underline;
}

/* 반응형 - 작은 화면 대응 */
@media (max-width: 940px) {
    .topnews1_area {
        padding: 0 15px;
    }
    
    .topnews1_thumb {
        width: 100%;
        float: none;
        margin: 0 0 15px 0;
        height: auto;
        aspect-ratio: 16 / 10;
    }
    
    .topnews1_content {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .topnews1_title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .topnews1_summary {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .related_news_item {
        font-size: 14px;
    }
    
    .related_news_item a {
        font-size: 14px;
    }
}

