/**
 * Reveex - Estilos base adicionales
 *
 * Estilos complementarios al style.css principal.
 * No incluye paleta corporativa, tipografías ni diseños
 * que correspondan a Elementor.
 *
 * @package Reveex
 * @since   1.0.0
 */

/* ==========================================================================
   Layout base - Fallback (sin Elementor)
   ========================================================================== */

.reveex-site-main {
	padding: 2em 1.5em;
}

/* Header fallback */
.reveex-site-header {
	padding: 1em 1.5em;
}

.reveex-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1em;
}

/* Navegación fallback */
.reveex-main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
}

.reveex-main-navigation a {
	text-decoration: none;
}

.reveex-main-navigation a:hover,
.reveex-main-navigation a:focus {
	text-decoration: underline;
}

/* Footer fallback */
.reveex-site-footer {
	padding: 2em 1.5em;
	margin-top: 2em;
	border-top: 1px solid #e0e0e0;
}

.reveex-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1em;
}

.reveex-footer-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
}

.reveex-footer-navigation a {
	text-decoration: none;
}

.reveex-copyright {
	margin: 0;
	font-size: 0.875em;
	opacity: 0.7;
}

/* ==========================================================================
   Entradas
   ========================================================================== */

.reveex-entry {
	margin-bottom: 2em;
}

.reveex-entry-header {
	margin-bottom: 1em;
}

.reveex-entry-title a {
	text-decoration: none;
}

.reveex-entry-title a:hover,
.reveex-entry-title a:focus {
	text-decoration: underline;
}

.reveex-entry-meta {
	font-size: 0.875em;
	opacity: 0.7;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
}

.reveex-entry-thumbnail {
	margin-bottom: 1em;
}

.reveex-entry-thumbnail img {
	width: 100%;
	height: auto;
}

/* ==========================================================================
   Sin resultados (template-parts/content-none.php) — 404.php tiene su
   propio diseño real en reveex-elementor.css, ver "Página 404" ahí.
   ========================================================================== */

.reveex-no-results {
	text-align: center;
	padding: 3em 1.5em;
}

.reveex-no-results .search-form {
	margin-top: 1.5em;
}

/* ==========================================================================
   Archivos y búsqueda
   ========================================================================== */

.reveex-archive-header,
.reveex-search-header {
	margin-bottom: 2em;
}

.reveex-archive-description {
	margin-top: 0.5em;
	opacity: 0.8;
}

/* ==========================================================================
   Comentarios
   ========================================================================== */

.reveex-comments-area {
	margin-top: 3em;
	padding-top: 2em;
	border-top: 1px solid #e0e0e0;
}

.reveex-comment-list {
	list-style: none;
	padding: 0;
}

/* ==========================================================================
   Navegación entre entradas
   ========================================================================== */

.reveex-nav-subtitle {
	display: block;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.6;
}

/* ==========================================================================
   Responsive mínimo
   ========================================================================== */

@media (max-width: 768px) {
	.reveex-header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.reveex-footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.reveex-main-navigation ul {
		flex-direction: column;
		gap: 0.75em;
	}
}

/**
 * Nota: el componente de Header (Elementor Pro Theme Builder, id 248) vive
 * en `assets/css/reveex-elementor.css` desde 2026-08-01 (pedido explícito
 * del usuario, ver /docs/CAMBIOS.md). Este archivo vuelve a contener solo
 * el fallback estructural sin Elementor, su propósito original.
 */
