.hero-product {
  position: relative;
  width: 100%;
  padding: 48px 0;
  background: linear-gradient(114.95deg, #dff1ff 18.25%, #fde6e8 81.75%);
  overflow: hidden;
}

.khoahoc .title__kd {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.khoahoc .grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.khoahoc .grid-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.khoahoc .grid-item:hover {
  transform: translateY(-5px);
}

.khoahoc .grid-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.khoahoc .grid-item .content {
  padding: 20px;
}

.khoahoc .grid-item .content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.khoahoc .grid-item .content p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.khoahoc .grid-item .content .btn-detail {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.khoahoc .grid-item .content .btn-detail:hover {
  background: #0056b3;
}

@media (max-width: 1200px) {
  .khoahoc .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-product {
    height: auto;
    padding: 20px 0;
  }

  .hero-product .title h1 {
    font-size: 32px;
    padding: 0 20px;
  }

  .khoahoc {
    padding: 0 10px 10px 10px !important;
  }

  .khoahoc .title__kd {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .khoahoc .grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .khoahoc .grid-item .content h3 {
    font-size: 20px;
  }
}

/* ------------------------------------------------------ */

.khoahoc__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.khoahoc__title .line {
  height: 1px;
  background: linear-gradient(90deg, #0066b3 0%, #e31e24 100%);
  flex: 1;
  width: 100%;
}

.khoahoc__title h2 a {
  font-size: 32px;
  color: #0066b3;
  white-space: nowrap;
}

.khoahoc__item {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.khoahoc__item__img {
  flex: 1;
}

.khoahoc__item__img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.khoahoc__item__text {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex: 1;
}

.khoahoc__item__text h3 {
  font-size: 24px;
  color: #0066b3;
  margin-bottom: 20px;
}

.khoahoc__item__text p {
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
}

.btn-xemthem {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #6282b0 0%, #ca2c85 100%);
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: #005e9a;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  z-index: 0;
  transition: all 0.3s ease;
  width: auto;
  align-self: start;
}

.btn-xemthem::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: #fff;
  border-radius: 6px;
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-xemthem:hover {
  color: #ffffff;
  border: none;
}

.btn-xemthem:hover::before {
  background: linear-gradient(90deg, #6282b0 0%, #ca2c85 100%);
}

@media (max-width: 768px) {
  .khoahoc__item {
    flex-direction: column;
    gap: 20px;
  }

  .khoahoc__title h2 a {
    font-size: 24px;
  }
}

.kien_thuc {
  padding: 0 0 40px 0;
}

.kien_thuc__content > div {
  gap: 48px;
}

.kien_thuc__wrap {
  max-height: 700px;
  min-height: 700px;
  overflow-y: auto;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.kien_thuc__wrap::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #f5f5f5;
}

.kien_thuc__wrap::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
  scrollbar-width: thin;
}

.kien_thuc__wrap::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background-color: #e0e0e0;
}

.kien_thuc__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.kien_thuc__item__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kien_thuc__wrap .kien_thuc__item__img {
  width: 282px;
  height: auto;
}

.kien_thuc__item img {
  border-radius: 4px;
  object-fit: cover;
  width: 100%;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.pagination .page-item {
  margin: 0 5px;
  padding: 0;
}

.pagination .page-link {
  display: block;
  padding: 10px 15px;
  color: #333;
  background-color: transparent;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #e9ecef;
}

.pagination .page-item.active .page-link {
  background-color: #0066b3;
  color: #fff;
  border-color: #0066b3;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
}
.kien_thuc__title,
.khoahoc__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.kien_thuc__title .line,
.khoahoc__title .line {
  height: 1px;
  background: linear-gradient(90deg, #0066b3 0%, #e31e24 100%);
  flex: 1;
  width: 100%;
}

.kien_thuc__title h2 a,
.khoahoc__title h2 a {
  font-size: 32px;
  color: #0066b3;
  white-space: nowrap;
  font-family: "1FTV VIP Classico URW Bold";
}
.title-wrapper {
  background: linear-gradient(white, white) padding-box,
    linear-gradient(to right, #6282b0, #ca2c85) border-box;
  border-radius: 1em;
  border: 2px solid transparent;
  padding: 16px 32px;
}

.kien_thuc__item__text p {
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #212121;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: justify;
}

.kien_thuc__item__text .date {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 136%;
  color: #212121;
}
.kien_thuc__item__text h3 a {
  color: #212121;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  text-decoration: none;
}
.kien_thuc__item_horizontal a img {
  margin-bottom: 24px;
}

.khoahoc__content {
  padding-top: 15px;
}

.khoahoc__content .khoahoc__item__text h3 {
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 32px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #212121;
}

.khoahoc__content .khoahoc__item__text p {
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 3%;
  color: #212121;
  text-align: justify;
}

.khoahoc__content .khoahoc__item__text a {
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #6282b0 0%, #ca2c85 100%);
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: #005e9a;
  transition: all 0.5s ease;
  position: relative;
  z-index: 0;
  text-decoration: none;
}

.khoahoc__content .khoahoc__item__text a::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: #fff;
  border-radius: 6px;
  z-index: -1;
  transition: all 0.5s ease;
}

.khoahoc__content .khoahoc__item__text a:hover {
  color: #ffffff;
}

.khoahoc__content .khoahoc__item__text a:hover::before {
  background: linear-gradient(90deg, #6282b0 0%, #ca2c85 100%);
}

.kien_thuc_container {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1100px) {
  .hero-product .title h1 {
    font-size: 24px;
  }
}

@media (max-width: 1100px) {
  .kien_thuc__title h2 a,
  .khoahoc__title h2 a,
  .khoahoc__content .khoahoc__item__text h3 {
    font-size: 24px;
  }
  .khoahoc__content .khoahoc__item__text p {
    font-size: 16px;
  }
  .kien_thuc__item__text h3 a {
    font-size: 18px;
  }
  .kien_thuc_container {
    flex-direction: column;
  }
  .kien_thuc__item {
    grid-template-columns: 1fr 2fr;
    gap: 12px;
  }
  .kien_thuc {
    padding: 0 0 40px 0;
  }
}
@media (max-width: 768px) {
  .hero-khoa-hoc-cn {
    height: auto !important;
  }
  .hero-khoa-hoc-cn .title h1 {
    font-size: 22px !important;
  }
  .kien_thuc__item__text {
    gap: 6px;
  }
  .kien_thuc__wrap {
    gap: 48px;
    max-height: 400px;
    min-height: 400px;
  }
  .kien_thuc {
    margin-top: 0 !important;
  }
  .excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .excerpt p:nth-child(2) {
    display: none;
  }
  .khoahoc__content .khoahoc__item__text h3 {
    font-size: 21px;
  }
}

@media (max-width: 600px) {
  .kien_thuc__item {
    display: flex;
    flex-direction: column;
  }
  .kien_thuc__wrap .kien_thuc__item__img {
    width: 100%;
    height: auto;
  }
  .kien_thuc {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.kt__title__new {
  padding: 10px 0;
  background: linear-gradient(90deg, #5983b4 0%, #f08bbc 100%);
  margin-bottom: 40px;
}
.kt__title__new h2 {
  text-align: left;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 400;
  font-size: 32px;
  line-height: 150%;
  text-transform: uppercase;
}
.kt__title__new a {
  color: #ffffff;
}
.khoahoc__title__new {
  padding: 10px 0;
  background: linear-gradient(90deg, #5983b4 0%, #f08bbc 100%);
}
.khoahoc__title__new h2 {
  text-align: center;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 400;
  font-size: 32px;
  line-height: 150%;
  text-transform: uppercase;
}
.khoahoc__title__new h2 a {
  color: #ffffff;
}
@media screen and (max-width: 768px) {
  .kt__title__new h2 {
    font-size: 20px;
    padding-left: 10px;
  }
  .khoahoc__title__new h2 {
    font-size: 20px;
  }
  .khoahoc__title__new {
    margin-bottom: 20px !important;
  }
  .khoahoc__title__new2 {
    margin: 0 0 20px 0 !important;
  }
}
