.sw-news-container {
    width: 100%;
    margin: 20px 0;
    font-family: inherit;
}

/* Sliding Tabs */
.sw-news-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.sw-news-tabs {
    display: flex;
    white-space: nowrap;
    gap: 15px;
}

.sw-tab-item {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    font-size: 15px;
}

.sw-tab-item:hover {
    color: #000;
}

.sw-tab-item.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

/* News Grid */
.sw-news-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, 1fr);
}

.sw-news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.sw-news-card:hover {
    transform: translateY(-5px);
}

.sw-news-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.sw-news-content {
    padding: 15px;
}

.sw-news-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.sw-news-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.sw-news-title a {
    color: #333;
    text-decoration: none;
}

.sw-news-title a:hover {
    color: #007bff;
}

/* Responsiveness */
@media (max-width: 1400px) {
    .sw-news-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1200px) {
    .sw-news-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .sw-news-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .sw-news-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Loader */
.sw-news-loader {
    text-align: center;
    padding: 50px 0;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
