:root {
  --text: #111;
  --muted: #6e6e73;
  --bg: #f5f5f7;
  --card: #ffffff;
  --accent: #0071e3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, 90%);
  margin: auto;
}

/* Navigation */
.nav {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  font-weight: 600;
  letter-spacing: 1px;
}

.menu a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.menu a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 60px 0;
}

.hero h1 {
  font-size: 48px;
  margin: 0 0 10px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
}

.hero img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Posts */
.posts {
  display: grid;
  gap: 30px;
  padding-bottom: 60px;
}

.post {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: var(--card);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.post h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.post p {
  margin: 0 0 10px;
  color: var(--muted);
}

.post a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
}

.post a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .post {
    grid-template-columns: 1fr;
  }

  .post img {
    height: 200px;
  }
}
