body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
}

.blog-header {
  background: #ffffff;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.voltar-home {
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
  font-weight: bold;
  color: #4caf50;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 30px;
}

.blog-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.blog-card:hover {
  transform: scale(1.02);
}

/* OVERLAY */
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.overlay-content {
  background: #fff;
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.blog-footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #666;
}


.article {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  background: #fff;
}

.article-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #333;
}

.post-date {
  font-size: 0.85rem;
  color: #777;
  margin: 6px 0;
}






/* ===== COOKIE CONSENT ===== */
#cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(30, 136, 229, 0.2);
  backdrop-filter: blur(6px);

  color: #0d47a1;
  font-size: 12px;

  padding: 8px 14px;
  border-radius: 10px;

  display: flex;
  align-items: center;
  gap: 10px;

  max-width: 460px;
  box-shadow: 0 4px 12px rgba(30,136,229,0.25);
  z-index: 99999;
}

#cookie-consent a {
  color: #1565c0;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 6px;
}

/* Aceitar */
#cookie-accept {
  background: #1e88e5;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  cursor: pointer;
}

/* Recusar */
#cookie-reject {
  background: transparent;
  color: #0d47a1;
  border: 1px solid #1e88e5;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
}

#cookie-accept:hover {
  background: #1565c0;
}

#cookie-reject:hover {
  background: rgba(30,136,229,0.1);
}

/* Mobile */
@media (max-width: 600px) {
  #cookie-consent {
    flex-direction: column;
    text-align: center;
    max-width: 90%;
  }
}



/* ===== COOKIE CONSENT ===== */
#cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(30, 136, 229, 0.2);
  backdrop-filter: blur(6px);

  color: #0d47a1;
  font-size: 12px;

  padding: 8px 14px;
  border-radius: 10px;

  display: flex;
  align-items: center;
  gap: 10px;

  max-width: 460px;
  box-shadow: 0 4px 12px rgba(30,136,229,0.25);
  z-index: 99999;
}

#cookie-consent a {
  color: #1565c0;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 6px;
}

/* Aceitar */
#cookie-accept {
  background: #1e88e5;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  cursor: pointer;
}

/* Recusar */
#cookie-reject {
  background: transparent;
  color: #0d47a1;
  border: 1px solid #1e88e5;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
}

#cookie-accept:hover {
  background: #1565c0;
}

#cookie-reject:hover {
  background: rgba(30,136,229,0.1);
}

/* Mobile */
@media (max-width: 600px) {
  #cookie-consent {
    flex-direction: column;
    text-align: center;
    max-width: 90%;
  }
}

