.elementor-83 .elementor-element.elementor-element-8ef0c31{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-8c5b153 */.shovan-news-page {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.news-header {
    background: #f4f8fc;
    padding: 80px 0;
    text-align: center;
}

.news-badge {
    color: #0a74c9;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 15px;
}

.news-subtitle {
    color: #666;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.news-search-bx {
    max-width: 500px;
    margin: 0 auto;
}

.search-inner {
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.search-inner input {
    width: 100%;
    padding: 15px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border-radius: 50%;
    background: #0a74c9;
    border: none;
    cursor: pointer;
}

/* TABS */
.news-tabs {
    margin: 40px 0;
    position: relative;
    border-bottom: 1px solid #eee; /* Adds a nice anchor line */
}

.news-tabs ul {
    display: flex;
    justify-content: center; /* Centered on desktop */
    list-style: none;
    padding: 0 0 10px 0;
    gap: 15px;
    
    /* Mobile-Specific Scroll Logic */
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    scrollbar-width: none; /* Hides scrollbar for Firefox */
}

/* Hide scrollbar for Chrome/Safari */
.news-tabs ul::-webkit-scrollbar {
    display: none;
}

.news-tab-btn {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0; /* Prevents buttons from shrinking on mobile */
    display: inline-block;
}

.news-tab-btn.active, .news-tab-btn:hover {
    background: #0a74c9;
    color: #fff;
    border-color: #0a74c9;
    box-shadow: 0 4px 12px rgba(10, 116, 201, 0.2);
}

/* NEWS LIST */
.news-list ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-card a {
    display: flex;
    text-decoration: none !important;
    color: inherit;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.news-card:hover a {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: #0a74c9;
}

.news-card .img-bx {
    width: 320px;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-card .img-bx img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-card:hover img { transform: scale(1.05); }

.news-card .txt-bx {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    font-size: 13px;
    color: #0a74c9;
    margin-bottom: 10px;
    display: block;
}

.subject {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date { font-size: 14px; color: #999; }
.read-more { font-weight: 700; color: #0a74c9; font-size: 14px; }

/* WHY SECTION */
.why-news {
    margin-top: 80px;
    margin-bottom:80px;
    padding: 60px 40px;
    background: #0a74c9;
    border-radius: 30px;
    color: #fff;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-item {
    text-align: center;
}

.why-icon { font-size: 30px; margin-bottom: 10px; }
.why-item p { font-size: 14px; line-height: 1.4; opacity: 0.9; }

.btn-load-more {
    background: #111;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .news-card a { flex-direction: column; }
    .news-card .img-bx { width: 100%; height: 200px; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .news-tabs ul {
        justify-content: flex-start; /* Align to left so user knows to scroll */
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .news-title {
        font-size: 32px;
    }
    
    .news-header {
        padding: 60px 0 40px;
    }
}/* End custom CSS */