.post-categories {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.post-categories .post-category {
  border-radius: 12px;
  border: 1px solid #ffffff1a;
  font-size: 0.75rem;
  padding: 7px 10px;
  line-height: 1;
  color: #fff;
}
.post-categories .post-category.active,
.post-categories .post-category:hover {
  background-color: #ffffff1a;
}
.post-list {
  max-width: 950px;
  display: grid;
  grid-template-columns: 1fr;
}
.post-list > .post-item:first-child {
  border-top: 1px solid #ffffff1a;
}
.post-item-wrapper {
  position: relative;
  width: 100%;
}
.post-item-wrapper .share {
  position: absolute;
  top: 32px;
  right: 0;
}
html[lang="ar-eg"] .post-item-wrapper .share{
  left: 0;
  right: unset;
}
.post-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
  gap: 30px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #ffffff1a;
  border-radius: 0;
}
.post-image {
  width: 100%;
  min-width: 166px;
  max-width: 166px;
  height: 104px;
}
.post-content {
  min-height: 104px;
}
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-title-box {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.post-title {
  display: flex;
  flex-flow: column;
}
.post-title img {
  width: 24px;
  height: 24px;
}
.post-content h3 {
  text-align: left;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 8px;
  max-width: calc(100% - 24px);
}
.post-content p {
  color: #919eab;
  font-size: 14px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[lang="ar-eg"] .post-content p,html[lang="ar-eg"] .post-content h3{
  text-align: right;
}
.post-item-top {
  position: relative;
  display: flex;
  flex-flow: column;
  height: 560px;
}
.post-item-top:after {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 102.99%);
  pointer-events: none;
}
.post-item-top > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-item-top .post-content {
  z-index: 2;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 24px 36px;
  gap: 16px;
}
.post-item-top .post-title-box {
  display: flex;
  flex-flow: column;
  gap: 4px;
}
.post-item-top .post-content h3 {
  font-size: 2rem;
}
.post-item-top .post-content p {
  color: #fff;
}
.post-item-top .post-button * {
  color: #000;
  margin: 0;
}
html[lang="ar-eg"] .post-item-top .post-button img{
  transform: rotate(180deg);
}
.post-item-top .post-button {
  display: flex;
  justify-content: flex-start;
  width: max-content;
  background: #fff;
  color: #000;
  padding: 13px 16px;
}
.post-item-top .post-button h5 {
  font-size: 0.875rem;
}

@media (max-width: 850px) {
  .post-categories {
    gap: 8px;
  }
  .post-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .post-image {
    max-width: 100%;
    height: 180px;
  }
  .post-content h3 {
    font-size: 1.125rem;
    max-width: 100%;
  }
  .post-content {
    min-height: unset;
  }
  .post-item-top {
    height: 385px;
  }
  .post-item-top .post-content h3 {
    font-size: 1.5rem;
  }
  .post-item-top .post-content {
    padding: 12px;
  }
}
