/*
 * Estilos específicos para los artículos del blog (Maquineros)
 * Se carga solo en entradas individuales (is_singular('post'))
 * Depende de las variables definidas en style.css
 */

/* Ancho del contenido y tipografía general */
.entry-content {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	font-size: 18px;
	line-height: 1.7;
	color: var(--color-negro);
}

/* Citas */
.entry-content blockquote {
	background: #FFF8E1;
	border-left: 6px solid var(--color-amarillo);
	border-radius: 0;
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	font-style: italic;
	color: var(--color-negro);
}

/* Listas */
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5em 1.5em;
	padding-left: 1em;
}

.entry-content li {
	margin-bottom: 0.5em;
}

/* Imágenes y pies de foto */
.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.entry-content figcaption {
	font-size: 14px;
	color: #666;
	text-align: center;
	margin-top: 0.5em;
}

/* Código inline y bloques de código */
.entry-content code {
	background-color: #f1f1f1;
	color: var(--color-negro);
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 0.9em;
}

.entry-content pre {
	background-color: var(--color-negro);
	color: var(--color-blanco);
	padding: 1em;
	border-radius: 4px;
	overflow-x: auto;
	margin: 1.5em 0;
}

.entry-content pre code {
	background: none;
	color: inherit;
	padding: 0;
}

/* Tablas */
.entry-content table {
	border-collapse: collapse;
	width: 100%;
	margin: 1.5rem 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.entry-content table thead th {
	background: var(--color-negro);
	color: var(--color-amarillo);
	padding: 0.75rem 1rem;
	text-align: left;
}

.entry-content table tbody tr:nth-child(even) td {
	background: #FFF8E1;
}

.entry-content table tbody tr:nth-child(odd) td {
	background: var(--color-blanco);
}

.entry-content table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #eee;
}

/* Encabezados de sección */
.entry-content h2 {
	border-bottom: 3px solid var(--color-amarillo);
	padding-bottom: 0.5rem;
	margin-top: 2.5rem;
}

/* Aparición suave al hacer scroll (ver js/scroll-reveal.js) */
.entry-content .reveal-on-scroll {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.entry-content .reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}
