/* Blog (spec 002, tarea 34): listado y entradas con el aspecto publicado (fondo blanco, texto
   oscuro, tarjetas oscuras de 3 columnas; artículo de 700 px en Hanken Grotesk de 19 px). */
.blog-page {
  background: #fff;
  color: #00221d;
}

.blog-page a {
  color: #0f5a0f;
}

/* --- Listado --- */
.blog-list {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 20px 96px;
}

.blog-list__intro {
  margin-bottom: 52px;
  text-align: center;
}

.blog-list__title {
  margin: 0 0 6px;
  color: #00221d;
  font-family: "Anek Tamil", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.blog-page .blog-list__subtitle {
  color: #00221d;
  font-size: 24px;
  line-height: 1.3;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 16px 16px 0 0;
  background: #120a07;
  color: #fff;
  text-decoration: none;
}

.blog-page .post-card__link {
  color: #fff;
}

.post-card__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.post-card__title {
  margin: 0;
  padding: 28px 19px;
  color: #fff;
  font-family: "Anek Tamil", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.post-card__link:hover .post-card__title,
.post-card__link:focus-visible .post-card__title {
  text-decoration: underline;
}

/* --- Artículo --- */
.post {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 20px 96px;
  font-family: "Hanken Grotesk Regular", "Anek Tamil", sans-serif;
  font-size: 19px;
  line-height: 1.7;
}

.post__title {
  margin: 0 0 24px;
  color: #0f5a0f;
  font-family: "Hanken Grotesk Bold", "Anek Tamil", sans-serif;
  font-size: clamp(28px, 1.2rem + 2.4vw, 41px);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgb(15 90 15 / 0.45);
}

.post__image {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.blog-page .post__meta {
  padding: 12px 0 32px;
  color: #4a5d58;
  font-size: 15px;
}

.post__body {
  color: #00221d;
}

.blog-page .post__body p {
  color: #00221d;
  padding-bottom: 1.4em;
}

.post__body h2 {
  margin: 1.4em 0 0.8em;
  color: #00221d;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.post__body ol,
.post__body ul {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
}

.post__footer {
  margin-top: 40px;
}

@media (max-width: 980px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}
