/*
Theme Name: Nix01
Theme URI: https://example.com/nix01
Author: Denis Iglesias
Author URI: https://example.com
Description: Plantilla WordPress minimalista Nix01 para portales de Inteligencia Artificial, Fotografía y Ciberseguridad. Incluye Tailwind CSS, Modo Oscuro Gris (#121212) y diseño limpio.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: nix01
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Reset - Removes default browser outlines & borders */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

article, .post-entry, fieldset, iframe {
    border: none !important;
    outline: none !important;
}

/* Strict Dark Mode Text & Background Overrides for WordPress Gutenberg & Pasted Content */
.dark body, 
.dark main,
.dark article,
.dark .prose-content {
    color: #e4e4e7 !important;
}

.dark p,
.dark li,
.dark div.prose-content p {
    color: #d4d4d8 !important;
}

.dark h1, 
.dark h2, 
.dark h3, 
.dark h4,
.dark h5,
.dark h6 {
    color: #ffffff !important;
}

.dark strong, 
.dark b {
    color: #ffffff !important;
}

.dark [style*="color: #334155"], 
.dark [style*="color: #475569"],
.dark [style*="color: #1e293b"],
.dark [style*="color: #0f172a"] {
    color: #e4e4e7 !important;
}

.dark [style*="background-color: #0f172a"], 
.dark [style*="background-color: #f1f5f9"],
.dark [style*="background: #f8fafc"],
.dark [style*="background-color: #f8fafc"] {
    background-color: #18181b !important;
    background: #18181b !important;
    border-color: #27272a !important;
}

.dark [style*="border-left: 4px solid #0284c7"] {
    border-left-color: #f59e0b !important;
}

/* WordPress Custom Logo Sanitization */
.custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.custom-logo {
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.prose-content {
    font-family: 'Lora', Georgia, serif;
}

/* Dark mode styling for default WordPress search forms and widgets */
.dark input[type="search"], .dark input[type="text"] {
    background-color: #27272a !important;
    color: #f4f4f5 !important;
    border-color: #3f3f46 !important;
}