/* News Tabs Widget Advanced Styles */
.ntw-tabs {
    font-family: "Inter", "SolaimanLipi", "Siyam Rupali", Arial, sans-serif;
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.ntw-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ntw-news-item {
    margin-bottom: 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.ntw-news-item:hover {
    background-color: #f8fafc;
}

.news-item-content {
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    padding: var(--item-spacing, 12px) 20px;
    min-height: 60px;
    align-items: center;
}

/* Horizontal Line Styles */
.news-hr {
    height: 1px;
    background: var(--border-color, #e2e8f0);
    margin: 0 20px;
    opacity: 0.6;
}

.ntw-news-item:last-child .news-hr {
    display: none;
}

.bangla-number-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--circle-size, 36px);
    height: var(--circle-size, 36px);
    background-color: var(--circle-color, #2c3e50);
    color: var(--circle-text-color, #ffffff);
    border-radius: 50%;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
    font-size: calc(var(--circle-size, 36px) * 0.45);
    line-height: 1;
    font-family: "SolaimanLipi", "Siyam Rupali", Arial, sans-serif;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.ntw-news-item:hover .bangla-number-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.ntw-tab-header {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid var(--border-color, #e2e8f0);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    gap: 0;
}

.ntw-tab-header li {
    flex: 1;
    text-align: center;
    margin: 0;
}

.ntw-tab-header li a {
    display: block;
    padding: 18px 12px;
    background: transparent;
    color: #475569;
    text-decoration: none;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    font-weight: var(--tab-font-weight, 600);
    font-family: "Inter", "SolaimanLipi", "Siyam Rupali", Arial, sans-serif;
    font-size: var(--tab-font-size, 17px);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ntw-tab-header li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.ntw-tab-header li a:hover::before {
    left: 100%;
}

.ntw-tab-header li.active a {
    background: #ffffff;
    color: #1e293b;
    border-bottom-color: var(--circle-color, #2c3e50);
    font-weight: var(--tab-font-weight, 600);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.ntw-tab-header li a:hover {
    background: rgba(255,255,255,0.7);
    color: #1e293b;
    border-bottom-color: #94a3b8;
}

.ntw-tab-content .tab {
    display: none;
    padding: 0;
}

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

.ntw-tabs .news-item-content a {
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s ease;
    flex: 1;
    font-family: "Inter", "SolaimanLipi", "Siyam Rupali", Arial, sans-serif;
    font-size: var(--news-font-size, 16px);
    line-height: 1.5;
    font-weight: var(--news-font-weight, 400);
    display: block;
    padding: 2px 0;
    /* আন্ডারলাইন রিমুভ করা হয়েছে */
}

.ntw-tabs .news-item-content a:hover {
    color: var(--circle-color, #2c3e50);
}

/* আন্ডারলাইন ইফেক্ট সম্পূর্ণ রিমুভ করা হয়েছে */
.ntw-tabs .news-item-content a::after {
    display: none;
}

/* Ultra Compact Mobile Design */
@media (max-width: 480px) {
    .ntw-tabs {
        border-radius: 10px;
        margin: 10px 0;
    }
    
    .ntw-tab-header {
        gap: 0;
    }
    
    .ntw-tab-header li a {
        padding: 16px 8px;
        font-size: calc(var(--tab-font-size, 17px) - 2px);
        line-height: 1.3;
    }
    
    .news-item-content {
        padding: calc(var(--item-spacing, 12px) - 2px) 16px;
        min-height: 55px;
    }
    
    .bangla-number-circle {
        margin-right: 14px;
        font-size: calc(var(--circle-size, 36px) * 0.45);
    }
    
    .ntw-tabs .news-item-content a {
        font-size: calc(var(--news-font-size, 16px) - 1px);
        line-height: 1.4;
    }
    
    .news-hr {
        margin: 0 16px;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
    .ntw-tab-header li a {
        padding: 14px 6px;
        font-size: calc(var(--tab-font-size, 17px) - 3px);
    }
    
    .news-item-content {
        padding: calc(var(--item-spacing, 12px) - 4px) 14px;
        min-height: 50px;
    }
    
    .bangla-number-circle {
        margin-right: 12px;
        font-size: calc(var(--circle-size, 36px) * 0.45);
    }
    
    .ntw-tabs .news-item-content a {
        font-size: calc(var(--news-font-size, 16px) - 2px);
    }
    
    .news-hr {
        margin: 0 14px;
    }
}

/* Modern Scrollbar */
.ntw-tab-content {
    max-height: 500px;
    overflow-y: auto;
}

.ntw-tab-content::-webkit-scrollbar {
    width: 6px;
}

.ntw-tab-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.ntw-tab-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.ntw-tab-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}