/*
 * Bổ sung cho bộ giao diện hitclubv (flatsome.css + hcv/css/custom.css): các phần riêng của site
 * (sapo, ảnh bìa, khung bài, hàng nút traffic, DMCA, dải nội dung mẫu, 404) + thay phần JS Flatsome (header dính, nút lên đầu).
 * KHÔNG có luật ẩn ô traffic (chủ site 20/11/2026: hiện tự do, không :empty / :has).
 */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed !important;
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 8px 14px;
  background: #f0be43;
  color: #2a1603;
  font-weight: 700;
}

/* Header dính khi cuộn (thay flatsome.js) */
#header {
  position: sticky;
  top: 0;
  z-index: 30;
}

/* ---------- Trang chủ ---------- */
.bc-home-section {
  padding-top: 30px;
  padding-bottom: 30px;
}
.bc-home-section .section-title-main {
  text-transform: uppercase;
}
.bc-home-sapo {
  font-size: 0.9rem;
}
.bc-home-sapo blockquote p {
  text-align: justify;
}
.home-content > .col-inner {
  text-align: left;
}

/* ---------- Khung bài (chung) ---------- */
.bc-prose p,
.bc-prose li,
.bc-sapo {
  text-align: justify;
}
.bc-sapo {
  font-weight: 700;
}
.bc-page-title {
  text-align: center;
}
.bc-cover,
.bc-prose figure {
  margin: 0 auto 1.3em;
  text-align: center;
}
.bc-cover img,
.bc-prose img,
.entry-image img {
  height: auto;
  max-width: 100%;
}
.bc-prose figure img {
  display: block;
  margin: 0 auto;
}
.bc-prose figcaption {
  margin-top: 0.4em;
  color: #e9dcc0;
  font-size: 0.85em;
  font-style: italic;
  text-align: center;
}
.bc-prose table {
  width: 100%;
  margin-bottom: 1.3em;
}
.bc-prose table th,
.bc-prose table td {
  color: #fff;
  border-color: rgba(240, 190, 67, 0.35);
}
.bc-prose table th {
  color: #f0be43;
}
.bc-prose a:not(.button) {
  color: #f0be43;
}
.bc-prose a:not(.button):hover {
  color: #fff;
}
.bc-prose h2,
.bc-prose h3,
.bc-prose h4 {
  scroll-margin-top: 90px;
}
.entry-image .post-date {
  left: 0;
}

/* ---------- Footer ---------- */
.bc-footer-section {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: rgb(0, 0, 0);
}
.bc-footer-logo {
  width: 78%;
  margin: 0 auto 1em;
}
.bc-footer-ambassador {
  width: 80%;
  margin: 0 auto;
}
.bc-footer-title {
  font-size: 1.2rem;
}
.bc-dmca {
  margin: 8px 0 0;
}
.dmca-badge {
  display: inline-flex;
  line-height: 0;
}
.dmca-badge img {
  height: 24px;
  width: auto;
}

/* Menu mobile (22/11/2026): nút ☰ trái header + ngăn kéo trái. Desktop ẩn nút. */
.bc-burger { display: none; }
@media (max-width: 849px) {
  .bc-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 9px; margin: 0; border: 1px solid rgba(240, 190, 67, .45);
    border-radius: 8px; background: rgba(0, 0, 0, .35); cursor: pointer;
  }
  .bc-burger span { display: block; height: 2px; border-radius: 2px; background: #f0be43; }
}
.bc-drawer { position: fixed; inset: 0; z-index: 2147483646; }
.bc-drawer[hidden] { display: none; }
.bc-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); }
.bc-drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(84vw, 340px); overflow-y: auto;
  padding: 14px 16px 28px; background: #0d0d0d; border-right: 1px solid rgba(240, 190, 67, .35);
  box-shadow: 6px 0 24px rgba(0, 0, 0, .6);
}
.bc-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bc-drawer__logo-img { height: 54px; width: auto; }
.bc-drawer__close {
  width: 40px; height: 40px; margin: 0; padding: 0; border: 0; background: none;
  color: #f0be43; font-size: 32px; line-height: 1; cursor: pointer;
}
.bc-drawer__label {
  margin: 16px 0 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(240, 190, 67, .25);
  color: #f0be43; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.bc-drawer__list { margin: 0; padding: 0; list-style: none; }
.bc-drawer__list li { margin: 0; }
.bc-drawer__list a {
  display: block; padding: 11px 6px; border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fff; font-size: 15.5px; font-weight: 600;
}
.bc-drawer__list a.is-active, .bc-drawer__list a:hover { color: #f0be43; }
.bc-drawer__cta {
  display: block; margin-top: 20px; padding: 12px; border-radius: 999px; text-align: center;
  background: linear-gradient(180deg, #ffe082, #f0be43 55%, #c8901a); color: #1a1100; font-weight: 800;
}
html.bc-drawer-open, html.bc-drawer-open body { overflow: hidden; }

/* .traffic-qq (ô qq-countdown): CỐ Ý KHÔNG CÓ STYLE NÀO — vùng riêng, không ràng buộc (bỏ đệm mobile 22/11/2026) */

/* Hàng script traffic: một hàng ngang giữa, hiện tự do (không ẩn ô nào). */
.traffic-slots {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  max-width: 1210px;
  margin: 0 auto;
  padding: 22px 15px;
  border-top: 1px solid rgba(240, 190, 67, 0.25);
  text-align: center;
}
.traffic-slot {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  flex: 0 1 auto;
  max-width: 100%;
  color: #fff;
  font-size: 14.5px;
}
.traffic-slot > * {
  margin: 0 !important;
}
.traffic-slot a,
.traffic-slot button {
  max-width: 100%;
}
.traffic-slot img,
.traffic-slot iframe {
  max-width: 100%;
  height: auto;
}

/* Banner dính đáy: chừa chỗ để không che bản quyền / hàng nút; nút đóng là <button>. */
.absolute-footer {
  padding-bottom: 80px;
}
@media (max-width: 549px) {
  .absolute-footer {
    padding-bottom: 110px;
  }
}
#footer-banner-close {
  position: absolute;
  right: 0;
  top: -25px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}
#footer-banner-close svg {
  fill: #fff;
}
.footer-banner-gwd img {
  display: block;
  width: 100%;
  height: auto;
}
.gwd-banner-image.is-closed {
  display: none;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  bottom: 90px;
}

/* Dải báo nội dung mẫu tạm (trang có meta _bc_sample). */
.sample-note {
  margin: 0;
  padding: 6px 14px;
  background: #3a0d0d;
  border-bottom: 1px solid #ff6a4d;
  color: #ffd2c4;
  font-size: 13px;
  text-align: center;
}
.sample-note strong {
  color: #ff8a6d;
}

/* ---------- 404 ---------- */
.bc-404 {
  padding: 40px 0 60px;
  text-align: center;
}
.bc-404 .nf-code {
  margin: 0;
  color: #f0be43;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}
