/* ============================================
   SkyView News - Additional Styles
   ============================================ */

/* Policy Table */
.policy-table { width:100%; border-collapse:collapse; margin:14px 0 20px; font-size:0.88rem; }
.policy-table th { background:var(--secondary); color:white; padding:10px 14px; text-align:left; font-family:var(--font-alt); font-size:0.82rem; letter-spacing:0.5px; }
.policy-table td { padding:10px 14px; border-bottom:1px solid var(--gray-light); vertical-align:top; }
.policy-table tr:nth-child(even) td { background:var(--light); }
.policy-table tr:hover td { background:#fffbf0; }

/* Correction Example Box */
.correction-example { background:#fff3cd; border:1px solid #ffc107; border-left:4px solid #ffc107; padding:14px 18px; border-radius:var(--radius); margin:12px 0 20px; font-size:0.9rem; }

/* Rating Grid (Fact Check) */
.rating-grid { display:flex; flex-direction:column; gap:10px; margin:16px 0 24px; }
.rating-card { padding:12px 18px; border-radius:var(--radius); font-weight:600; font-size:0.9rem; }
.rating-true { background:#d4edda; border-left:4px solid #28a745; color:#155724; }
.rating-mostly { background:#fff9c4; border-left:4px solid #ffc107; color:#856404; }
.rating-half { background:#ffe8cc; border-left:4px solid #fd7e14; color:#7d3c0a; }
.rating-mostly-false { background:#fdd; border-left:4px solid #dc3545; color:#721c24; }
.rating-false { background:#f8d7da; border-left:4px solid #c82333; color:#491217; }
.rating-pants { background:#f0d0ff; border-left:4px solid #6f42c1; color:#3b1f6b; }

/* Job Cards */
.job-card { background:var(--light); border:1px solid var(--gray-light); border-radius:var(--radius); padding:20px; margin-bottom:16px; border-left:4px solid var(--primary); }
.job-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:8px; }
.job-header h3 { font-family:var(--font-heading); font-size:1.1rem; }
.job-type { background:var(--primary); color:white; font-size:0.72rem; padding:3px 10px; border-radius:20px; font-weight:700; white-space:nowrap; }
.job-meta { display:flex; gap:16px; font-size:0.82rem; color:var(--gray); margin-bottom:10px; }
.job-card p { font-size:0.9rem; color:var(--text); margin-bottom:12px; }

/* Pagination */
.pagination { display:flex; gap:8px; align-items:center; justify-content:center; padding:32px 0 16px; flex-wrap:wrap; }
.page-btn { padding:8px 14px; border:1px solid var(--gray-light); border-radius:var(--radius); font-size:0.9rem; color:var(--secondary); background:white; transition:var(--transition); }
.page-btn:hover, .page-btn.active { background:var(--primary); color:white; border-color:var(--primary); }
.page-btn.next { background:var(--secondary); color:white; border-color:var(--secondary); }
.page-dots { color:var(--gray); padding:0 4px; }

/* Category Page Header */
.category-header { padding:20px 0 12px; border-bottom:3px solid var(--primary); margin-bottom:16px; }
.category-header p { color:var(--gray); font-size:0.95rem; margin-top:6px; }

/* Mobile nav fix for opinion page */
@media (max-width:768px) {
    .values-grid { grid-template-columns:1fr; }
    .stats-grid { grid-template-columns:repeat(2,1fr); }
    .contact-info-grid { grid-template-columns:1fr; }
    .job-header { flex-direction:column; gap:8px; }
    .news-grid[style*="grid-template-columns:repeat(2"] { grid-template-columns:1fr !important; }
}
