﻿/* =========================================================
   0) BASE / LAYOUT WRAPPER
   ========================================================= */
.thong-tin {
  width: 100%;
  margin-bottom: 64px;
}

.box-thong-tin {
  display: flex;
  gap: 28px;
}

.bvh-onecol { gap: 0 !important; }
.bvh-main {
  width: 100% !important;
  padding-right: 0 !important;
  border-right: 0 !important;
}

/* nếu còn dùng layout 2 cột cũ */
.in-box-thong-tin {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 28px;
  border-right: 1px solid rgba(0, 0, 0, .12);
  width: 70%;
}

.box-thong-tin-right {
  width: 30%;
  border-radius: 4px;
  border-width: 1px;
  padding: 24px;
  background: rgba(250, 246, 240, 1);
  height: 100%;
}


/* =========================================================
   1) TYPOGRAPHY HELPERS
   ========================================================= */
.text-box-img-content,
.title-box-content-background-center-top,
.title-content-in-box-thong-tin-left,
.ext-top-content-in-box-thong-tin-right,
.text-top-content-in-box-thong-tin-right,
.noi-dung-tin-bai-lien-quan,
.text-noi-dung {
  color: var(--Text-Neutral-Default, rgba(48, 48, 48, 1));
}

.text-box-content-background-center-top,
.text-content-in-box-thong-tin-left {
  color: var(--Text-Neutral-Secondary, rgba(90, 90, 90, 1));
}


/* =========================================================
   2) PAGE TOP BLOCK (nếu bạn còn dùng)
   - Sửa tên class backgound -> background
   ========================================================= */
.background-top {
  padding: 24px 0;
}

.box-background-top {
  gap: 23px;
  display: flex;
  margin-bottom: 23px;
}

.box-background-left-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 25%;
}

.box-img-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.img-text { height: 185px; }

.text-box-img-content {
  font-family: "Noto Serif";
  font-weight: 600;
  font-size: 16px;
  line-height: 160%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-khoi-thong-tin {
  width: 100%;
  height: 1px;
  background-color: rgba(48, 48, 48, 0.15);
}

.box-background-center-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 50%;
}

.box-background-center-top img { width: 100%; }

.box-content-background-center-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.title-box-content-background-center-top {
  font-family: "Noto Serif";
  font-weight: 600;
  font-size: 24px;
  line-height: 160%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-box-content-background-center-top {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =========================================================
   3) LIST ITEM (Tin thường dạng hàng ngang)
   ========================================================= */
.box-thong-tin-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.in-box-thong-tin-left {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.in-box-thong-tin-left img {
  width: 300px;
  height: auto;
}

.content-in-box-thong-tin-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title-content-in-box-thong-tin-left {
  font-family: "Noto Serif";
  font-weight: 600;
  font-size: 20px;
  line-height: 160%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-content-in-box-thong-tin-left {
  font-family: "Inter";
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =========================================================
   4) RIGHT SIDEBAR (tin liên quan)
   ========================================================= */
.in-box-thong-tin-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title-noi-dung {
  display: flex;
  gap: 8px;
  align-items: center;
}

.line-ttsk {
  width: 2px;
  height: 20px;
  background: #A90024;
  border: 0;
  flex: 0 0 auto;
}

.text-noi-dung {
  font-family: "Noto Serif";
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
}

.content-in-box-thong-tin-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-content-in-box-thong-tin-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ext-top-content-in-box-thong-tin-right,
.text-top-content-in-box-thong-tin-right {
  font-family: "Noto Serif";
  font-weight: 600;
  font-size: 16px;
  line-height: 160%;
}

.tin-bai-lien-quan {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid #1111110F;
}

.in-tin-bai-lien-quan {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.in-tin-bai-lien-quan img {
  padding-top: 8px;
  margin-top: 0;
}

.noi-dung-tin-bai-lien-quan {
  font-family: "Noto Serif";
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  font-variant-numeric: lining-nums proportional-nums;
}


/* =========================================================
   5) PAGER
   ========================================================= */
.page { display: flex; align-items: end; }

#pager {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 16px;
}

#pager .paginationjs { display: flex; justify-content: center; }
#pager .paginationjs-pages { display: flex; align-items: center; }

#pager .paginationjs-pages ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

#pager .paginationjs-pages li > a {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #E4E2DE;
  border-radius: 6px;
  padding: 0 12px;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  cursor: pointer;
}

#pager .paginationjs-pages li > a:hover {
  border-color: #154FA3;
  color: #154FA3;
  background: rgba(21, 79, 163, 0.06);
}

#pager .paginationjs-pages li.active > a {
  background: #154FA3;
  color: #fff;
  border-color: #154FA3;
}

#pager .paginationjs-prev a,
#pager .paginationjs-next a,
#pager .paginationjs-first a,
#pager .paginationjs-last a {
  min-width: 40px;
  height: 40px;
}

#pager .paginationjs-prev.disabled a,
#pager .paginationjs-next.disabled a,
#pager .paginationjs-first.disabled a,
#pager .paginationjs-last.disabled a {
  color: #94A3B8;
  opacity: .45;
  pointer-events: none;
}


/* =========================================================
   6) HERO / BANNER (Ảnh + Text)
   ========================================================= */
.thumbnail { width: 100%; display: block; }

.bvh-hero {
  position: relative;
  width: 100%;
  border-radius: 0 !important;
  overflow: hidden;
}

.bvh-hero__link { display: block; position: relative; }
.bvh-hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 !important;
}

/* shade + text overlay cho hero text */
.mm-hero__shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 52%;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
  pointer-events: none;
}

.mm-hero__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  transform: translateY(-64px);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.mm-hero__text {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}

.mm-hero__title {
  font-family: "Noto Serif";
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mm-hero__desc {
  margin-top: 8px;
  font-family: "Inter";
  font-size: 14px;
  line-height: 1.5;
  opacity: .92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =========================================================
   7) GRID CARD (grid16 + grid3)
   ========================================================= */
.bvh-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.bvh-card__thumb {
  width: 100%;
  border-radius: 0 !important;
  overflow: hidden;
  background: transparent !important;
  position: relative;
}

.bvh-card__thumb img {
	width: 100%;
    height: 190px;
}

/* icon góc trái dưới */
.mm-corner-icon{
  position: absolute;
  left: 14px;  
  bottom: 15px;  
  width: 30px!important;
  height: 30px!important;
  z-index: 3;
  pointer-events: none;
}

.bvh-card__title {
  margin-top: 8px;
  font-family: "Noto Serif";
  font-weight: 500 !important;
  font-size: 13px !important;
  line-height: 150% !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px !important;
  color: var(--Text-Neutral-Default, rgba(48, 48, 48, 1));
}

.bvh-card__meta {
  margin-top: 2px !important;
  font-family: "Inter";
  font-weight: 400;
  font-size: 12px;
  line-height: 160%;
  color: var(--Text-Neutral-Secondary, rgba(90, 90, 90, 1));
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px !important;
  color: var(--Text-Neutral-Secondary, rgba(90, 90, 90, 1));
}

/* Grid 16 */
.bvh-grid16 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 12px;
}

/* Grid 3 */
.bvh-grid3 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Khối nền beige */
.bvh-blocks-beige {
  margin-top: 16px;
  background: rgba(250, 246, 240, 1);
  border-radius: 0 !important;
  padding: 18px 18px 8px;
}

.bvh-blocks-beige .bvh-section {
  padding: 0 0 12px;
}

.bvh-blocks-beige .bvh-section + .bvh-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 17, .06);
}

.bvh-section__title {
  margin: 0 0 10px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bvh-section__title .line-ttsk { height: 18px; }
.bvh-section__title .text-noi-dung {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}


/* =========================================================
   8) MULTIMEDIA HERO VIDEO (hover preview + click play in banner)
   ========================================================= */
.background.mm-hero,
.mm-hero {
  position: relative;
}

.img-slider-background {
  position: relative;
}

/* overlay chỉ phủ ảnh, không ăn click */
.img-slider-background .overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

/* ===== Preview (hover 3s) nằm trong banner ===== */
.mm-preview {
  position: absolute;
  inset: 0;
  z-index: 3;            /* dưới overlay & dưới nút */
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.mm-preview.is-on { opacity: 1; }

.mm-preview__inner,
.mm-preview__inner video,
.mm-preview__inner iframe {
  width: 100%;
  height: 100%;
}

.mm-preview__inner video {
  object-fit: cover;
  display: block;
  background: #000;
}

/* ===== Nút play nằm giữa banner ===== */
#mmPlay {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
}
#mmPlay img { display: block; }

/* ===== Player chạy TRONG banner (vừa khung ảnh) ===== */
.mm-player {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: none;
  background: rgba(0,0,0,.55);
}
.mm-player.is-show { display: block; }

.mm-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;.bvh-card__thumb img
}

.mm-frame-inner {
  width: 100%;
  height: 100%;
}

.mm-frame-inner iframe,
.mm-frame-inner video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: contain; /* dư thì đen, không phóng bừa */
  background: #000;
}

.mm-player-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 22px;
  line-height: 38px;
  cursor: pointer;
}


/* =========================================================
   9) RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .bvh-grid16 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .bvh-grid3  { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .in-box-thong-tin-left img { width: 220px; }
  
  .thong-tin{
	  width: 100vw;
  }
}

@media (max-width: 767px) {
	.thong-tin{
	  width: 100vw;
	}
	
  #pager { justify-content: center; }

  .bvh-grid16 { grid-template-columns: 1fr; gap: 14px; }
  .bvh-grid3  { grid-template-columns: 1fr; gap: 14px; }

  .in-box-thong-tin-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .in-box-thong-tin-left img {
    width: 100%;
    height: auto;
  }

  .bvh-blocks-beige { padding: 14px 14px 6px; }

  .mm-hero__title { font-size: 18px; }
  .mm-hero__desc  { font-size: 13px; }

  /* nếu bạn muốn ép banner cao cố định mobile */
  .img-slider-background .box-img-slider-background {
    height: 260px;
    overflow: hidden;
  }
  .img-slider-background .box-img-slider-background img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

.mm-player-close {
	display: flex;
    align-items: center;
    justify-content: center;
}