.smallPostGrid {
  padding: 60px 0;
  width: 100%;
}

.smallPostGrid_header {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.smallPostGrid_heading {
  color: var(--Black);
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 500;
  margin: 0;
}

.smallPostGrid_viewAll {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--Ink-Black, #1c1c1c);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.smallPostGrid_viewAll:hover {
  color: var(--Orange);
}

.smallPostGrid_viewAll svg {
  transition: transform 0.3s ease;
}

.smallPostGrid_viewAll:hover svg {
  transform: translateX(5px);
}

.smallPostGrid_grid {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.smallPostGrid_item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  padding-bottom: 20px;
}

.smallPostGrid_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.smallPostGrid_imageLink {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.smallPostGrid_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.smallPostGrid_content {
  padding: 10px;
  padding-top: 0;
}

.smallPostGrid_categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.smallPostGrid_category {
  position: relative;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  margin-left: 17px;
}

.smallPostGrid_category::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -17px;
  width: 10px;
  height: 10px;
  border-radius: 1000px;
  background: var(--Orange);
}

.smallPostGrid_title {
  margin: 0 0 10px;
}

.smallPostGrid_title a {
  color: var(--Ink-Black, #1c1c1c);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.smallPostGrid_title a:hover {
  color: var(--Orange);
}

.smallPostGrid_excerpt {
  margin-bottom: 20px;
  color: var(--Ink-Black, #1c1c1c);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: normal;
}

.smallPostGrid_readMore {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.smallPostGrid_readMore svg {
  width: 25px;
  height: 25px;
}

@media (max-width: 1024px) {
  .smallPostGrid_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .smallPostGrid_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .smallPostGrid_heading {
    font-size: 32px;
  }

  .smallPostGrid_grid {
    grid-template-columns: 1fr;
  }
}
