/* blog.css */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;600;800&display=swap');

body {
  font-family: 'Merriweather', 'Georgia', serif;
  background: #fcf8f3;
  color: #212022;
  font-size: 1.07rem;
  line-height: 1.82;
}

h1, h2, h3 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #735221;
}


h1 {
  font-size: 2.1rem;
  margin-top: 0.6em;
  font-weight: 800;
}

h2 {
  font-size: 1.18rem;
  margin-top: 2.5em;
  font-weight: 600;
  border-bottom: 1px solid #fae8c2;
  padding-bottom: 4px;
}

.blog-logo {
  display: block;
  width: 80px;           /* ← Tamanho fixo */
  height: auto;
  margin: 0 auto 24px auto;
  transition: transform 0.2s ease;
}

.blog-logo:hover {
  transform: scale(1.05);
}

}

.blog-title {
  text-align: center;
}

.blog-title span {
  display: block;      /* força ir para a linha de baixo */
}

/* recuo na primeira linha de cada parágrafo do conteúdo principal */
.main p {
  text-indent: 2em;   /* ajuste o valor até ficar do jeito que você gosta */
}

.container,
.blog-container {
  background: #fffefb;
  border-radius: 12px;
  box-shadow: 0 2px 10px #e0d7ca9a;
  padding: 28px 18px;
  max-width: 1100px;
  margin: 46px auto 56px auto;
}

.cta-intro {
  text-align: center;
  text-indent: 0 !important; /* Remove o recuo automático dos parágrafos */
  margin-top: 2.5em;
  margin-bottom: 0;
}

a.cta,
.cta {
  display: inline-block;
  width: auto;
  margin: 32px auto 0 auto;
  text-align: center;
  padding: 18px 40px;
  background: #12b0a5;
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 1.2em;
  font-weight: 600;
  font-family: 'Segoe UI', Arial, sans-serif;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.05),
    0 16px 32px rgba(0,0,0,0.32);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  transition: transform .18s ease-out, box-shadow .18s ease-out, background .18s;
}

a.cta:hover,
.cta:hover {
  background: #10a79d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.6),
    0 18px 40px rgba(0,0,0,0.38);
}

/* Listagem de posts na página inicial do blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.post-card {
  background: #fffefb;
  border-radius: 12px;
  box-shadow: 0 2px 10px #e0d7ca9a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card img {
  width: 100%;
  max-width: none;
  height: 320px;              /* Ou ajuste para o valor desejado */
  max-height: none;
  object-fit: cover;
  object-position: center center; /* Centraliza ponto focal */
  display: block;
  border-radius: 8px;
  box-shadow: 0 1px 7px #d1c8b2b0;
  background: #eceae6;
}

.post-card {
  height: auto; /* Garante que o card cresça junto com a imagem */
}

.post-card-content {
  padding: 18px 16px 20px;
}

.post-card-title {
  font-size: 1.18rem;
  margin: 0 0 8px;
}

.post-card-title a {
  color: #735221;
  text-decoration: none;
}

.post-card-title a:hover {
  text-decoration: underline;
}

.post-card-meta {
  font-size: 0.86rem;
  color: #8a7a5d;
  margin: 0 0 10px;
}

.post-card-excerpt {
  font-size: 0.96rem;
  margin: 0;
}

@media (max-width: 700px) {
  .blog-header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .blog-header-text {
    text-align: center;
  }
  
  .blog-logo-inline {
    max-width: 60px;
  }

@media (max-width: 700px) {
  .blog-logo {
    width: 80px;          /* ← Menor no mobile */
    margin-bottom: 20px;
  }

@media (max-width: 900px) {
  .container,
  .blog-container {
    max-width: 98vw;
    padding: 10vw 2vw;
  }

@media (max-width: 700px) {
  a.cta,
  .cta {
    width: 100%;
    padding: 18px;
  }
}
}
