/*
Theme Name: StatMark Research
Theme URI: https://statmarkresearch.com/
Author: DeSanctisPro
Author URI: https://desanctispro.com/
Description: Tema personalizado para StatMark Research con integración de Tailwind CSS.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: statmark-research
*/

/* Tus estilos de Tailwind o personalizados van aquí abajo */
/* --- VARIABLES --- */
:root {
    --primary-color: #3388ff;   /* Azul StatMark */
    --secondary-color: #38a169; /* Verde de acento */
    --heading-color: #222222;   /* Color real para títulos */
}

/* --- BASE --- */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* ===================================================== */
/* ===================== NAVBAR ======================== */
/* ===================================================== */
header, nav, .navbar, header.sticky, header.scrolled {
    background-color: var(--primary-color) !important;
}

header *, nav *, .navbar * {
    color: #ffffff !important;
}

/* ===================================================== */
/* ===================== FOOTER ======================== */
/* ===================================================== */
footer, footer.bg-primary {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

footer p, footer span, footer li, footer a {
    color: #ffffff !important;
}

/* ===================================================== */
/* ===================== TÍTULOS ======================= */
/* ===================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color) !important;
}

/* ===================================================== */
/* ========== CORRECCIÓN DE CLASES TAILWIND ============ */
/* ===================================================== */
.bg-primary { background-color: var(--primary-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.btn-primary { background-color: var(--secondary-color) !important; transition: all 0.3s ease; }
.btn-primary:hover { background-color: #2f855a !important; transform: translateY(-2px); }

/* ===================================================== */
/* ============ TIPOGRAFÍA PARA EL BLOG ================ */
/* ===================================================== */
/* Esto asegura que el contenido de WordPress tenga estilo */

.post-content h2 {
    font-size: 1.875rem; /* 30px */
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-content h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

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

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

.post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    font-style: italic;
    color: #4a5568;
    margin: 2rem 0;
    font-size: 1.25rem;
}

.post-content img {
    border-radius: 0.75rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===================================================== */
/* ================== BARRA DE COOKIES ================= */
/* ===================================================== */
#cookie-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background-color: var(--primary-color); color: white;
    padding: 1.25rem 2rem; display: flex; justify-content: space-between;
    align-items: center; gap: 2rem; z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%); transition: transform 0.5s ease;
}
#cookie-bar.show { transform: translateY(0); }
#accept-cookies { background-color: var(--secondary-color); color: white; border: none; }