body {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

header,
footer {
  text-align: center;
  margin-bottom: 2rem;
}

header img {
  display: block;
  margin: 0 auto 10px;
  max-width: min(100%, 200px);
  height: auto;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

nav li {
  display: inline-flex;
}

a {
  color: #6f3d95;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h2 {
  margin-top: 2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

.featured-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  margin: 0.5rem 0;
}

.post-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.post-item img.thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.post-item .post-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.post-item a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
}

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

article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  body {
    padding: 16px;
  }

  nav ul {
    gap: 0.75rem;
  }

  .post-item img.thumb {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    width: 100%;
    justify-content: center;
  }

  .post-item,
  .post-item a {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-item img.thumb {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 0.5rem;
  }
}
