/*
Theme Name: Notícia Clean
Author: Notícia Clean
Version: 1.2.4
Description: Tema de portal de notícias minimalista e clean, com home em feed, hero em carrossel e seções por categoria.
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-menu, featured-images, custom-logo, flexible-header, translation-ready, performance

/* ==========================================================
   Titulos (H1 a H6) padrao do conteudo - centralizados com linha verde
   (titulos com estilo inline sao ignorados para nao duplicar a linha)
   ========================================================== */
.entry-content :is(h1,h2,h3,h4,h5,h6):not([style]) {
  text-align: center;
  color: #080808;
  font-weight: 700;
  line-height: 1.25;
  margin: 35px 0 28px;
}

.entry-content :is(h1,h2,h3,h4,h5,h6):not([style])::after {
  content: "";
  display: block;
  max-width: 70%;
  background: #006B4F;
  margin: 22px auto 0;
}

/* Tamanhos e linha por nivel - desktop */
.entry-content h1:not([style]) { font-size: 36px; }
.entry-content h1:not([style])::after { width: 400px; height: 5px; }

.entry-content h2:not([style]) { font-size: 32px; }
.entry-content h2:not([style])::after { width: 360px; height: 5px; }

.entry-content h3:not([style]) { font-size: 27px; }
.entry-content h3:not([style])::after { width: 300px; height: 4px; margin-top: 18px; }

.entry-content h4:not([style]) { font-size: 23px; }
.entry-content h4:not([style])::after { width: 240px; height: 4px; margin-top: 16px; }

.entry-content h5:not([style]) { font-size: 20px; margin: 28px 0 22px; }
.entry-content h5:not([style])::after { width: 180px; height: 3px; margin-top: 14px; }

.entry-content h6:not([style]) { font-size: 18px; margin: 28px 0 22px; }
.entry-content h6:not([style])::after { width: 140px; height: 3px; margin-top: 12px; }

/* Tablet */
@media (max-width: 900px) {
  .entry-content h1:not([style]) { font-size: 32px; }
  .entry-content h2:not([style]) { font-size: 28px; }
  .entry-content h3:not([style]) { font-size: 24px; }
  .entry-content h4:not([style]) { font-size: 21px; }
}

/* Celular */
@media (max-width: 600px) {
  .entry-content :is(h1,h2,h3,h4):not([style]) { margin: 28px 0 22px; }
  .entry-content h1:not([style]) { font-size: 28px; }
  .entry-content h2:not([style]) { font-size: 25px; }
  .entry-content h3:not([style]) { font-size: 22px; }
  .entry-content h4:not([style]) { font-size: 19px; }
  .entry-content h5:not([style]) { font-size: 17px; }
  .entry-content h6:not([style]) { font-size: 16px; }
  .entry-content :is(h1,h2):not([style])::after { height: 4px; margin-top: 16px; }
}
