:root {
  --vermelho-principal: #A61919;
  --vermelho-escuro: #6E0E0E;
  --vermelho-profundo: #4A0000;
  --amarelo: #FFD84D;
  --bege: #F5E6C8;
  --texto: #1A0000;
}

body {
  margin: 0;
  font-family: "Georgia", serif;
  background-color: var(--bege);
  color: var(--texto);
  line-height: 1.6;
}

.topo {
  background: var(--vermelho-profundo);
  padding: 20px;
}

.topo-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.logo-area img {
  max-height: 180px;
  height: auto;
  width: auto;
  display: block;
}

.titulo-area {
  flex: 1;
  color: white;
}

.titulo-area h1 {
  font-size: 32px;
  margin-bottom: 10px;
  border-bottom: 4px solid var(--amarelo);
  display: inline-block;
  padding-bottom: 5px;
}

.titulo-area p {
  font-size: 18px;
  font-weight: bold;
  color: var(--amarelo);
}

.banner {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background-color: var(--vermelho-escuro);
}

.titulo-site h1 {
  margin: 10px 0 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

main {
  flex: 3;
  min-width: 0;
}

.sidebar {
  flex: 1;
  min-width: 250px;
  background: var(--vermelho-principal);
  color: white;
  padding: 20px;
}

.sidebar h3 {
  color: var(--amarelo);
  border-bottom: 2px solid var(--amarelo);
  padding-bottom: 5px;
}

.sidebar a {
  color: var(--dourado);
  font-weight: bold;
}

.card-post {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 25px;
  border-left: 10px solid var(--vermelho-principal);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card-post h3 a {
  text-decoration: none;
  color: var(--vermelho-profundo);
}

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

.post {
  background: white;
  padding: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.post h1 {
  margin-bottom: 10px;
  border-bottom: 4px solid var(--vermelho-principal);
  padding-bottom: 10px;
}

.post small {
  display: block;
  margin-bottom: 20px;
  color: #666;
}

.share a {
  display: inline-block;
  padding: 10px 15px;
  margin: 5px 5px 0 0;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  color: white;
}

.share a:nth-child(2) { /* Facebook */
  background: #1877F2;
}

.share a:nth-child(3) { /* Twitter */
  background: #000000;
}

.share a:nth-child(4) { /* Instagram */
  background: #C13584;
}

.share a:hover {
  opacity: 0.85;
}


footer {
  background: var(--vermelho-profundo);
  color: var(--amarelo);
  text-align: center;
  padding: 25px 20px;
  font-weight: bold;
  letter-spacing: 0.5px;
  border-top: 4px solid var(--amarelo);
}

footer p,
footer a {
  color: var(--amarelo);
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {

  body {
    font-size: 16px;
  }

  .titulo-site h1 {
    font-size: 22px;
  }

  .card-post {
    padding: 10px;
  }

  .share a {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }

  .banner {
    width: 100%;
    height: auto;
  }
}

.paginacao {
  margin-top: 30px;
  padding: 15px;
  text-align: center;
  background: white;
  border-top: 3px solid var(--vermelho-principal);
}

.paginacao a {
  margin: 0 15px;
  font-weight: bold;
  color: var(--vermelho-principal);
  text-decoration: none;
}

.leia-mais {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: white;
  background: var(--vermelho-principal);
  padding: 6px 12px;
  text-decoration: none;
  transition: 0.2s ease;
}

.leia-mais:hover {
  background: var(--vermelho-escuro);
}

.topo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--vermelho-escuro);

  padding: 60px 20px;
  text-align: center;
  color: white;
}

.titulo-site h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.titulo-site p {
  font-size: 18px;
  font-weight: bold;
  color: var(--dourado);
}

@media (max-width: 800px) {
  .topo-container {
    flex-direction: column;
    text-align: center;
  }

  .logo-area img {
    max-height: 140px;
  }

  .titulo-area h1 {
    font-size: 22px;
  }
}

a {
  color: var(--vermelho-principal);
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  main {
    width: 100%;
  }

  .sidebar {
    width: 100%;
    margin-top: 25px;
  }
}

@media (max-width: 600px) {

  body {
    font-size: 16px;
  }

  .titulo-area h1 {
    font-size: 20px;
  }

  .card-post {
    padding: 15px;
  }

  .post {
    padding: 20px;
  }

  .share a {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }
}

.home-link {
  text-decoration: none;
  color: white;
}

.home-link:hover {
  text-decoration: underline;
}

.voltar-home a {
  font-size: 14px;
  color: var(--vermelho-principal);
  text-decoration: none;
}

.voltar-home a:hover {
  text-decoration: underline;
}

.post-image {
  width: 100%;
  height: auto;
  margin: 20px 0;
}

.sidebar-separador {
  border: none;
  border-top: 2px solid var(--amarelo);
  margin: 25px 0;
}

.sidebar-destaque h3 {
  color: var(--amarelo);
  margin-bottom: 10px;
}

.btn-manifesto {
  display: inline-block;
  background: var(--vermelho-escuro);
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  text-decoration: none;
  margin-top: 10px;
  border: 2px solid var(--amarelo);
}

.btn-manifesto:hover {
  background: var(--vermelho-principal);
  color: white;
  border-color: white;
}
