/* Contenedor del post */
.post-container {
  max-width: 800px;
  margin: 2rem auto;         /* antes 3rem */
  padding: 2rem;             /* antes 3rem */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* Título principal */
.post-container h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;       /* antes 1.5rem */
  margin-top: 0;
  color: #222;
  line-height: 1.3;
}

/* Fecha */
.post-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.8rem;     /* antes 1.2rem */
}

/* Contenido general */
.post-content {
  line-height: 1.6;          /* antes 1.7 */
  font-size: 1.05rem;
  color: #333;
}

/* Subtítulos */
.post-content h2 {
  font-size: 1.8rem;
  margin-top: 1.5rem;        /* antes 2rem */
  margin-bottom: 0.8rem;     /* antes 1rem */
  border-left: 5px solid #007acc;
  padding-left: 10px;        /* antes 12px */
  color: #007acc;
  line-height: 1.3;          /* más compacto */
}

/* Párrafos */
.post-content p {
  margin: 0.6rem 0 0.8rem 0; /* antes 0.8 y 1rem */
}

/* Listas */
.post-content ul,
.post-content ol {
  margin: 0.6rem 0 0.8rem 1.2rem; /* menos espacio arriba/abajo y menos sangría */
  padding-left: 0.8rem;           /* antes 1rem */
}

.post-content li {
  margin-bottom: 0.3rem;     /* antes 0.5rem */
  line-height: 1.45;         /* antes 1.6 */
}

/* Código inline */
.post-content code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Fira Code", monospace;
  font-size: 0.95rem;
}

/* Separadores */
.post-content hr {
  border: none;
  border-top: 2px solid #eee;
  margin: 1.5rem 0;          /* antes 2rem */
}

/* Imágenes */
.post-content img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.post-content img:hover {
  transform: scale(1.03);
}

/* Links */
.post-content a {
  color: #007acc;
  text-decoration: none;
  font-weight: 500;
}

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