/* ===============================
   Blog Post General
   =============================== */
.blog-post {
    font-family: Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* ===============================
   Encabezados
   =============================== */
.blog-post h1, 
.blog-post h2, 
.blog-post h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
}

.blog-post p {
    margin: 15px 0;
}

/* ===============================
   Estilos para código
   =============================== */
.blog-post pre {
    background: #1e1e1e;
    color: #f8f8f2;
    padding: 14px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 15px;
    margin: 20px 0;
}

.blog-post pre code {
    background: transparent;
    color: inherit;
    font-family: Consolas, Monaco, monospace;
}

/* Código inline */
.blog-post code {
    background: #f3f4f6;
    color: #c7254e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-family: Consolas, Monaco, monospace;
}

/* ===============================
   Notas y Tips
   =============================== */
.blog-post .note {
    background: #e8f5e9;
    border-left: 4px solid #2ecc71;
    padding: 10px 15px;
    margin: 20px 0;
}

.blog-post .tip {
    background: #e3f2fd;
    border-left: 4px solid #3498db;
    padding: 10px 15px;
    margin: 20px 0;
}

/* ===============================
   Tablas dentro del blog
   =============================== */
.blog-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.blog-post table, 
.blog-post th, 
.blog-post td {
    border: 1px solid #ddd;
}

.blog-post th, 
.blog-post td {
    padding: 10px;
    text-align: left;
}

.blog-post th {
    background: #f2f2f2;
}

/* ===============================
   Imágenes en el blog
   =============================== */
.blog-post img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 25px auto;   /* separación arriba y abajo */
    border-radius: 8px;  /* esquinas redondeadas */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* sombra ligera */
    transition: transform 0.3s ease;
}

.blog-post img:hover {
    transform: scale(1.02); /* efecto sutil al pasar el mouse */
}

.blog-post .img-featured {
    width: 100%;
    max-height: 500px;
    object-fit: cover; /* recorta sin deformar */
}

.blog-post .img-bordered {
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
}

.blog-post ul, 
.blog-post ol {
    margin: 15px 0 15px 25px;
    line-height: 1.7;
}
.blog-post li {
    margin-bottom: 6px;
}

.blog-post .note strong,
.blog-post .tip strong {
    color: #2c3e50;
}

@media (max-width: 600px) {
    .blog-post {
        padding: 12px;
        font-size: 16px;
    }

    .blog-post pre {
        font-size: 14px;
        padding: 10px;
    }

    .blog-post h1 {
        font-size: 22px;
    }

    .blog-post h2 {
        font-size: 18px;
    }
}

.blog-post {
  font-family: "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.blog-post h4 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: #0d6efd; /* Azul Bootstrap */
  border-left: 4px solid #0d6efd;
  padding-left: 10px;
}

.blog-post h5 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #212529;
  font-weight: 600;
}

.blog-post p {
  margin: 0.8rem 0;
}

.blog-post ol,
.blog-post ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.blog-post ol li {
  margin-bottom: 0.5rem;
}

.blog-post ul li {
  list-style-type: disc; /* Asegura viñetas visibles */
  margin-bottom: 0.4rem;
}

.blog-post code {
  background: #f8f9fa;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #d63384;
}