/* ==========================================================
   Blog do Tchêmaki Sushi — identidade da home aplicada ao tema Twenty Twenty-Five.
   Carregado por tchemaki-blog.php (mesma pasta: /blog/wp-content/mu-plugins/).
   Paleta e fontes copiadas do :root de tchemaki.com.br. Criado em 12/10/2026.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Zen+Old+Mincho:wght@600;700;900&display=swap');

:root{
  --tch-red:#8B0000; --tch-red-bright:#C8102E; --tch-gold:#D4A24C; --tch-gold-light:#E8C77E;
  --tch-ink:#0A0A0A; --tch-musgo:#6E6257; --tch-line:#E2D8C4; --tch-paper:#F5F1E8; --tch-paper-warm:#EFE8D4; --tch-card:#FBF8F1;
  --tch-sans:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;
  --tch-serif:"Zen Old Mincho",Georgia,serif;
}

/* base */
body{background:var(--tch-paper)!important;color:var(--tch-ink);font-family:var(--tch-sans);-webkit-font-smoothing:antialiased}
.wp-site-blocks{background:var(--tch-paper)}
p,li{line-height:1.7;font-size:1.0625rem}

/* títulos na serifa da home */
h1,h2,h3,h4,.wp-block-post-title,.wp-block-site-title{font-family:var(--tch-serif)!important;color:var(--tch-ink);letter-spacing:-.01em;line-height:1.15}
h1,.wp-block-post-title{font-weight:700}
h2{margin-top:2.2em}

/* links */
a{color:var(--tch-red);text-underline-offset:.18em}
a:hover{color:var(--tch-red-bright)}
.wp-block-post-title a{color:var(--tch-red);text-decoration:none}
.wp-block-post-title a:hover{color:var(--tch-red-bright)}

/* cabeçalho e rodapé escuros, com filete dourado */
header.wp-block-template-part{background:var(--tch-ink);border-bottom:3px solid var(--tch-gold)}
header.wp-block-template-part a,header.wp-block-template-part .wp-block-site-title a{color:var(--tch-paper)!important;text-decoration:none}
header.wp-block-template-part .wp-block-navigation__responsive-container-open{color:var(--tch-paper)}
footer.wp-block-template-part{background:var(--tch-ink);color:#cfc6b4}
footer.wp-block-template-part a{color:var(--tch-gold-light)}

/* botões */
.wp-block-button__link,.wp-element-button,input[type=submit]{
  background:var(--tch-red)!important;color:#fff!important;border-radius:999px!important;
  padding:14px 26px!important;font-family:var(--tch-sans);font-weight:600;font-size:15px;border:0;transition:background .18s}
.wp-block-button__link:hover,.wp-element-button:hover{background:var(--tch-red-bright)!important}

/* cartões de post na listagem */
.wp-block-post-template>li{background:var(--tch-card);border:1px solid var(--tch-line);border-radius:14px;padding:22px 24px}
.wp-block-post-date,.wp-block-post-terms,.wp-block-post-author{color:var(--tch-musgo);font-size:.875rem}

/* tabelas, citações */
.wp-block-table table{border-collapse:collapse;width:100%;background:var(--tch-card)}
.wp-block-table th,.wp-block-table td{border:1px solid var(--tch-line);padding:10px 12px;text-align:left}
.wp-block-table th{background:var(--tch-ink);color:var(--tch-paper);font-weight:600}
.wp-block-quote{border-left:4px solid var(--tch-gold);background:var(--tch-card);padding:14px 20px}

/* capa do post: imagem inteira (as capas são 16:9 com texto dentro; o tema recortava em 3:2) */
.wp-block-post-featured-image img{aspect-ratio:auto!important;height:auto!important;object-fit:contain!important}

/* resumo nas listagens */
.tch-resumo p{margin:.6em 0}
.tch-resumo .tch-ler-mais{font-weight:600;text-decoration:none}
.tch-resumo .tch-ler-mais:hover{text-decoration:underline}

/* celular */
@media (max-width:700px){
  p,li{font-size:1rem}
  .wp-block-post-template>li{padding:18px}
  /* tabelas rolam dentro delas mesmas em vez de alargar a página */
  .wp-site-blocks table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .wp-site-blocks figure.wp-block-table{max-width:100%;overflow-x:auto}
  /* nada estoura a tela: links e trechos longos quebram */
  .wp-block-post-content{overflow-wrap:anywhere}
  .wp-block-post-content pre,.wp-block-post-content code{white-space:pre-wrap;word-break:break-word}
}

/* rodapé próprio (o do tema era de demonstração) — 12/10/2026 */
.tch-rodape{background:var(--tch-ink);color:#cfc6b4;margin-top:48px;border-top:3px solid var(--tch-gold)}
.tch-rodape__dentro{max-width:1100px;margin:0 auto;padding:34px 24px;display:flex;flex-wrap:wrap;gap:8px 22px;align-items:baseline}
.tch-rodape strong{font-family:var(--tch-serif);font-size:1.25rem;color:var(--tch-paper)}
.tch-rodape nav{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px 20px}
.tch-rodape nav a{color:var(--tch-gold-light);text-decoration:none;font-weight:600}
.tch-rodape nav a:hover{text-decoration:underline}
@media (max-width:700px){.tch-rodape nav{margin-left:0;width:100%}}
