/* styles.css */

/* 상단 바 스타일 */
.top-bar {
    width: 100%;
    background-color: #1976d2;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* 공통 바디 스타일 */
body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    background: #f0f6fc;
    color: #0a3069;
    margin: 0;
    padding: 0;
}

/* 컨테이너 스타일 */
.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 공통 헤딩 스타일 */
h1, h2 {
    color: #0a3069;
    margin: 0;
}

/* 메인 타이틀 스타일 */
.main-title {
    padding: 20px;
    background: #d0e3ff;
    border-radius: 8px;
    margin-bottom: 30px;
}

.main-title h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.main-title p {
    margin: 5px 0;
}

/* 기사 목록 스타일 */
.article-list {
    margin: 20px 0;
}

.article-list h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    border-bottom: 2px solid #0a3069;
    padding-bottom: 5px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

a {
    text-decoration: none;
    color: #0a3069;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* 푸터 스타일 */
.footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #0a3069;
    border-top: 1px solid #a3c0e5;
    padding-top: 20px;
    text-align: center;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .main-title h1 {
        font-size: 1.5em;
    }

    .article-list h2 {
        font-size: 1.2em;
    }

    li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .main-title h1 {
        font-size: 1.2em;
    }

    .article-list h2 {
        font-size: 1em;
    }

    li {
        font-size: 0.9em;
    }
}
