.news-tab-widget {
    width: 100%;
    max-width: 350px;
    border: 2px solid #8B0000;
    box-sizing: border-box;
    background: #fff;
}

/* Tab Header */
.tab-header {
    display: flex;
    background-color: #8B0000;
}

.tab-btn {
    flex: 1;
    padding: 10px 5px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: #8B0000;
}

/* Content Area & Custom Scrollbar */
.tab-content-wrapper {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 10px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Single Item Layout */
.news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e2e2;
}

.news-item:last-child {
    border-bottom: none;
}

.news-thumb {
    flex-shrink: 0;
    width: 110px;
    height: 70px;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-title {
    flex-grow: 1;
}

.news-title a {
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: #8B0000;
}

/* Footer Link */
.tab-footer {
    background: #8B0000;
    text-align: center;
    padding: 8px;
}

.tab-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: block;
}

/* Scrollbar Style */
.tab-content-wrapper::-webkit-scrollbar {
    width: 6px;
}
.tab-content-wrapper::-webkit-scrollbar-thumb {
    background: #777;
}