/*
Theme Name: Baraja
Description: Revista de negocio, ocio y vida diaria: cada sección es un palo de la baraja y cada entrada una carta.
Author: Redacción Fedsources
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
License: GPL-2.0-or-later
Update URI: false
Text Domain: baraja-fs
*/
@font-face{font-family:'Playfair Display';font-weight:800;font-style:normal;font-display:swap;src:url(assets/fonts/pf-800.woff2) format('woff2')}
@font-face{font-family:'Playfair Display';font-weight:900;font-style:normal;font-display:swap;src:url(assets/fonts/pf-900.woff2) format('woff2')}
@font-face{font-family:'Outfit';font-weight:400;font-style:normal;font-display:swap;src:url(assets/fonts/of-400.woff2) format('woff2')}
@font-face{font-family:'Outfit';font-weight:500;font-style:normal;font-display:swap;src:url(assets/fonts/of-500.woff2) format('woff2')}
@font-face{font-family:'Outfit';font-weight:600;font-style:normal;font-display:swap;src:url(assets/fonts/of-600.woff2) format('woff2')}
:root{--mesa:#5B1230;--mesa2:#3E0B20;--carta:#F6F5FA;--tinta:#15131C;--rojo:#D4213D;--oro:#F4B63F;--gris:#4A4658;--rosa:#EBDDE3;--lin:#F4B63F55;--ser:'Playfair Display',Georgia,'Times New Roman',serif;--san:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--mesa);color:var(--carta);font:400 17px/1.55 var(--san);overflow-x:hidden}
img,svg{max-width:100%}
img{height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
h1,h2,h3,h4{font-family:var(--ser);font-weight:800;line-height:1.12}
:focus-visible{outline:3px solid var(--oro);outline-offset:3px}
.mz-skip{position:absolute;left:-999px;top:8px;background:var(--oro);color:#2A0A18;padding:10px 16px;border-radius:8px;z-index:99}
.mz-skip:focus{left:8px}
.mz-w{max-width:1240px;margin:0 auto;padding:0 32px}
.mz-ic{width:18px;height:18px;fill:currentColor;flex:none}
.mz-red{color:var(--rojo)}.mz-ink{color:var(--tinta)}.mz-gold{color:var(--oro)}
.mz-kick{font-weight:600;letter-spacing:.12em;text-transform:uppercase;font-size:13px;color:var(--oro)}

/* Cabecera */
.mz-top{position:relative;z-index:20}
.mz-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;padding-bottom:22px;flex-wrap:wrap}
.mz-lg{display:flex;align-items:center;gap:12px}
.mz-lgc{width:44px;height:58px;background:var(--carta);color:var(--tinta);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-6deg);box-shadow:0 3px 0 #0004;flex:none}
.mz-lgc b{font-family:var(--ser);font-size:26px;line-height:1;font-weight:900}
.mz-lgc .mz-ic{width:14px;height:14px;color:var(--rojo)}
.mz-lgw{font-family:var(--ser);font-weight:900;font-size:26px}
.mz-menu ul{list-style:none;padding:0;margin:0;display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.mz-menu a{display:flex;align-items:center;gap:8px;padding:0 14px;min-height:44px;border-radius:999px;font-weight:500;font-size:15px}
.mz-menu a:hover,.mz-menu .current-menu-item>a,.mz-menu .current-menu-parent>a,.mz-menu .current-post-ancestor>a,.mz-menu .current-category-ancestor>a{background:var(--carta);color:var(--tinta)}
.mz-menu .mz-gold>a{color:var(--oro)}
.mz-menu .mz-gold>a:hover,.mz-menu .mz-gold.current-menu-item>a{color:var(--tinta)}
.mz-burger{display:none;width:48px;height:48px;border-radius:50%;border:2px solid var(--carta);background:transparent;color:var(--carta);flex-direction:column;gap:5px;align-items:center;justify-content:center;cursor:pointer}
.mz-burger i{display:block;width:20px;height:2px;background:var(--carta)}

/* Botones */
.mz-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--oro);color:#2A0A18;font:600 16px var(--san);min-height:48px;padding:0 24px;border-radius:999px;border:0;cursor:pointer}
.mz-btn:hover{background:#FFC95C}
.mz-btn2{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:999px;border:2px solid var(--carta);font-weight:500}
.mz-btn2:hover{background:var(--carta);color:var(--tinta)}
.mz-btn.dk{background:var(--tinta);color:var(--carta)}

/* Carta */
.mz-card{background:var(--carta);color:var(--tinta);border-radius:14px;aspect-ratio:5/7;position:relative;box-shadow:0 2px 0 #0003,0 18px 30px -16px #000a;transition:transform .18s}
.mz-card:hover{transform:translateY(-6px)}
.mz-cl{display:flex;flex-direction:column;gap:10px;height:100%;padding:12px}
.mz-ph{display:block;height:36%;border-radius:8px;position:relative;overflow:hidden;background:#E6E4EF;flex:none}
.mz-ph img{width:100%;height:100%;object-fit:cover}
.mz-ph>.mz-big{position:absolute;right:-10%;bottom:-20%;width:70%;height:auto;aspect-ratio:1;color:#B9B5CB;opacity:.55}
.mz-idx{position:absolute;top:8px;left:8px;background:var(--carta);border-radius:8px;padding:5px 7px;display:flex;flex-direction:column;align-items:center;gap:2px;font-weight:600;font-size:13px;line-height:1}
.mz-t{font-size:18px;line-height:1.2}
.mz-ex{font-size:13px;line-height:1.4;color:var(--gris);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mz-ft{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--gris)}
.mz-pip{transform:rotate(180deg);display:flex}
.mz-pip .mz-ic{width:14px;height:14px}
.mz-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}

/* Portada */
.mz-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:24px;align-items:center;padding-top:36px;padding-bottom:64px}
.mz-hero h1{font-size:78px;line-height:1.02;font-weight:900;margin:22px 0}
.mz-hero .mz-lead{font-size:20px;line-height:1.5;max-width:30em;color:var(--rosa)}
.mz-acts{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.mz-hand{position:relative;height:520px;min-width:0}
.mz-hand .mz-card{position:absolute;width:210px;transform-origin:50% 100%}
.mz-hand .mz-ph{height:50%}
.mz-hand .mz-ex{display:none}
.mz-hand .mz-card:nth-child(1){left:2%;top:50px;transform:rotate(-18deg);z-index:1}
.mz-hand .mz-card:nth-child(2){left:calc(2% + 70px);top:15px;transform:rotate(-9deg);z-index:2}
.mz-hand .mz-card:nth-child(3){left:calc(2% + 140px);top:0;z-index:3}
.mz-hand .mz-card:nth-child(4){left:calc(2% + 210px);top:15px;transform:rotate(9deg);z-index:2}
.mz-hand .mz-card:nth-child(5){left:calc(2% + 280px);top:50px;transform:rotate(18deg);z-index:1}
.mz-hand .mz-card:hover{z-index:9;top:-12px}
.mz-band{background:var(--mesa2);padding:56px 0}
.mz-band h2,.mz-sec h2{font-size:40px;margin-bottom:28px}
.mz-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.mz-tile{background:var(--mesa2);border:2px solid var(--lin);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:10px;min-height:190px}
.mz-band .mz-tile{background:#5B123066}
.mz-tile:hover{border-color:var(--oro)}
.mz-tile h3{font-size:26px}
.mz-tile p{color:var(--rosa);line-height:1.5}
.mz-chip{width:46px;height:46px;border-radius:50%;background:var(--carta);display:flex;align-items:center;justify-content:center}
.mz-chip .mz-ic{width:24px;height:24px}
.mz-sec{padding-top:64px;padding-bottom:40px}
.mz-sec-h{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px;margin-bottom:28px}
.mz-sec-h h2{margin:0}
.mz-day{background:var(--carta);color:var(--tinta);border-radius:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));overflow:hidden;margin-bottom:64px}
.mz-day .mz-dp{min-height:300px;position:relative;background:#E6E4EF}
.mz-day .mz-dp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mz-day .mz-dt{padding:40px;display:flex;flex-direction:column;gap:16px;justify-content:center}
.mz-day h2{font-size:38px}
.mz-day p{line-height:1.55;color:var(--gris);font-size:17px}

/* Archivo */
.mz-crumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:14px;color:var(--rosa)}
.mz-crumbs a{text-decoration:underline}
.mz-ah{padding-top:24px;padding-bottom:40px}
.mz-ah-in{display:flex;align-items:center;gap:28px;margin-top:18px;flex-wrap:wrap}
.mz-ah-c{width:120px;height:168px;background:var(--carta);border-radius:14px;display:flex;align-items:center;justify-content:center;transform:rotate(-5deg);box-shadow:0 14px 30px -12px #000a;flex:none}
.mz-ah-c .mz-ic{width:64px;height:64px}
.mz-ah h1{font-size:72px;font-weight:900;line-height:1;margin-bottom:12px}
.mz-ah p.mz-d{font-size:19px;line-height:1.5;color:var(--rosa);max-width:640px}
.mz-ah p.mz-n{color:var(--oro);font-weight:600;margin-top:12px}
.mz-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(520px,100%),1fr));gap:22px}
.mz-hc{background:var(--carta);color:var(--tinta);border-radius:14px;display:grid;grid-template-columns:200px 1fr;overflow:hidden;box-shadow:0 2px 0 #0003,0 18px 30px -16px #000a}
.mz-hc:hover{transform:translateY(-4px)}
.mz-hp{position:relative;min-height:190px;background:#E6E4EF}
.mz-hp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mz-hp>.mz-big{position:absolute;right:-12%;bottom:-18%;width:70%;height:auto;aspect-ratio:1;color:#B9B5CB;opacity:.55}
.mz-hb{padding:18px 22px;display:flex;flex-direction:column;gap:8px}
.mz-hb h3{font-size:22px}
.mz-hb p{color:var(--gris);line-height:1.5;font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mz-hm{display:flex;gap:6px;align-items:center;font-weight:600}
.mz-meta{margin-top:auto;font-size:13px;color:var(--gris)}
.mz-pg{display:flex;gap:12px;justify-content:center;margin-top:44px;flex-wrap:wrap}
.mz-pg a,.mz-pg span{width:48px;height:64px;border-radius:9px;background:var(--carta);color:var(--tinta);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px}
.mz-pg .current{background:var(--oro);color:#2A0A18}
.mz-pg .dots{background:transparent;color:var(--carta)}

/* Entrada y páginas */
.mz-art{padding-top:12px;padding-bottom:56px}
.mz-art .mz-crumbs{max-width:820px;margin:0 auto 18px}
.mz-sheet{background:var(--carta);color:var(--tinta);border-radius:22px;max-width:820px;margin:0 auto;padding:56px 64px;position:relative;box-shadow:0 2px 0 #0003,0 30px 50px -24px #000a}
.mz-corner{position:absolute;display:flex;flex-direction:column;align-items:center;gap:4px;font-weight:600;font-size:18px;line-height:1}
.mz-corner.a{top:22px;left:22px}.mz-corner.b{bottom:22px;right:22px;transform:rotate(180deg)}
.mz-sheet .mz-kick{color:var(--rojo);margin-bottom:14px;padding-left:36px}
.mz-sheet h1{font-size:50px;line-height:1.08;font-weight:900}
.mz-byline{font-size:15px;color:var(--gris);margin:18px 0 26px}
.mz-fig{margin:0 0 30px;border-radius:12px;overflow:hidden}
.mz-fig img{width:100%;max-height:420px;object-fit:cover}
.mz-body{font-size:19px;line-height:1.7;color:#2B2833}
.mz-body>*{margin-bottom:20px}
.mz-body h2{font-size:30px;margin:34px 0 14px;color:var(--tinta)}
.mz-body h3{font-size:24px;margin:28px 0 12px;color:var(--tinta)}
.mz-body a{color:var(--rojo);text-decoration:underline;text-underline-offset:3px}
.mz-body img{border-radius:10px}
.mz-body ul,.mz-body ol{padding-left:1.4em}
.mz-body li{margin-bottom:8px}
.mz-body blockquote{border-left:4px solid var(--rojo);padding:4px 0 4px 20px;font-family:var(--ser);font-size:22px;color:var(--tinta)}
.mz-body table{border-collapse:collapse;width:100%;font-size:16px;display:block;overflow-x:auto}
.mz-body th,.mz-body td{border:1px solid #15131C33;padding:8px 12px;text-align:left}
.mz-body figure{max-width:100%}
.mz-body .alignleft{float:left;margin:0 20px 10px 0}.mz-body .alignright{float:right;margin:0 0 10px 20px}
.mz-also{border:2px dashed var(--tinta);border-radius:14px;padding:16px 20px;margin:8px 0 26px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.mz-also span{font-size:15px;color:var(--gris)}
.mz-body .mz-also a{font-family:var(--ser);font-weight:800;font-size:19px;color:var(--tinta);text-decoration:underline}
.mz-share{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:30px;padding-top:24px;border-top:2px solid #15131C22}
.mz-share b{margin-right:6px;font-weight:600}
.mz-share a,.mz-share button{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:2px solid var(--tinta);background:transparent;color:var(--tinta);font:500 15px var(--san);cursor:pointer}
.mz-share a:hover,.mz-share button:hover{background:var(--tinta);color:var(--carta)}
.mz-next{max-width:820px;margin:56px auto 0}
.mz-next h2{font-size:32px;margin-bottom:22px}
.mz-minis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mz-mini{background:var(--carta);color:var(--tinta);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px;aspect-ratio:5/7;box-shadow:0 14px 26px -14px #000a}
.mz-mini:hover{transform:translateY(-4px)}
.mz-mini .mz-ph{height:42%}
.mz-mini h3{font-size:17px;line-height:1.2}
.mz-mini .mz-hm{font-size:13px}

/* Sobre nosotros y contacto */
.mz-ab{padding-top:36px;padding-bottom:56px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:36px;align-items:center}
.mz-ab h1,.mz-ct h1{font-size:64px;line-height:1.04;font-weight:900;margin:20px 0}
.mz-ab .mz-lead,.mz-ct .mz-lead{font-size:20px;line-height:1.55;color:var(--rosa)}
.mz-pic{border-radius:14px;overflow:hidden;background:#E6E4EF}
.mz-pic img{width:100%;height:100%;object-fit:cover;min-height:300px;max-height:420px}
.mz-nums{background:var(--mesa2);padding:40px 0}
.mz-nums .mz-w{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;text-align:center}
.mz-nums b{display:block;font-family:var(--ser);font-size:64px;font-weight:900;color:var(--oro);line-height:1.1}
.mz-nums span{color:var(--rosa)}
.mz-suits{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;align-items:start}
.mz-suit{background:var(--carta);color:var(--tinta);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:12px;min-height:340px;box-shadow:0 2px 0 #0003,0 22px 34px -18px #000a}
.mz-suit .mz-ic{width:40px;height:40px}
.mz-suit h3{font-size:28px}
.mz-suit p{line-height:1.55;color:var(--gris)}
.mz-suit:nth-child(even){margin-top:36px}
.mz-how{padding-bottom:72px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:36px;align-items:center}
.mz-how p{font-size:18px;line-height:1.6;color:var(--rosa);margin-top:16px}
.mz-ct{padding-top:36px;padding-bottom:72px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:48px;align-items:start}
.mz-ct .mz-mail{font-family:var(--ser);font-weight:800;font-size:32px;text-decoration:underline;text-underline-offset:6px;color:var(--oro);display:inline-block;margin:22px 0;overflow-wrap:anywhere}
.mz-form{background:var(--carta);color:var(--tinta);border-radius:22px;padding:40px;transform:rotate(1.2deg);display:flex;flex-direction:column;gap:18px;box-shadow:0 2px 0 #0003,0 30px 50px -24px #000a}
.mz-form h2{font-size:30px}
.mz-form label{font-weight:600;font-size:14px;display:block;margin-bottom:6px}
.mz-form input[type=text],.mz-form input[type=email],.mz-form textarea{width:100%;font:inherit;font-size:16px;color:var(--tinta);background:#fff;border:2px solid var(--tinta);border-radius:10px;padding:12px 14px;min-height:48px}
.mz-form .mz-ok{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.4;color:var(--gris)}
.mz-form .mz-ok input{width:22px;height:22px;margin-top:1px;flex:none;accent-color:var(--rojo)}
.mz-form .mz-hp2{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.mz-form small{font-size:13px;color:var(--gris);line-height:1.4}
.mz-msg{border-radius:12px;padding:14px 16px;font-weight:500;font-size:15px}
.mz-msg.ok{background:#DDF2E3;color:#14351F}.mz-msg.er{background:#FBE0E4;color:#5A0E1B}
.mz-404{padding:72px 32px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}
.mz-404 h1{font-size:64px;font-weight:900}
.mz-sf{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.mz-sf input{font:inherit;font-size:16px;min-height:48px;border-radius:999px;border:2px solid var(--carta);background:transparent;color:var(--carta);padding:0 20px;min-width:240px}
.mz-sf input::placeholder{color:var(--rosa)}

/* Pie */
.mz-foot{border-top:2px solid var(--lin);padding:36px 0 44px;margin-top:20px}
.mz-foot-in{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:center}
.mz-foot b{font-family:var(--ser);font-size:22px}
.mz-foot p{color:var(--rosa);margin-top:6px}
.mz-foot ul{list-style:none;padding:0;margin:0;display:flex;gap:6px 18px;flex-wrap:wrap}
.mz-foot li a{min-height:44px;display:flex;align-items:center}
.mz-foot a:hover{color:var(--oro)}

/* Cookies */
.mz-ck{position:fixed;left:20px;bottom:20px;max-width:360px;background:var(--carta);color:var(--tinta);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 14px 30px -10px #000a;z-index:60}
.mz-ck[hidden]{display:none}
.mz-ck p{font-size:14px;line-height:1.45}
.mz-ck a{text-decoration:underline}
.mz-ck-b{display:flex;gap:10px}
.mz-ck .mz-btn{min-height:44px;padding:0 18px;font-size:14px}
.mz-ck .mz-btn2{min-height:44px;border-color:var(--tinta);font-size:14px;background:transparent;font-family:var(--san);cursor:pointer;color:var(--tinta)}

@media (max-width:900px){
.mz-hero h1{font-size:56px}
.mz-ah h1,.mz-ab h1,.mz-ct h1{font-size:48px}
.mz-sheet{padding:44px 28px}.mz-sheet h1{font-size:38px}
.mz-hand{height:400px}
.mz-hand .mz-card{width:160px}
.mz-hand .mz-card:nth-child(1){left:0;top:44px}
.mz-hand .mz-card:nth-child(2){left:calc(50% - 80px);top:0;transform:none;z-index:3}
.mz-hand .mz-card:nth-child(3){left:auto;right:0;top:44px;transform:rotate(12deg);z-index:2}
.mz-hand .mz-card:nth-child(4),.mz-hand .mz-card:nth-child(5){display:none}
}
@media (max-width:760px){
.mz-w{padding:0 16px}
.mz-nav{padding-top:14px;padding-bottom:14px}
.mz-lgc{width:36px;height:48px}.mz-lgc b{font-size:21px}.mz-lgw{font-size:22px}
.mz-burger{display:flex}
.mz-menu{display:none;width:100%}
.mz-open .mz-menu{display:block}
.mz-menu ul{flex-direction:column;align-items:stretch;gap:8px;padding-bottom:10px}
.mz-menu a{background:var(--mesa2);border:2px solid var(--lin);min-height:52px;font-family:var(--ser);font-weight:800;font-size:19px}
.mz-hero{padding-top:20px;padding-bottom:40px}
.mz-hero h1{font-size:44px;line-height:1.05;margin:12px 0}
.mz-hero .mz-lead{font-size:17px}
.mz-acts .mz-btn,.mz-acts .mz-btn2{width:100%;justify-content:center}
.mz-hand{height:330px}
.mz-hand .mz-card{width:150px}
.mz-hand .mz-card:nth-child(2){width:160px;left:calc(50% - 80px)}
.mz-band h2,.mz-sec h2{font-size:28px}
.mz-sec{padding-top:44px}
.mz-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:0 -16px;padding:6px 16px 22px}
.mz-grid .mz-card{flex:none;width:210px;scroll-snap-align:start}
.mz-grid .mz-ph{height:34%}
.mz-day .mz-dt{padding:22px}.mz-day h2{font-size:26px}.mz-day .mz-dp{min-height:170px}
.mz-ah h1{font-size:44px}.mz-ah-c{width:84px;height:118px}.mz-ah-c .mz-ic{width:44px;height:44px}
.mz-hc{grid-template-columns:1fr}.mz-hp{min-height:150px}
.mz-minis{grid-template-columns:1fr 1fr}.mz-minis .mz-mini:nth-child(3){display:none}
.mz-form{padding:24px;transform:none}
.mz-suit:nth-child(even){margin-top:0}
.mz-sheet{padding:44px 20px 52px}.mz-sheet h1{font-size:32px}.mz-body{font-size:18px}
.mz-corner.a{top:14px;left:14px}.mz-corner.b{bottom:14px;right:14px}
.mz-ck{left:12px;right:12px;bottom:12px;max-width:none}
.mz-404 h1{font-size:44px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
