.news-tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

/* Sidebar */
.news-tabs-sidebar {
    flex: 0 0 250px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.news-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-tabs-nav-item {
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-tabs-nav-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.news-tabs-nav-item.active {
    background-color: #134529;
    color: #fff;
    box-shadow: 0 4px 6px rgba(19, 69, 41, 0.2);
}

.news-tabs-nav-item i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-tabs-nav-item.active i {
    transform: rotate(90deg);
}

/* Content Area */
.news-tabs-content-wrapper {
    flex: 1;
    min-width: 0; /* Fix flex child overflow issues */
    position: relative;
    min-height: 400px;
}

.news-tabs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* News Item Card */
.news-tab-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.news-tab-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-tab-image {
    height: 180px;
    overflow: hidden;
}

.news-tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-tab-item:hover .news-tab-image img {
    transform: scale(1.05);
}

.news-tab-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-tab-meta {
    margin-bottom: 10px;
}

.news-tab-date {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.news-tab-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.news-tab-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

.news-tab-title a:hover {
    color: #134529;
}

.news-tab-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.news-tab-read-more {
    font-size: 13px;
    font-weight: 600;
    color: #134529;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.news-tab-read-more:hover {
    text-decoration: underline;
}

/* Loader */
.news-tabs-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

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

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

/* Responsive */
@media (max-width: 992px) {
    .news-tabs-container {
        flex-direction: column;
    }
    .news-tabs-sidebar {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 20px;
        width: 100%;
    }
    .news-tabs-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    .news-tabs-nav-item {
        white-space: nowrap;
    }
    .news-tabs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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