/* ============================================================
   Motiq Blog — estilos dos componentes (complementa o theme.json)
   ============================================================ */

/* ---- Chips de categoria (post-terms) ---- */
.wp-block-post-terms a,
.motiq-cat a {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 11px;
  border-radius: 20px;
  color: var(--wp--preset--color--primary);
  background: color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent);
}
.wp-block-post-terms a:hover { text-decoration: none; opacity: .85; }

/* ---- Cards de artigo (grid da listagem) ---- */
.motiq-grid .wp-block-post {
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 15px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.motiq-grid .wp-block-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 18, 46, .12);
}
.motiq-grid .wp-block-post > * { margin-left: 18px; margin-right: 18px; }
.motiq-grid .wp-block-post .wp-block-post-featured-image { margin: 0; }
.motiq-grid .wp-block-post .wp-block-post-featured-image img {
  border-radius: 0; width: 100%; aspect-ratio: 16/9; object-fit: cover;
}
.motiq-grid .wp-block-post-title { font-size: 1.05rem; line-height: 1.3; margin-top: .7rem; }
.motiq-grid .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.motiq-grid .wp-block-post-excerpt { font-size: .85rem; color: var(--wp--preset--color--contrast-2); }
.motiq-grid .wp-block-post-date,
.motiq-grid .wp-block-post-author { font-size: .78rem; color: var(--wp--preset--color--muted); }

/* ---- Imagem de capa do artigo ---- */
.wp-block-post-featured-image img { border-radius: 14px; }

/* ---- Caixa de destaque (use grupo com a classe "motiq-callout") ---- */
.motiq-callout {
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
  border-left: 3px solid var(--wp--preset--color--primary);
  border-radius: 13px;
  padding: 20px 22px;
}

/* ---- Faixa de newsletter (grupo com a classe "motiq-newsletter") ---- */
.motiq-newsletter {
  background: linear-gradient(135deg, #0D1B4B, #13265E);
  border-radius: 20px;
  padding: 44px 40px;
  color: #fff;
}
.motiq-newsletter :is(h1,h2,h3,p) { color: #fff; }
.motiq-newsletter .wp-block-button__link { background: #fff; color: #0D1B4B; }

/* ---- Header / nav ---- */
.motiq-header { border-bottom: 1px solid var(--wp--preset--color--border); }

/* ---- Conteúdo de leitura mais respirável ---- */
.wp-block-post-content p { line-height: 1.75; }
.wp-block-post-content h2 { margin-top: 2.2rem; }
