/*
Theme Name: Vig
Description: Tema de blocos leve, preto e branco, tipografia grande. Sem JavaScript próprio, sem plugins obrigatórios.
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: vig
License: GPL-2.0-or-later
*/
:root{--pad:clamp(1rem,4vw,3rem)}
html{scroll-behavior:smooth;scroll-padding-top:4rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{-webkit-font-smoothing:antialiased}
a:focus-visible{outline:3px solid currentColor;outline-offset:4px}

/* cabeçalho fixo que inverte a cor conforme o fundo */
header.wp-block-template-part{position:sticky;top:0;z-index:20;mix-blend-mode:difference;color:#fff}
header.wp-block-template-part a{color:#fff;text-decoration:none}
header.wp-block-template-part .wp-block-navigation a:hover,header.wp-block-template-part .wp-block-site-title a:hover{text-decoration:underline;text-underline-offset:.25em}
.site-bar{padding:1rem var(--pad)}
@media (max-width:600px){header.wp-block-template-part{mix-blend-mode:normal;background:#000}}

/* blocos de página */
.blk{padding:clamp(3rem,9vw,7rem) var(--pad)}
.light{background:#fff;color:#000}
.light a{color:#000}
.label{margin:0 0 2rem;font-size:1rem;font-weight:500;color:#8a8a8a}
.hero{min-height:92vh;display:flex;flex-direction:column;justify-content:flex-end;padding:0 var(--pad) clamp(1.5rem,4vw,3rem);margin-top:-3.5rem}
.display{font-size:clamp(4rem,21vw,24rem);line-height:.82;letter-spacing:-.055em;text-transform:uppercase;margin:0;overflow:hidden;animation:vig-up .9s cubic-bezier(.2,.8,.2,1) both}
@keyframes vig-up{from{transform:translateY(60%);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.display{animation:none}}
.lead{margin:2rem 0 0;max-width:30rem;font-size:clamp(1.25rem,2.4vw,1.75rem);line-height:1.25;font-weight:500}
.big{margin:0;max-width:22ch;font-weight:800;font-size:clamp(2rem,6.5vw,6rem);line-height:.98;letter-spacing:-.04em}
.sub{margin:2rem 0 0;max-width:36rem;font-size:1.25rem}

/* linhas de lista (biblioteca e textos) */
.rows{margin:0 calc(var(--pad) * -1)}
.rows .wp-block-post-template{list-style:none;margin:0;padding:0}
.rows .wp-block-post-template>li{margin:0}
.row{position:relative;padding:1.25rem var(--pad);border-top:2px solid currentColor;transition:background .15s,color .15s;gap:1.5rem}
.rows li:last-child .row{border-bottom:2px solid currentColor}
.row .wp-block-post-title{margin:0;font-size:clamp(1.9rem,6vw,5.5rem);line-height:1}
.row .wp-block-post-title a{color:inherit;text-decoration:none}
.row .wp-block-post-title a::after{content:"";position:absolute;inset:0}
.row .wp-block-post-date,.row .wp-block-post-excerpt{margin:0;font-size:1rem;font-weight:500;white-space:nowrap}
.row .wp-block-post-excerpt p{margin:0}
.dark .row:hover{background:#fff;color:#000}
.light .row:hover{background:#000;color:#fff}

/* contato */
.mail{margin:0;font-weight:800;font-size:clamp(1.6rem,7.2vw,7rem);line-height:1;letter-spacing:-.045em;word-break:break-word}
.mail a{text-decoration:none;color:inherit}
.mail a:hover{text-decoration:underline;text-decoration-thickness:.06em;text-underline-offset:.12em}

/* leitura (posts e perfis) */
.prose{padding:clamp(3rem,9vw,6rem) var(--pad)}
.prose .wp-block-post-title{font-size:clamp(2.5rem,9vw,7rem);line-height:.95;margin-bottom:1rem}
.prose .wp-block-post-content{font-size:1.25rem;line-height:1.6}
.prose .wp-block-post-content a{text-decoration:underline;text-underline-offset:.2em}
.prose .wp-block-post-content ul{padding-left:1.25rem}
.prose .wp-block-post-content li{margin-bottom:.6rem}
.prose .wp-block-post-date{color:#8a8a8a;margin:0 0 2.5rem}

.site-foot{padding:1.5rem var(--pad) 2.5rem;color:#8a8a8a;font-size:.9rem}
