body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #2c3e50;
}

#tag-filter {
    margin-bottom: 20px;
}

#tag-select {
    padding: 5px;
    font-size: 16px;
}

#news-list {
    list-style-type: none;
    padding: 0;
}

.news-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.news-item h2 {
    margin-top: 0;
    color: #2c3e50;
}

.news-item a {
    color: #3498db;
    text-decoration: none;
}

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

.tags {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 14px;
    margin-right: 5px;
}

.tag-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.tag-btn {
    padding: 6px 12px;
    border: 2px solid #3498db;
    border-radius: 20px;
    background: transparent;
    color: #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-btn:hover {
    background: #3498db;
    color: white;
}

.tag-btn.active {
    background: #3498db;
    color: white;
}