/*
Theme Name: Caduzera
Theme URI: https://caduzeragta6.com
Author: Caduzera
Description: Tema do blog Caduzera GTA 6 — fundo escuro, arte grande e grade de notícias, com a identidade Caduzera (rosa neon, ciano, Anton e Poppins).
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: caduzera
*/

/* Ajustes que o theme.json não cobre */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--wp--preset--color--neon-pink); color: var(--wp--preset--color--night); }

/* Cabeçalho fixo, estilo barra preta */
.cz-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); background: rgba(14,10,17,.92) !important; border-bottom: 1px solid var(--wp--preset--color--plum-line); }
.admin-bar .cz-header { top: 32px; }
.cz-header .wp-block-navigation a { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: 13px; }
.cz-header .wp-block-navigation a:hover { color: var(--wp--preset--color--neon-pink); }

/* Hero: arte grande com degradê embaixo */
.cz-hero .wp-block-cover { min-height: 78vh !important; }
.cz-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(14,10,17,.82) 0%, rgba(14,10,17,.45) 45%, rgba(14,10,17,0) 70%), linear-gradient(180deg, rgba(14,10,17,0) 40%, rgba(14,10,17,.6) 75%, rgba(14,10,17,1) 100%) !important; opacity: 1 !important; }
.cz-hero .wp-block-post-title { text-shadow: 0 2px 24px rgba(14,10,17,.6); }
.cz-hero .wp-block-post-title a { text-decoration: none; }

/* Selo de categoria */
.cz-tag a, .cz-tag { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--wp--preset--color--neon-pink); }

/* Cards da grade de notícias */
.cz-card { background: var(--wp--preset--color--night-raised); border-radius: 12px; overflow: hidden; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.cz-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--wp--preset--color--neon-pink), 0 0 24px rgba(255,63,164,.35); }
.cz-card .wp-block-post-featured-image { margin: 0; }
.cz-card .wp-block-post-featured-image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.cz-card .wp-block-post-title a { text-decoration: none; }
.cz-card .wp-block-post-title a:hover { color: var(--wp--preset--color--neon-pink); }

/* Títulos de seção com linha */
.cz-section-title { display: flex; align-items: center; gap: 16px; }
.cz-section-title::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--plum-line); }

/* Corpo do post */
.cz-article .wp-block-post-content a { color: var(--wp--preset--color--neon-cyan); }
.cz-article .wp-block-post-content h2 { margin-top: 2em; }

/* Paginação */
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--wp--preset--color--plum-line); border-radius: 999px; text-decoration: none; }
.wp-block-query-pagination .current { background: var(--wp--preset--color--neon-pink); color: var(--wp--preset--color--night); border-color: transparent; }

@media (max-width: 781px) {
  .cz-hero .wp-block-cover { min-height: 62vh !important; }
  .admin-bar .cz-header { top: 46px; }
}
