/* Ads — cùng khổ theme khác, không phá grid bài viết */
.h2-body .h2-ad-head,
.h2-body .h2-watch .vb-ad-player,
.h2-body .vb-ad-header,
.h2-body .vb-ad-player {
  display: block !important;
  width: min(72vw, 420px) !important;
  max-width: min(72vw, 420px) !important;
  min-width: 0 !important;
  margin: 6px auto !important;
  float: none !important;
  box-sizing: border-box !important;
}
.h2-body .h2-ad-head { padding: 4px 0 0 !important; }
.h2-body .vb-ad-header img,
.h2-body .vb-ad-player img,
.h2-body .vb-ad-catfish-top img,
.h2-root .vb-ad img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: 38px !important;
  height: auto !important;
  object-fit: fill !important;
  display: block !important;
  margin: 0 auto !important;
}
@media (min-width: 768px) {
  .h2-body .vb-ad-header img,
  .h2-body .vb-ad-player img,
  .h2-body .vb-ad-catfish-top img {
    max-height: 52px !important;
  }
}
.h2-watch,
.h2-watch__main {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

/* PC: like/share không đè tên Serie; 3 chấm không sát mép che nút Lưu */
.h2-yrow {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  padding-right: 8px !important;
  box-sizing: border-box !important;
}
.h2-ychan {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 320px) !important;
  position: relative !important;
  z-index: 1 !important;
}
.h2-yacts {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin-left: 12px !important;
  position: relative !important;
  z-index: 2 !important;
}
.h2-yacts__row {
  width: auto !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
}
.h2-ymore {
  margin-left: 0 !important;
  margin-right: 2px !important;
  position: relative !important;
  z-index: 3 !important;
}
@media (max-width: 720px) {
  .h2-yrow { flex-wrap: wrap !important; padding-right: 0 !important; }
  .h2-ychan { max-width: 100% !important; flex: 1 1 100% !important; }
  .h2-yacts { width: 100% !important; margin-left: 0 !important; }
}
.h2-body .vb-ad-catfish-top,
.h2-body .vb-ad-catfish {
  width: min(72vw, 420px) !important;
  max-width: min(72vw, 420px) !important;
  min-width: 0 !important;
}
/* cloud top search + ads footer đã bọc chung .h2-wrap trong layout */
.h2-body .h2-wrap .vb-theme-cloud,
.h2-root .h2-wrap .vb-theme-cloud {
  margin: 0 0 2px !important;
}
.h2-body .h2-wrap .vb-theme-cloud .h2-chiprow,
.h2-root .h2-wrap .vb-theme-cloud .h2-chiprow {
  margin-bottom: 0 !important;
  padding-bottom: 4px !important;
}
.h2-body .h2-wrap .vb-ad-cloud,
.h2-root .h2-wrap .vb-ad-cloud,
.h2-body .h2-wrap .vb-ad-footer,
.h2-root .h2-wrap .vb-ad-footer,
.h2-body .h2-wrap .vb-theme-cloud + .vb-ad,
.h2-root .h2-wrap .vb-theme-cloud + .vb-ad {
  margin-top: 10px !important;
  padding-top: 6px !important;
}
