/*
Theme Name: Los Dioses de la IA
Description: Tema estilo consola para el sitio oficial del podcast Los Dioses de la IA.
Author: Tu nombre
Version: 1.0
*/

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    background-color: black;
    color: #00ff00;
    font-family: "Courier New", Courier, monospace;
    font-size: 18px;
    line-height: 1.4 !important; /* Reducido para menos espacio */
    padding: 1.5rem;
}

a {
    color: #00ff00;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
    color: #00cc00;
}

ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    text-align: left;
}

img {
    max-width: 100%;
    height: auto;
}

/* Contenedor general */
.content, .page, .single {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
}

main {
    display: block;
    width: 100%;
}

/* Responsive para móvil (armonizado con header.php) */
@media screen and (max-width: 600px) {
    body {
        font-size: 16px;
        padding: 0.5rem;
        line-height: 1.4 !important; /* Consistente con el home */
    }
    h1 {
        font-size: 1.5rem;
    }
    ul {
        margin-left: 1rem;
    }
    .content, .page, .single {
        max-width: 100%;
        margin: 0;
        padding: 0.5rem;
    }
    
    /* Estilos específicos para páginas interiores */
    body.page, body.single {
        padding: 1rem 1.2rem !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
    
    .page h1, .single h1 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
        color: #00ff00 !important;
        padding-left: 0.3rem !important;
    }
    
    .page p, .single p {
        margin-bottom: 0.9rem !important;
        text-align: left !important;
    }
    
    /* Forzar salto de línea en "prompts para generar ingresos" */
    ul li a,
    .entry-content a,
    p a {
        word-break: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        display: inline-block !important;
    }
    
    /* Específicamente para el texto largo */
    a:contains("ingresos"),
    a:contains("Prompts para generar") {
        word-break: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        display: inline-block !important;
    }
}

/* Responsive para tablets */
@media screen and (min-width: 601px) and (max-width: 900px) {
    /* Estilos para tablets, si los necesitas */
}

/* Interlineado compacto para el contenido principal */
.entry-content p {
    line-height: 1.4 !important;
}

/* Estilos globales con mayor especificidad para sobrescribir WordPress */
html body {
    background-color: black !important;
    color: #00ff00 !important;
    font-family: "Courier New", Courier, monospace !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    padding: 1.5rem !important;
}

@media (min-width: 430px) {
    html body {
        background-color: black !important;
        color: #00ff00 !important;
        font-family: "Courier New", Courier, monospace !important;
        font-size: 20px !important;
        line-height: 1.3 !important;
        padding: 1.5rem !important;
    }
}

/* Título del home con cursor titilante */
.home-title {
    font-size: 1.6rem;
    color: #00ff00;
    font-family: "Courier New", Courier, monospace;
    display: block;
    margin-bottom: 1.5rem;
    text-align: left;
}

.home-title::after {
    content: "█";
    animation: blink 1s infinite;
    color: #00ff00;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
