.category-news-tab {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.tab-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    border-bottom: 1px solid #990c0c;
}

.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    background: #f5f5f5;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
}

.tab-link.active {
    background: #132955;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.category-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.news-post {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-content h3 {
    margin: 0 0 10px;
    font-size: 1.1em;
}

.news-content a {
    color: #000;
    text-decoration: none;
}
.news-content a:hover { text-decoration: underline; }
.news-date { color: #666; font-size: 0.9em; display: block; margin-bottom: 10px; }
.news-content p { margin: 0; color: #555; font-size: 0.95em; }

@media (max-width: 768px) {
    .tab-nav { flex-wrap: wrap; }
    .tab-link { flex: 1 0 30%; text-align: center; margin-bottom: 5px; }
    .category-posts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 480px) {
    .category-posts { grid-template-columns: 1fr; }
}