
/* ---------- HEADING SECTION (FROM INDEX.CSS) ---------- */
.heading-section {
    margin-bottom: 30px;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


    .news-page {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* Page Title */
.news-title {
    text-align: center;
    margin-bottom: 40px;
}

.news-title h1 {
    font-size: 2.4rem;
    font-weight: 700;
}

.news-title p {
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Input Section */
.news-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.news-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.news-form input,
.news-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    background: rgba(26, 31, 58, 0.9);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.news-form input:focus,
.news-form textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.25);
}

.news-form button {
    background: linear-gradient(
        135deg,
        var(--primary-gradient-start),
        var(--primary-gradient-end)
    );
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.news-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Table */
.news-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.news-table th,
.news-table td {
    padding: 14px;
    text-align: left;
}

.news-table th {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.news-table tr {
    border-bottom: 1px solid var(--card-border);
}

.news-table tr:last-child {
    border-bottom: none;
}
