@import url("variables.css");

#blog-feed {
  margin: 20px auto;
  padding: 20px;
  max-width: 1200px;
}

#blog-feed h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

#thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

.thumbnail {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.thumbnail img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.thumbnail-content,
.thumbnail-title {
  padding: 15px;
}

.thumbnail-body {
  text-decoration: none;
}

.thumbnail-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
  font-weight: bold;
}

.thumbnail-description {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.thumbnail-image {
  text-decoration: none;
  color: black;
}

.thumbnail-link {
  text-decoration: none;
}
.thumbnail-link p {
  color: black;
}
