/* NEWS HUB STYLES */
.news-page-wrapper {
    padding-top: 80px; 
    min-height: 100vh;
}

.news-header {
    max-width: 800px;
    margin: 40px auto 30px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-header h1 {
    color: var(--blue-deep);
    font-size: 2rem;
}

/* New Post Button */
.btn-new {
    background: var(--blue-primary);
    color: white;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-new:hover {
    background: var(--blue-deep);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center; /* Centered as requested */
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    background: white;
    color: var(--blue-primary);
    cursor: pointer;
    font-family: 'Varela Round', sans-serif;
    font-weight: 700;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

/* Articles Container */
#news-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.article-card {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.05);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(10, 45, 143, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.category-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-primary);
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card h2 {
    margin: 10px 0;
}

.article-card h2 a {
    color: var(--blue-primary);
    text-decoration: none;
    font-size: 1.5rem;
}

.article-card h2 a:hover {
    color: var(--blue-deep);
}

.article-card .meta {
    color: var(--blue-soft);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Delete Button */
.btn-delete {
    background: #ff4757;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.75rem;
    transition: background 0.2s;
}

.btn-delete:hover {
    background: #e03d4b;
}

.hidden { display: none; }

/* --- LOAD MORE NEWS BUTTON --- */
.load-more-btn {
    display: block;
    width: fit-content;
    margin: 30px auto 60px; /* Centered with plenty of space at the bottom */
    padding: 14px 40px;
    background: white;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
    border-radius: 50px; /* Matching your filter buttons */
    font-family: 'Varela Round', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.05);
}

.load-more-btn:hover {
    background: var(--blue-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.load-more-btn:active {
    transform: translateY(-1px);
}

/* Optional: Loading State */
.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
}