/* Mezcla que te mezcla · diseño "laboratorio de mezclas" (sobre GeneratePress) */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fuentes/baloo2.woff2") format("woff2"); }

body.mz {
	--crema: #f7f2e4; --papel: #fffdf7; --tinta: #1f1d2e; --suave: #6b6a78; --linea: #e8e1cc;
	--teal: #16a39a; --magenta: #e63e7a; --ambar: #f5a524; --violeta: #6a4fe0; --lima: #7ac143;
	--fh: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
	background: var(--crema); color: var(--tinta);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.mz-ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- cabecera ---------- */
.mz .site-header { background: var(--crema); border: 0; box-shadow: none; }
.mz .site-header .inside-header { padding: 12px 20px 6px; justify-content: center; }
.mz .site-logo .header-image { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 6px 18px rgba(31,29,46,.18); transition: transform .25s; }
.mz .site-logo a:hover .header-image { transform: rotate(-6deg) scale(1.05); }
.mz .main-navigation { background: rgba(247,242,228,.88); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; box-shadow: 0 6px 20px rgba(31,29,46,.06); }
.mz .main-navigation .inside-navigation { justify-content: center; }
.mz .main-navigation .main-nav ul li a { font-family: var(--fh); font-weight: 700; font-size: 17px; color: var(--tinta); padding: 0 18px; line-height: 52px; border-radius: 999px; transition: background .2s, color .2s; }
.mz .main-navigation .main-nav ul li a:hover, .mz .main-navigation .main-nav ul li.current-menu-item > a { background: var(--tinta); color: #fff; }
.mz .main-navigation .menu-bar-item a { color: var(--tinta); }
.mz .main-navigation .menu-toggle { font-family: var(--fh); font-weight: 700; color: var(--tinta); }
.mz .site-content, .mz .site-header, .mz #page { max-width: none; }

/* ---------- héroe de la portada ---------- */
.mz-hero { position: relative; overflow: hidden; padding: 38px 20px 56px; background: var(--crema); }
.mz-blobs i { position: absolute; border-radius: 50%; filter: blur(42px); mix-blend-mode: multiply; opacity: .55; animation: mzmueve 18s ease-in-out infinite; }
.mz-blobs .a { width: 420px; height: 420px; background: #16a39a; left: -80px; top: -60px; }
.mz-blobs .b { width: 380px; height: 380px; background: #e63e7a; right: 8%; top: -40px; animation-delay: -5s; }
.mz-blobs .c { width: 340px; height: 340px; background: #f5a524; right: -60px; bottom: -80px; animation-delay: -9s; }
.mz-blobs .d { width: 300px; height: 300px; background: #6a4fe0; left: 36%; bottom: -120px; animation-delay: -13s; }
@keyframes mzmueve { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, 30px) scale(1.12); } 66% { transform: translate(-40px, 50px) scale(.92); } }
.mz-hero-in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: center; }
.mz-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255,253,247,.8); border: 1px solid var(--linea); font-family: var(--fh); font-weight: 700; font-size: 15px; color: var(--tinta); }
.mz-kicker .mz-ico { color: var(--magenta); }
.mz-h1 { font-family: var(--fh); font-weight: 800; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; margin: 0 0 14px; color: var(--tinta); letter-spacing: -.01em; }
.mz-h1 span { background: linear-gradient(100deg, var(--magenta), var(--violeta), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: mzgrad 8s linear infinite; }
@keyframes mzgrad { to { background-position: 200% 0; } }
.mz-sub { font-size: 19px; line-height: 1.5; color: #46445a; margin: 0 0 22px; max-width: 560px; }
.mz-buscar { position: relative; display: flex; align-items: center; background: var(--papel); border: 2px solid var(--tinta); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 6px 6px 0 var(--tinta); max-width: 600px; }
.mz-buscar .mz-ico { color: var(--suave); }
.mz-buscar input[type=search] { flex: 1; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 18px; padding: 12px 12px; outline: 0; color: var(--tinta); min-width: 0; }
.mz-buscar button { border: 0; border-radius: 999px; background: var(--tinta); color: #fff; font-family: var(--fh); font-weight: 700; font-size: 17px; padding: 12px 24px; cursor: pointer; transition: background .2s, transform .2s; }
.mz-buscar button:hover { background: var(--magenta); transform: scale(1.04); }
.mz-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0 0; font-size: 15px; color: var(--suave); }
.mz-chips a { padding: 5px 14px; border-radius: 999px; background: rgba(255,253,247,.85); border: 1px solid var(--linea); color: var(--tinta); text-decoration: none; font-weight: 600; transition: transform .15s, background .15s, color .15s; }
.mz-chips a:hover { background: var(--tinta); color: #fff; transform: translateY(-2px); }
.mz-nums { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 26px; }
.mz-nums li { margin: 0; display: flex; flex-direction: column; }
.mz-nums strong { font-family: var(--fh); font-size: 34px; line-height: 1; color: var(--tinta); }
.mz-nums span { font-size: 13px; color: var(--suave); }

/* matraz animado */
.mz-hero-viz { position: relative; display: flex; justify-content: center; }
.mz-matraz { width: min(100%, 360px); height: auto; filter: drop-shadow(0 18px 24px rgba(31,29,46,.2)); animation: mzbalanceo 7s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes mzbalanceo { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.mz-liquido { animation: mzcolor 12s linear infinite; }
.mz-ola1 { animation: mzola 5s linear infinite; opacity: .75; }
.mz-ola2 { animation: mzola 7s linear infinite reverse; }
.mz-ola1, .mz-ola2 { animation-name: mzola; fill: currentColor; }
.mz-matraz .mz-ola1 { fill: #e63e7a; animation: mzola 5s linear infinite, mzcolor2 12s linear infinite; }
.mz-matraz .mz-ola2 { fill: #16a39a; animation: mzola 7s linear infinite reverse, mzcolor 12s linear infinite; }
@keyframes mzola { to { transform: translateX(80px); } }
@keyframes mzcolor { 0%, 100% { fill: #16a39a; } 25% { fill: #6a4fe0; } 50% { fill: #e63e7a; } 75% { fill: #f5a524; } }
@keyframes mzcolor2 { 0%, 100% { fill: #e63e7a; } 25% { fill: #f5a524; } 50% { fill: #16a39a; } 75% { fill: #6a4fe0; } }
.mz-b { fill: #fff; fill-opacity: .7; animation: mzburbuja 4s ease-in infinite; }
.mz-b.b2 { animation-delay: -1s; animation-duration: 5s; } .mz-b.b3 { animation-delay: -2s; animation-duration: 6s; } .mz-b.b4 { animation-delay: -3s; } .mz-b.b5 { animation-delay: -.5s; animation-duration: 4.5s; }
@keyframes mzburbuja { 0% { transform: translateY(0); opacity: .8; } 100% { transform: translateY(-150px); opacity: 0; } }
.mz-flota { position: absolute; width: 50px; height: 50px; border-radius: 16px; background: var(--papel); border: 2px solid var(--tinta); box-shadow: 3px 3px 0 var(--tinta); display: flex; align-items: center; justify-content: center; animation: mzflota 6s ease-in-out infinite; }
.mz-flota .mz-ico { width: 26px; height: 26px; }
.mz-flota.f1 { left: 2%; top: 14%; color: var(--magenta); } .mz-flota.f2 { right: 4%; top: 6%; color: var(--teal); animation-delay: -1.5s; }
.mz-flota.f3 { left: 0; bottom: 22%; color: #c9772f; animation-delay: -3s; } .mz-flota.f4 { right: 0; top: 46%; color: var(--violeta); animation-delay: -4.5s; }
.mz-flota.f5 { right: 12%; bottom: 6%; color: var(--ambar); animation-delay: -2s; }
@keyframes mzflota { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(5deg); } }

/* ---------- títulos de sección y temas ---------- */
.mz-t2 { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-weight: 800; font-size: 30px; margin: 0 0 18px; color: var(--tinta); }
.mz-t2 .mz-ico { color: var(--magenta); width: 1.1em; height: 1.1em; }
.mz-temas { max-width: 1180px; margin: 0 auto; padding: 36px 20px 8px; }
.mz-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mz-tiles li { margin: 0; }
.mz-tiles a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px 18px; border-radius: 22px; background: var(--papel); border: 2px solid var(--tinta); box-shadow: 5px 5px 0 var(--c); text-decoration: none; color: var(--tinta); min-height: 150px; transition: transform .18s, box-shadow .18s; overflow: hidden; }
.mz-tiles a::before { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--c); opacity: .14; transition: transform .3s; }
.mz-tiles a:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--c); }
.mz-tiles a:hover::before { transform: scale(1.8); }
.mz-tiles .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; position: relative; }
.mz-tiles .ic .mz-ico { width: 26px; height: 26px; }
.mz-tiles strong { font-family: var(--fh); font-size: 21px; line-height: 1.1; position: relative; }
.mz-tiles em { font-style: normal; font-size: 14px; color: var(--suave); position: relative; }
.mz-tiles .go { position: absolute; right: 16px; bottom: 14px; color: var(--c); opacity: 0; transform: translateX(-6px); transition: all .2s; }
.mz-tiles a:hover .go { opacity: 1; transform: none; }
.mz-ultimo { max-width: 1180px; margin: 30px auto 14px; padding: 0 20px; }

/* ---------- listados (portada, categorías, búsqueda) ---------- */
.mz-home .site-content, .mz-arch .site-content, .mz-single .site-content, .mz-page .site-content { display: block; max-width: 1180px; margin: 0 auto; padding: 0 20px 20px; }
.mz-home .content-area, .mz-arch .content-area, .mz-single .content-area, .mz-page .content-area { width: 100% !important; float: none; margin: 0; }
.mz-home .site-main, .mz-arch .site-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mz-home .site-main > *, .mz-arch .site-main > * { margin: 0 !important; }
.mz-home .site-main .paging-navigation, .mz-arch .site-main .paging-navigation, .mz-arch .page-header, .mz-home .page-header { grid-column: 1 / -1; }
.mz-home .page-header { display: none; }
.mz-home .site-main > article, .mz-arch .site-main > article { background: var(--papel); border: 2px solid var(--tinta); border-radius: 22px; overflow: hidden; box-shadow: 5px 5px 0 var(--tinta); transition: transform .18s, box-shadow .18s; }
.mz-home .site-main > article:hover, .mz-arch .site-main > article:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--magenta); }
.mz-home .site-main article .inside-article, .mz-arch .site-main article .inside-article { padding: 0; display: flex; flex-direction: column; height: 100%; background: none; }
.mz-home .site-main article .post-image, .mz-arch .site-main article .post-image { order: -1; margin: 0 !important; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 2px solid var(--tinta); }
.mz-home .site-main article .post-image a, .mz-arch .site-main article .post-image a { display: block; height: 100%; }
.mz-home .site-main article .post-image img, .mz-arch .site-main article .post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mz-home .site-main article:hover .post-image img, .mz-arch .site-main article:hover .post-image img { transform: scale(1.06); }
.mz-home .site-main article .entry-header, .mz-arch .site-main article .entry-header { padding: 16px 18px 0; }
.mz-home .site-main article .entry-title, .mz-arch .site-main article .entry-title { font-family: var(--fh); font-weight: 800; font-size: 22px !important; line-height: 1.15; margin: 0; }
.mz-home .site-main article .entry-title a, .mz-arch .site-main article .entry-title a { color: var(--tinta); text-decoration: none; }
.mz-home .site-main article .entry-title a:hover, .mz-arch .site-main article .entry-title a:hover { color: var(--magenta); }
.mz-home .site-main article .entry-meta, .mz-arch .site-main article .entry-meta { font-size: 13px; color: var(--suave); }
.mz-home .site-main article .entry-meta a, .mz-arch .site-main article .entry-meta a { color: var(--suave); }
.mz-home .site-main article .entry-summary, .mz-arch .site-main article .entry-summary { padding: 8px 18px 0; font-size: 15px; line-height: 1.5; color: #46445a; }
.mz-home .site-main article .entry-summary p, .mz-arch .site-main article .entry-summary p { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mz-home .site-main article footer.entry-meta, .mz-arch .site-main article footer.entry-meta { margin-top: auto; padding: 12px 18px 16px; }
.mz-home .site-main article .read-more, .mz-arch .site-main article .read-more { color: var(--magenta); font-weight: 700; }
.mz-home .site-main article .cat-links a, .mz-arch .site-main article .cat-links a { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--crema); border: 1px solid var(--linea); color: var(--tinta); font-size: 12px; font-weight: 600; text-decoration: none; }
.mz-home .site-main article .cat-links .gp-icon, .mz-arch .site-main article .cat-links .gp-icon { display: none; }
.mz-arch .page-header { background: var(--papel); border: 2px solid var(--tinta); border-radius: 22px; padding: 22px 26px; box-shadow: 5px 5px 0 var(--c, var(--teal)); margin-bottom: 4px !important; }
.mz-arch .page-header .page-title { font-family: var(--fh); font-weight: 800; font-size: 38px; margin: 0; }
.mz-arch .page-header .taxonomy-description { color: #46445a; }
.mz .paging-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mz .paging-navigation .page-numbers { padding: 8px 16px; border-radius: 999px; background: var(--papel); border: 2px solid var(--tinta); color: var(--tinta); font-family: var(--fh); font-weight: 700; text-decoration: none; }
.mz .paging-navigation .page-numbers.current, .mz .paging-navigation .page-numbers:hover { background: var(--tinta); color: #fff; }

/* ---------- banda de color (guías y categorías) ---------- */
.mz-banda { --c: #16a39a; position: relative; overflow: hidden; height: 150px; background: linear-gradient(110deg, var(--c), color-mix(in srgb, var(--c) 55%, #f5a524)); }
.mz-banda-g { height: 120px; }
.mz-banda-in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 34px 20px 0; }
.mz-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 14px; border-radius: 999px; background: var(--papel); border: 2px solid var(--tinta); box-shadow: 3px 3px 0 var(--tinta); font-family: var(--fh); font-weight: 800; font-size: 17px; color: var(--tinta); text-decoration: none; }
.mz-chip .mz-ico { color: var(--c); }
.mz-banda i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.22); animation: mzflota 9s ease-in-out infinite; }
.mz-banda .p1 { width: 130px; height: 130px; right: 10%; top: -40px; } .mz-banda .p2 { width: 70px; height: 70px; right: 24%; bottom: 14px; animation-delay: -3s; } .mz-banda .p3 { width: 40px; height: 40px; right: 5%; bottom: 30px; animation-delay: -6s; }

/* ---------- guía individual ---------- */
.mz-single .site-main, .mz-page .site-main { margin-top: -62px; position: relative; z-index: 3; }
:is(.mz-single, .mz-page) .inside-article { background: var(--papel); border: 2px solid var(--tinta); border-radius: 26px; box-shadow: 7px 7px 0 var(--c, var(--teal)); padding: 38px 44px 30px; }
:is(.mz-single, .mz-page) .entry-title { font-family: var(--fh); font-weight: 800; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; margin: 0 0 8px; color: var(--tinta); }
:is(.mz-single, .mz-page) .entry-meta { font-size: 14px; color: var(--suave); margin-bottom: 18px; }
:is(.mz-single, .mz-page) .entry-meta a { color: var(--suave); }
:is(.mz-single, .mz-page) .entry-content { font-size: 18px; line-height: 1.7; color: #2c2a3d; }
:is(.mz-single, .mz-page) .entry-content p { margin-bottom: 1.15em; }
:is(.mz-single, .mz-page) .entry-content h2 { font-family: var(--fh); font-weight: 800; font-size: 30px; line-height: 1.1; margin: 1.6em 0 .5em; padding-left: 16px; position: relative; color: var(--tinta); }
:is(.mz-single, .mz-page) .entry-content h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; border-radius: 4px; background: linear-gradient(var(--magenta), var(--violeta)); }
:is(.mz-single, .mz-page) .entry-content h3 { font-family: var(--fh); font-weight: 700; font-size: 23px; margin: 1.3em 0 .4em; color: var(--tinta); }
:is(.mz-single, .mz-page) .entry-content a { color: var(--magenta); text-underline-offset: 3px; }
:is(.mz-single, .mz-page) .entry-content a:hover { color: var(--violeta); }
:is(.mz-single, .mz-page) .entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 2px solid var(--tinta); border-radius: 16px; overflow: hidden; font-size: 16px; margin: 1.2em 0; }
:is(.mz-single, .mz-page) .entry-content th { background: var(--tinta); color: #fff; font-family: var(--fh); font-weight: 700; padding: 11px 14px; text-align: left; border: 0; }
:is(.mz-single, .mz-page) .entry-content td { padding: 10px 14px; border: 0; border-top: 1px solid var(--linea); }
:is(.mz-single, .mz-page) .entry-content tr:nth-child(even) td { background: #fbf6e8; }
:is(.mz-single, .mz-page) .entry-content ul, :is(.mz-single, .mz-page) .entry-content ol { margin: 0 0 1.2em 1.3em; }
:is(.mz-single, .mz-page) .entry-content li { margin-bottom: .4em; }
:is(.mz-single, .mz-page) .entry-content blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 6px solid var(--ambar); background: #fff6df; border-radius: 0 16px 16px 0; font-style: normal; }
:is(.mz-single, .mz-page) .entry-content img { border-radius: 16px; height: auto; }
:is(.mz-single, .mz-page) .entry-content iframe { max-width: 100%; border-radius: 16px; }
:is(.mz-single, .mz-page) #toc_container { background: #f4efe0; border: 2px solid var(--tinta); border-radius: 16px; padding: 14px 20px; font-size: 16px; }
:is(.mz-single, .mz-page) #toc_container .toc_title { font-family: var(--fh); font-weight: 800; }
:is(.mz-single, .mz-page) .featured-image img, :is(.mz-single, .mz-page) .post-image img { border-radius: 18px; border: 2px solid var(--tinta); }
:is(.mz-single, .mz-page) .post-image-above-header .post-image, :is(.mz-single, .mz-page) .inside-article > .featured-image { margin-bottom: 20px; }
:is(.mz-single, .mz-page) footer.entry-meta { margin-top: 26px; padding-top: 16px; border-top: 2px dashed var(--linea); }
:is(.mz-single, .mz-page) footer.entry-meta a { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--crema); border: 1px solid var(--linea); color: var(--tinta); font-size: 13px; font-weight: 600; text-decoration: none; margin: 2px 4px 2px 0; }
:is(.mz-single, .mz-page) .post-navigation, :is(.mz-single, .mz-page) .comments-area { margin-top: 22px; }
:is(.mz-single, .mz-page) .post-navigation .nav-links a { font-family: var(--fh); font-weight: 700; color: var(--tinta); }

/* sigue mezclando */
.mz-sigue { margin: 40px 0 6px; padding-top: 26px; border-top: 2px dashed var(--linea); }
.mz-sigue h2 { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-weight: 800; font-size: 26px !important; margin: 0 0 14px !important; padding: 0 !important; }
.mz-sigue h2::before { display: none !important; }
.mz-sigue h2 .mz-ico { color: var(--magenta); }
.mz-sigue ul { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mz-sigue li { margin: 0 !important; }
.mz-sigue a { display: block; text-decoration: none !important; color: var(--tinta) !important; background: var(--crema); border: 2px solid var(--tinta); border-radius: 18px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.mz-sigue a:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 var(--magenta); }
.mz-sigue .im { display: block; aspect-ratio: 16 / 10; background-size: cover; background-position: center; border-bottom: 2px solid var(--tinta); }
.mz-sigue .im.vacio { display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, #16a39a33, #e63e7a33); }
.mz-sigue .im.vacio .mz-ico { width: 36px; height: 36px; color: var(--tinta); }
.mz-sigue strong { display: block; padding: 10px 12px 12px; font-family: var(--fh); font-size: 17px; line-height: 1.15; }

/* ---------- pie ---------- */
.mz .site-footer { background: var(--tinta); color: #cfcde0; margin-top: 40px; }
.mz .site-footer a { color: #fff; text-decoration: none; }
.mz .site-footer a:hover { color: var(--ambar); }
.mz .footer-widgets { background: none; padding: 26px 20px 0; }
.mz .footer-widgets .widget { margin-bottom: 0; text-align: center; }
.mz .site-info { background: none; color: #cfcde0; text-align: center; padding: 18px 20px 30px; font-size: 14px; }
.mz .site-info .copyright-bar { float: none; }
.mz .site-info .footer-bar { text-align: center; }
.mz .site-footer .widget_nav_menu ul, .mz .site-footer .footer-bar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }

/* ---------- aparición al hacer scroll ---------- */
html.mz-js .mz-rev { opacity: 0; translate: 0 22px; transition: opacity .6s ease calc(var(--d, 0) * 90ms), translate .6s ease calc(var(--d, 0) * 90ms), transform .15s, box-shadow .18s; }
html.mz-js .mz-rev.visto { opacity: 1; translate: none; }

/* ---------- adaptativo ---------- */
@media (max-width: 960px) {
	.mz-hero-in { grid-template-columns: 1fr; }
	.mz-hero-viz { order: -1; max-height: 260px; }
	.mz-matraz { width: 220px; }
	.mz-tiles { grid-template-columns: repeat(2, 1fr); }
	.mz-home .site-main, .mz-arch .site-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.mz .site-logo .header-image { width: 56px; height: 56px; border-radius: 14px; }
	.mz-hero { padding: 18px 16px 36px; }
	.mz-sub { font-size: 16px; }
	.mz-buscar { box-shadow: 4px 4px 0 var(--tinta); }
	.mz-buscar button { padding: 10px 16px; }
	.mz-nums { gap: 16px; } .mz-nums strong { font-size: 26px; }
	.mz-flota { width: 40px; height: 40px; } .mz-flota .mz-ico { width: 20px; height: 20px; }
	.mz-t2 { font-size: 24px; }
	.mz-tiles { gap: 10px; } .mz-tiles a { padding: 14px 12px; min-height: 130px; } .mz-tiles strong { font-size: 18px; }
	.mz-home .site-main, .mz-arch .site-main { grid-template-columns: 1fr; }
	:is(.mz-single, .mz-page) .inside-article { padding: 24px 18px; border-radius: 20px; }
	:is(.mz-single, .mz-page) .entry-content { font-size: 17px; }
	:is(.mz-single, .mz-page) .entry-content h2 { font-size: 25px; }
	:is(.mz-single, .mz-page) .entry-content table { display: block; overflow-x: auto; white-space: nowrap; }
	.mz-sigue ul { grid-template-columns: 1fr; }
	.mz-banda { height: 120px; } :is(.mz-single, .mz-page) .site-main { margin-top: -48px; }
}
@media (prefers-reduced-motion: reduce) { .mz-blobs i, .mz-matraz, .mz-liquido, .mz-ola1, .mz-ola2, .mz-b, .mz-flota, .mz-h1 span, .mz-banda i { animation: none !important; } html.mz-js .mz-rev { opacity: 1; translate: none; } }

/* el H1 real de la portada (snippet de PMO) se queda para lectores y buscadores; el visible es el del héroe */
.mz-home .pmo-h1-portada { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* los bloques de anuncio intercalados rompen la rejilla de tarjetas: fuera del listado (los de dentro de cada guía se mantienen) */
.mz-home .site-main > .code-block, .mz-arch .site-main > .code-block { display: none !important; }
.mz-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--crema)); z-index: 1; pointer-events: none; }
:is(.mz-single, .mz-page) .featured-image { margin: 0 0 20px; } :is(.mz-single, .mz-page) .featured-image .bialty-container, :is(.mz-single, .mz-page) .featured-image img { width: 100%; max-width: 100%; height: auto; }
:is(.mz-single, .mz-page) .featured-image img { aspect-ratio: 16 / 9; object-fit: cover; }
.mz-page .mz-banda { height: 150px; }
@media (max-width: 640px) { .mz-page .mz-banda { height: 120px; } }

/* ================= movimiento ================= */
body.mz { overflow-x: clip; }
.mz-tiles a, .mz-home .site-main > article, .mz-arch .site-main > article { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.mz-tiles a:hover, .mz-home .site-main > article:hover, .mz-arch .site-main > article:hover { transform: perspective(900px) translate(-3px, -3px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
/* paralaje del héroe */
.mz-flota.f1 { translate: calc(var(--mx, 0) * -34px) calc(var(--my, 0) * -24px); } .mz-flota.f2 { translate: calc(var(--mx, 0) * 28px) calc(var(--my, 0) * -30px); }
.mz-flota.f3 { translate: calc(var(--mx, 0) * -46px) calc(var(--my, 0) * 20px); } .mz-flota.f4 { translate: calc(var(--mx, 0) * 40px) calc(var(--my, 0) * 26px); } .mz-flota.f5 { translate: calc(var(--mx, 0) * 22px) calc(var(--my, 0) * 34px); }
.mz-blobs i { translate: calc(var(--mx, 0) * 40px) calc(var(--my, 0) * 30px); }
.mz-blobs .b, .mz-blobs .d { translate: calc(var(--mx, 0) * -55px) calc(var(--my, 0) * -35px); }
.mz-hero-viz { cursor: pointer; translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 10px); }
.mz-hero-viz.salpica .mz-matraz { animation: mzsalpica .7s ease-out 1, mzbalanceo 7s ease-in-out .7s infinite; }
@keyframes mzsalpica { 0% { transform: scale(1) rotate(0); } 25% { transform: scale(1.1, .92) rotate(-8deg); } 55% { transform: scale(.95, 1.08) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
.mz-chispa { position: absolute; left: 50%; top: 52%; border-radius: 50%; pointer-events: none; animation: mzchispa 1s ease-out forwards; z-index: 5; }
@keyframes mzchispa { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(.3); opacity: 0; } }
/* cinta de temas */
.mz-cinta { position: relative; z-index: 3; overflow: hidden; background: var(--tinta); color: #fff; padding: 13px 0; margin: -6px -2% 0; transform: rotate(-1.2deg); border-block: 3px solid var(--magenta); }
.mz-cinta-pista { display: flex; width: max-content; align-items: center; gap: 26px; animation: mzcinta 38s linear infinite; }
.mz-cinta:hover .mz-cinta-pista { animation-play-state: paused; }
.mz-cinta a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: var(--fh); font-weight: 700; font-size: 19px; white-space: nowrap; }
.mz-cinta a .mz-ico { color: var(--c); width: 1.15em; height: 1.15em; }
.mz-cinta a:hover { color: var(--ambar); }
.mz-cinta i { color: var(--ambar); font-style: normal; font-size: 14px; }
@keyframes mzcinta { to { transform: translateX(-50%); } }
/* barra de lectura */
.mz-prog { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 99999; background: linear-gradient(90deg, #e63e7a, #6a4fe0, #16a39a); border-radius: 0 4px 4px 0; }

/* ================= calculadora ================= */
.mz-lab { position: relative; overflow: visible; background: var(--tinta); color: #fff; padding: 74px 20px 84px; margin: 56px 0 8px; }
.mz-lab::before, .mz-lab::after { content: ""; position: absolute; left: -6%; right: -6%; height: 60px; background: var(--crema); }
.mz-lab::before { top: -1px; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.mz-lab::after { bottom: -1px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.mz-lab-burbujas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.mz-lab-burbujas i { position: absolute; bottom: -40px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.28); animation: mzsube 12s linear infinite; }
.mz-lab-burbujas i:nth-child(1) { left: 6%; } .mz-lab-burbujas i:nth-child(2) { left: 22%; width: 34px; height: 34px; animation-delay: -4s; animation-duration: 15s; } .mz-lab-burbujas i:nth-child(3) { left: 41%; animation-delay: -8s; }
.mz-lab-burbujas i:nth-child(4) { left: 63%; width: 16px; height: 16px; animation-delay: -2s; animation-duration: 10s; } .mz-lab-burbujas i:nth-child(5) { left: 80%; width: 30px; height: 30px; animation-delay: -6s; animation-duration: 14s; } .mz-lab-burbujas i:nth-child(6) { left: 92%; animation-delay: -10s; }
@keyframes mzsube { to { transform: translateY(-110vh) translateX(30px); opacity: 0; } }
.mz-lab-in { position: relative; max-width: 1080px; margin: 0 auto; }
.mz-lab .mz-t2, .mz-blanco { color: #fff; } .mz-lab .mz-t2 .mz-ico { color: var(--ambar); }
.mz-lab-sub { color: #cfcde0; font-size: 18px; margin: -6px 0 22px; max-width: 640px; }
.mz-lab-card { background: #2a2840; border: 2px solid rgba(255,255,255,.18); border-radius: 28px; padding: 18px; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.mz-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 4px 16px; }
.mz-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 2px solid rgba(255,255,255,.22); background: transparent; color: #fff; font-family: var(--fh); font-weight: 700; font-size: 16px; cursor: pointer; transition: all .2s; }
.mz-tab:hover { border-color: var(--ambar); }
.mz-tab.on { background: linear-gradient(110deg, var(--magenta), var(--violeta)); border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(230,62,122,.35); }
.mz-lab-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }
.mz-lab-form { background: rgba(255,255,255,.05); border-radius: 20px; padding: 20px; }
.mz-panel { display: none; flex-direction: column; gap: 14px; } .mz-panel.on { display: flex; animation: mzfade .35s ease; }
@keyframes mzfade { from { opacity: 0; transform: translateY(8px); } }
.mz-panel label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #cfcde0; font-weight: 600; flex: 1; }
.mz-panel input[type=number], .mz-panel select { background: var(--papel); color: var(--tinta); border: 2px solid transparent; border-radius: 12px; padding: 11px 12px; font-size: 17px; font-family: inherit; width: 100%; box-sizing: border-box; }
.mz-panel input:focus, .mz-panel select:focus { outline: 0; border-color: var(--ambar); box-shadow: 0 0 0 4px rgba(245,165,36,.25); }
.mz-fila { display: flex; gap: 12px; align-items: flex-end; } .mz-dp { font-family: var(--fh); font-size: 28px; padding-bottom: 8px; color: var(--ambar); }
.mz-nota { font-size: 13px; color: #a9a7bd; margin: 4px 0 0; line-height: 1.5; }
.mz-lab-mini { margin: 4px 0 -4px; font-size: 13px; font-weight: 700; color: #cfcde0; text-transform: uppercase; letter-spacing: .06em; }
.mz-pig { display: flex; flex-wrap: wrap; gap: 8px; }
.mz-sw { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); cursor: pointer; transition: transform .15s; padding: 0; }
.mz-sw:hover { transform: scale(1.15); } .mz-sw.on { border-color: #fff; box-shadow: 0 0 0 3px var(--ambar); transform: scale(1.12); }
.mz-panel input[type=range] { width: 100%; accent-color: var(--magenta); height: 28px; }
.mz-rango { display: flex; justify-content: space-between; font-size: 14px; color: #fff; font-weight: 700; }
.mz-lab-out { display: flex; flex-direction: column; align-items: center; gap: 14px; background: linear-gradient(160deg, rgba(106,79,224,.35), rgba(22,163,154,.25)); border-radius: 20px; padding: 18px; }
.mz-lab-flask { width: 190px; flex: none; } .mz-fl { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 12px 18px rgba(0,0,0,.3)); }
.mz-lab-flask.agita .mz-fl { animation: mzagita .6s ease; }
@keyframes mzagita { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg); } 45% { transform: rotate(8deg); } 70% { transform: rotate(-4deg); } }
.mz-fl .ol { animation: mzola 4s linear infinite; } .mz-fl .bu { fill: #fff; fill-opacity: .55; animation: mzburbuja 4s ease-in infinite; } .mz-fl .bu.b2 { animation-delay: -1.5s; } .mz-fl .bu.b3 { animation-delay: -3s; }
.mz-res { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.mz-r { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.1); border-radius: 14px; padding: 10px 14px; animation: mzfade .35s ease; }
.mz-r .pt { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.mz-r small { display: block; font-size: 12px; color: #cfcde0; } .mz-r strong { font-family: var(--fh); font-size: 21px; line-height: 1.1; }
.mz-aviso { margin: 0; padding: 14px; border-radius: 14px; background: rgba(245,165,36,.18); color: #ffe3b0; font-size: 15px; }
.mz-page .mz-lab { border-radius: 24px; margin: 0 0 26px; padding: 30px 18px; } .mz-page .mz-lab::before, .mz-page .mz-lab::after { display: none; }
@media (max-width: 860px) { .mz-lab-body { grid-template-columns: 1fr; } .mz-lab { padding: 60px 14px 70px; } .mz-lab-sub { font-size: 16px; } }
@media (max-width: 640px) { .mz-fila { flex-wrap: wrap; } .mz-tab span { font-size: 15px; } .mz-cinta a { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .mz-cinta-pista, .mz-lab-burbujas i, .mz-fl .ol, .mz-fl .bu, .mz-chispa { animation: none !important; } }
/* dentro de una página, el título de la calculadora conserva su estilo */
:is(.mz-single, .mz-page) .entry-content .mz-lab h2 { color: #fff; padding-left: 0; margin: 0 0 18px; }
:is(.mz-single, .mz-page) .entry-content .mz-lab h2::before { display: none; }
:is(.mz-single, .mz-page) .entry-content .mz-lab p { color: #cfcde0; }
:is(.mz-single, .mz-page) .entry-content .mz-lab .mz-nota { color: #a9a7bd; margin: 4px 0 0; }
:is(.mz-single, .mz-page) .entry-content .mz-lab a { color: #fff; }
