.sec-feedback-video .title {
  margin-top: 1.6rem;
}

.text-lg2x {
  font-size: 5.6rem;
}

.fw-800 {
  font-weight: 800;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.section-blog {
  padding-bottom: 0;
}

.section-blog .sub-tt {
  position: relative;
  font-size: 2rem;
  color: #081247;
  margin-bottom: 0.8rem;
  max-width: max-content;
}

.section-blog .sub-tt::before,
.section-blog .sub-tt::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 0.2rem;
  width: 1.2rem;
  background-color: #081247;
}

.section-blog .sub-tt::before {
  left: 0;
  transform: translate(calc(-100% - 1.2rem), -50%);
}

.section-blog .sub-tt::after {
  right: 0;
  transform: translate(calc(100% + 1.2rem), -50%);
}

.section-blog .desc {
  margin-top: 1.6rem;
  max-width: 67.7rem;
}

.blog-search {
  margin-top: 1.6rem;
  max-width: 59.2rem;
}

.blog-search .f-r {
  position: relative;
  padding: 0.4rem;
  padding-left: 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--Foundation-Grey-grey-50, #eae9e9);
  display: flex;
  align-items: center;
}

.blog-search .f-r::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 1.6rem;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  background: url("../public/images/icons/icon-search.svg") no-repeat;
  background-size: contain;
}

.blog-search .input {
  position: relative;
  padding-left: 2.4rem;
  padding-right: 0.4rem;
  flex: 1;
  font-size: 1.6rem;
}

.blog-search-btn {
  white-space: nowrap;
}

.section-blog-body {
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.section-blog-cate {
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.section-blog-cate .item {
  border-radius: 99px;
  border: 1px solid var(--Foundation-Grey-grey-100, #bcbbba);
  padding: 1rem 2rem;

  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.56px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

.section-blog-cate .item:hover,
.section-blog-cate .item.active {
  background-color: #d8430c;
  color: #fff;
  border-color: #d8430c;
}

/* .section-blog-cate .item.active {
  pointer-events: none;
  cursor: default;
} */

.section-blog-list {
  display: grid;
  gap: 3.2rem 1.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-blog-list .post-item {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.post-item .post-thumbnail {
  display: block;
  aspect-ratio: 292 / 164;
  border-radius: 0.8rem;
  background-color: #081247;
  overflow: hidden;
}

.post-item .post-thumbnail img {
  transition: 1s;
}

.post-item .post-thumbnail:hover img {
  transform: scale(1.05);
}

.post-item .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.post-item .tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  min-height: 2.3rem;
}

.post-item .tag-item {
  position: relative;
  padding-left: 2.4rem;

  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color, #d8430c);
}

.post-item .tag-item::before {
  content: "";
  position: absolute;
  width: 1.6rem;
  height: 0.2rem;
  background-color: var(--color, #d8430c);
  left: 0;
  top: 1rem;
}

.post-item .post-title {
  font-size: 2rem;
  font-weight: 700;
  transition: 0.3s;
}

.post-item .post-excerpt,
.post-item p:not(.post-title) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  flex: 1;
}

.post-link-detail {
  font-weight: 700;
  transition: 0.3s;
  position: relative;
  max-width: max-content;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.swal-title-custom {
  font-size: 2rem;
  font-weight: bold;
  color: #d33; /* đỏ cảnh báo */
}

.swal-text-custom {
  font-size: 1.6rem;
  color: #555;
}

div:where(.swal2-container) button:where(.swal2-styled) {
  font-size: 1.6rem !important;
  padding: 1.2rem 2.4rem !important;
  background-color: #d8430c !important;
}

@media only screen and (min-width: 1201px) {
  .post-item .post-title:hover,
  .toc-list li a:hover,
  .post-link-detail:hover {
    color: #d8430c;
  }

  .post-link-detail:hover::before,
  .post-link-detail:hover .icon {
    opacity: 1;
  }
}

.post-link-detail .icon {
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.post-link-detail::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1rem;
  transform: translateY(calc(100%) + 1.2rem);
  background-color: #d8430c;
  opacity: 0;
  transition: 0.3s;
}

.section-blog-tag .section-blog-header {
  margin-bottom: 3.2rem;
}

.section-blog-pagin {
  margin-top: 3.2rem;
}

.section-blog-pagin .pagination {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.section-blog-pagin .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 99px;
  border: 1px solid var(--Foundation-Grey-grey-50, #eae9e9);
  transition: 0.3s;
  cursor: pointer;
  font-weight: 700;
  color: #282321;
}

.section-blog-pagin .page-numbers.prev,
.section-blog-pagin .page-numbers.next {
  color: #d8430c;
  font-weight: 400;
}

.section-blog-pagin .page-numbers.current,
.section-blog-pagin .page-numbers:hover {
  background-color: #d8430c;
  border-color: #d8430c;
  color: #fff;
}

.section-blog-pagin .page-numbers.current {
  cursor: default;
}

.section-blog .no-result {
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-style: italic;
  border-left: 0.3rem solid #d8430c;
  background-color: #f7f7f7;
  max-width: 24rem;
}

.breadcrumb {
  padding: 1.6rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.breadcrumb span {
  white-space: normal;
}

.breadcrumb > *:hover {
  color: #d8430c;
}

.post-detail {
  padding-bottom: 8rem;
}

.post-detail-grid {
  --gap: 3.2rem;
  padding: 3.2rem 0;
  display: flex;
  justify-content: flex-start;
  gap: var(--gap);
}

.post-detail-grid .sidebar,
.post-detail-grid .post-trend {
  width: 28rem;
  flex-shrink: 0;
}

.post-detail-grid .sidebar .text-md,
.post-detail-grid .post-trend .text-md {
  margin-bottom: 1.6rem;
}

.post-toc {
  position: sticky;
  top: 12rem;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.trend-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.trend-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.trend-item .thumbnail {
  width: 13rem;
  aspect-ratio: 3/2;
  border-radius: 0.8rem;
  overflow: hidden;
  background-color: #081247;
  flex-shrink: 0;
}

.trend-item .trend-item-txt {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1.4rem;
}

.trend-item .trend-item-tt {
  font-size: 1.6rem;
  line-height: 1.3;
  transition: 0.3s;
}

.trend-item:hover .trend-item-tt {
  color: #d8430c;
}

.toc-list li a {
  padding: 0.6rem 0;
  font-weight: 700;
  display: block;
  position: relative;
  transition: 0.3s;
}

.toc-list li a.current {
  color: #d8430c;
}

/* .toc-list li a.current::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: 0;
  width: 1.6rem;
  height: 0.2rem;
  background-color: #d8430c;
} */

.post-detail-grid .post-main {
  flex: 1;
}

.post-detail-grid .title {
  margin-bottom: 3.2rem;
}

.post-detail-grid .content > * {
  margin: 2.4rem 0;
}

.post-detail-grid .content img,
.post-detail-grid .content iframe {
  width: 100%;
  height: auto;
}

.post-detail-grid .content iframe {
  aspect-ratio: 16 / 9;
}

.post-detail-grid .content h2 {
  font-size: 3.6rem;
  line-height: 1.3;
  font-weight: 700;
}

.post-detail-grid .content h3 {
  font-size: 2.4rem;
  line-height: 1.4;
  font-weight: 700;
}

.post-detail-grid .content h4 {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 700;
}

.post-detail-grid .content a {
  color: #d8430c;
}

.post-detail-grid .content table {
  border-collapse: collapse;
  max-width: 100%;
  margin: 1em 0;
  border: 1px solid #e1e1e1;
}

.post-detail-grid .content table td,
.post-detail-grid .content table th {
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  padding: 5px 10px;
  vertical-align: middle;
  word-break: break-word;
}

.post-detail-grid .content table p {
  margin: 1.6rem 0;
}

.post-detail-grid .content em,
.post-detail-grid .content i {
  font-style: italic;
}

.post-detail-grid .content ul li {
  line-height: 1.7;
  margin-bottom: 0.8rem;
  margin-left: 1rem;
  padding-left: 3rem;
  position: relative;
}

.post-detail-grid .content ul li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border: 0.3rem solid #d8430c;
  border-radius: 1rem;
}

strong {
  font-weight: 700;
}

.related-posts {
  padding: 9.6rem 0;
  background-color: #f4f5f8;
}

.related-posts .section-blog-list {
  display: flex;
  gap: unset;
}

.also-like {
  font-size: 2rem;
  font-weight: 700;
  color: #142ca9;
  margin-bottom: 0.8rem;
  padding-left: 2.4rem;
  position: relative;
}

.also-like::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 0.2rem;
  background-color: #142ca9;
}

.related-posts-swiper {
  padding-top: 1.6rem;
  padding-bottom: 2.8rem;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0;
}

.swiper-pagination-bullet-active {
  background-color: #d8430c;
}

@media only screen and (max-width: 1200px) {
  .text-lg2x {
    font-size: 4.2rem;
    line-height: 1.3;
  }

  .section-blog-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-blog-pagin {
    margin-top: 1.6rem;
  }

  .section-blog-pagin .page-numbers {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.4rem;
  }

  .section-blog-cate {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .section-blog-cate .item {
    padding: 0.4rem 0.8rem;
    font-weight: 600;
  }

  .post-detail-grid .sidebar {
    display: none;
  }

  .post-detail-grid .post-trend {
    width: 32rem;
  }

  .post-detail {
    padding-bottom: 5.6rem;
  }

  .related-posts {
    padding: 5.6rem 0;
  }
}

.header-main {
  border-bottom: 0.1rem solid #eae9e9;
}

@media only screen and (max-width: 993px) {
  .post-detail-grid .title {
    font-size: 3.6rem;
  }

  .post-detail-grid .content h2 {
    font-size: 2.6rem;
  }

  .post-detail-grid .content h3 {
    font-size: 2.4rem;
  }

  .post-detail-grid .content h4,
  .post-detail-grid .content h5 {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 768px) {
  .text-lg2x {
    font-size: 3.2rem;
  }

  .section-blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-detail-grid {
    flex-direction: column;
  }

  .post-detail-grid .post-trend {
    width: 100%;
  }
}

@media only screen and (max-width: 577px) {
  .text-lg2x {
    font-size: 2.8rem;
  }

  .section-blog-list {
    gap: 1.6rem 0.8rem;
  }

  .section-blog-list .post-item {
    gap: 0.8rem;
  }

  .post-item .content {
    gap: 0.4rem;
  }

  .post-item .tag-item {
    font-size: 1.2rem;
    padding-left: 1.6rem;
    min-height: 2rem;
  }

  .post-item .tag-item::before {
    width: 1rem;
    top: 0.8rem;
  }

  .post-item .post-title {
    font-size: 1.6rem;
  }

  .post-link-detail {
    font-size: 1.4rem;
  }

  .post-item .post-excerpt,
  .post-item p {
    font-size: 1.4rem;
    -webkit-line-clamp: 2;
  }

  .post-detail-grid .title {
    font-size: 3rem;
  }

  .post-detail-grid .content h2 {
    font-size: 2rem;
  }

  .post-detail-grid .content h3 {
    font-size: 1.8rem;
  }

  .post-detail-grid .content h4,
  .post-detail-grid .content h5 {
    font-size: 1.6rem;
  }

  .post-detail-grid .content > * {
    margin: 1.6rem 0;
  }

  .post-detail-grid .content table td,
  .post-detail-grid .content table th {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 370px) {
  .section-blog-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
