.first__post {
  padding: 0 0 56px 0;
}
.first__post .container .item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.first__post .container .item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
@media screen and (max-width: 1367px) {
  .first__post .container .item img {
    height: 400px;
    object-fit: cover;
    margin: 0 auto;
    display: flex;
  }
}
.first__post .container .item h3 a {
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 32px;
  line-height: 150%;
  text-transform: uppercase;
  color: #212121;
  text-decoration: none;
}
.first__post .container .item p {
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #212121;
  text-align: justify;
}
.first__post .container .item .time__line {
  display: flex;
  justify-content: flex-end;
  gap: 0;
}

.first__post .container .item .time__line p {
  margin: 0;
  font-family: Inter;
  font-weight: 400;
  font-size: 12px;
  line-height: 136%;
  color: #9e9e9e;
}

.first__post .container .item .time__line p + p::before {
  content: "|";
  margin: 0 8px;
  color: #9e9e9e;
}

.articles__post {
  padding: 0px 0 56px 0;
}
.articles__post .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.articles__post .category__articles {
  display: flex;
  gap: 32px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #5983b4 0%, #f08bbc 100%);
}
.articles__post .category__articles h2 {
  padding: 10px 24px;
}
.articles__post .category__articles h2 a {
  text-decoration: none;
  padding: 10px 0px;
  color: #ffffff;
  font-family: "1FTV VIP Classico URW";
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  text-transform: uppercase;
}

.category__articles h2 a.active {
  font-family: "1FTV VIP Classico URW";
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  transition: background 0.5s ease;
  color: #ffffff !important;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 0px;
}
.category__articles h2 a:hover {
  opacity: 0.8;
}

.category__articles__post {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.category__articles__post .post {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 32px;
  align-items: center;
}
.category__articles__post .post .image {
  width: 100%;
  height: 249px;
}
.category__articles__post .post .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.category__articles__post .post .content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.category__articles__post .post .content h3 a {
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  text-transform: uppercase;
  color: #212121;
  text-decoration: none;
}
.category__articles__post .post .content p {
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #212121;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category__articles__post .post span {
  font-family: Inter;
  font-weight: 400;
  font-size: 12px;
  line-height: 136%;
  color: #212121;
}
.category__articles__post .post a {
  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #005e9a;
  text-transform: uppercase;
  text-decoration: none;
}
.category__articles__post .post a:hover {
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .first__post .container .item img {
    height: auto;
  }
  .articles__post .container {
    gap: 40px;
  }
  .category__articles__post .post {
   display: flex;
   flex-direction: column;
  }
  .articles__post .category__articles h2 {
    padding: 10px 0;
  }
  .first__post {
    padding: 0 20px 0 20px;
  }
  .first__post .container .item {
    gap: 16px;
  }
  .articles__post {
    padding: 40px 0 40px 0;
  }
  .articles__post .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .articles__post .container #paginationnew {
    margin-top: 0;
  }
  .articles__post .container .category__articles__post {
    margin-top: 40px;
  }
  .articles__post .category__articles {
    display: flex;
    gap: 10px;
    margin: 0 auto;
    align-items: center;
  }
  .articles__post .category__articles h2 a {
    font-size: 14px;
    padding: 0 6px;
  }

  .category__articles__post .post {
    gap: 15px;
  }
  .category__articles__post .post .image {
    height: 100%;
  }
  .category__articles__post .post .content h3 a {
    font-size: 16px;
  }
  .category__articles__post .post .content {
    gap: 10px;
  }
  .category__articles__post .post .content p,
  .first__post .container .item p {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
  .category__articles__post .post a {
    font-size: 14px;
  }
  .first__post .container .item h3 a {
    font-size: 20px;
  }
  .carousel-title-new {
    font-size: 16px !important;
  }
  .kien_thuc__title {
    margin-top: 20px;
    margin-bottom: 20px !important;
  }
  .expert-new[data-section="2"] {
    padding-bottom: 20px !important;
  }
}
