/* Blog-Specific Styles */
.content h2 {
  font-size: 1.8rem;
  color: #2f2f2f;
  margin-bottom: 1.5rem;
  text-align: center; /* Keep centered on desktop */
}

/* Blog Entries (Links Section) */
.blog-entries {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  padding: 0 0 2rem;
  margin: 0 auto;
  text-align: center; /* Centered on desktop */
}

.blog-entries li {
  margin: 0;
  padding: 0;
}

/* Entries Section (Blog Posts) */
.entries {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.entries li {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.entries .date {
  color: #51676C;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.entries a {
  color: #2f2f2f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.entries a:hover {
  color: #8C4524;
  text-decoration: underline 2px dashed;
}

/* Responsive Design */
@media (max-width: 500px) {
  .content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left; /* Align headers left on mobile */
  }
  .blog-entries {
    flex-direction: column;
    gap: 0.8rem;
    max-width: 800px; /* Match .content’s max-width */
    width: 100%; /* Full width of .content */
    padding-bottom: 1.5rem;
    align-items: flex-start; /* Left-align the column */
    text-align: left; /* Left-align text */
  }
  .blog-entries li {
    width: auto;
    margin: 0;
    padding: 0;
  }
  .entries li {
    margin-bottom: 1rem;
  }
  .entries .date {
    display: block;
    margin-bottom: 0.2rem;
  }
}
