
/*
Theme Name: OZ Tema 4.0
Theme URI: https://example.com
Author: Tu nombre
Author URI: https://example.com
Description: Tema básico para WordPress, compatible con PHP 8.3.
Version: 4.2.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oz-tema-2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

:root {
	--container: var(--OZ-Container-Mobile)}

html,
body,
body.customize-support {
	margin: 0;
	overflow-x: clip}

@media (min-width: 768px) {
	:root {
		--container: var(--OZ-Container-Tablet)}
}

@media (min-width: 992px) {
	:root {
		--container: var(--OZ-Container-Laptop)}
}

@media (min-width: 1200px) {
	:root {
		--container: var(--OZ-Container-PC)}
}

h1,
h2,
h3,
h4 {
	font-family: var(--OZ-Font-Headings);
	font-weight: 600}

a {
	color: var(--OZ-Color-3);
	text-decoration: none}

a:hover {
	text-decoration: underline}

/* ==========================================================================
   404 Error Page — JYM (verde + negro + blanco)
   ========================================================================== */
body.error404 .site {
	width: 100%;
	max-width: none;
}

.error-404-page {
	--err-bg-1:        #050505;
	--err-bg-2:        #0d0d0d;
	--err-bg-3:        #060a08;
	--err-accent:      #22c55e;
	--err-accent-soft: rgba(34, 197, 94, .18);
	--err-accent-glow: rgba(34, 197, 94, .55);
	--err-line:        rgba(34, 197, 94, .28);
	--err-text:        #ffffff;
	--err-muted:       rgba(255, 255, 255, .58);

	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	padding: 3rem 1rem;
	background:
		radial-gradient(900px 600px at 50% 25%, rgba(34, 197, 94, .12), transparent 60%),
		radial-gradient(700px 500px at 50% 100%, rgba(34, 197, 94, .08), transparent 70%),
		linear-gradient(160deg, var(--err-bg-1) 0%, var(--err-bg-2) 50%, var(--err-bg-3) 100%);
	color: var(--err-text);
	isolation: isolate;
}

/* Grilla técnica de fondo */
.error-404-page::before {
	content: "";
	position: absolute;
	inset: -2px;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
	pointer-events: none;
	z-index: 0;
}

/* Cinta de seguridad inferior — identidad industrial */
.error-404-page::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 10px;
	background: repeating-linear-gradient(
		-45deg,
		var(--err-accent) 0 18px,
		#0a0a0a 18px 36px
	);
	opacity: .9;
	z-index: 1;
	animation: errTapeSlide 3.4s linear infinite;
}

@keyframes errTapeSlide {
	from { background-position: 0 0; }
	to   { background-position: 51px 0; }
}

/* Partículas */
.error-particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.error-particle {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--err-accent);
	box-shadow: 0 0 12px var(--err-accent-glow);
	opacity: .35;
	animation: particleFloat 8s ease-in-out infinite;
}

.error-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.error-particle:nth-child(2) { left: 80%; top: 15%; animation-delay: 1.5s; animation-duration: 9s; width: 4px; height: 4px; }
.error-particle:nth-child(3) { left: 25%; top: 70%; animation-delay: 3s; animation-duration: 6s; width: 8px; height: 8px; }
.error-particle:nth-child(4) { left: 70%; top: 80%; animation-delay: 2s; animation-duration: 10s; }
.error-particle:nth-child(5) { left: 50%; top: 10%; animation-delay: 4s; animation-duration: 8s; width: 5px; height: 5px; }
.error-particle:nth-child(6) { left: 90%; top: 50%; animation-delay: 1s; animation-duration: 7.5s; width: 3px; height: 3px; }

@keyframes particleFloat {
	0%, 100% { transform: translateY(0) translateX(0); opacity: .25; }
	25% { transform: translateY(-30px) translateX(15px); opacity: .9; }
	50% { transform: translateY(-15px) translateX(-10px); opacity: .55; }
	75% { transform: translateY(-40px) translateX(20px); opacity: .95; }
}

/* Card central */
.error-404-wrapper {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 580px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 22px;
	padding: 3rem 2.5rem;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow:
		0 30px 80px -30px rgba(0, 0, 0, .65),
		0 0 0 1px rgba(34, 197, 94, .06) inset;
	animation: cardFadeIn .8s cubic-bezier(.22, 1, .36, 1) forwards;
	opacity: 0;
}

@keyframes cardFadeIn {
	from { opacity: 0; transform: translateY(30px) scale(.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Ilustración SVG */
.error-illustration {
	margin: 0 auto 1.25rem;
	width: 170px;
	height: 170px;
	color: var(--err-accent);
	filter: drop-shadow(0 6px 24px var(--err-accent-glow));
}

.error-svg-main {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.error-ring {
	stroke: var(--err-line);
}

.error-ring--outer {
	animation: ringRotate 22s linear infinite;
	transform-origin: center;
}

.error-ring--inner {
	stroke: rgba(34, 197, 94, .18);
	animation: ringRotate 16s linear infinite reverse;
	transform-origin: center;
}

@keyframes ringRotate {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

.error-hex {
	stroke: rgba(34, 197, 94, .55);
	stroke-linejoin: round;
	transform-origin: 100px 100px;
	animation: hexPulse 3.5s ease-in-out infinite;
}

@keyframes hexPulse {
	0%, 100% { opacity: .55; transform: scale(1); }
	50%      { opacity: 1;   transform: scale(1.04); }
}

.error-hook {
	color: var(--err-accent);
	stroke: currentColor;
	fill: none;
	transform-origin: 100px 75px;
	animation: hookSway 2.6s ease-in-out infinite;
}

@keyframes hookSway {
	0%, 100% { transform: rotate(-4deg); }
	50%      { transform: rotate(4deg); }
}

.error-dash {
	stroke: rgba(34, 197, 94, .35);
	animation: dashFade 4s ease-in-out infinite alternate;
}

@keyframes dashFade {
	from { opacity: .2; }
	to   { opacity: .65; }
}

/* Código 404 — efecto glitch verde */
.error-code {
	font-family: var(--OZ-Font-Headings, 'Inter', sans-serif);
	font-size: clamp(5rem, 12vw, 8.5rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	margin: 0;
	color: #ffffff;
	position: relative;
	text-shadow: 0 0 60px rgba(34, 197, 94, .35);
	animation: glitchText 4s ease-in-out infinite;
	line-height: 1;
}

.error-code::before,
.error-code::after {
	content: attr(data-text);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.error-code::before {
	color: var(--err-accent);
	z-index: -1;
	animation: glitchBefore 4s ease-in-out infinite;
}

.error-code::after {
	color: #0a0a0a;
	z-index: -2;
	animation: glitchAfter 4s ease-in-out infinite;
}

@keyframes glitchText {
	0%, 90%, 100% { transform: none; }
	92% { transform: skewX(-2deg); }
	94% { transform: skewX(1deg); }
	96% { transform: skewX(-1deg); }
	98% { transform: skewX(0); }
}

@keyframes glitchBefore {
	0%, 90%, 100% { clip-path: inset(0); transform: none; }
	92% { clip-path: inset(20% 0 60% 0); transform: translateX(-4px); }
	94% { clip-path: inset(50% 0 20% 0); transform: translateX(3px); }
	96% { clip-path: inset(10% 0 70% 0); transform: translateX(-2px); }
}

@keyframes glitchAfter {
	0%, 90%, 100% { clip-path: inset(0); transform: none; }
	93% { clip-path: inset(60% 0 10% 0); transform: translateX(4px); }
	95% { clip-path: inset(30% 0 40% 0); transform: translateX(-3px); }
	97% { clip-path: inset(70% 0 5% 0); transform: translateX(2px); }
}

/* Título */
.error-title {
	font-family: var(--OZ-Font-Headings, 'Inter', sans-serif);
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 700;
	color: #ffffff;
	margin: 0.75rem 0 0.5rem;
	letter-spacing: -0.02em;
}

/* Mensaje */
.error-message {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--err-muted);
	margin: 0 auto 2rem;
	max-width: 420px;
}

/* Botones */
.error-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.error-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.7rem;
	border-radius: 10px;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: .01em;
	text-decoration: none;
	transition:
		transform .25s cubic-bezier(.22, 1, .36, 1),
		box-shadow .25s ease,
		background-color .25s ease,
		border-color .25s ease,
		color .25s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.error-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 70%);
	transform: translateX(-100%);
	transition: transform .6s ease;
}

.error-btn:hover::after { transform: translateX(100%); }

.error-btn:hover {
	transform: translateY(-3px);
	text-decoration: none;
}

.error-btn:active { transform: translateY(-1px); }

.error-btn__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Botón secundario — outline blanco */
.error-btn--primary {
	background: rgba(255, 255, 255, .06);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, .22);
}

.error-btn--primary:hover {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .35);
	color: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

/* Botón primario — verde marca */
.error-btn--accent {
	background: var(--err-accent);
	color: #052e16;
	border: 1px solid var(--err-accent);
	box-shadow: 0 8px 24px -8px var(--err-accent-glow);
}

.error-btn--accent:hover {
	background: #16a34a;
	border-color: #16a34a;
	color: #ffffff;
	box-shadow: 0 12px 32px -6px var(--err-accent-glow);
}

@media (max-width: 480px) {
	.error-404-wrapper {
		padding: 2rem 1.5rem;
		border-radius: 18px;
	}
	.error-illustration { width: 130px; height: 130px; }
	.error-buttons { flex-direction: column; align-items: stretch; }
	.error-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.error-ring--outer,
	.error-ring--inner,
	.error-hex,
	.error-hook,
	.error-dash,
	.error-particle,
	.error-code,
	.error-code::before,
	.error-code::after,
	.error-404-page::after {
		animation: none !important;
	}
}


.oz-shop-banner {
	width: 100%;
	min-height: clamp(72px, 14vw, 180px);
	background-image: var(--OZ-Shop-Banner-Url);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat}

.site {
	width: 100%;
	max-width: min(100%, var(--OZ-Container-PC))}

/* En páginas con banner full-bleed (.oz-page-banner) el contenedor .site debe
   estar CENTRADO para que el truco margin:calc(50% - 50vw) sea simétrico (si
   .site queda alineado a la izquierda, el banner deja un hueco a la derecha). */
body:has(.oz-page-banner) .site {
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 1199px) {
	.site {
		max-width: min(100%, var(--OZ-Container-Laptop))}
}

@media (max-width: 991px) {
	.site {
		max-width: min(100%, var(--OZ-Container-Tablet))}
}

@media (max-width: 767px) {
	.site {
		max-width: min(100%, var(--OZ-Container-Mobile))}
}

.site-main {
	min-height: 50vh}

body.woocommerce,
body.woocommerce-page {
	background: #eef1f3}

body.woocommerce .site,
body.woocommerce-page .site,
body.woocommerce .site-main,
body.woocommerce-page .site-main {
	background: #eef1f3}

body.woocommerce .site,
body.woocommerce-page .site {
	width: 100%;
	max-width: none}

/* Artículos individuales del blog (single post): aunque WooCommerce marque el
   <body> como .woocommerce-page (lo que pone .site a ancho completo), el
   contenido del artículo debe ir CONTENIDO y centrado, no a todo el ancho.
   Restauramos el contenedor y lo centramos. Selector reforzado para ganar a la
   regla de WooCommerce de arriba. */
body.single-post .site,
body.single.woocommerce-page .site,
body.single .site {
	width: 100%;
	max-width: min(100%, var(--OZ-Container-PC));
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 4vw, 32px);
	padding-right: clamp(16px, 4vw, 32px);
	box-sizing: border-box}

@media (max-width: 1199px) {
	body.single-post .site,
	body.single .site {
		max-width: min(100%, var(--OZ-Container-Laptop))}
}

@media (max-width: 991px) {
	body.single-post .site,
	body.single .site {
		max-width: min(100%, var(--OZ-Container-Tablet))}
}

@media (max-width: 767px) {
	body.single-post .site,
	body.single .site {
		max-width: min(100%, var(--OZ-Container-Mobile))}
}






@media (min-width: 768px) {
	article.page:has(> .entry-content > .oz-pb-root) .oz-pb-root {
		--container: var(--OZ-Container-Tablet)}
}

@media (min-width: 992px) {
	article.page:has(> .entry-content > .oz-pb-root) .oz-pb-root {
		--container: var(--OZ-Container-Laptop)}
}

@media (min-width: 1200px) {
	article.page:has(> .entry-content > .oz-pb-root) .oz-pb-root {
		--container: var(--OZ-Container-PC)}
}


article.page:has(> .entry-content > .oz-pb-root) .ml-section:is(.ml-row-container, [data-ml-width-mode-mobile="container"]) > .ml-row-content {
	width: 100%;
	max-width: none}


.site-main--single {
	max-width: 100%;
	/* Espacio superior entre el header y el inicio del artículo (imagen/título),
	   para que el contenido no quede pegado al menú. */
	padding-top: clamp(1.5rem, 4vw, 3rem)}

.single-layout {
	display: flex;
	flex-direction: column;
	gap: 2rem}

@media (min-width: 992px) {
	.single-layout:has(.single-sidebar) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
		gap: 2.5rem;
		align-items: start}
}

/* Sin barra lateral: el contenido del artículo va en UNA columna centrada con
   ancho de lectura cómodo (no a todo el ancho del contenedor). */
.single-layout__main {
	min-width: 0;
	width: 100%;
	max-width: 820px;
	margin-left: auto;
	margin-right: auto}

.single-post__thumbnail {
	line-height: 0;
	max-height: min(70vh, 520px);
	overflow: hidden;
	background: var(--OZ-Color-1)}

.single-post__thumbnail-img,
.single-post__thumbnail img {
	display: block;
	width: 100%;
	height: min(70vh, 520px);
	object-fit: cover;
	vertical-align: middle}

.single-post__caption {
	display: block;
	max-width: none;
	font-size: 0.8125rem;
	color: var(--OZ-Color-2);
	line-height: 1.45}

.single-post__body {
	max-width: none}

.single-post__eyebrow {
	font-family: var(--OZ-Font-Base);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--OZ-Color-3)}

.single-post__eyebrow a {
	color: inherit;
	text-decoration: none}

.single-post__eyebrow a:hover {
	text-decoration: underline}

.single-post__title.entry-title {
	font-size: clamp(1.75rem, 4vw, var(--OZ-Size-H1));
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--OZ-Color-1)}

.single-post__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	font-size: 0.9375rem;
	color: var(--OZ-Color-2)}

.single-post__byline-sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--OZ-Color-6);
	flex-shrink: 0}

.single-post__author {
	color: var(--OZ-Color-2);
	font-weight: 600;
	text-decoration: none}

.single-post__author:hover {
	color: var(--OZ-Color-3)}

.single-post__content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--OZ-Color-2)}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
	letter-spacing: -0.02em}

.single-post__content blockquote {
	border: none;
	background: color-mix(in srgb, var(--OZ-Color-4) 92%, var(--OZ-Color-6));
	border-radius: 8px;
	font-style: italic;
	color: var(--OZ-Color-2)}

.single-post__content img,
.single-post__content .wp-block-image img {
	border-radius: 8px;
	height: auto;
	max-width: 100%}

.oz-related__title {
	font-family: var(--OZ-Font-Headings);
	font-size: var(--OZ-Size-H2);
	font-weight: 600;
	color: var(--OZ-Color-2)}

/* 2 columnas: encaja en la columna de lectura (820px) sin verse apretado.
   (Antes 4 columnas, pensado para el layout a todo el ancho con sidebar.) */
.oz-related__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
	align-items: stretch}

@media (max-width: 575px) {
	.oz-related__grid {
		grid-template-columns: 1fr}
}

.oz-related-card {
	height: 100%}

.oz-related-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: var(--OZ-Color-5);
	border: 1px solid var(--OZ-Color-6);
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.2s ease}

.oz-related-card__link:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08)}

.oz-related-card__link:hover .oz-related-card__title {
	color: var(--OZ-Color-3)}

.oz-related-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--OZ-Color-6)}

.oz-related-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block}

.oz-related-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 8rem;
	background: linear-gradient(135deg, var(--OZ-Color-6) 0%, var(--OZ-Color-4) 100%)}

.oz-related-card__body {
	text-align: left;
	flex: 1;
	display: flex;
	flex-direction: column}

.oz-related-card__title {
	font-family: var(--OZ-Font-Headings);
	font-size: clamp(0.95rem, 1.1vw, 1.05rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--OZ-Color-2);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	transition: color 0.2s ease}

.oz-related-card__byline {
	font-family: var(--OZ-Font-Base);
	font-size: 0.8125rem;
	color: var(--OZ-Color-2);
	opacity: 0.85}

.entry-title {
	font-family: var(--OZ-Font-Headings)}

article h1.entry-title {
	font-size: var(--OZ-Size-H1)}

article h2.entry-title {
	font-size: var(--OZ-Size-H2)}

.entry-content h2 {
	font-size: var(--OZ-Size-H2)}

.entry-content h3 {
	font-size: var(--OZ-Size-H3)}

.entry-content h4 {
	font-size: var(--OZ-Size-H4)}

.entry-meta {
	font-size: 0.85rem;
	color: var(--OZ-Color-2);
	opacity: 0.85}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden}

/* =========================================================
 *  Banner de página (tmp_nosotros.php): imagen largo.jpg de fondo,
 *  con título de la página y migas de pan encima.
 * ========================================================= */
.oz-page-banner {
	position: relative;
	/* Full-bleed: ocupa TODO el ancho del viewport aunque el contenedor padre
	   (.site) sea más angosto y esté centrado. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 200px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #0e7c8b; /* fallback teal si la imagen no carga */
	overflow: hidden;
}
/* Capa de oscurecido para legibilidad del texto sobre la imagen */
.oz-page-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 40, 53, .55) 0%, rgba(8, 40, 53, .25) 60%, rgba(8, 40, 53, .15) 100%);
	pointer-events: none;
}
.oz-page-banner__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 28px clamp(16px, 4vw, 48px);
	box-sizing: border-box;
}
.oz-page-banner__title {
	margin: 0;
	color: #ffffff;
	font-family: var(--OZ-Font-Headings, inherit);
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.1;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
/* Migas de pan */
.oz-page-banner__crumbs {
	margin-top: 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, .9);
}
.oz-page-banner__crumbs a,
.oz-page-banner__crumbs .breadcrumbs a {
	color: #ffffff;
	text-decoration: none;
	opacity: .9;
	transition: opacity .2s ease;
}
.oz-page-banner__crumbs a:hover { opacity: 1; text-decoration: underline; }
.oz-page-banner__sep,
.oz-page-banner__crumbs .separator { color: rgba(255, 255, 255, .6); margin: 0 4px; }
.oz-page-banner__current,
.oz-page-banner__crumbs .last { color: #ffffff; font-weight: 600; }
/* Rank Math / Woo breadcrumb wrappers heredan el color claro */
.oz-page-banner__crumbs .rank-math-breadcrumb,
.oz-page-banner__crumbs nav,
.oz-page-banner__crumbs p { margin: 0; color: rgba(255, 255, 255, .9); }

/* Quitar la numeración de las migas (Rank Math/otros las pintan como <ol>):
   sin viñetas/números y en línea horizontal. */
.oz-page-banner__crumbs ol,
.oz-page-banner__crumbs ul {
	list-style: none !important;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}
.oz-page-banner__crumbs ol li,
.oz-page-banner__crumbs ul li {
	list-style: none !important;
	display: inline-flex;
	align-items: center;
	margin: 0;
}
.oz-page-banner__crumbs ol li::before,
.oz-page-banner__crumbs ul li::before,
.oz-page-banner__crumbs ol li::marker,
.oz-page-banner__crumbs ul li::marker {
	content: none !important;
}

@media (max-width: 767px) {
	.oz-page-banner { min-height: 150px; }
	.oz-page-banner__inner { padding: 20px 16px; }
}

/* =========================================================
 *  Página Blog (blog.php): intro + grid de artículos en tarjetas.
 *  Tarjeta: imagen arriba, badge de categoría naranja, título, extracto,
 *  "Leer más →". Misma línea visual que las tarjetas del slider de blog.
 * ========================================================= */
.oz-blog {
	--ozb-orange: #ff5a3c;
	--ozb-teal: #0e7c8b;
	--ozb-title: #1f2d33;
	--ozb-text: #6b7280;
	--ozb-border: #e7ebed;
	--ozb-radius: 14px;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 32px) 56px;
	box-sizing: border-box;
}
.oz-blog__intro {
	margin: 0 0 32px;
	color: #4a585e;
	line-height: 1.7;
}
.oz-blog__intro h2,
.oz-blog__intro h3 { color: var(--ozb-title); }

/* Grid de artículos */
.oz-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}
@media (max-width: 900px) {
	.oz-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 560px) {
	.oz-blog__grid { grid-template-columns: 1fr; }
}

/* Tarjeta */
.oz-blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border-radius: var(--ozb-radius);
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(15, 49, 64, .07);
	transition: box-shadow .25s ease, transform .25s ease;
}
.oz-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(15, 49, 64, .14);
}
.oz-blog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}
/* Imagen arriba */
.oz-blog-card__media {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef2f4;
}
.oz-blog-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}
.oz-blog-card:hover .oz-blog-card__img { transform: scale(1.04); }
.oz-blog-card__img--placeholder { display: block; }

/* Cuerpo */
.oz-blog-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 10px;
	padding: 18px 18px 22px;
	text-align: left;
}
/* Badge de categoría naranja */
.oz-blog-card__cat {
	align-self: flex-start;
	display: inline-block;
	padding: 5px 12px;
	background: var(--ozb-orange);
	color: #ffffff;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.oz-blog-card__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ozb-title);
	/* máx 2 líneas */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.oz-blog-card__excerpt {
	margin: 0;
	color: var(--ozb-text);
	font-size: .95rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.oz-blog-card__readmore {
	margin-top: auto;
	padding-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ozb-orange);
	font-weight: 700;
	font-size: .95rem;
	transition: gap .2s ease;
}
.oz-blog-card__link:hover .oz-blog-card__readmore { gap: 12px; }

/* Paginación */
.oz-blog__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}
.oz-blog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--ozb-border);
	border-radius: 8px;
	color: var(--ozb-title);
	text-decoration: none;
	font-weight: 600;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.oz-blog__pagination .page-numbers:hover {
	border-color: var(--ozb-teal);
	color: var(--ozb-teal);
}
.oz-blog__pagination .page-numbers.current {
	background: var(--ozb-teal);
	border-color: var(--ozb-teal);
	color: #ffffff;
}
.oz-blog__empty {
	text-align: center;
	color: var(--ozb-text);
	padding: 40px 0;
}

/* =========================================================
 *  Landing regional (tmp_cusco.php): contenido limpio + grids de productos.
 * ========================================================= */
.oz-landing {
	--ozl-teal: #0e7c8b;
	--ozl-ink: #1f2d33;
	--ozl-text: #4a585e;
}
.oz-landing__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 52px) clamp(16px, 4vw, 32px) 60px;
	box-sizing: border-box;
	color: var(--ozl-text);
	line-height: 1.7;
}
.oz-landing__inner h1 {
	margin: 0 0 18px;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	color: var(--ozl-ink);
	text-align: center;
}
.oz-landing__inner h2 {
	margin: 38px 0 14px;
	font-size: clamp(1.35rem, 2.4vw, 1.8rem);
	font-weight: 800;
	color: var(--ozl-teal);
	text-align: center;
	position: relative;
	padding-bottom: 12px;
}
.oz-landing__inner h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	background: var(--ozl-teal);
	border-radius: 3px;
	margin: 12px auto 0;
}
.oz-landing__inner p {
	margin: 0 0 14px;
	font-size: 1rem;
}
.oz-landing__inner img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
	margin: 0 auto;
}
/* Imagen collage (tras el primer párrafo): mismo ancho del contenido, centrada. */
.oz-landing__inner .oz-collage-img {
	width: 100%;
	max-width: 1000px;
	margin: 8px auto 18px;
	border-radius: 14px;
}

/* Grid de productos de los shortcodes WooCommerce ([products]/[product_category]) */
.oz-landing__inner ul.products {
	list-style: none;
	margin: 24px 0 36px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}
.oz-landing__inner ul.products::before,
.oz-landing__inner ul.products::after { content: none !important; display: none !important; }
@media (max-width: 992px) { .oz-landing__inner ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .oz-landing__inner ul.products { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px)  { .oz-landing__inner ul.products { grid-template-columns: 1fr; } }
.oz-landing__inner ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	list-style: none;
	background: transparent;
}
