/* =============================================
   Linux OS Insider - News Styles
   Terminal Green Design Theme
   ============================================= */

:root {
  --terminal-black: #0d1117;
  --terminal-dark: #161b22;
  --terminal-mid: #21262d;
  --terminal-border: #3d444d;
  
  --neon-green: #00ff88;
  --neon-cyan: #00bcd4;
  
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  
  --font-heading: 'JetBrains Mono', 'Noto Sans JP', monospace;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-body);
  background: var(--terminal-black);
  color: var(--text-primary);
  line-height: 1.8;
}

/* News Header */
.news-header {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--terminal-dark);
  border: 1px solid var(--terminal-border);
  border-radius: 0.75rem;
  margin: 100px auto 2rem;
  max-width: 1280px;
}

.news-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.news-header h1::before {
  content: '$ tail -f ';
  color: var(--neon-green);
}

.news-header p {
  color: var(--text-secondary);
}

/* News List */
.news-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--terminal-dark);
  border: 1px solid var(--terminal-border);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.news-item:hover {
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
}

.news-item time {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--neon-cyan);
  min-width: 100px;
}

.news-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-item a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .news-header {
    margin-top: 80px;
    padding: 2rem 1rem;
  }
  
  .news-container {
    padding: 0 1rem 2rem;
  }
  
  .news-item {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
}
