/** category home **/
.category-home {
  padding-top: 3rem;
}
.category-home .grid-cols-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 1rem;
}
.category-home .box-cat {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);
}
.category-home .box-cat .box-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(35, 31, 32, 0) 59.75%,
    rgba(35, 31, 32, 0.7) 100%
  );
  z-index: 1;
}
.category-home .box-cat .box-text {
  padding: 1rem 1rem 1rem 2rem;
  display: flex;
  justify-content: space-between;
  column-gap: 1rem;
  align-items: center;
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 2;
}
.category-home .box-cat .box-text p {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
}
.category-home .box-cat .box-text .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  aspect-ratio: 1/1;
  border-radius: 99rem;
  border: 1px solid var(--white);
  background-color: transparent;
  box-shadow: none;
  outline: none;
  margin: 0;
  padding: 0;
  padding: 0.75rem;
}
.category-home .box-cat .box-text .button svg {
  width: 1.04169rem;
  height: 1.09375rem;
}
.category-home .box-cat .box-text .button:hover {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
}
.category-scrollbar-container {
  margin-top: 1.5rem;
  position: relative;
  height: 2px;
  background: #e5e5e5;
  width: 100%;
}
.category-scrollbar-container .swiper-scrollbar {
  background: transparent;
  width: 100%;
  height: 2px;
  border-radius: 0;
  position: absolute;
  left: 0;
  top: 0;
}
.category-scrollbar-container .swiper-scrollbar-drag {
  background: var(--theme-color);
  height: 2px;
  border-radius: 99rem;
}
@media (min-width: 768px) {
  .category-home {
    padding-top: 4.5rem;
  }
  .category-scrollbar-container {
    display: none;
  }
  .category-home .box-cat .box-text {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    transition: all 0.3s ease-in-out;
  }
  .category-home .box-cat .box-text p {
    font-size: 1.5rem;
  }
  .category-home .box-cat:hover .box-text {
    transform: translateY(-10px);
  }
}
/* faq-home */
.faq-home {
  padding: 3rem 0;
}
.faq-home .grid-cols-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.faq-item-visible {
  display: flex;
  align-items: flex-start;
  column-gap: 1rem;
}
.faq-home .faq-item-visible {
  color: var(--black);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  justify-content: space-between;
  border-top: 0;
  background: unset;
  padding: 1rem 0;
  position: relative;
  align-items: center;
  border-top: 1px solid #231f204d;
  margin-top: 1px;
}
.faq-home .faq-item-visible:before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--theme-color);
  position: absolute;
  top: -1px;
}
.faq-home .faq-item-active .faq-item-visible:before {
  width: 100%;
  transition: all 2s;
}

.faq-item .faq-content ul,
.faq-item .faq-content ol {
  margin-bottom: 0;
  margin-left: 1.3rem;
}
.faq-item .faq-content p,
.faq-item .faq-content li {
  margin-bottom: 1rem;
}

.toggle-accordion {
  padding: 0;
  margin: 0;
  min-height: unset;
  line-height: unset;
  cursor: pointer;
}
.toggle-accordion .icon-close,
.faq-item-active .toggle-accordion .icon-open {
  display: none;
}
.faq-item-active .toggle-accordion .icon-close {
  display: block;
}
.faq-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  transition: padding 300ms;
}
.faq-item .faq-item-visible {
  height: fit-content;
  cursor: pointer;
  align-items: baseline;
}
.faq-item .faq-item-visible .question {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0;
}
.faq-item.faq-item-active .faq-item-visible .question {
  color: var(--theme-color);
}
.faq-item .faq-content {
  height: 0;
  transition: all 0.5s;
  color: var(--black-200);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}
.faq-item.faq-item-active .faq-content {
  margin: 0 0 1rem;
}
@media (min-width: 768px) {
  .faq-home {
    padding: 4.5rem 0;
  }
  .faq-home .title-main h2 {
    margin-bottom: 3rem;
  }
  .faq-home .faq-list.grid-cols-3 {
    display: grid;
    grid-template-columns: 6rem 1fr 27.4375rem;
    column-gap: 4.25rem;
  }
  .faq-home .faq-list.grid-cols-3 .col-1 .faq-counter {
    font-size: 1.5rem;
    font-weight: 500;
    color: #231f2080;
    margin: 0;
    display: inline-flex;
    align-items: baseline;
    column-gap: 1rem;
  }
  .faq-home .faq-list.grid-cols-3 .col-1 .faq-counter span {
    font-size: 2.25rem;
    display: block;
    font-weight: 700;
    color: var(--theme-color);
    line-height: 1;
  }
  .faq-home .faq-list.grid-cols-3 .col-2 {
    padding-left: 2.75rem;
  }
  .faq-home .faq-list.grid-cols-3 .col-3 .image-cover {
    padding-top: 0;
    height: 31rem;
  }
  .faq-home .faq-item {
    padding: 0;
  }
  .faq-home .faq-item-visible {
    padding: 1.5rem 0;
  }
  .faq-home .faq-item .faq-item-visible .question {
    font-size: 1.5rem;
  }
  .faq-home .faq-item.faq-item-active .faq-content {
    margin-bottom: 4.5rem;
  }
  .faq-home .faq-item .faq-item-visible {
    padding: 1.75rem 0;
  }
  .faq-home .faq-item:last-child {
    border-bottom: 1px solid #231f204d;
  }
}
/** Certification */
.certification-home {
  padding: 3rem 0 5.4rem;
  background-color: var(--theme-color);
}
.certification-home .title-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1rem;
  margin-bottom: 1.25rem;
}
.certification-home .title-main .group-swiper {
  flex-shrink: 0;
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
}
.certification-home .title-main .group-swiper .swiper-button {
  width: 2rem;
  height: 2rem;
  border-color: var(--white);
}
.certification-home .title-main .group-swiper .swiper-button:hover {
  background-color: var(--white);
}
.certification-home .title-main .group-swiper .swiper-button svg {
  width: 0.75rem;
  height: 0.75rem;
}
.certification-home .title-main .group-swiper .swiper-button:hover svg {
  fill: var(--theme-color);
}
.certification-home .title-main .group-swiper .swiper-button {
  position: static;
  transform: none;
}
.certification-home .title-main h2 {
  color: var(--white);
  margin-bottom: 0;
}
.box-certification .image-cover {
  padding-top: 0;
  height: 18.625rem;
}
@media (min-width: 768px) {
  .certification-home {
    padding-top: 4.75rem;
  }
  .certification-home .grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 51.5rem;
    column-gap: 4rem;
  }
  .certification-home .title-main {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
  }
  .certification-home .title-main .group-swiper {
    column-gap: 1.88rem;
    margin-bottom: 2.5rem;
  }
  .certification-home .title-main .group-swiper .swiper-button {
    width: 3.125rem;
    height: 3.125rem;
  }
  .certification-home .title-main .group-swiper .swiper-button svg {
    width: 1.04169rem;
    height: 1.09375rem;
  }
  .box-certification .image-cover {
    height: 20.625rem;
  }
}
/** Partner */
.list-logo .image-cover {
  padding-top: 62.25%;
}
.list-logo .image-cover img {
  object-fit: contain;
}
.partner-home .section-bg {
  top: -3rem;
  height: 9rem;
  background-position: 50% 0%;
  background-size: contain !important;
}
@media (min-width: 768px) {
  .partner-home .section-bg {
    top: -2rem;
    height: 35rem;
  }
  .partner-home .sec-container {
    margin-top: -2rem;
  }
  .partner-home .title-main h2 {
    margin-bottom: 2.35rem;
  }
  .list-logo .image-cover {
    padding-top: 50.25%;
  }
}
/** Form */
.form-home {
  padding-top: 3rem;
}
.form-home .form-content {
  padding: 2.5rem 1rem 0;
  overflow: hidden;
}
.form-home .form-content form {
  margin-bottom: 2.5rem;
}
.form-home .form-content .grid-cols-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 2.75rem;
}
.form-home .form-content .title {
  margin-bottom: 1.75rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--black);
}
.form-home .form-content input,
.form-home .form-content textarea {
  border: 0;
  border-bottom: 1px solid #231f204d;
  padding: 0;
  box-shadow: none;
  outline: none;
  color: var(--black-200);
  background-color: transparent;
  font-size: 16px;
}
.form-home .form-content input::placeholder,
.form-home .form-content textarea::placeholder {
  color: var(--black-200);
}

.form-home .form-content .form-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.form-home .form-content .form-item [data-name="ghi-chu"] textarea {
  margin-bottom: 0;
  margin-top: 0.5rem;
  min-height: 4.25rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .form-home {
    padding-top: 4.75rem;
  }
  .form-home .form-content {
    padding: 3.7rem 2.7rem 0 5.75rem;
  }
  .form-home .form-content .grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 29.6875rem;
    column-gap: 6.7rem;
    align-items: end;
  }
  .form-home .form-content .grid-cols-2 .col-1 {
    padding-bottom: 3.7rem;
  }
  .form-home .form-content .form-item {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }
  .form-home .form-content .form-item [data-name="ho-ten"],
  .form-home .form-content .form-item [data-name="ghi-chu"] {
    grid-column: span 2;
  }
  .form-home .section-bg {
    background-position: 0% 50%;
  }
  .form-home .grid-cols-3 {
    display: grid;
    grid-template-columns: 6rem 1fr 27.4375rem;
    column-gap: 4.25rem;
  }
}

/** News */
.box-blog-post .box-text {
  padding: 1.25rem 0 0;
  display: flex;
  align-items: center;
}
.box-blog-post .box-text .box-top {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 0.75rem;
  margin-right: 0.75rem;
  border-right: 1px solid #dddddd;
}
.box-blog-post .box-text .box-top .post-date {
  color: var(--black);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.box-blog-post .box-text .box-top .post-month {
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.box-blog-post .box-text .post-title a {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  transition: color 0s;
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.box-blog-post .box-text .post-title a:hover {
  color: var(--theme-color);
}
.box-blog-post .box-text .post-categories {
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-color);
}
@media (min-width: 768px) {
  .box-blog-post .box-text .post-title a {
    font-size: 1.125rem;
  }
  .box-blog-post .box-text .post-categories {
    font-size: 0.875rem;
  }
  .box-blog-post .box-text .box-top .post-date {
    font-size: 3rem;
  }
  .box-blog-post .box-text .box-top .post-month {
    font-size: 1rem;
  }
}
