/* HN Japan Custom Styles */
:root {
  --primary-color: #ff6600;
  --secondary-color: #1a1a2e;
  --accent-color: #16213e;
  --text-color: #333;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --gradient-start: #667eea;
  --gradient-end: #764ba2;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

.site-header {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 2rem 0;
  text-align: center;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.site-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.site-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.summary-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.summary-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-content {
  font-size: 1.1rem;
  line-height: 1.9;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

.article-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-card h3 a:hover {
  color: var(--primary-color);
}

.article-meta {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.article-score {
  color: var(--primary-color);
  font-weight: 600;
}

.section-title {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
}

.post-content {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.post-content h1 {
  color: var(--secondary-color);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.post-content h2 {
  color: var(--accent-color);
  margin-top: 2rem;
}

.post-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.post-date {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.source-info {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 2rem;
  border-left: 4px solid var(--primary-color);
}

footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 0.9rem;
}

footer .disclaimer {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .site-title {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 1rem;
  }
}
