/*
Theme Name: Jobshub
Theme URI: https://coudex.com
Author: Isael
Author URI: https://coudex.com
Description: Tema de blog minimalista otimizado para mobile usando Tailwind CSS 4.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: jobshub
*/

:root {
  color-scheme: light;
}

/* Estilos para o conteúdo do post (.conteudo-texto) */
.conteudo-texto {
    line-height: 1.75;
    color: #374151; /* text-gray-700 */
}

.conteudo-texto h1,
.conteudo-texto h2,
.conteudo-texto h3,
.conteudo-texto h4,
.conteudo-texto h5,
.conteudo-texto h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 700;
    line-height: 1.2;
    color: #111827; /* text-gray-900 */
}

.conteudo-texto h1 {
    font-size: 2.25rem; /* 36px */
}

.conteudo-texto h2 {
    font-size: 1.875rem; /* 30px */
}

.conteudo-texto h3 {
    font-size: 1.5rem; /* 24px */
}

.conteudo-texto h4 {
    font-size: 1.25rem; /* 20px */
}

.conteudo-texto p {
    margin-bottom: 1.25em;
}

.conteudo-texto a {
    color: #2563eb; /* text-blue-600 */
    text-decoration: underline;
}

.conteudo-texto a:hover {
    color: #1d4ed8; /* text-blue-700 */
}

.conteudo-texto ul,
.conteudo-texto ol {
    margin-left: 1.5em;
    margin-bottom: 1.25em;
}

.conteudo-texto ul {
    list-style-type: disc;
}

.conteudo-texto ol {
    list-style-type: decimal;
}

.conteudo-texto li {
    margin-bottom: 0.5em;
}

.conteudo-texto blockquote {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.25em;
    padding-left: 1em;
    border-left: 4px solid #d1d5db; /* border-gray-300 */
    color: #4b5563; /* text-gray-600 */
    font-style: italic;
}

.conteudo-texto pre {
    background-color: #f3f4f6; /* bg-gray-100 */
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.25em;
}

.conteudo-texto code {
    font-family: monospace;
    background-color: #f3f4f6; /* bg-gray-100 */
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
}

.conteudo-texto pre code {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.conteudo-texto img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.conteudo-texto hr {
    border-top: 1px solid #e5e7eb; /* border-gray-200 */
    margin: 2em 0;
}

/* Tabelas formatadas e responsivas */
.conteudo-texto table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    background-color: #fff;
    font-size: 1rem;
    overflow: hidden;
}

.conteudo-texto th,
.conteudo-texto td {
    padding: 0.75em 1em;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    text-align: left;
}

.conteudo-texto th {
    background-color: #f3f4f6; /* bg-gray-100 */
    font-weight: 700;
    color: #111827; /* text-gray-900 */
}

.conteudo-texto td {
    color: #374151; /* text-gray-700 */
}

.conteudo-texto tr:nth-child(even) td {
    background-color: #f9fafb; /* bg-gray-50 */
}

/* Scroll lateral para tabelas grandes */
.conteudo-texto table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Estilo para código inline e bloco */
.conteudo-texto code {
    font-family: 'Fira Mono', 'Consolas', monospace;
    background-color: #f3f4f6;
    color: #be185d; /* text-pink-700 */
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.95em;
}

.conteudo-texto pre {
    background-color: #f3f4f6;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.25em;
    font-family: 'Fira Mono', 'Consolas', monospace;
    font-size: 0.97em;
    color: #1e293b; /* text-slate-800 */
}

.conteudo-texto pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    color: inherit;
}