/* style.css */
:root {
  --bg: #f4f4f4;
  --fg: #222;
  --accent: #1a73e8;
  --muted: #555;
  --card-bg: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--fg);
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 2%;
}
.site-header .logo {
  font-weight: 700;
  font-size: 1.25rem;
}
.site-header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color .2s;
}
.site-header nav a:hover { color: var(--accent); }

.layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2%;
}
.article {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.article-hero {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.headline {
  font-size: 2rem;
  margin-bottom: .5rem;
  font-weight: 700;
}
.article-meta {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.article-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #333;
}

.sidebar {
  display: flex;
  flex-direction: column;
}
.card {
  background: var(--card-bg);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.card h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--fg);
}
.card img {
  width: 100%;
  border-radius: 4px;
  margin-top: .5rem;
}
.card ul {
  list-style: none;
}
.card ul li + li {
  margin-top: .5rem;
}
.card ul a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
}
.card ul a:hover {
  text-decoration: underline;
}

.site-footer {
  text-align: center;
  padding: 1rem 0;
  font-size: .75rem;
  color: var(--muted);
  background: var(--card-bg);
  border-top: 1px solid #e0e0e0;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .layout { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; align-items: flex-start; }
  .site-header nav { margin-top: .5rem; }
}

