/* --- ESTILOS GERAIS DAS PÁGINAS INTERNAS --- */

/* Variáveis de Tema */
:root {
  --page-accent: var(--color-pink);
  --page-bg: var(--color-bg);
  --page-shadow: 8px 8px 0px 0px var(--color-pink);
}

/* Classes para trocar o tema facilmente no HTML */
.theme-music {
  --page-accent: var(--color-pink);
  --page-bg: #fff6ce;
  --page-shadow: 8px 8px 0px 0px var(--color-pink);
}
.theme-cinema {
  --page-accent: var(--color-blue);
  --page-bg: #7c5133;
  --page-text: #fff;
  --page-shadow: 8px 8px 0px 0px var(--color-blue);
}
.theme-historia {
  --page-accent: #ff6b6b;
  --page-bg: #fff5f5;
  --page-shadow: 8px 8px 0px 0px #c92a2a;
}
.theme-lit {
  --page-accent: #af7c51;
  --page-bg: #fdfbf7;
  --page-shadow: 8px 8px 0px 0px #af7c51;
}
.theme-teatro {
  --page-accent: #ffe36c;
  --page-bg: #9199e2;
  --page-shadow: 8px 8px 0px 0px #ffe36c;
}

/* --- TEMA EVENTOS ATUALIZADO --- */
.theme-event {
  /* Cores mais claras para o tema de ondas */
  --page-accent: #a1a9eb; /* Azul céu suave para detalhes */
  --page-bg: #e1f5fe; /* Azul muito clarinho para o fundo base */
  --page-shadow: 8px 8px 0px 0px #a1a9eb;
}

.theme-colunas {
  --page-accent: #a78bfa;
  --page-bg: #ffffff;
  --page-shadow: 8px 8px 0px 0px #7c3aed;
}


@font-face {
    font-family: 'Degular';
    src: url('./fonts/Degular/Degular/Degular-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


@font-face {
  font-family: 'Lemon Milk';
  /* O nome deve ser exatamente como está na pasta: LEMONMILK-Light.woff2 */
  src: url('../assets/fonts/lemonmilk/LEMONMILK-Light.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* --- CORREÇÃO DE VAZAMENTO E QUALIDADE --- */

/* Força a imagem a respeitar o container pai no mobile */
.feat-img img, 
.card-img-box img
 {
  width: 100% !important;
  max-width: 100%;
  height: 100%;
  object-fit: cover; /* Mantém o aspecto sem achatar */
  object-position: center;
  display: block;
}

.featured-article, .news-card-simple {
    position: relative;
    z-index: 10; /* Garante que o card esteja na frente de qualquer linha de design */
    pointer-events: auto !important;
}
/* Garante que o container da imagem não tenha overflow */
.feat-img, 
.card-img-box {
  overflow: hidden;
  display: flex; /* Melhora o alinhamento interno */
  align-items: center;
  justify-content: center;
}

/* Ajuste específico para o Mobile (Media Query 768px) */
@media (max-width: 768px) {
  .feat-img, .card-img-box {
    height: 250px; /* Altura fixa para manter o design de revista */
    width: 100%;
  }
  
  /* Se houver figuras do WordPress (Gutenberg) elas também devem obedecer */
  figure.wp-block-image {
    margin: 0;
    width: 100% !important;
  }
}

.is-clickable {
  position: relative;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}




span{
      font-family: 'Lemon Milk';
}
/* Classes para trocar o tema facilmente no HTML */
.theme-music {
  --page-accent: var(--color-pink);
  --page-bg: #fff6ce;
  --page-shadow: 8px 8px 0px 0px var(--color-pink);
}
.theme-cinema {
  --page-accent: var(--color-blue);
  --page-bg: #7c5133;
  --page-text: #fff;
  --page-shadow: 8px 8px 0px 0px var(--color-blue);
}
.theme-historia {
  --page-accent: #ff6b6b;
  --page-bg: #fff5f5;
  --page-shadow: 8px 8px 0px 0px #c92a2a;
}
.theme-lit {
  --page-accent: #af7c51;
  --page-bg: #fdfbf7;
  --page-shadow: 8px 8px 0px 0px #af7c51;
}
.theme-teatro {
  --page-accent: #ffe36c;
  --page-bg: #9199e2;
  --page-shadow: 8px 8px 0px 0px #ffe36c;
}

.theme-event {
  --page-accent: #a1a9eb; 
  --page-bg: #e1f5fe; 
  --page-shadow: 8px 8px 0px 0px #a1a9eb;
}

.theme-colunas {
  --page-accent: #a78bfa;
  --page-bg: #ffffff;
  --page-shadow: 8px 8px 0px 0px #7c3aed;
}

/* --- HEADER DA CATEGORIA --- */
.category-header {
  padding: 80px 0;
  border-bottom: 4px solid #000;
  background-color: var(--page-bg);
  position: relative;
  overflow: hidden;
}

/* ... (seções de background omitidas para brevidade, permanecem iguais) ... */

/* --- CARDS E CONTEÚDO (Aplicação da Degular e Correção de Case) --- */

.feat-info p {
  font-family: "Degular", sans-serif; /* Trocado de Inter para Degular */
  font-size: 1.1rem;
  line-height: 1.6;
  border-left: 4px solid #000;
  padding-left: 15px;
  margin-bottom: 20px;
  text-transform: none !important; /* Remove caixa alta se houver herança */
}

.card-body p {
  font-family: "Degular", sans-serif; /* Trocado para Degular */
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
  text-transform: none !important;
}

/* --- PÁGINA DA NOTÍCIA (SINGLE) --- */

.article-body p {
  font-family: "Degular", sans-serif; /* Trocado de Inter para Degular */
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #333;
  text-transform: none !important; /* Resolve o problema das maiúsculas no texto */
}

/* Correção específica para Itálicos dentro do corpo do texto */
.article-body i, 
.article-body em {
  font-family: "Degular", sans-serif;
  font-style: italic;
  text-transform: none !important;
}

.article-lead {
  font-family: "Degular", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: #555;
  border-left: 5px solid var(--color-pink);
  padding-left: 20px;
  text-transform: none !important; /* Resolve as maiúsculas no Lead */
}

.article-quote {
  font-family: "Playfair Display", serif; /* Mantido Playfair para charme de citação */
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  margin: 40px 0;
  padding: 20px;
  background: #f9f9f9;
  border-left: 5px solid #000;
  text-transform: none !important;
}

.article-meta {
  font-family: "Degular", sans-serif; /* Meta dados em Degular fica bem moderno */
  font-size: 0.9rem;
  text-transform: uppercase; /* Metas geralmente ficam bem em uppercase, mas você pode mudar para 'none' */
  display: flex;
  gap: 15px;
}
/* --- HEADER DA CATEGORIA --- */

.category-header {
  padding: 80px 0;
  border-bottom: 4px solid #000;
  background-color: var(--page-bg);
  position: relative;
  overflow: hidden;
}

.theme-cinema .category-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cat-header-content {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 10;
}

.bg-noticias {
  background-color: #f8f0ce;
}

.cat-icon-box {
  padding: 20px;
  border: 4px solid #000;
  background-color: var(--page-accent);
  box-shadow: 4px 4px 0px 0px #000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
}

.cat-icon-box i {
  width: 40px;
  height: 40px;
}

.cat-title h1 {
  font-family: 'Lemon Milk';
  font-size: 4rem;
  
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  color: #56331b;
}

.cat-title h4 {
  color: #56331b;
}
.cat-title h3 {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
  color: #56331b;
}

/* Texto decorativo gigante no fundo */
.bg-text-deco {
  position: absolute;
  bottom: -20px;
  right: 0;
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 900;
  opacity: 0.05;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- GRID DE NOTÍCIAS (CATEGORIA) --- */
.category-content {
  padding: 60px 0;
  background-color: var(--page-bg);
}

.text-cine {
  display: flex;
  font-size: 4rem;
  color: #fff;
  gap: 10px;
  color: #56331b;
}

.text-stroke-cine {
  -webkit-text-stroke: 2px var(--color-blue);
  color: transparent;
  display: inline-block;
}
.tv {
  color: var(--color-blue);
}
.margin-line-lit {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100px;
  width: 1px;
  background-color: rgba(252, 165, 165, 0.5);
  border-right: 1px solid rgba(252, 165, 165, 0.3);
  pointer-events: none;
  height: 1891px;
}

/* --- BACKGROUNDS ESPECÍFICOS --- */

#teatro {
  background-color: #9199e2;
  background-image: radial-gradient(#4862aa 2px, transparent 2px);
  background-size: 30px 30px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

#literatura {
  background-image: linear-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 100% 2rem;
  pointer-events: none;
}

#about {
  padding: 80px 0;
  background-color: #fff;
  background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
  background-size: 20px 20px;
}

#historia {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #fff0f0;
  background-image: repeating-linear-gradient(
    90deg,
    #ffffff,
    #ffffff 20px,
    #fff0f0 20px,
    #fff0f0 40px
  );
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

#cinema {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #fff;
  --tamanho-quadrado: 180px;
  background-image: conic-gradient(
    #ffcce6 90deg,
    #ff99cc 90deg 180deg,
    #ffb3da 180deg 270deg,
    #ff85c24d 270deg
  );
  background-size: var(--tamanho-quadrado) var(--tamanho-quadrado);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

#music {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #fff;
  background-image:
    url(../assets/icone-revista-histeria_8.png),
    url(../assets/icone-revista-histeria_7.png),
    url(../assets/icone-revista-histeria_11.png),
    linear-gradient(rgba(77, 208, 225, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 208, 225, 0.2) 1px, transparent 1px);
  background-position:
    10% 20%,
    90% 15%,
    5% 85%,
    0 0,
    0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size:
    150px,
    250px,
    180px,
    30px 30px,
    30px 30px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

/* --- BACKGROUND DE ESTRELAS 5 PONTAS (EVENTOS) --- */
#eventos {
  background-color: #8cceede6; /* Azul muito clarinho */

  /* Padrão de Estrela de 5 Pontas com espaçamento embutido no SVG */
  /* O viewBox 0 0 48 48 com o ícone centralizado (que tem aprox 24px) cria uma margem natural */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' width='48' height='48'%3E%3Cpath fill='%23ffffff' transform='translate(12,12)' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");

  background-repeat: repeat;

  /* Tamanho total do "bloco" da estrela + espaço */
  /* Aumentei para garantir que fiquem bem distribuídas */
  background-size: 80px 80px;

  background-position: center;

  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

#colunas {
  background-color: var(--page-bg);
  background-image: radial-gradient(
    circle,
    rgba(167, 139, 250, 0.25) 3px,
    transparent 3.5px
  );
  background-size: 40px 40px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

/* --- CARDS --- */

.featured-article {
  display: grid;
 
  background: #fff;
  border: 3px solid #000;
  margin-bottom: 60px;
  box-shadow: var(--page-shadow);
  transition: transform 0.3s;
  cursor: pointer;
  color: #333;
}

.featured-article:hover {
  transform: translateY(-5px);
}

.feat-img {
  position: relative;
  border-right: 3px solid #000;
  overflow: hidden;
  height: 450px;
}

.feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.featured-article:hover .feat-img img {
  transform: scale(1.05);
}

.badge-float {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--page-accent);
  color: #000;
  padding: 5px 15px;
  font-weight: 800;
  text-transform: uppercase;
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000;
  font-size: 0.8rem;
  z-index: 2;
}

.feat-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 150;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 15px 0;
}

.feat-info p {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  border-left: 4px solid #000;
  padding-left: 15px;
  margin-bottom: 20px;
}

.btn-read {
  font-weight: 900;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Grid Menor */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card-simple {
  background: #fff;
  border: 2px solid #000;
  transition: transform 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  color: #333;
  box-shadow: 6px 6px 0px #c92a2a;
}

.theme-music .news-card-simple {
  box-shadow: 6px 6px 0px var(--color-pink);
}
.theme-cinema .news-card-simple {
  box-shadow: 6px 6px 0px var(--color-blue);
}
.theme-lit .news-card-simple {
  box-shadow: 6px 6px 0px #af7c51;
}
.theme-teatro .news-card-simple {
  box-shadow: 6px 6px 0px #ffe36c;
}
.theme-event .news-card-simple {
  box-shadow: 6px 6px 0px #a1a9eb; /* Sombra atualizada */
}
.theme-colunas .news-card-simple {
  box-shadow: 6px 6px 0px #7c3aed;
}

.theme .news-card-simple:hover {
  transform: translateY(-5px);
}

.card-img-box {
  height: 220px;
  border-bottom: 2px solid #000;
  overflow: hidden;
  position: relative;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card-simple:hover .card-img-box img {
  transform: scale(1.1);
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 150;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.2;
}

.card-body p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.card-meta {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed #ccc;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
}

/* --- PAGINAÇÃO --- */
.pagination-wrapper {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.page-btn {
  width: 45px;
  height: 45px;
  border: 2px solid #000;
  background: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}

.page-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.page-btn.active {
  background: #000;
  color: #fff;
}

/* --- PÁGINA DA NOTÍCIA (SINGLE) --- */
.article-nav-bar {
  position: sticky;
  top: 80px;
  background: #fff;
  border-bottom: 2px solid #000;
  padding: 10px 0;
  z-index: 90;
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.article-hero {
  height: 158%;
  position: relative;
  background: #000
  
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: #fff;
}

.article-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 150;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 4px 4px 0px #000;
}

.article-meta {
  font-family: "Courier Prime", monospace;
  font-size: 0.9rem;
  display: flex;
  gap: 15px;
}

.article-body-container {
  background: #fff;
  border: 2px solid #000;
  border-top: none;
  padding: 60px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  box-shadow: 10px 10px 0px #000;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.article-body p {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #333;
}

.article-lead {
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: #555;
  border-left: 5px solid var(--color-pink);
  padding-left: 20px;
}

.article-quote {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  margin: 40px 0;
  padding: 20px;
  background: #f9f9f9;
  border-left: 5px solid #000;
}

/* Responsivo para as novas páginas */
@media (max-width: 900px) {
  .featured-article {
    grid-template-columns: 1fr;
  }
  .feat-img {
    border-right: none;
    border-bottom: 3px solid #000;
    height: 300px;
  }
  .news-grid-3 {
    grid-template-columns: 1fr;
  }
  .cat-title h1 {
    font-size: 2.5rem;
    line-height: 45px;
  }
  .article-title {
    font-size: 2rem;
  }
  .article-body-container {
    padding: 30px;
    margin-top: 0;
    box-shadow: 5px 5px 0px #000;
  }
}

/* --- AJUSTES DE RESPONSIVIDADE PARA PÁGINAS INTERNAS --- */
@media (max-width: 768px) {
  .cat-header-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .cat-title h1 {
    font-size: 2.5rem;
  }
  .text-cine {
    font-size: 2.5rem;
    justify-content: center;
  }

  .featured-article {
    grid-template-columns: 1fr;
    margin: 0 15px 40px 15px;
  }
  .feat-img {
    border-right: none;
    border-bottom: 3px solid #000;
    height: 250px;
  }
  .feat-info h2 {
    font-size: 1.8rem;
  }

  .news-grid-3 {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .article-title {
    font-size: 2.2rem;
    padding: 0 15px;
            text-shadow: 1px 2px 0px #000
  }
  .article-hero {
    height: 350px;
  }
  .article-body-container {
    margin-top: 0;
    width: 95%;
    padding: 25px;
    box-shadow: 6px 6px 0px #000;
  }
  .article-quote {
    font-size: 1.3rem;
  }

  .margin-line-lit,
  .margin-line {
    display: none;
  }
}
@media(max-width: 425px){
    
.article-meta {
  font-family: "Courier Prime", monospace;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0px;
          text-shadow: 2px 4px 0px #000;

}

    .article-title {
font-size: 1.8rem; 
        padding: 0 0px; 
    }

}


