/*=============== BLOG SECTION ===============*/
.blog {
  text-align: center;
  padding: 5rem 0;
}

.blog__description {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-color-light);
}

.blog__container {
  display: grid;
  gap: 2.5rem;
}

.blog__card {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(30, 4, 55, 0.5);
  transition: transform 0.4s ease;
}

.blog__card:hover {
  transform: translateY(-8px);
}

.blog__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog__data {
  padding: 1.5rem;
  text-align: left;
}

.blog__date {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 0.4rem;
}

.blog__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
  color: var(--title-color);
}

.blog__text {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.blog__button {
  font-size: var(--small-font-size);
  padding: 0.6rem 1.2rem;
}

/*=============== RESPONSIVE ===============*/
@media screen and (min-width: 768px) {
  .blog__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .blog__container {
    grid-template-columns: repeat(3, 1fr);
  }
}
