@charset "UTF-8";

/* News pages */
.section-news-list {
    background: #fff;
}

.news-list-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0 0 60px;
}

.news-item {
    border-bottom: 1px solid #eee;
}

.news-item a {
    display: flex;
    align-items: center;
    padding: 25px 10px;
    transition: background-color 0.3s;
}

.news-item a:hover {
    background-color: #f9f9f9;
}

.news-meta {
    display: flex;
    align-items: center;
    min-width: 220px;
}

.news-date {
    color: #888;
    font-family: "Helvetica Neue", sans-serif;
    margin-right: 15px;
    font-size: 0.95rem;
}

.news-category {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}

.cat-notice {
    background-color: #0056b3;
}

.cat-campaign {
    background-color: var(--color-accent);
}

.cat-info {
    background-color: #333;
}

.news-title {
    font-size: 1.1rem;
    font-weight: normal;
    color: #333;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    background-color: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.article-header .news-meta {
    margin-bottom: 15px;
}

.article-title {
    font-size: 2rem;
    line-height: 1.4;
    font-weight: bold;
}

.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body h2,
.article-body h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 5px solid var(--color-accent);
}

@media (max-width: 768px) {
    .news-item a {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-meta {
        margin-bottom: 8px;
        width: 100%;
    }

    .news-title {
        font-size: 1rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-body {
        font-size: 0.95rem;
    }

    .article-body h2,
    .article-body h3 {
        font-size: 1.3rem;
    }
}