/* Estilos para el título */
.blog-content{
    max-width: 1200px;
}
.smoothly-blob {
    margin-bottom: 30px;
    padding: 40px 0;
    background: linear-gradient(45deg, #f0f0f0, #007bff);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.h1-smooth-blog {
    font-family: 'SugarPieW00-Regular', sans-serif;
    font-size: 2.8rem;
    color: #e0e0e0;
    -webkit-text-stroke: 2px #333;
}

.h2-smooth-blog {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    color: black;
    padding: 20px;
}

/* Estilo para el botón de admin */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-sm:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Artículo destacado */
.featured-article {
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.featured-article:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-article .card-title {
    font-size: 2.2rem;
    color: #007bff;
    font-weight: 700;
}

.featured-article .card-subtitle {
    font-size: 1.3rem;
    color: #666;
}

.featured-article .card-text {
    color: #777;
    font-size: 1.1rem;
}

.featured-article img {
    max-height: 300px;
    object-fit: cover;
}

/* Previsualización de artículos */
.article-preview {
    border: none;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article-preview .card-title {
    font-size: 1.6rem;
    color: #333;
}

.article-preview .card-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.article-preview .card-text {
    font-size: 0.95rem;
    color: #777;
}

.article-preview img {
    height: 200px;
    object-fit: cover;
}

/* Artículos en tarjetas */
.article-card {
    border: none;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article-card .card-title {
    font-size: 1.4rem;
    color: #333;
}

.article-card .card-subtitle {
    font-size: 1rem;
    color: #666;
}

.article-card .card-text {
    font-size: 0.9rem;
    color: #777;
}

.article-card img {
    height: 180px;
    object-fit: cover;
}

/* Llamada a la acción */
.cta-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border-radius: 20px;
    padding: 50px 20px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Secciones personalizadas */
.blog-header {
    background-color: #f5f6f5;
}

.blog-content {
    background-color: #fff;
}

/* Modal */
.modal-dialog.modal-xl {
    max-width: 50%;
}

.modal-content {
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.modal-title {
    font-size: 2rem;
    color: #007bff;
    font-weight: 700;
}

.modal-body {
    padding: 30px;
    max-height: 75vh;
    overflow-y: auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-text {
    color: #333;
    word-wrap: break-word;
    word-break: break-word;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header .smoothly-blob {
        padding: 20px 0;
    }
    .h1-smooth-blog {
        font-size: 2rem;
    }
    .h2-smooth-blog {
        font-size: 1.5rem;
        padding: 10px;
    }
    .featured-article .card-title {
        font-size: 1.8rem;
    }
    .article-preview .card-title, .article-card .card-title {
        font-size: 1.3rem;
    }
    .cta-section {
        padding: 30px 10px;
    }
    .modal-dialog.modal-xl {
        max-width: 95%;
    }
}