/* =========================================================
   BLOG – LISTAGEM
========================================================= */

body.blog-page {
  background-color: var(--cinza-claro);
}

.blog-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: var(--branco);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.blog-list h1 {
  font-family: var(--fonte-titulo);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.blog-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2.5rem;
}

/* GRID DOS ARTIGOS */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* CARD DO ARTIGO */

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* IMAGEM DO ARTIGO */

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* CONTEÚDO DO CARD */

.blog-content {
  padding: 1.5rem;
  flex: 1;
}

.blog-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cor-principal);
  margin-bottom: 0.5rem;
}

.blog-card h2 {
  font-family: var(--fonte-titulo);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.blog-card h2 a {
  color: var(--texto-escuro);
  text-decoration: none;
}

.blog-card h2 a:hover {
  text-decoration: underline;
}

.blog-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.7rem;
}

.blog-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

.blog-read-more {
  margin-top: auto;
  font-weight: 600;
  color: var(--cor-principal);
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--cor-principal);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* =========================================================
   ARTIGO – MODO LEITURA
========================================================= */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  line-height: 1.8;
  background: var(--cinza-claro);
  border-radius: 20px;
}

.article h1 {
  font-family: var(--fonte-titulo);
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

.article-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 2rem;
}

.article h2 {
  font-family: var(--fonte-titulo);
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}

.article p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1.2rem;
}

/* =========================================================
   LISTA DE SINAIS
========================================================= */

.signs-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 30px;
  counter-reset: sign-counter;
}

.signs-list li {
  counter-increment: sign-counter;
  padding: 15px 15px 15px 50px;
  margin-bottom: 12px;
  background: #f8f9fa;
  border-left: 4px solid #008B6F;
  border-radius: 0 8px 8px 0;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.signs-list li::before {
  content: counter(sign-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #008B6F;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

/* =========================================================
   CTA DO ARTIGO
========================================================= */

.article-cta {
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  max-width: 800px;
}

.article-cta.psicologia { background: var(--rosa-pastel); }
.article-cta.psicopedagogia { background: var(--lilas-pastel); }
.article-cta.aba { background: var(--azul-pastel); }
.article-cta.neuro { background: var(--verde-pastel); }

/* =========================================================
   NOTA PROFISSIONAL
========================================================= */

.professional-note {
  margin: 2.5rem 0;
  padding: 1.8rem;
  background: #f0f9ff;
  border-left: 4px solid #008B6F;
  border-radius: 0 8px 8px 0;
}

.professional-note h3 {
  color: #008B6F;
  font-size: 1.2rem;
  display: flex;
  gap: 8px;
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 768px) {
  .blog-list {
    padding: 2rem 1rem;
  }

  .blog-list h1 {
    font-size: 1.8rem;
  }

  .article {
    padding: 2rem 1rem;
  }

  .article h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .blog-card h2 {
    font-size: 1.25rem;
  }

  .blog-image img {
    height: 180px;
  }
}
