.gia-cong-wrapper {
  max-width: 1240px;
  margin: auto;
  display: flex;
  gap: 40px;
  padding: 40px 0 80px 0;
  width: 100%;
}
.gia-cong-sidebar {
  width: 300px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.gia-cong-content {
  width: calc(100% - 300px - 40px);
}
.gia-cong-category-menu {
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gia-cong-category-menu a {
  display: block;
  color: #000;
  background: #ebebeb;
  padding: 8px 12px;
  border-radius: 6px;
}
.gia-cong-category-menu li.active a {
  background: #c1121f;
  color: #fff;
}
.gia-cong-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.gia-cong-item {
  width: calc(50% - 12px);
  background: #c1121f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
/* .gia-cong-item:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  background: #e7ecf0;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 100%);
} */
.gia-cong-thumb {
  width: 100%;
  display: block;
  position: relative;
  padding-top: 60%;
}
.gia-cong-thumb img {
  width: 100%;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}
.gia-cong-info {
  padding: 20px;
}
.gia-cong-title {
  margin-bottom: 8px;
}
.gia-cong-title a {
  color: #fff;
  font-size: 18px;
}
.gia-cong-excerpt {
  color: #fff;
  font-size: 13px;
  font-weight: 300;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.gia-cong-excerpt p:last-child {
  margin-bottom: 0;
}
.gia-cong-buttons {
  display: flex;
  gap: 12px;
  padding: 0 20px 20px;
}
.gia-cong-buttons a {
  font-size: 15px;
  padding: 6px 12px;
  min-width: 110px;
  align-items: center;
  justify-content: center;
}
.gia-cong-buttons a:first-child {
  display: inline-flex;
  background: #33449c;
  color: #fff;
}
.gia-cong-buttons a:last-child {
  display: inline-flex;
  background: #fff;
  color: #c1121f;
}

@media screen and (max-width: 1250px) {
  .gia-cong-wrapper {
    padding: 40px 5% 60px 5%;
  }
}

@media screen and (max-width: 1024px) {
  .gia-cong-wrapper {
    padding: 40px 5%;
  }
  .gia-cong-wrapper {
    flex-direction: column;
  }
  .gia-cong-sidebar {
    position: relative;
    width: 100%;
  }
  .gia-cong-content {
    width: 100%;
  }
  .gia-cong-category-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 600px) {
  .gia-cong-item {
    width: 100%;
  }
  .gia-cong-wrapper {
    gap: 24px;
  }
}
