/*
Theme Name: Miracle Prefabricados
Theme URI: https://miracleprefabricados.com
Author: Miracle Prefabricados
Author URI: https://miracleprefabricados.com
Description: Tema WordPress profesional para Miracle Prefabricados — adoquín, adopasto y celosía en Bahía de Banderas. Diseño Industrial Premium con Tailwind CSS, calculadora de m² y blog integrado.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: miracle
Tags: custom-logo, custom-menu, featured-images, full-width-template, translation-ready, blog
*/

/* ── Accesibilidad ─────────────────────────────────────── */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ── Alineaciones de bloques ───────────────────────────── */
.alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.wp-block-image img,
.entry-content img {
	max-width: 100%;
	height: auto;
}

/* ── Contenido dinámico (the_content) ──────────────────── */
.entry-content {
	color: rgba(232, 234, 240, 0.85);
	line-height: 1.75;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: Poppins, system-ui, sans-serif;
	color: #fff;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.375rem; }
.entry-content h4 { font-size: 1.125rem; }

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 1.25rem;
}

.entry-content a {
	color: #F6A71C;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content a:hover { color: #e8960a; }

.entry-content ul,
.entry-content ol { padding-left: 1.5rem; }

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

.entry-content blockquote {
	border-left: 4px solid #F6A71C;
	padding-left: 1rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: rgba(232, 234, 240, 0.7);
}

/* ── Paginación del blog ───────────────────────────────── */
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	min-width: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	border: 1px solid #3d4154;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	color: rgba(232, 234, 240, 0.8);
	transition: border-color 0.2s, color 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	border-color: #F6A71C;
	color: #F6A71C;
}

/* ── Logo ──────────────────────────────────────────────── */
.custom-logo-link img {
	max-height: 3.5rem;
	width: auto;
}
