/*
Theme Name: Imaginabit Blog
Theme URI: https://imaginabit.com
Author: Imaginabit
Author URI: https://imaginabit.com
Description: Tema personalizado para el blog de Imaginabit - Integrado con el diseño corporativo Tailwind
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imaginabit
Tags: blog, custom-header, custom-menu, editor-style, featured-images
*/

/* 
 * Tailwind preflight elimina todos los márgenes y tamaños de fuentes por defecto.
 * Si no usas el plugin @tailwindcss/typography, necesitamos añadir estos estilos básicos
 * para que el contenido del editor de WordPress sea legible.
 */

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.wp-block-separator{
    margin: 1rem;
}

.blog-content h2, 
.blog-content h3, 
.blog-content h4, 
.blog-content h5, 
.blog-content h6 {
    color: #0f172a; /* text-slate-900 */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-family: inherit;
}

.blog-content h2 {
    font-size: 1.875rem; /* text-3xl */
}

.blog-content h3 {
    font-size: 1.5rem; /* text-2xl */
}

.blog-content h4 {
    font-size: 1.25rem; /* text-xl */
}

.blog-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.blog-content strong,
.blog-content b {
    font-weight: 600;
    color: #0f172a; /* text-slate-900 */
}

.blog-content a {
    color: #2563eb; /* text-blue-600 */
    text-decoration: underline;
    text-underline-offset: 4px;
}

.blog-content a:hover {
    color: #1d4ed8; /* text-blue-700 */
}

.blog-content blockquote {
    border-left: 4px solid #cbd5e1; /* border-slate-300 */
    padding-left: 1rem;
    font-style: italic;
    color: #475569; /* text-slate-600 */
    margin: 1.5rem 0;
}

.blog-content img {
    border-radius: 0.5rem;
    margin: 2rem auto;
    max-width: 100%;
    height: auto;
}
