/* Turnow · ajustes para WordPress (se carga después del CSS de cada página) */

/* Pendientes en amarillo y etiquetas de "Foto de portada": solo los ves tú con sesión iniciada */
body:not(.logged-in) .todo,
body:not(.logged-in) .ph-tag{display:none!important}

/* Barra de administración: que no tape el header */
.admin-bar .nav{top:32px}
.admin-bar .mnav{top:calc(var(--nav-h) + 32px)}
@media (max-width:782px){.admin-bar .nav{top:46px}.admin-bar .mnav{top:calc(var(--nav-h) + 46px)}}
@media (max-width:600px){.admin-bar .nav{top:0}.admin-bar .mnav{top:var(--nav-h)}}

/* Portadas con foto real (proyectos) */
.cover.has-img{background:var(--card,#EAEAE8)}
.cover.has-img > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.cover.has-img::after{display:none}
.cover.has-img .tlabel,.cover.has-img .cap{z-index:2}

/* Páginas genéricas (page.php) */
.tn-page{padding-block:clamp(48px,8vw,104px)}
.tn-page .wrap{max-width:820px}
.tn-page h1{font-size:clamp(2.25rem,7vw,3.75rem);line-height:1;letter-spacing:-.045em;margin-bottom:28px}
.tn-entry{font-size:1.0625rem;line-height:1.65;color:var(--ink-2)}
.tn-entry > * + *{margin-top:1em}
.tn-entry h2{font-size:1.75rem;margin-top:1.6em}
.tn-entry h3{font-size:1.3rem;margin-top:1.4em}
.tn-entry img{max-width:100%;height:auto;border-radius:16px}
.tn-entry a{color:var(--blue)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
