/* Last Posts Section Styles - Customizado */
.last-posts-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}

.last-posts-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.last-posts-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.last-post-item {
  width: 384px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  background: #fff;
  border: 1px solid #ddd;
  text-align: left;
  flex: 0 0 384px;
  max-width: 100%;
}

.last-post-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.last-post-thumb-link {
  display: block;
  overflow: hidden;
}

.last-post-thumb {
  width: 384px;
  height: 256px;
  display: block;
  object-fit: cover;
}

.last-post-content {
  padding: 1rem;
}


.last-post-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.last-post-title a {
  text-decoration: none;
  color: #333;
}

.last-post-title a:hover {
  color: #555;
}

.last-post-excerpt {
  font-size: 1rem;
  color: #666;
}

@media (max-width: 1400px) {
  .last-posts-inner {
    max-width: 100vw;
  }
  .last-posts-list {
    gap: 1rem;
  }
}

@media (max-width: 1400px) {
  .last-post-item {
    width: 26vw;
    flex: 0 0 26vw;
  }
}

@media (max-width: 800px) {
  .last-posts-list {
    flex-direction: column;
    align-items: center;
  }
  .last-post-item {
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
  }
  .last-posts-section{
    padding: 0;
  }
  .last-post-excerpt {
    display: none;
  }
  .last-post-title {
    font-size: 1rem;
  }
  .last-post-thumb {
    width: 100%;
    height: 240px;
  }
}
