.blog-article-page {
    background:#F5F9EF;
    padding-bottom: 60px;
}
* {
  font-family: 'Poppins', sans-serif;
}

/* CONTENEDOR CENTRAL */
.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #F5F9EF;
}

/* IMAGEN */
.article-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

/* CONTENIDO */
.article-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
    line-height: 1.3;
}

.article-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.article-meta span {
    margin: 0 5px;
}

.article-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* Párrafos */
.article-text p {
    margin-bottom: 16px;
}

/* Encabezados */
.article-text h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 16px;
    color: #111;
    line-height: 1.3;
}

.article-text h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 14px;
    color: #111;
    line-height: 1.3;
}

.article-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: #111;
    line-height: 1.3;
}

/* Listas */
.article-text ul,
.article-text ol {
    margin: 16px 0;
    padding-left: 30px;
}

.article-text li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Enlaces */
.article-text a {
    color: #9B122E;
    text-decoration: underline;
    word-break: break-word;
}

.article-text a:hover {
    color: #7a0e24;
}

/* Líneas horizontales */
.article-text hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* Imágenes */
.article-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 4px;
}

.article-text img[width] {
    width: auto !important;
    max-width: 100%;
}

/* Negritas y énfasis */
.article-text strong,
.article-text b {
    font-weight: 600;
    color: #111;
}

.article-text em,
.article-text i {
    font-style: italic;
}

/* Evita desbordes */
.article-text {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* OTRAS NOTICIAS */
.related-section {
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 0 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.related-card {
    background: #fff;
    text-decoration: none;
    color: #111;
    transition: transform 0.2s;
    border-radius: 4px;
    overflow: hidden;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card h4 {
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* BOTÓN */
.back-news {
    background: #9B122E;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.back-news:hover {
    background: #7a0e24;
}

/* RESPONSIVE TABLETS */
@media (max-width: 1024px) {
    .article-container {
        padding: 35px 20px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .article-title {
        font-size: 24px;
    }
}

/* RESPONSIVE MÓVILES */
@media (max-width: 768px) {
    .blog-article-page {
        padding-bottom: 40px;
    }

    .article-container {
        padding: 25px 15px;
    }

    .article-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .article-meta {
        font-size: 12px;
        justify-content: flex-start;
    }

    .article-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .article-text h1 {
        font-size: 20px;
        margin: 25px 0 14px;
    }

    .article-text h2 {
        font-size: 18px;
        margin: 20px 0 12px;
    }

    .article-text h3 {
        font-size: 16px;
        margin: 18px 0 10px;
    }

    .article-text ul,
    .article-text ol {
        padding-left: 25px;
    }

    .article-text li {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .article-text img {
        margin: 20px auto;
        border-radius: 2px;
    }

    .article-text hr {
        margin: 20px 0;
    }

    .related-section {
        margin: 40px auto 0;
        padding: 0 15px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-card img {
        height: 200px;
    }

    .related-card h4 {
        padding: 15px;
        font-size: 16px;
    }

    .back-news {
        padding: 12px 30px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }
}

/* RESPONSIVE MÓVILES PEQUEÑOS */
@media (max-width: 480px) {
    .article-container {
        padding: 20px 40px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-text {
        font-size: 14px;
    }

    .article-text h1 {
        font-size: 18px;
    }

    .article-text h2 {
        font-size: 16px;
    }

    .article-text h3 {
        font-size: 15px;
    }

    .article-text ul,
    .article-text ol {
        padding-left: 20px;
    }

    .related-card img {
        height: 180px;
    }

    .related-card h4 {
        font-size: 15px;
        padding: 12px;
    }

    .back-news {
        font-size: 14px;
        padding: 10px 25px;
    }
}