.news-section {
    padding: 40px;
    max-width: 1400px;
    margin: auto;
}

/* Tabs */
.tab-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.tab-btn {
    background: linear-gradient(140deg, #002347 47%, #001933 84%);
    border: 1px solid #1e2b45;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
    font-size: 18px;
}

.tab-btn.active,
.tab-btn:hover {
    background:  linear-gradient(149deg, #001E8F 18%, #090D30 100%);
    color: #fff;
}


/* Filters */
.filter-bar {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
}

.filter-bar select,
.filter-bar input {
    background: #0e1b33;
    border: 1px solid #1e2b45;
    padding: 12px 20px;
    color: #bcd0ff;
    border-radius: 30px;
    
}
.filter-bar select {
    width: 20%;
}

.filter-bar input {
    width: 44%;
}
/* Layout */
.layout {
    display: block;
    grid-template-columns: 3fr 1.2fr;
    gap: 30px;
}
.load-outer {
    display: flex;
    justify-content: center;
}
/* News cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 18px;
    transition: transform .3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    min-height: 250px;
    max-height: 250px;
}

.tag {
    background: #2962ff;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
    margin: 12px;
    display: inline-block;
}

.news-card h3 {
    margin: 10px 12px;
}

.news-card p {
    margin: 0 12px;
    font-size: 14px;
    opacity: 0.8;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.blog-sidebar .add-feed-block { 
    background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    
}
.blog-sidebar .elementor-button{ display: block;}

.blog-sidebar h2 {
    margin-bottom: 0px;
}
.tab-btn img {
    width: 24px;
    height: 24px;
}
.blog-sidebar ul {
    padding-left: 18px;
    margin: 10px 0 20px;
}

.add-feed-btn {
    background: linear-gradient(149deg, #001E8F 18%, #090D30 100%);;
    border: none;
    padding: 12px 16px;
    width: 100%;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
}


.add-feed-btn:hover {
    background: linear-gradient(140deg, #002347 47%, #001933 84%);;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* Responsive */

@media(max-width: 1199px) {
    
.blog-sidebar h2 {
    font-size: 20px !important;
}

.blog-sidebar a.elementor-button {
    font-size: 16px !important;
}
}
@media(max-width: 992px) {
    .blog-sidebar{position: static;}
    .layout {
        grid-template-columns: 1fr;
    }
    .news-section .layout {
    display: flex;
    flex-direction: column;
}

.news-section .load-posts {
    order: 2;
}

.news-section .blog-sidebar {
    order: 3;
}
}

@media(max-width: 767px) {
    .add-feed-block .e-con-inner {
    justify-content: center;
    align-items: center;
    text-align: center;
}
    .news-grid {
        grid-template-columns: 1fr;
    }
}
