.video-page {
  padding: 4rem 0;
}
.title-main .title-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 2rem;
  margin-bottom: 2.5rem;
}
.title-main .title-inner h2 {
  margin-bottom: 0;
  flex-shrink: 0;
}
.title-main .title-inner .line-1,
.title-main .title-inner .line-2 {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 114, 188, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
  position: relative;
}
.title-main .title-inner .line-1 {
  background: linear-gradient(
    270deg,
    rgba(0, 114, 188, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.title-main .title-inner .line-1::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: linear-gradient(
    270deg,
    rgba(0, 114, 188, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
  border-radius: 99rem;
}
.title-main .title-inner .line-2::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 99rem;
  background: linear-gradient(
    270deg,
    rgba(0, 114, 188, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}

.video-page .col-right .grid-cols-2 {
  display: grid;
  grid-template-columns: minmax(0, 100rem) 20rem;
  column-gap: 2rem;
}
.video-page .col-left .col-inner {
  top: 10rem;
  left: 0;
  text-align: right;
  padding-right: 0.5rem;
  position: sticky !important;
}
.video-wrap,
.home #header .header-main .container,
.home #header .header-bottom .container,
.home .header-full-width .container,
.home .nav-category .sec-container {
  padding-right: var(--section);
  max-width: 1980px !important;
  margin: 0 auto;
}
.home #header .header-main .container,
.home #header .header-bottom .container,
.home .header-full-width .container,
.home .nav-category .sec-container {
  padding-left: 12rem;
}
.video-wrap .grid-cols-2 {
  display: grid;
  grid-template-columns: 10rem 1fr;
  column-gap: 2rem;
}
.video-page .col-left .col-inner::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(0, 114, 188, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.video-page .col-left .col-inner ul {
  margin: 0;
  padding: 0;
}
.video-page .col-left .col-inner ul li {
  list-style: none;
  margin: 0;
  display: flex;
  width: 100%;
  justify-content: end;
  position: relative;
}
.video-page .col-left .col-inner ul li::before {
  content: "";
  position: absolute;
  right: calc(-0.5rem - 2px);
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: transparent;
}
.video-page .col-left .col-inner ul li.active::before {
  background: linear-gradient(
    0deg,
    rgba(0, 114, 188, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.video-page .col-left .col-inner ul li.active {
  background: linear-gradient(
    270deg,
    rgba(0, 114, 188, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.video-page .col-left .col-inner ul li a {
  display: block;
  padding: 0.5rem 1rem;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
}
.video-page .col-left .col-inner ul li:not(.active) a {
  background: -webkit-linear-gradient(0deg, #6cb545, #00aeef);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}
.video-page .col-left .col-inner ul li.active a {
  color: #fff;
  font-weight: 400;
}
@media (max-width: 1440px) {
  .home #header .header-main .container,
  .home #header .header-bottom .container,
  .home .header-full-width .container,
  .home .nav-category .sec-container {
    padding-left: var(--section);
  }
}
@media (max-width: 767.98px) {
  .video-page {
    padding: 2.75rem var(--section);
  }
  .title-main .title-inner {
    margin-bottom: 1.5rem;
    column-gap: 0.75rem;
  }
  .video-page .col-left {
    display: none;
  }
  .video-page .col-right .grid-cols-2,
  .video-wrap .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.5rem;
  }
  .video-wrap {
    padding: 0;
  }
  .button.btn__primary {
    margin-top: 1.5rem;
    height: 2.25rem;
    font-size: 0.9375rem;
  }
}
/* News */
.news-video .list-video {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.box-news {
  overflow: hidden;
  border-radius: 0.625rem;
  cursor: pointer;
}
.box-news.box-animetion {
  padding: 1px;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.box-news.box-animetion .box-inner {
  border-radius: 0.625rem;
  overflow: hidden;
}
.box-news .box-image .image-cover {
  padding-top: 75%;
}
.box-news .box-image .duration {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
  padding: 0 0.25rem;
  border-radius: 0.125rem;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.3;
}
.box-news .box-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  z-index: 2;
  background: rgba(0, 114, 188, 1);
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 4.875rem;
  overflow: hidden;
  will-change: height, background-color;
}
.box-animetion:hover .box-text {
  height: 101%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0 114 188 / 72%) 0%
  );
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
}
.box-short img,
.box-animetion img {
  transition:
    filter 0.6s,
    opacity 0.6s,
    transform 0.6s,
    box-shadow 0.3s;
}
.box-short:hover img,
.box-animetion:hover img {
  transform: scale(1.15);
}
.box-animetion .box-line,
.box-short .box-line {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem !important;
}
.box-animetion .box-line:before,
.box-animetion .box-line:after,
.box-short .box-line:before,
.box-short .box-line:after {
  box-sizing: border-box;
  content: "";
  position: absolute;
  border: 1px solid transparent;
  width: 0;
  height: 0;
  z-index: 9;
}
.box-animetion .box-line:before,
.box-short .box-line:before {
  top: 0;
  left: 0;
}
.box-animetion .box-line:after,
.box-short .box-line:after {
  bottom: 0;
  right: 0;
}
.box-animetion:hover .box-line:before,
.box-short:hover .box-line:before {
  border-top-color: #ffffff80;
  border-right-color: #ffffff80;
  -webkit-transition:
    width 0.3s ease-out,
    height 0.3s ease-out 0.3s;
  transition:
    width 0.3s ease-out,
    height 0.3s ease-out 0.3s;
  -moz-transition:
    width 0.3s ease-out,
    height 0.3s ease-out 0.3s;
  -o-transition:
    width 0.3s ease-out,
    height 0.3s ease-out 0.3s;
  width: 100%;
  height: 100%;
  border-radius: 0.625rem;
}
.box-animetion:hover .box-line:after,
.box-short:hover .box-line:after {
  border-bottom-color: #ffffff80;
  border-left-color: #ffffff80;
  -webkit-transition:
    border-color 0s ease-out 0.55s,
    width 0.3s ease-out 0.55s,
    height 0.3s ease-out 0.8s;
  transition:
    border-color 0s ease-out 0.55s,
    width 0.3s ease-out 0.55s,
    height 0.3s ease-out 0.8s;
  -moz-transition:
    border-color 0s ease-out 0.55s,
    width 0.3s ease-out 0.55s,
    height 0.3s ease-out 0.8s;
  -o-transition:
    border-color 0s ease-out 0.55s,
    width 0.3s ease-out 0.55s,
    height 0.3s ease-out 0.8s;
  width: 100%;
  height: 100%;
  border-radius: 0.625rem;
}
.box-news .box-text .post-title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.box-animetion:hover .box-text .post-title,
.box-short:hover .box-text .post-title {
  display: block;
}
.box-news .box-text .desc,
.box-short .box-text .desc {
  font-size: 0.875rem;
  color: #fff;
  margin: 0;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  visibility: hidden;
  margin-bottom: 0;
}
.box-short .box-text .desc {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
}
.box-animetion:hover .box-text .desc,
.box-short:hover .box-text .desc {
  max-height: max-content;
  opacity: 1;
  visibility: visible;
}
.box-news .box-text .infor {
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
}
.box-animetion:hover .box-text .infor {
  display: none;
}
.box-news .box-text .infor span {
  font-size: 0.75rem;
  color: #fff;
  white-space: nowrap;
}
.box-news .box-text .infor img {
  height: 1rem;
  width: 1rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@media (max-width: 767.98px) {
  .news-video .list-video {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
    column-gap: 0;
  }
}
/* Update video */
.update-video {
  padding-top: 4rem;
}
.update-video .list-video {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 767.98px) {
  .update-video {
    padding-top: 2.75rem;
  }
  .update-video .list-video {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
    column-gap: 0;
  }
}
/* Product video */
.product-video {
  padding-top: 4rem;
}
.box-product .box-text {
  height: 2.25rem;
  padding: 0.5rem 1rem;
}
.box-product .box-text .post-title {
  margin-bottom: 0;
}
.box-product:hover .box-text {
  height: 100%;
}
.product-video .box-image .count {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
  padding: 0 0.25rem;
  border-radius: 0.125rem;
  z-index: 1;
}
.product-video .box-image .count img {
  height: 0.875rem;
  width: 0.875rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.product-video .box-image .count span {
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.3;
  text-transform: uppercase;
}
.product-video .product-slider .swiper-pagination {
  position: static;
  margin-top: 1.5rem;
}
.product-video .swiper-button {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 99rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: absolute;
  top: 40%;
  left: -1.125rem;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
  padding: 0.5rem;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.08),
    0 4px 8px 0 rgba(0, 0, 0, 0.08);
}
.product-video .swiper-button:hover {
  background: linear-gradient(90deg, #00aeef, #5fba31);
}
.product-video .swiper-button:hover svg path {
  stroke: #fff;
}
.product-video .swiper-button.swiper-next {
  left: auto;
  right: -1.125rem;
}
@media (max-width: 767.98px) {
  .product-video {
    padding-top: 2.75rem;
  }
  .product-video .list-video {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
    column-gap: 0;
  }
  .product-video .swiper-button {
    display: none !important;
  }
}
/* Instruct video */
.instruct-video {
  padding-top: 4rem;
}
.instruct-video .list-video {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.instruct-video .list-video .box-news:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.instruct-video .list-video .box-news:nth-child(2) {
  grid-column: span 2;
}
.instruct-video .list-video .box-news:nth-child(2) .box-image .image-cover {
  padding-top: 40%;
}
@media (max-width: 767.98px) {
  .instruct-video {
    padding-top: 2.75rem;
  }
  .instruct-video .list-video {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
    column-gap: 0;
  }
  .instruct-video .list-video .box-news:nth-child(2) .box-image .image-cover {
    padding-top: 75%;
  }
}
/* Short video */
.short-video {
  padding-top: 4rem;
}
.short-video .list-video {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.box-short {
  overflow: hidden;
  border-radius: 0.625rem;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  padding: 1px;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.box-short .box-inner {
  overflow: hidden;
  border-radius: 0.625rem;
}
.box-short .box-image .image-cover {
  padding-top: 165%;
}
.box-short .box-image .view {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
  padding: 0 0.25rem;
  border-radius: 0.125rem;
  color: #fff;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.box-short .box-image .view img {
  height: 0.75rem;
  width: 0.75rem;
  object-fit: contain;
}
.box-short .box-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  z-index: 2;
  background: rgba(0, 114, 188, 1);
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 3.5rem;
  overflow: hidden;
  will-change: height, background-color;
}
.box-short:hover .box-text {
  height: 101%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0 114 188 / 72%) 0%
  );
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
}
.box-short .box-text .post-title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (max-width: 767.98px) {
  .short-video {
    padding-top: 2.75rem;
  }
  .short-video .list-video {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
    column-gap: 0;
  }
}
/** ================== Popular Video ==================*/
.popular-video {
  padding: 1.5px;
  border-radius: 0.625rem;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.video-page .col-right .grid-cols-2 .col-2 .col-inner {
  padding-top: 5.65rem;
}
.video-page
  .col-right
  .grid-cols-2
  .col-2
  .is-sticky-column:not([data-sticky-mode]) {
  top: var(--40);
}
.popular-video-inner {
  padding: 2rem 1.25rem;
  background: #fff;
  border-radius: 0.625rem;
}
.popular-video .list-video .box-popular:nth-child(n + 2) {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.popular-video .title-main .title-inner {
  margin-bottom: 0;
  justify-content: flex-start;
  width: 100%;
}
.popular-video .title-main .title-inner p {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  width: 100%;
  line-height: 1.45;
}
.popular-video .title-main .title-inner p::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 4rem;
  height: 4px;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.box-popular.box-news {
  border-radius: 0;
  border: 0;
}
.box-popular.box-news .box-inner {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.box-popular.box-news .box-inner .box-image {
  width: 6rem;
  margin: 0;
  flex-shrink: 0;
}
.box-popular.box-news .box-inner .box-image .image-cover {
  padding-top: 100%;
  border-radius: 0.3125rem;
}
.box-popular.box-news .box-text {
  position: relative;
  padding: 0;
  background-color: transparent;
}
.box-popular.box-news .box-text .post-title {
  color: var(--black);
  -webkit-line-clamp: 3;
}
.box-popular.box-news .box-text .infor span {
  color: var(--color-black);
}
.box-popular.box-news .box-text .infor span img {
  filter: inherit;
}
/* ==================== Video Popup Modal ====================*/
.video-popup-overlay {
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  z-index: 99999;
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  padding: 2rem 0;
}
.video-popup-overlay .grid-cols-2 {
  display: grid;
  grid-template-columns: 10rem 1fr;
  column-gap: 2rem;
}
.video-popup-overlay .tabs-category {
  position: sticky;
  top: 20%;
}
.short-popup-overlay .tabs-category ul,
.video-popup-overlay .tabs-category ul {
  margin: 0;
}
.short-popup-overlay .tabs-category ul li,
.video-popup-overlay .tabs-category ul li {
  margin-bottom: 0;
}
.short-popup-overlay .tabs-category ul li,
.video-popup-overlay .tabs-category ul li {
  list-style: none;
  margin: 0;
  display: flex;
  width: 100%;
  position: relative;
  padding-left: 0.5rem;
}
.short-popup-overlay .tabs-category ul li::before,
.video-popup-overlay .tabs-category ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 90%;
  background: linear-gradient(
    0deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
  opacity: 0;
  visibility: hidden;
}
.short-popup-overlay .tabs-category ul li.active,
.video-popup-overlay .tabs-category ul li.active {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.short-popup-overlay .tabs-category ul li.active::before,
.video-popup-overlay .tabs-category ul li.active::before {
  opacity: 1;
  visibility: visible;
}
.short-popup-overlay .tabs-category ul li a,
.video-popup-overlay .tabs-category ul li a {
  display: block;
  padding: 0.5rem 1rem;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}
.video-popup-overlay .sec-container {
  width: 100%;
}
.video-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.video-popup-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}
.video-popup-overlay.active .video-popup-container {
  transform: translateY(0);
}

.video-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: #f3f4f6;
  border: none;
  color: #374151;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  padding: 0;
  margin: 0;
  line-height: normal;
  min-height: auto;
}
.video-popup-close:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}
.video-popup-close svg {
  width: 18px;
  height: 18px;
}
.video-popup-content {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 1.5rem;
  flex: 1;
  overflow: visible;
}

/* Left: Main Video area */
.video-popup-main {
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.video-popup-iframe-wrap {
  position: relative;
  top: 0;
  z-index: 100;
  padding-top: 0;
  border-radius: 0.625rem;
  overflow: hidden;
  background: #000;
  height: 32.25rem;
}
.video-popup-iframe-wrap iframe,
#videoPopupYTPlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  scale: 1.01;
}
.video-popup-info {
  padding: 1rem 0 0;
}
.title-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 0.5rem;
}
.video-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}
.video-popup-actions {
  display: flex;
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.btn-action {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  margin: 0;
  height: fit-content;
  min-height: fit-content;
  line-height: normal;
}
.action-count {
  font-weight: 600;
  color: #fff;
}

.btn-favorite.active .action-count {
  color: #ef4444;
  border-left-color: #fca5a5;
}
.btn-action svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.btn-like.active svg {
  fill: #2563eb !important;
  stroke: #2563eb !important;
}
.video-popup-actions .btn-action:nth-child(n + 2) {
  padding-left: 0.5rem;
  margin-left: 0.5rem;
  border-left: 1px solid #e5e7eb;
}
.btn-favorite.active svg {
  fill: #ef4444;
  stroke: #ef4444;
}
.btn-action.pop {
  animation: popScale 0.3s ease;
}
.video-popup-actions .btn-action span {
  color: #fff;
}
@keyframes popScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.video-popup-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}
.video-popup-meta span {
  color: #a3a3a3;
}
.box-news .box-text .infor span,
.video-popup-meta .icon-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
}
.video-popup-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.video-popup-social .social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.25s ease;
  text-decoration: none;
  padding: 0;
}
.video-popup-social .social-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.video-popup-social .social-youtube {
  background: #ff0000;
}
.video-popup-social .social-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
}
.video-popup-social .social-facebook {
  background: #1877f2;
}
.video-popup-social .social-facebook:hover {
  background: #0d65d9;
  transform: translateY(-2px);
}
.video-popup-social .social-tiktok {
  background: #000000;
}
.video-popup-social .social-tiktok:hover {
  background: #333;
  transform: translateY(-2px);
}

.video-popup-overlay .sec-container {
  padding-right: var(--section);
  max-width: 1980px !important;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .video-popup-overlay .sec-container {
    overflow: auto;
  }
  .video-popup-overlay .sec-container::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .video-popup-overlay .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .video-popup-overlay .sec-container {
    padding: 0;
  }
  .title-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .video-popup-title {
    font-size: 1rem;
  }
  .video-popup-close {
    right: auto;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
  }
  .video-popup-close svg {
    stroke: #000;
  }
  .video-popup-overlay {
    padding: 0;
    overflow-y: auto;
    display: block;
  }
  .short-popup-overlay .tabs-category,
  .video-popup-overlay .tabs-category {
    display: none;
  }
}
/* Right: Sidebar */
.video-popup-sidebar {
  padding: 1px;
  border-radius: 0.625rem;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
  height: 32.25rem;
}
.video-popup-sidebar .col-inner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.625rem;
  background: #0f0f0f;
  padding: 2rem 1rem;
  height: 100%;
}
.video-popup-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding-bottom: 1rem;
  margin: 0 0.625rem 1rem;
  flex-shrink: 0;
  position: relative;
  border-bottom: 1px solid #e5e7eb;
}
.video-popup-sidebar-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 4rem;
  height: 4px;
  background: linear-gradient(
    270deg,
    rgba(82, 178, 227, 1) 0%,
    rgba(108, 181, 69, 1) 100%
  );
}
.video-popup-related-list {
  overflow-y: auto;
  flex: 1;
  padding-right: 0.5rem;
}
.video-popup-related-list::-webkit-scrollbar {
  width: 8px;
}
.video-popup-related-list::-webkit-scrollbar-track {
  background-color: #e5e7eb;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  background-clip: content-box;
}
.video-popup-related-list::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(108, 181, 69, 1) 0%,
    rgba(82, 178, 227, 1) 100%
  );
  border-radius: 10px;
}

/* Related Video Item */
.related-video-item {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}

.related-video-item.active {
  background: #eff6ff;
}
.related-video-item .related-thumb {
  width: 4.875rem;
  height: 4.875rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 0.375rem;
  overflow: hidden;
  position: relative;
}
.related-video-item .related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-video-item .related-info {
  flex: 1;
  min-width: 0;
}
.related-video-item .related-title {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: normal;
}

.related-video-item:hover .related-title {
  color: var(--theme-color);
}
.related-video-item.active .related-title {
  color: #0072bc;
}
.related-video-item .related-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.related-video-item .related-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #a3a3a3;
}
.video-popup-meta .icon-box img,
.related-video-item .related-meta span img {
  height: 1rem;
  width: 1rem;
  object-fit: contain;
}
.box-popular.box-news .box-text .infor span {
  color: var(--color-black);
}

.video-mute-btn,
.video-play-pause-overlay,
.video-progress-container {
  display: none;
}

@media (max-width: 768.98px) {
  .video-mute-btn,
  .video-play-pause-overlay {
    display: flex;
  }
  .video-progress-container {
    display: block;
  }

  .video-mute-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: #000;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101001;
    padding: 0;
    margin: 0;
    line-height: normal;
    min-height: auto;
  }
  .video-mute-btn svg {
    width: 1.125rem;
    height: 1.125rem;
  }

  .video-play-pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .video-play-pause-overlay.visible {
    opacity: 1;
  }

  .video-play-pause-overlay > div {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

  .video-play-pause-overlay.flash > div {
    animation: playPauseFade 0.6s ease-out forwards;
  }

  .video-progress-container {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 1001;
    transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .video-progress-container:hover,
  .video-progress-container.dragging {
    height: 12px;
  }

  .video-progress-bar {
    height: 100%;
    width: 0%;
    background: red;
    position: relative;
    transition: width 0.1s linear;
  }

  .video-progress-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .video-progress-container:hover .video-progress-handle,
  .video-progress-container.dragging .video-progress-handle {
    transform: translateY(-50%) scale(1);
  }

  .video-popup-iframe-wrap iframe {
    pointer-events: none !important;
  }
  .video-popup-sidebar-title {
    margin: 0 0.625rem 1rem 0;
  }
}

@media (max-width: 767.98px) {
  .video-popup-container {
    padding: 0 0 2rem;
    height: 100%;
  }
  .video-popup-overlay .sec-container {
    align-items: flex-start;
  }
  .video-popup-iframe-wrap {
    border-radius: 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    height: 13.5rem;
  }
  .video-popup-info {
    padding: 1rem 1rem 0;
  }
  .video-popup-sidebar {
    height: 100%;
    border-radius: 0;
    border: 0;
    padding: 0 1rem;
    background: transparent;
  }
  .video-popup-sidebar .col-inner {
    padding: 0;
    border: 0;
    overflow: visible;
  }
  .video-popup-content {
    grid-template-columns: minmax(0, 1fr);
    overflow-y: auto;
  }
  .video-popup-main {
    overflow: visible;
    justify-content: flex-start;
  }
}

/* ==================== Short Video Popup (Vertical) ====================*/
.short-popup-overlay {
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.short-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.short-slider {
  width: 100%;
  height: 100%;
  max-width: 30.35rem;
  max-height: 51rem;
  position: relative;
  margin: auto;
}
.short-popup-container {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.short-popup-overlay.active .short-popup-container {
  transform: scale(1);
}
.short-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: #f3f4f6;
  border: none;
  color: #374151;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  padding: 0;
  margin: 0;
  line-height: normal;
  min-height: auto;
}
.short-popup-close:hover {
  background: rgba(255, 255, 255, 1);
}
.short-popup-overlay.active .short-popup-close {
  right: 1.5rem;
}

.short-popup-content {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
  max-height: 45rem;
}
.short-popup-content .short-video-info h3,
.short-popup-content .short-video-info p {
  display: none;
}
.short-main-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.short-player-area {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
}
#shortPlayerContainer,
.short-player-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#shortPlayerContainer iframe,
.short-player-placeholder iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}
/* Fixed player container - now moved into the active slide to follow movement */
#shortFixedPlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  border-radius: 1rem;
  overflow: hidden;
}
#shortFixedPlayer iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
}
.short-progress-container,
.short-mute-btn,
.short-play-pause-overlay {
  display: none;
}

@media (min-width: 768px) {
  .short-popup-overlay.comment-open .short-popup-container {
    transform: scale(1) translateX(-15rem);
  }
}

@media (max-width: 768.98px) {
  .short-mute-btn,
  .short-play-pause-overlay {
    display: flex;
  }
  .short-progress-container {
    display: block;
  }
  .short-progress-container {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 1001;
    transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .short-progress-container:hover,
  .short-progress-container.dragging {
    height: 12px;
  }
  .short-progress-bar {
    height: 100%;
    width: 0%;
    background: red;
    position: relative;
    transition: width 0.1s linear;
  }
  .short-progress-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }
  .short-progress-container:hover .short-progress-handle,
  .short-progress-container.dragging .short-progress-handle {
    transform: translateY(-50%) scale(1);
  }
  .short-mute-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: #000;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101001;
    padding: 0;
    margin: 0;
    line-height: normal;
    min-height: auto;
  }
  .short-mute-btn svg {
    width: 1.125rem;
    height: 1.125rem;
  }
  .short-mute-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
  }

  /* Play/Pause Overlay Icon */
  .short-play-pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .short-play-pause-overlay.visible {
    opacity: 1;
  }
  .short-play-pause-overlay > div {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }
  .short-play-pause-overlay.flash > div {
    animation: playPauseFade 0.6s ease-out forwards;
  }

  @keyframes playPauseFade {
    0% {
      transform: scale(0.8);
      opacity: 0;
    }
    30% {
      transform: scale(1.1);
      opacity: 1;
    }
    100% {
      transform: scale(1.3);
      opacity: 0;
    }
  }
  #shortFixedPlayer iframe,
  .short-popup-overlay.interactive-mode #shortFixedPlayer iframe {
    pointer-events: none;
  }
}
/* Sidebar for Like/Heart (Outside Video) */
.short-actions-sidebar {
  position: absolute;
  right: -4.5rem;
  bottom: 6.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 101000;
}
.short-actions-sidebar .short-action-item.btn-favorite {
  padding-left: 0;
  margin-left: 0;
  border-left: 0;
}

/* Horizontal Social Menu Styling (Expand Right) */
.short-social-row {
  position: absolute;
  left: calc(100% - 4rem);
  bottom: 7.25rem;
  z-index: 101002;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  width: max-content;
}
@media (min-width: 768px) {
  .short-popup-overlay.comment-open .short-social-row {
    left: calc(100% - 19rem);
  }
}
.short-social-row.active {
  max-width: 45rem;
  padding-right: 0.75rem;
  z-index: 101005;
}

.btn-more-info {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.btn-more-info:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-more-info span {
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: -0.25rem;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 0.5rem;
  align-items: center;
}
.social-links span {
  font-size: 0.875rem;
  color: #fff;
}
.short-social-row.active .social-links {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 3rem;
  width: 3rem;
  padding: 0 0.5rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  white-space: nowrap;
  justify-content: center;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #fff;
}

.social-icon span {
  font-size: 0.8125rem;
  font-weight: 600;
}

.social-icon.social-youtube {
  background-color: #ff0000;
}
.social-icon.social-facebook {
  background-color: #1877f2;
}
.social-icon.social-tiktok {
  background-color: #000;
}

.social-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 768px) {
  .short-social-row {
    left: auto;
    right: 0rem;
    bottom: 6.5rem;
    max-width: 3.5rem;
    background: transparent;
    backdrop-filter: none;
    border: none;
    flex-direction: row-reverse;
    padding: 0 !important;
  }
  .short-social-row.active {
    max-width: 95vw;
    background: transparent;
  }
  .btn-more-info {
    width: 3rem;
    height: 3rem;
    background: transparent !important;
    border: none;
    box-shadow: none;
  }
  .social-links {
    flex-direction: row;
    gap: 0.5rem;
    padding-left: 0;
    padding-right: 0.75rem;
    transform: translateX(15px);
  }
  .social-links span {
    display: none;
  }
  .short-social-row.active .social-links {
    transform: translateX(0);
  }
  .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
}

.short-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #374151;
}

/* Comment */
.video-comment-section {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
.comment-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.3rem;
  line-height: 1.4;
}
.video-comment-form {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
}
.video-comment-form input,
.video-comment-form textarea {
  box-shadow: none !important;
  border-radius: 0.3125rem;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.short-action-item .comment-item-content {
  font-size: 0.875rem;
  color: #a3a3a3;
  line-height: 1.5;
  word-break: break-word;
  margin-bottom: 0.5rem;
}

.comment-list-wrap {
  margin-top: 1.5rem;
}
.comment-list-wrap .comment-empty {
  color: #a3a3a3;
}
.comment-item {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}
.comment-item-avatar {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 99rem;
  background-color: transparent;
  border: 1px solid #fff;
  margin-top: 0.2rem;
}
.comment-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.comment-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.comment-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.comment-date {
  font-size: 0.75rem;
  color: #a3a3a3;
}
.comment-item-content {
  font-size: 0.875rem;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* Footer: Like & Reply */
.comment-item-footer {
  display: flex;
  align-items: center;
}
.comment-btn-like,
.comment-btn-reply {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
  height: 32px;
  padding: 0 8px;
  border-radius: 16px;
  margin: 0;
  min-height: auto;
  line-height: normal;
}
.comment-btn-like:hover,
.comment-btn-reply:hover {
  background: rgb(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.comment-btn-like.active {
  color: #fff;
}
.comment-btn-like svg {
  stroke: currentColor;
}
.comment-btn-like.active svg {
  fill: #fff;
}
.comment-btn-reply {
  margin-left: 0.5rem;
}

/* Expander (YouTube Style) */
.replies-expander {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  cursor: pointer;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 99rem;
  width: fit-content;
  transition: background 0.2s ease;
}
.replies-expander:hover {
  background: rgb(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.replies-expander .expander-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.replies-expander svg {
  transition: transform 0.2s ease;
}
.replies-expander.expanded svg {
  transform: rotate(180deg);
}
.comment-children {
  margin-top: 1rem;
}

.replies-expander {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  cursor: pointer;
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0;
  width: fit-content;
  transition: all 0.2s;
}

.replies-expander:hover {
  opacity: 0.8;
}

.expander-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.replies-expander.expanded .expander-icon {
  transform: rotate(180deg);
}

.reply-form-container {
  margin-top: 0.75rem;
  display: none;
}
.reply-form-container .video-comment-form {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
}
.comment-reply-to-info {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}
.comment-reply-to-info span {
  color: #fff;
  font-size: 1rem;
}
.btn-cancel-reply {
  color: #fff;
  cursor: pointer;
}
.button.btn__primary.comment-submit-btn {
  margin: 0.25rem 0 0;
}
@media (max-width: 768px) {
  .comment-section-title {
    font-size: 1rem;
  }
  .video-comment-form {
    padding: 1rem;
    border-radius: 0.5rem;
  }
  .video-comment-form input,
  .video-comment-form textarea {
    font-size: 0.875rem;
  }
  .comment-item-content {
    font-size: 0.875rem;
  }
}

/* ==================== Short Comment Panel ==================== */
.short-comment-panel {
  position: absolute;
  top: 50%;
  right: -100%;
  width: 100%;
  max-width: 28rem;
  height: 51rem;
  transform: translateY(-50%);
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(15px);
  z-index: 100;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
}
.short-comment-panel .video-comment-section {
  padding: 0;
  margin: 0;
  border: none;
}
.short-comment-panel.active {
  right: 8rem;
}

.short-comment-panel-header {
  padding: 1rem 0.5rem 1rem 1.5rem;
  border-bottom: 1px solid #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.short-comment-panel-header h4 {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}
.btn-close-comment-panel {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  margin: 0;
}

.btn-close-comment-panel:hover {
  opacity: 0.7;
}

.short-comment-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background-color: #212121;
}

/* Custom Scrollbar for Comment Panel */
.short-comment-content::-webkit-scrollbar {
  width: 6px;
}
.short-comment-content::-webkit-scrollbar-track {
  background: transparent;
}
.short-comment-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* Sidebar action icons for comment & share */
.btn-short-comment .icon-circle,
.btn-short-share .icon-circle {
  background: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: background 0.2s;
  color: #fff;
}

.btn-short-comment:hover .icon-circle,
.btn-short-share:hover .icon-circle {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .short-comment-panel {
    max-width: 100%;
    height: 70vh;
    top: auto !important;
    bottom: 0;
    left: 0;
    right: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem 1.5rem 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    pointer-events: none;
  }
  .short-comment-panel.active {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    z-index: 99999;
  }
  .short-comment-content {
    padding: 1rem;
  }
}
/* Loading */
.comment-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.8125rem;
}
.short-action-item .icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.short-action-item .icon-circle:hover {
  background: #e5e7eb;
  transform: scale(1.1);
}
.short-action-item .icon-circle svg {
  width: 1.2rem;
  height: 1.2rem;
}
.short-action-item .action-count {
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Info Overlay at Bottom */
.short-video-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  color: #fff;
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.short-video-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.short-video-info p {
  font-size: 0.875rem;
  opacity: 0.8;
}
.short-video-text {
  padding-top: 1rem;
}
.short-video-text h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.short-video-text .infor {
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
}
.short-video-text .infor span {
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
}
.short-video-text .infor img {
  height: 1rem;
  width: 1rem;
  object-fit: contain;
}
.short-video-text .infor {
}
/* Navigation Arrows (Desktop) */
.short-nav-controls {
  position: absolute;
  right: -5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 101000;
  transition: all 0.4s 0.2s ease;
  margin: 0 !important;
}
.short-popup-overlay.active .short-nav-controls {
  right: 2rem;
}
.nav-btn {
  width: 3rem;
  height: 3rem;
  background: #f3f4f6;
  border: none;
  color: #374151;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.nav-btn:hover {
  background: #e5e7eb;
  transform: scale(1.1);
}
.nav-btn svg {
  width: 24px;
  height: 24px;
}

/* Restore missing shorts section styles */
.shorts-video-section {
  padding-top: 4rem;
}
.shorts-video-section .list-video {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.box-short .box-image .image-cover {
  padding-top: 156.25%; /* 9:16 ratio */
}
.box-short .box-inner {
  border-radius: 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .short-action-item .icon-circle svg {
    fill: #fff;
    stroke: #fff;
  }
}
@media (max-width: 1440px) {
  .short-slider {
    max-height: 40rem;
    max-width: 23rem;
  }
  .short-popup-content {
    max-height: 32rem;
  }
  .short-social-row {
    bottom: 9.25rem;
  }
  .short-comment-panel {
    max-width: 24rem;
    height: 38rem;
  }
}
@media (max-width: 768px) {
  .short-video-text {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 99999;
  }
  .short-popup-overlay {
    background: rgba(0, 0, 0, 1);
  }
  .short-popup-content {
    border-radius: 0;
    max-height: 100%;
  }
  .short-popup-overlay.active .short-popup-container {
    width: 100%;
  }
  .short-action-item .icon-circle {
    height: 2rem;
    width: 3rem;
    background-color: transparent !important;
    box-shadow: none;
    margin: 0;
  }
  .short-action-item .icon-circle svg {
    stroke: #fff;
    fill: #fff;
  }
  .short-action-item.btn-like.active .icon-circle svg {
    fill: #2563eb;
    stroke: #2563eb;
  }
  .short-action-item.btn-favorite.active .icon-circle svg {
    fill: #ef4444;
    stroke: #ef4444;
  }
  .short-actions-sidebar {
    left: auto !important;
    right: 0 !important;
    bottom: 13rem !important;
  }
  .short-nav-controls {
    display: none;
  }
  .short-popup-close {
    top: 0.5rem !important;
    right: auto !important;
    left: 0.5rem;
    z-index: 101001;
    background: rgba(255, 255, 255, 0.2);
    color: #000;
  }
  .short-action-item .action-count {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  }
  .short-popup-content .short-video-info {
    bottom: 2rem;
    left: 1rem;
    right: 4.5rem;
  }
  .short-player-area,
  #shortFixedPlayer {
    border-radius: 0;
  }
}

@media (min-width: 769px) {
  .short-popup-container {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .short-nav-controls {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.short-player-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

#activeShortPlayer {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
@media (min-width: 767.98px) {
  #shortSwiper {
    padding-right: 5rem;
  }
}

/*Archive Tin tức */

.blog-archive .grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr 20rem;
  column-gap: 2rem;
}
.blog-archive .grid-cols-2 .short-video {
  padding-top: 0;
}
.blog-archive .grid-cols-2 .box-short .box-text .infor {
  display: none;
}
.blog-archive .grid-cols-2 .col-2 .col-inner {
  padding-top: 5.65rem;
}

.blog-archive .grid-cols-2 .col-2 .is-sticky-column:not([data-sticky-mode]) {
  top: var(--40);
}
@media (max-width: 1600px) {
  .blog-archive .sec-container {
    padding: 0 var(--section);
  }
}
@media (max-width: 767.98px) {
  .blog-archive .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2rem;
    column-gap: 0;
  }
}
