/* Doutor Gourmet N1 — ajustes sobre o Blocksy. Cores: vermelho da marca, dourado, cabeçalho/rodapé escuros. */
:root { --dg-vermelho: var(--theme-palette-color-1); --dg-dourado: var(--theme-palette-color-2); }

@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url('fontes/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .dg-faixa, .ct-menu-link, .wp-block-latest-posts__post-title { font-family: 'Sora', system-ui, sans-serif; }
h1, h2, h3, .entry-title { font-weight: 700; letter-spacing: -.01em; }

/* Cabeçalho: degradê vermelho -> escuro (como o site antigo) */
#header [data-row="middle"] { background: linear-gradient(180deg, #8e0b12 0%, #3a0a0c 70%, #1b1b1b 100%) !important; }
#header .ct-menu-link, #header .ct-header-search, #header .ct-header-trigger { color: #f3e7cf !important; }
#header .ct-menu-link:hover, #header .current-menu-item > .ct-menu-link { color: var(--dg-dourado) !important; }
#header .ct-header-search svg, #header .ct-header-trigger svg { fill: #f3e7cf; }

/* Rodapé escuro */
.ct-footer { background: #1b1b1b !important; color: #d9cfbd; }
.ct-footer a, .ct-footer h4 { color: #f3e7cf; }
.ct-footer a:hover { color: var(--dg-dourado); }

/* Texto dos artigos: justificado */
.single .entry-content p, .single .entry-content li, .page .entry-content p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* Faixas de título e cartões */
.dg-faixa { background: var(--dg-vermelho); color: #fff; padding: .55em .9em; border-radius: 6px; font-size: 1rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1rem; }
.dg-faixa.dourada { background: var(--dg-dourado); color: #2a1f0a; }
.dg-cartao { background: #fff; border-radius: 8px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(60,20,10,.10); }
.dg-cartao + .dg-cartao { margin-top: 1.2rem; }

.dg-lista.wp-block-latest-posts { padding: 0; }
.dg-lista.wp-block-latest-posts li { background: #fff; border: 1px solid var(--theme-palette-color-5); border-radius: 6px; padding: .9em 1.1em; margin-bottom: .7em; }
.dg-lista .wp-block-latest-posts__post-title { font-weight: 600; color: var(--theme-palette-color-4); text-decoration: none; }
.dg-lista .wp-block-latest-posts__post-title:hover { color: var(--dg-vermelho); }
.dg-lista .wp-block-latest-posts__post-date { font-size: .8em; color: #7a6f60; }
.dg-lista .wp-block-latest-posts__post-excerpt { margin: .3em 0 0; font-size: .92em; color: #5b5146; }

.dg-cats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .7rem; }
.dg-cats li { margin: 0; }
.dg-cats a { display: flex; justify-content: space-between; gap: .5em; background: #fff; border: 1px solid var(--theme-palette-color-5); border-radius: 6px; padding: .8em 1em; font-weight: 600; color: var(--theme-palette-color-4); text-decoration: none; }
.dg-cats a:hover { border-color: var(--dg-vermelho); color: var(--dg-vermelho); }
.dg-cats small { color: #7a6f60; }

/* Home */
.dg-banner img { display: block; width: 100%; height: auto; border-radius: 8px; border: 2px solid var(--dg-dourado); }
.dg-livros { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.2rem; align-items: end; }
.dg-livros img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.dg-redes { display: flex; gap: .8rem; }
.dg-redes a { display: inline-flex; color: var(--theme-palette-color-4); }
.dg-cartao a, .dg-rodape a { text-decoration: none; }
.dg-rodape ul { list-style: none; padding: 0; margin: 0; }
.dg-rodape li { margin-bottom: .35em; }

/* Tempo de leitura e aviso */
.dg-leitura { font-size: .85rem; color: #7a6f60; margin-bottom: 1.2rem; }
.dg-aviso { margin-top: 2rem; padding: 1rem 1.2rem; background: #fbf3e2; border-left: 4px solid var(--dg-dourado); border-radius: 6px; font-size: .92rem; text-align: left; }

/* Logo maior e subtítulos dos artigos proporcionais */
#header .site-logo-container img { max-height: 84px; width: auto; }
.single .entry-content h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2rem; }
.single .entry-content h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

/* Correções da prévia */
.ct-footer, .ct-footer p, .ct-footer li, .ct-footer .ct-footer-copyright, .ct-footer .dg-redes a { color: #d9cfbd !important; }
.ct-footer .dg-redes a:hover { color: var(--dg-dourado) !important; }
#header [data-id="logo"] { --logo-max-height: 84px; }
.entry-content > .wp-block-html .dg-banner, .dg-banner { display: block; max-width: var(--theme-block-max-width, 1290px); margin: 0 auto 1rem; }
@media (max-width: 689px) { .home .entry-content h1 { font-size: 1.7rem; line-height: 1.25; } }
