#blog-header {
  text-align: center;
  margin: 40px auto 20px;
  padding: 0 20px;
  max-width: 900px;
  animation: fadeIn 1s ease forwards;
}

#blog-header h1 {
  font-size: 2em;
  color: #0056b3;
  margin-bottom: 10px;
}

#blog-header p {
  font-size: 1.1em;
  color: #444;
}

#blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@media (max-width: 1024px) {
  #blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #blog-cards {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  padding: 15px;
}

.blog-card-content h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #0056b3;
  cursor: pointer;
}

.blog-card-content p {
  font-size: 0.95em;
  color: #444;
}

#blog-full {
  margin: 10px auto;
  padding: 10px;
  max-width: 800px;
  background: #fff;
  border-radius: 8px;
  animation: fadeIn 0.5s ease forwards;
}

#blog-full img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  object-fit: contain;
}

#blog-back {
  margin: 30px;
  display: block;
  padding: 12px;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#blog-back:hover {
  background-color: red;
}

.share-section {
  margin-top: 40px;
  text-align: center;
}

.share-section h3 {
  font-size: 1.3em;
  color: #0056b3;
  margin-bottom: 15px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.share-buttons a {
  font-size: 1.5em;
  color: #333;
  background: #eee;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.share-buttons a:hover {
  transform: scale(1.1);
  background: #0056b3;
  color: #fff;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

#ver-mas-btn {
  margin: 30px auto;
  padding: 12px 24px;
  background: #0056b3;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  transition: background 0.3s ease;
}

#ver-mas-btn:hover {
  background: red;
}