.post_card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-decoration: none;
  background: #fff;
}
.post_card:hover .post_card_thumb img {
  transform: scale(1.04);
  filter: brightness(0.9);
}

.post_card_thumb {
  width: 100%;
  aspect-ratio: 410.67/324;
  background: #f4f4f5;
  border: 0.5px solid #e7e7ea;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.post_card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.post_card_content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.post_card_top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post_card_cat {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: #434351;
  text-transform: uppercase;
}

.post_card_title {
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  color: #1a1a22;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post_card_date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: #757585;
}
.post_card_date .post_card_dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #757585;
  display: inline-block;
  flex-shrink: 0;
}

.posts_grid_section {
  padding: 48px 0 80px;
}
.posts_grid_section .posts_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px;
}

.posts_grid_outer {
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-right: calc(50% - 50vw);
}
.posts_grid_outer::-webkit-scrollbar {
  display: none;
}
.posts_grid_outer .posts_grid {
  display: flex;
  grid-template-columns: unset;
  gap: 24px;
  width: max-content;
  padding-right: calc(50vw - 50% + 24px);
}
.posts_grid_outer .post_card {
  width: 410px;
  flex-shrink: 0;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  justify-content: center;
}

.pagination_btn {
  width: 46px;
  height: 46px;
  background: #f4f4f5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.pagination_btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.pagination_btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.pagination_page {
  min-width: 48px;
  height: 46px;
  background: #f4f4f5;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: #1a1a22;
  text-decoration: none;
}
.pagination_page.current {
  background: #14141a;
  color: #f7f7f8;
}

.pagination_ellipsis {
  min-width: 48px;
  height: 46px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: #1a1a22;
}

@media screen and (max-width: 1281px) {
  .posts_grid_section .posts_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .posts_grid_section .posts_grid {
    grid-template-columns: 1fr;
  }
  .posts_grid_outer .post_card {
    width: 280px;
  }
}
