/*
Theme Name: Portal Felipe Tommy
Theme URI: https://felipetommy.com.br
Description: Tema filho do Portal Felipe Tommy. Aplica a identidade editorial (azul #0E4E96 + vermelho #CC2027), tipografia serifada nos títulos e leitura otimizada — sem alterar o conteúdo nem o funcionamento do tema pai. Inspirado em G1, CNN e Metrópoles, mas com a cara da marca.
Author: Felipe Tommy
Version: 1.0.0
Template: news-portal
*/

/* ============================================================
   VARIÁVEIS DA MARCA
   (extraídas da sua logo: azul vivo + vermelho da tarja)
   ============================================================ */
:root{
  --ft-azul:           #0E4E96;
  --ft-azul-claro:     #1769C0;
  --ft-vermelho:       #CC2027;
  --ft-vermelho-escuro:#B01217;
  --ft-verde-zap:      #0F8A4D;
  --ft-serif: 'Lora', Georgia, 'Times New Roman', serif;
}

/* ============================================================
   LOGO DO SITE
   (você sobe a sua logo em Aparência → Personalizar → Identidade do site)
   ============================================================ */
.custom-logo{
  max-height: 64px;
  width: auto;
}

/* ============================================================
   TÍTULO DA MATÉRIA
   ============================================================ */
.entry-title,
.post-title,
h1.entry-title,
.single .entry-title{
  font-family: var(--ft-serif);
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.2;
}

/* ============================================================
   CORPO DA MATÉRIA — leitura confortável
   (mira nos blocos padrão do WordPress: wp-block-heading etc.)
   ============================================================ */

/* Parágrafos: tamanho e respiro ideais para leitura */
.entry-content p,
.post-content p{
  font-size: 1.0625rem;   /* ~17px */
  line-height: 1.75;
}

/* Linha-fina / abertura da matéria (seu app gera como <h3>) */
.entry-content h3.wp-block-heading,
.post-content h3.wp-block-heading{
  font-family: var(--ft-serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #333;
  margin: 0 0 1.25rem;
}

/* Subtítulos de seção (seu app gera como <h2>) */
.entry-content h2.wp-block-heading,
.post-content h2.wp-block-heading{
  font-family: var(--ft-serif);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 2rem 0 1rem;
  padding-left: .7rem;
  border-left: 4px solid var(--ft-azul);
}

/* Separador (<hr>) discreto na cor da marca */
.entry-content hr.wp-block-separator,
.post-content hr{
  border: 0;
  border-top: 1px solid var(--ft-azul);
  opacity: .2;
  margin: 1.5rem 0;
}

/* "Leia também abaixo." e textos em negrito dentro do corpo */
.entry-content p strong,
.post-content p strong{
  color: var(--ft-vermelho-escuro);
}

/* ============================================================
   CTA DO WHATSAPP NO MEIO DO TEXTO
   (transforma o link de texto do seu app num botão verde)
   ============================================================ */
.entry-content p a[href*="whatsapp.com/channel"],
.post-content p a[href*="whatsapp.com/channel"]{
  display: inline-block;
  background: var(--ft-verde-zap);
  color: #fff !important;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.3;
}
.entry-content p a[href*="whatsapp.com/channel"] strong,
.post-content p a[href*="whatsapp.com/channel"] strong{
  color: #fff;
}

/* Banner/GIF do WhatsApp (figura de imagem) — cantos arredondados */
.entry-content figure.wp-block-image a[href*="whatsapp.com/channel"] img{
  border-radius: 10px;
}

/* ============================================================
   CARD "LEIA TAMBÉM" EMBUTIDO (embed do próprio site)
   ============================================================ */
.entry-content figure.wp-block-embed{
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}

/* ============================================================
   CATEGORIAS / BADGES
   (classes comuns; afinamos no staging conforme o tema pai)
   ============================================================ */
.cat-links a,
.post-categories a,
.entry-categories a,
.category-badge{
  display: inline-block;
  background: var(--ft-vermelho);
  color: #fff !important;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 5px;
}

/* ============================================================
   ACENTOS DE COR (links, hover) — ponto de partida
   ============================================================ */
a{ color: var(--ft-azul-claro); }
a:hover{ color: var(--ft-vermelho); }

/* Botões padrão do WordPress */
.wp-block-button__link{
  background: var(--ft-azul);
  border-radius: 8px;
}
.wp-block-button__link:hover{
  background: var(--ft-vermelho);
}

/* ============================================================
   LISTAS LATERAIS ("Últimas notícias") — setinha vermelha
   ============================================================ */
.widget_recent_entries li,
.popular-posts li,
.latest-news li{
  list-style: none;
}
