/*
Theme Name: Faixa a Faixa
Theme URI: https://faixaafaixa.com.br
Author: Faixa a Faixa
Author URI: https://faixaafaixa.com.br
Description: Tema editorial oficial do portal Faixa a Faixa — Música, Cultura Pop, Eventos, Cinema & Séries e Entretenimento.
Version: 1.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faixa-a-faixa
*/

* { box-sizing: border-box; }
html, body {
  width: 100% !important;
  max-width: 100% !important;
  font-family: 'Inter', sans-serif;
  background-color: #FFFFFF !important;
  color: #141414 !important;
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

/* FORÇA LARGURA TOTAL NA PÁGINA DO POST / ARTIGO (ANULA CONTAINER ESTREITO DO WORDPRESS) */
body.single,
body.single-post,
article.post,
article.type-post,
.single-post article,
.site-main,
.entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.faixa-full-container {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Garantias explícitas da paleta institucional (#22487A, #141414, #FFFFFF) */
.bg-brand-blue { background-color: #22487A !important; }
.bg-brand-blueDark { background-color: #183459 !important; }
.bg-brand-black { background-color: #141414 !important; }
.bg-brand-gray { background-color: #F4F6F9 !important; }
.text-brand-blue { color: #22487A !important; }
.text-brand-black { color: #141414 !important; }
.border-brand-blue { border-color: #22487A !important; }
.border-brand-black { border-color: #141414 !important; }
.border-brand-border { border-color: #E2E7EE !important; }

.hover\:bg-brand-blue:hover { background-color: #22487A !important; }
.hover\:bg-brand-black:hover { background-color: #141414 !important; }
.hover\:text-brand-blue:hover { color: #22487A !important; }
.hover\:text-brand-black:hover { color: #141414 !important; }
.group:hover .group-hover\:text-brand-blue { color: #22487A !important; }

/* BLOQUEIO TOTAL DE ÍNDICE / SUMÁRIO ("Contents" / Table of Contents) DE QUALQUER PLUGIN */
#ez-toc-container,
[id^="ez-toc"],
[class*="ez-toc"],
.rank-math-toc,
#rank-math-toc,
.wp-block-rank-math-toc-block,
.wp-block-yoast-seo-table-of-contents,
.wp-block-table-of-contents,
.wp-block-uagb-table-of-contents,
.wp-block-kadence-tableofcontents,
.aioseo-table-of-contents,
.lwptoc,
.toc_widget,
#toc_container,
.table-of-contents,
.simpletoc,
nav[aria-label*="Table of Contents"],
nav[aria-label*="Contents"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.font-logo {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.01em;
}
.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}
.ticker-move {
  display: inline-block;
  animation: ticker 34s linear infinite;
}
.ticker-wrap:hover .ticker-move {
  animation-play-state: paused;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.card-zoom img {
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card-zoom:hover img {
  transform: scale(1.04);
}

@keyframes eqBar {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}
.eq-playing span:nth-child(1) { animation: eqBar 0.55s infinite ease-in-out; }
.eq-playing span:nth-child(2) { animation: eqBar 0.4s infinite ease-in-out 0.15s; }
.eq-playing span:nth-child(3) { animation: eqBar 0.65s infinite ease-in-out 0.25s; }
.eq-playing span:nth-child(4) { animation: eqBar 0.45s infinite ease-in-out 0.1s; }

/* Formatação limpa para leitura da matéria em tela larga */
.article-content {
  width: 100% !important;
  max-width: 100% !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.article-content > * {
  max-width: 100% !important;
}
.article-content p {
  margin-bottom: 1.45rem;
}
.article-content img,
.article-content figure,
.article-content video {
  max-width: 100% !important;
  height: auto;
}

.article-content iframe {
  max-width: 100% !important;
}

/* Correção de proporção (16:9) para YouTube e outros vídeos incorporados */
.wp-block-embed-youtube .wp-block-embed__wrapper,
.wp-has-aspect-ratio .wp-block-embed__wrapper,
.faixa-video-embed {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 56.25% !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 1.5rem 0 !important;
}

.wp-block-embed-youtube .wp-block-embed__wrapper iframe,
.wp-has-aspect-ratio .wp-block-embed__wrapper iframe,
.faixa-video-embed iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* Correção de altura para players do Spotify (sem espaço vazio embaixo) */
.wp-block-embed-spotify,
.wp-block-embed-spotify .wp-block-embed__wrapper {
  width: 100% !important;
  padding-bottom: 0 !important;
  height: auto !important;
  margin: 1.25rem 0 !important;
}

.wp-block-embed-spotify iframe,
.article-content iframe[src*="open.spotify.com"] {
  position: static !important;
  width: 100% !important;
  height: 152px !important;
  min-height: 152px !important;
  border-radius: 12px !important;
}
.article-content h2,
.article-content h3 {
  font-weight: 800;
  color: #141414;
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  line-height: 1.25;
}
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content blockquote {
  border-left: 4px solid #22487A;
  padding-left: 1.1rem;
  margin: 1.6rem 0;
  font-style: italic;
  color: #374151;
}
.article-content a {
  color: #22487A;
  text-decoration: underline;
  font-weight: 600;
}
