body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.news-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.news-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.news-summary {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}

.news-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.news-card a {
    font-size: 0.95em;
    color: #2980b9;
    text-decoration: none;
}

.news-card a:hover {
    text-decoration: underline;
}

.news-meta {
    font-size: 0.9em;
    color: #666;
    margin-top: 4px;
}

.news-source {
    margin-left: 4px;
}

/* 공통: 항상 적용됨 */
.collapsible-summary {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* .active가 추가되면 펼쳐짐 */
.collapsible-summary.active {
    max-height: 500px;
}

/* PC 화면에서는 무조건 펼침 (접힘 상태 덮어쓰기) */
@media (min-width: 769px) {
    .collapsible-summary {
        max-height: none !important;    /* 접힘 강제 해제 */
        overflow: visible !important;   /* 내용 전부 보여줌 */
        transition: none !important;    /* 트랜지션 제거 */
    }
}