/* 1) Container & Base Typography */
.site-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
}

/* 2) Hero / Intro */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted);
}

/* 3) Section Headings */
.featured-projects h2,
.latest-posts h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-category);
  display: inline-block;
}

/* 4) Project Grid & Cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.project-card {
  padding: 1.5rem;
  border: 1px solid var(--muted);
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 5) Post List & Items */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.post-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.post-item time {
  font-size: 0.875rem;
  color: var(--muted);
}
.post-summary {
  margin-top: 0.5rem;
  color: var(--text-secondary);
}

/* 6) “View more” links */
.more-link {
  text-align: right;
  margin-bottom: 3rem;
}
.more-link a {
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}
.more-link a:hover {
  text-decoration: underline;
}

/* 7) Navigation tweaks (optional) */
.navbar {
  background: var(--background);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.navbar a {
  margin-left: 1.5rem;
  font-weight: 500;
}

/* 8) Responsive adjustments */
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .featured-projects h2,
  .latest-posts h2 { font-size: 1.5rem; }
}