body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.blog-main-content h1,
.blog-main-content h2,
.main-title,
.main-subtitle {
  text-align: center;
}

.blog-main-content h1,
.main-title {
  font-size: clamp(1.95rem, 4vw, 2.5rem);
  margin: 1rem 0;
  color: var(--primary-clr);
}

.blog-main-content h2,
.main-subtitle {
  font-size: clamp(1rem, 4vw, 1.25rem);
  color: #333;
}

.blog-main-content section {
  margin: 5rem 0;
}

.blog-container {
  max-width: 900px;
  padding: 0 2rem;
  margin: 0 auto;
}

.blog-card {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #ccc;
  padding: 2rem 0;
}

.blog-card:last-child {
  border-bottom: none;
}

.blog-card img {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
}

.blog-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 350px;
}

.blog-description h3 {
  font-size: 1.15rem;
}

.blog-description p {
  font-size: clamp(0.875rem, 4vw, 0.95rem);
  color: #333;
}

.blog-description a {
  align-self: flex-end;
  text-decoration: none;
  border: 1px solid var(--primary-clr);
  border-radius: 1rem;
  font-size: 0.95rem;
  padding: 0.25rem 1rem;
  color: var(--primary-clr);
}

.blog-description a:hover {
  color: #fff;
  background-color: var(--primary-clr);
}

/* estilos para los POST */
.goback-btn {
  display: block;
  margin: 1rem 0;
  border: 1px solid var(--primary-clr);
  border-radius: 1rem;
  width: fit-content;
  padding: 0.25rem 1rem;
  text-decoration: none;
  box-sizing: border-box;
}

.post-content {
  padding: 1rem 2rem;
  max-width: 900px;
  margin: 2rem auto 6rem auto;
}
.post-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.45rem;
}

.entry-meta {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 2rem;
  display: block;
}

.post-content img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  margin: 1rem 0;
}

.post-content h3 {
  margin: 1rem 0;
}

.post-content p {
  color: #444;
  margin-bottom: 0.5rem;
}

.post-content h2 {
  color: #333;
  font-size: 1.15rem;
}

.post-content ul {
  margin: 1rem 0 1rem 2rem;
  list-style: decimal;
  color: #444;
}

.post-content ul li {
  margin-bottom: 0.5rem;
}
.post-content a {
  color: var(--primary-clr);
}
