/* Portada: mesa oscura y programa de La Tallerera. */
.yh-nav.site-nav,.yh-nav .nav{background:#0b0b0b;color:#f5f0eb}
.yh-nav.site-nav{border-bottom:1px solid #3a3631}
.yh-nav .nav .shop{color:inherit}
.yh-nav .nav-toggle{color:#111}
.yh-nav .nav a:focus-visible,.yh-nav .brand:focus-visible{outline:2px solid #fedd00;outline-offset:4px}
.yoco-cover,.yoco-agenda{--yh-bg:#0b0b0b;--yh-fg:#f5f0eb;--yh-muted:#c6beb5;--yh-line:#3a3631;--yh-yellow:#fedd00;--yh-hand:'Patrick Hand',Arial,sans-serif;--yh-brush:'Caveat Brush','Arial Black',Arial,sans-serif;background:var(--yh-bg);color:var(--yh-fg);font:400 1.2rem/1.35 var(--yh-hand);padding-inline:clamp(1rem,4vw,3rem)}
.yh-wrap{max-width:1240px;margin-inline:auto}
.yoco-cover{padding-top:clamp(1rem,3vw,2.5rem)}
.yh-mesa{position:relative;isolation:isolate;height:clamp(600px,63vw,810px);overflow:hidden}
.yh-pieces{position:absolute;inset:0;z-index:1}
.yh-piece{position:absolute;left:calc(var(--px)*1%);top:calc(var(--py)*1%);width:var(--w,var(--s));padding:0;border:0;background:none;cursor:grab;touch-action:none;user-select:none;transform:rotate(var(--r,0deg));-webkit-user-drag:none}
.yh-piece.yh-dragging{cursor:grabbing}
.yh-piece>*{display:block;width:100%;height:auto;pointer-events:none;filter:drop-shadow(0 8px 12px #0008)}
.yh-piece img{aspect-ratio:auto}
.yh-ci,.yh-cwi{aspect-ratio:1;background-repeat:no-repeat}
.yh-ci{background-image:url('/assets/portada/crayones.png');background-size:400% 200%;background-position:calc(var(--c)*100% / 3) calc(var(--rw)*100%)}
.yh-cwi{background-image:url('/assets/portada/coworking.png');background-size:200% 100%;background-position:calc(var(--c)*100%) 0}
.yh-ready .yh-piece>*{animation:yh-drift 3.6s ease-in-out both}
.yh-ready .yh-piece.yh-dragging>*{animation:none}
@keyframes yh-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(calc(var(--amp,-18px) * .4)) rotate(1deg)}}
.yh-center{position:absolute;z-index:2;left:50%;top:40%;transform:translate(-50%,-50%);width:min(650px,63%);text-align:center;pointer-events:none}
.yh-center h1{margin:0;font:400 clamp(3.2rem,8.1vw,7.3rem)/.93 var(--yh-brush);letter-spacing:-.025em;text-wrap:balance;text-shadow:0 2px #000,0 0 22px #000}
.yh-center p{margin:1rem auto 1.3rem;max-width:30ch;font-size:clamp(1.2rem,2.2vw,1.65rem);text-shadow:0 0 10px #000}
.yh-actions,.yh-agenda-actions{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}
.yh-actions{justify-content:center}
.yh-btn{display:inline-flex;justify-content:center;align-items:center;text-align:center;min-height:50px;padding:.65rem 1.2rem;border:2px solid var(--yh-fg);border-radius:999px;background:var(--yh-bg);color:var(--yh-fg);text-decoration:none;font:400 clamp(1.25rem,2vw,1.7rem)/1.05 var(--yh-brush);pointer-events:auto}
.yh-btn.yh-primary{background:var(--yh-yellow);border-color:var(--yh-yellow);color:#111}
.yh-btn:hover{background:var(--yh-fg);border-color:var(--yh-fg);color:#111}
.yh-btn:focus-visible,.yh-piece:focus-visible,.yh-text:focus-visible{outline:3px solid var(--yh-yellow);outline-offset:4px}
.yoco-agenda{padding-block:clamp(2.5rem,5vw,5.5rem);border-top:1px solid #3a3631}
.yoco-agenda h2{font:400 clamp(2.4rem,5vw,4.1rem)/1 var(--yh-brush);letter-spacing:0;margin:0 0 .75rem}
.yh-lead{max-width:55ch;margin:.45rem 0;color:var(--yh-muted);font-size:clamp(1.1rem,2vw,1.35rem)}
.yh-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(.5rem,1.2vw,1rem);margin:2rem 0}
.yh-day{min-width:0;border-top:1px solid var(--yh-line);padding:.85rem .2rem 0;display:flex;flex-direction:column;align-items:center;gap:.8rem;text-align:center}
.yh-day h3{margin:0;font:400 clamp(1.2rem,2.4vw,1.9rem)/1.1 var(--yh-brush);letter-spacing:0;overflow-wrap:anywhere}
.yh-slot{display:flex;flex-direction:column;align-items:center;gap:.25rem;font-size:1rem;line-height:1.15;min-height:94px;max-width:100%;overflow-wrap:break-word}
.yh-slot i{width:60px;height:60px;background:url('/assets/portada/crayones.png') no-repeat;background-size:240px 120px}
.yh-slot i.yh-cw{background-image:url('/assets/portada/coworking.png');background-size:120px 60px}
.yh-slot b,.yh-rest{color:var(--yh-muted)}
.yh-rest{font-size:1.1rem}
.yh-agenda-actions{gap:.75rem 1.5rem}
.yh-text{color:inherit;text-underline-offset:.25em}
@media(max-width:950px){.yh-days{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){
 .yh-nav .nav{top:100%}
 .yh-mesa{height:clamp(710px,152vw,880px)}
 .yh-piece{left:calc(var(--mx)*1%);top:calc(var(--my)*1%);width:var(--mw,var(--s));max-width:32%}
 .yh-center{top:16%;transform:translateX(-50%);width:min(92%,430px)}
 .yh-center h1{font-size:clamp(3.15rem,11vw,5rem)}
 .yh-center p{margin:.85rem auto 1rem}
 .yh-actions{gap:.55rem}
}
@media(max-width:490px){
 .yh-days{grid-template-columns:repeat(2,minmax(0,1fr))}
 .yh-day:last-child{grid-column:1/-1;flex-direction:row;align-items:baseline;justify-content:space-between;padding-inline:.2rem}
 .yh-actions .yh-btn{width:min(100%,285px)}
}
@media(prefers-reduced-motion:reduce){.yh-piece>*{animation:none!important}}

/* Recortes de la bitácora: cada impresión conserva el encuadre original. */
.yh-mesa{height:clamp(550px,52vw,690px)}
.yh-news-photos{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:clamp(1rem,2.4vw,2rem);width:min(100%,1260px);margin:0 auto 1.25rem;padding:clamp(.75rem,2vw,1.5rem) clamp(.4rem,2vw,1.5rem)}
.yh-news-photo{margin:0;min-width:0}
.yh-news-print{position:relative;background:#fff;padding:clamp(.45rem,1vw,.8rem);box-shadow:1px 2px 11px #0002;isolation:isolate}
.yh-news-print::before{content:'';position:absolute;z-index:-1;background:#fedd00;top:-.7rem;left:1.2rem;width:3.75rem;height:1.05rem;transform:rotate(-6deg)}
.yh-news-sewing{transform:rotate(-2deg);margin-top:2.2rem}
.yh-news-character{transform:rotate(1.1deg)}
.yh-news-gia{transform:rotate(-1.1deg);margin-top:1.25rem}
.yh-news-yoco{transform:rotate(2deg);margin-top:2.7rem}
.dream-news:has(.yh-news-photos) .dream-news-heading{grid-column:1/-1;display:flex;align-items:end;flex-wrap:wrap;column-gap:clamp(1rem,7vw,6rem)}
.dream-news:has(.yh-news-photos) .dream-news-heading .label{flex-basis:100%}
.dream-news:has(.yh-news-photos) .dream-news-heading h2{margin:1rem 0 0}
.dream-news:has(.yh-news-photos) .dream-news-heading p{margin:.8rem 0 .15rem}
@media(max-width:1000px){.yh-news-photos{grid-template-columns:repeat(2,minmax(0,1fr));max-width:740px}.yh-news-sewing,.yh-news-gia,.yh-news-yoco{margin-top:0}}
.yh-news-print img{display:block;width:100%;height:auto}
.yh-news-print figcaption{display:flex;align-items:baseline;gap:.7rem;padding:.75rem .15rem .2rem;color:#111;font:700 clamp(.76rem,1.15vw,.94rem)/1.3 'Courier New',monospace;text-transform:uppercase}
.yh-news-print figcaption span{flex:none;padding:.04rem .2rem;background:#fedd00}
.dream-news:has(.yh-news-photos) .dream-feature-main,.dream-news:has(.yh-news-photos) .dream-feature-side{grid-row:3}
@media(max-width:760px){
 .yh-mesa{height:clamp(610px,128vw,685px)}
 .yh-news-photos{grid-template-columns:1fr;gap:1.75rem;padding:.5rem .45rem;margin-top:2rem}
 .yh-news-sewing{width:95%;transform:rotate(-2deg)}
 .yh-news-character,.yh-news-yoco{width:min(87%,390px);justify-self:end}
 .yh-news-gia{width:min(90%,390px)}
}

.yh-photo-note{font:400 clamp(.94rem,1.15vw,1.06rem)/1.45 Arial,Helvetica,sans-serif;margin:.2rem .15rem .45rem;color:#222}
.yh-news-print .yh-caption-detail{display:block}
.yh-photo-title{display:flex;align-items:baseline;gap:.7rem}
.yh-photo-note{margin:.6rem 0 .2rem;text-transform:none}
.updates-home-link{display:inline-block;margin:.25rem 0 .15rem;color:inherit;font:700 .88rem/1.45 'Courier New',monospace;text-underline-offset:4px}
.updates-home-link:hover,.updates-home-link:focus-visible{background:#fedd00}
.tc-agenda-link{display:inline-block;margin:.6rem 0 .2rem;text-underline-offset:4px}
.yh-slot a,.cf-slot a{color:inherit;text-underline-offset:.2em}
.yh-slot a:focus-visible,.yh-slot a:hover,.cf-slot a:focus-visible,.cf-slot a:hover{color:#fedd00}
@media(max-width:600px){
 .yh-days{grid-template-columns:1fr;gap:1rem}
 .yh-day,.yh-day:last-child{text-align:left;align-items:stretch;justify-content:start;gap:.4rem}
 .yh-day:last-child{align-items:baseline;gap:1rem}
 .yh-day h3{font-size:1.55rem}
 .yh-slot{display:grid;grid-template-columns:50px minmax(0,1fr);min-height:54px;align-items:center;gap:.7rem}
 .yh-slot i{width:60px;height:60px;transform:scale(.76);transform-origin:left center}
 .yh-slot>span{line-height:1.35}
 .yh-slot a{display:inline-block;padding:.3rem 0}
}

.yh-piece.yh-cutout>*{filter:none}
@media(max-width:760px){.yh-mesa{height:clamp(695px,133vw,750px)}.yh-center{top:14%}}
