.intro h2 {
  font-size: 2rem;
  color: var(--color-text-secondary);
}

.intro p {
  max-width: 700px;
  margin: 1rem auto;
  line-height: 1.6;
  color: var(--color-text);
}

.images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.images img {
  border-radius: 1rem;
  max-width: 300px;
  height: auto;
  box-shadow: 0 0 10px var(--color-accent-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

.latest-posts {
  margin-top: 3rem;
}

.latest-posts h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-text-secondary);
}

.card-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 0px;
  scroll-behavior: smooth;
  justify-content: flex-start;
}

.post-card {
  flex: 0 0 auto;
  border-radius: 1rem;
  padding: 1rem;
  max-width: 180px;
  text-align: left;
  box-shadow: 4px 4px 12px var(--color-accent-dark);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  color: var(--color-text);
  background-color: var(--color-bg-secondary);
}

.post-card:hover {
  transform: scale(1.02);
  box-shadow: 6px 6px 16px var(--color-accent-dark);
}

.post-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.post-card .excerpt {
  font-size: 0.95rem;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.post-card .meta {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.post-card .post-image {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 6px var(--color-accent-dark);
}

.images img:hover {
  transform: scale(1.2);
}
