﻿/* ============================================================
   BJ88 Child Theme — Global Dark Theme CSS
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --bj88-bg:           #0d0d0d;
  --bj88-bg-2:         #111111;
  --bj88-bg-3:         #141414;
  --bj88-card:         #1a1a1a;
  --bj88-card-hover:   #222222;
  --bj88-gold:         #f5c518;
  --bj88-gold-dk:      #c9a227;
  --bj88-gold-grad:    linear-gradient(135deg,#f5c518 0%,#c9a227 100%);
  --bj88-red:          #e8192c;
  --bj88-red-dk:       #c01020;
  --bj88-text:         #ffffff;
  --bj88-muted:        #cccccc;
  --bj88-border:       #2a2a2a;
  --bj88-radius:       8px;
  --bj88-radius-lg:    16px;
  --bj88-ease:         0.3s ease;
}

/* ---------- FONT ---------- */
body,
body.bj88-dark-theme,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
button, input, select, textarea {
  font-family: 'Be Vietnam Pro', sans-serif !important;
}

/* ---------- GLOBAL OVERRIDES ---------- */
body.bj88-dark-theme,
body.bj88-dark-theme #page-wrapper,
body.bj88-dark-theme .page-wrapper {
  background-color: var(--bj88-bg) !important;
  color: var(--bj88-text);
}

/* Override Flatsome default gray text — force near-white on all content */
body.bj88-dark-theme p,
body.bj88-dark-theme li,
body.bj88-dark-theme td,
body.bj88-dark-theme th,
body.bj88-dark-theme label,
body.bj88-dark-theme .entry-content p,
body.bj88-dark-theme .entry-content li,
body.bj88-dark-theme .post-content p,
body.bj88-dark-theme .post-content li {
  color: #e0e0e0 !important;
}

body.bj88-dark-theme .section {
  background-color: var(--bj88-bg);
}

/* ---------- HEADER ---------- */
body.bj88-dark-theme #header,
body.bj88-dark-theme .header {
  background: var(--bj88-bg-2) !important;
  border-bottom: 1px solid var(--bj88-border) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.6) !important;
}

body.bj88-dark-theme .header-inner {
  background: transparent !important;
}

/* Logo area */
body.bj88-dark-theme .header-logo img { max-height: 48px; }

/* Navigation */
body.bj88-dark-theme .nav > li > a,
body.bj88-dark-theme .nav li a {
  color: var(--bj88-text) !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--bj88-ease);
}

body.bj88-dark-theme .nav > li.active > a,
body.bj88-dark-theme .nav > li:hover > a,
body.bj88-dark-theme .nav > li.current-menu-item > a,
body.bj88-dark-theme .nav > li.current_page_item > a {
  color: var(--bj88-gold) !important;
}

/* Dropdown nav */
body.bj88-dark-theme .nav .sub-menu,
body.bj88-dark-theme .nav .dropdown-menu {
  background: var(--bj88-bg-2) !important;
  border: 1px solid var(--bj88-border) !important;
}

body.bj88-dark-theme .nav .sub-menu a {
  color: var(--bj88-text) !important;
}

body.bj88-dark-theme .nav .sub-menu a:hover {
  color: var(--bj88-gold) !important;
  background: var(--bj88-card) !important;
}

/* BJ88 Header buttons */
.bj88-btn-login {
  background: var(--bj88-red) !important;
  color: #fff !important;
  border-radius: 24px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  border: none !important;
  transition: background var(--bj88-ease), transform var(--bj88-ease);
  display: inline-block;
  text-decoration: none;
}
.bj88-btn-login:hover { background: var(--bj88-red-dk) !important; transform: translateY(-1px); color: #fff !important; }

.bj88-btn-register {
  background: var(--bj88-gold-grad) !important;
  color: #000 !important;
  border-radius: 24px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  border: none !important;
  transition: opacity var(--bj88-ease), transform var(--bj88-ease);
  display: inline-block;
  text-decoration: none;
}
.bj88-btn-register:hover { opacity: 0.9; transform: translateY(-1px); color: #000 !important; }

/* ---------- SECTION HEADING (shared) ---------- */
.bj88-section-heading {
  text-align: center;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
  color: var(--bj88-gold) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.bj88-section-heading::before,
.bj88-section-heading::after {
  content: '';
  flex: 0 0 60px;
  height: 2px;
  background: var(--bj88-gold-grad);
}

/* ---------- HERO SLIDER ---------- */
.bj88-hero-slider {
  position: relative;
  overflow: hidden !important;
  background: #000;
  width: 100%;
  /* height is set via inline style from shortcode attr */
}

/* Full-bleed handled by JS (makeFullWidth) due to html{overflow-x:hidden} in Flatsome */
/* JS sets margin-left and width as inline styles after measuring real offset */

.section .bj88-hero-slider,
.section-inner .bj88-hero-slider {
  width: 100%;
  max-width: none;
}

.bj88-hero-slider__track {
  display: flex;
  flex-wrap: nowrap;        /* CRITICAL: prevent vertical stacking */
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

/* Slide — each takes exactly the slider viewport width */
.bj88-hero-slide {
  position: relative;
  flex: 0 0 100%;           /* CRITICAL: each slide = 100% of track */
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bj88-hero-slide__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bj88-hero-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

.bj88-hero-slide__title {
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  margin: 0 0 16px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bj88-hero-slide__subtitle {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.88);
  margin: 0 0 32px;
  line-height: 1.65;
}

.bj88-hero-slide__btn {
  display: inline-block;
  padding: 14px 44px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: transform var(--bj88-ease), box-shadow var(--bj88-ease), opacity var(--bj88-ease);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.bj88-hero-slide__btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.45); opacity: 0.93; }

/* Arrows */
.bj88-hero-slider__prev,
.bj88-hero-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--bj88-ease), color var(--bj88-ease), border-color var(--bj88-ease);
}
.bj88-hero-slider__prev { left: 16px; }
.bj88-hero-slider__next { right: 16px; }
.bj88-hero-slider__prev:hover,
.bj88-hero-slider__next:hover {
  background: var(--bj88-gold);
  color: #000;
  border-color: var(--bj88-gold);
}

/* Dots */
.bj88-hero-slider__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.bj88-hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--bj88-ease), width var(--bj88-ease), border-radius var(--bj88-ease);
}
.bj88-hero-slider__dot.is-active {
  background: var(--bj88-gold);
  width: 26px;
  border-radius: 4px;
}

/* ---------- GAME CATEGORIES ---------- */
.bj88-game-categories { padding: 16px 0; }

.bj88-game-categories__grid {
  display: grid;
  grid-template-columns: repeat(var(--bj88-cat-cols,4), 1fr);
  gap: var(--bj88-cat-gap,24px);
  align-items: start;
}

.bj88-cat-item { display: flex; justify-content: center; }

.bj88-cat-item__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform var(--bj88-ease);
}
.bj88-cat-item__link:hover { transform: translateY(-8px); }

.bj88-cat-item__circle {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bj88-gold);
  box-shadow: 0 0 18px rgba(245,197,24,0.25);
  background: var(--bj88-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--bj88-ease), border-color var(--bj88-ease);
}
.bj88-cat-item__link:hover .bj88-cat-item__circle {
  box-shadow: 0 0 35px rgba(245,197,24,0.55);
  border-color: #fff;
}

.bj88-cat-item__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--bj88-ease);
}
.bj88-cat-item__link:hover .bj88-cat-item__circle img { transform: scale(1.06); }

.bj88-cat-item__placeholder {
  font-size: 32px;
  font-weight: 900;
  color: var(--bj88-gold);
  text-transform: uppercase;
}

.bj88-cat-item__label {
  font-size: clamp(13px, 1.8vw, 20px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  line-height: 1;
  font-family: inherit;
  /* color set via inline style */
}

/* ---------- FEATURE LIST ---------- */
.bj88-feature-list {
  display: grid;
  grid-template-columns: repeat(var(--bj88-feat-cols,2), 1fr);
  gap: var(--bj88-feat-gap,16px);
}

.bj88-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: var(--bj88-card);
  border-radius: var(--bj88-radius);
  border-left: 3px solid var(--bj88-gold);
  transition: background var(--bj88-ease), transform var(--bj88-ease);
}
.bj88-feature-item:hover { background: var(--bj88-card-hover); transform: translateX(4px); }

.bj88-feature-item__icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  line-height: 1;
  padding-top: 1px;
  color: var(--bj88-feat-icon, var(--bj88-gold));
}

.bj88-feature-item__content { flex: 1; }

.bj88-feature-item__title {
  display: block;
  color: var(--bj88-text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}

.bj88-feature-item__desc {
  color: var(--bj88-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- PROMO CARDS ---------- */
.bj88-promo-cards { padding: 8px 0; }

.bj88-promo-cards__grid {
  display: grid;
  grid-template-columns: repeat(var(--bj88-promo-cols,3), 1fr);
  gap: var(--bj88-promo-gap,20px);
}

.bj88-promo-card {
  position: relative;
  border-radius: var(--bj88-radius-lg);
  border: 1px solid var(--bj88-border);
  transition: transform var(--bj88-ease), box-shadow var(--bj88-ease), border-color var(--bj88-ease);
}
/* overflow:hidden và flex chỉ dùng cho grid-based cards, không dùng cho ux_banner */
.bj88-promo-cards__grid .bj88-promo-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bj88-promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
  border-color: var(--bj88-gold);
}

.bj88-promo-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.bj88-promo-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.bj88-promo-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--bj88-ease);
}
.bj88-promo-card:hover .bj88-promo-card__image img { transform: scale(1.05); }

.bj88-promo-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bj88-promo-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bj88-text);
  margin: 0;
  line-height: 1.3;
}

.bj88-promo-card__desc {
  color: var(--bj88-muted);
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}
.bj88-promo-card__desc p { margin: 0 0 6px; }

.bj88-promo-card__btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 26px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform var(--bj88-ease), opacity var(--bj88-ease);
}
.bj88-promo-card__btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* ---------- INFO TABLE ---------- */
.bj88-info-table { margin: 16px 0; }

.bj88-info-table__heading {
  text-align: center;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--bj88-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 20px;
  border: 1px solid var(--bj88-gold);
  margin-bottom: 0;
}

.bj88-info-table__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bj88-info-table__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--bj88-tbl-border, var(--bj88-border));
}

.bj88-info-table__table thead th {
  background: var(--bj88-tbl-h-bg, var(--bj88-gold));
  color: var(--bj88-tbl-h-color, #000);
  padding: 13px 18px;
  text-align: left;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.bj88-info-table__table tbody tr:nth-child(odd) td  { background: var(--bj88-tbl-odd,  var(--bj88-card)); }
.bj88-info-table__table tbody tr:nth-child(even) td { background: var(--bj88-tbl-even, var(--bj88-bg-3)); }

.bj88-info-table__table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--bj88-tbl-border, var(--bj88-border));
  font-size: 14px;
  line-height: 1.5;
  vertical-align: middle;
}

.bj88-info-row__label {
  color: var(--bj88-tbl-label, var(--bj88-muted));
  font-weight: 600;
  white-space: nowrap;
  width: 35%;
}

.bj88-info-row__value {
  color: var(--bj88-tbl-text, var(--bj88-text));
}

.bj88-info-table__table tbody tr:hover td { background: var(--bj88-card-hover) !important; }

/* ---------- FAQ SECTION ---------- */
.bj88-faq { margin: 8px 0; }

.bj88-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bj88-faq-item {
  border-radius: var(--bj88-radius);
  overflow: hidden;
  border: 1px solid var(--bj88-border);
}

.bj88-faq-item__q {
  width: 100%;
  background: var(--bj88-card);
  color: var(--bj88-text);
  border: none;
  padding: 17px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: background var(--bj88-ease), color var(--bj88-ease);
  font-family: inherit;
}
.bj88-faq-item__q:hover,
.bj88-faq-item__q[aria-expanded="true"] {
  background: var(--bj88-card-hover);
  color: var(--bj88-faq-accent, var(--bj88-gold));
}

.bj88-faq-item__q-text { flex: 1; }

.bj88-faq-item__arrow {
  flex-shrink: 0;
  color: currentColor;
  transition: transform var(--bj88-ease);
  display: flex;
  align-items: center;
}
.bj88-faq-item__q[aria-expanded="true"] .bj88-faq-item__arrow { transform: rotate(180deg); }

.bj88-faq-item__a { display: none; }
.bj88-faq-item__a:not([hidden]) { display: block; }

.bj88-faq-item__a-inner {
  padding: 16px 20px;
  background: var(--bj88-bg);
  color: var(--bj88-muted);
  font-size: 14px;
  line-height: 1.65;
  border-top: 1px solid var(--bj88-border);
}
.bj88-faq-item__a-inner p { margin: 0 0 8px; }
.bj88-faq-item__a-inner p:last-child { margin-bottom: 0; }

/* ---------- FOOTER OVERRIDES ---------- */
body.bj88-dark-theme #footer,
body.bj88-dark-theme .footer-container {
  background: #080808 !important;
  border-top: 1px solid var(--bj88-border) !important;
  color: var(--bj88-muted);
}

body.bj88-dark-theme .footer-bottom,
body.bj88-dark-theme #footer-bottom {
  background: #050505 !important;
  border-top: 1px solid var(--bj88-border) !important;
  color: var(--bj88-muted);
}

body.bj88-dark-theme #footer .widget-title,
body.bj88-dark-theme .footer-container .widget-title { color: var(--bj88-gold) !important; }

body.bj88-dark-theme #footer a,
body.bj88-dark-theme .footer-container a { color: var(--bj88-muted) !important; transition: color var(--bj88-ease); }

body.bj88-dark-theme #footer a:hover,
body.bj88-dark-theme .footer-container a:hover { color: var(--bj88-gold) !important; }

/* ---------- BLOG POSTS (news grid) ---------- */
body.bj88-dark-theme .blog-posts .post,
body.bj88-dark-theme .blog-posts article {
  background: var(--bj88-card) !important;
  border: 1px solid var(--bj88-border) !important;
  border-radius: var(--bj88-radius) !important;
  overflow: hidden;
  transition: border-color var(--bj88-ease), transform var(--bj88-ease);
}
body.bj88-dark-theme .blog-posts .post:hover,
body.bj88-dark-theme .blog-posts article:hover {
  border-color: var(--bj88-gold) !important;
  transform: translateY(-4px);
}

body.bj88-dark-theme .blog-posts .post-title a {
  color: var(--bj88-text) !important;
}
body.bj88-dark-theme .blog-posts .post-title a:hover {
  color: var(--bj88-gold) !important;
}
body.bj88-dark-theme .blog-posts .post-meta { color: var(--bj88-muted) !important; }

/* ---------- SECTION BG HELPERS ---------- */
.bj88-bg-dark   { background-color: var(--bj88-bg)  !important; }
.bj88-bg-dark-2 { background-color: var(--bj88-bg-2) !important; }

/* ---------- BUTTON HELPERS ---------- */
.button.bj88-gold,
a.button.bj88-gold {
  background: var(--bj88-gold-grad) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 26px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.button.bj88-red,
a.button.bj88-red {
  background: var(--bj88-red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 26px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* ---------- FLATSOME SECTION DARK MODE ---------- */
body.bj88-dark-theme .section,
body.bj88-dark-theme .section-inner { color: var(--bj88-text); }

body.bj88-dark-theme h1,
body.bj88-dark-theme h2,
body.bj88-dark-theme h3,
body.bj88-dark-theme h4,
body.bj88-dark-theme h5,
body.bj88-dark-theme h6 { color: var(--bj88-text); }

body.bj88-dark-theme p,
body.bj88-dark-theme li { color: var(--bj88-muted); }

body.bj88-dark-theme strong,
body.bj88-dark-theme b { color: var(--bj88-text); }

body.bj88-dark-theme a { color: var(--bj88-gold); }
body.bj88-dark-theme a:hover { color: var(--bj88-gold-dk); }

/* ---------- FLATSOME SECTION OVERRIDES FOR BJ88 ---------- */

/* Remove top/bottom padding từ sections dark */
.section.bj88-bg-dark > .section-inner,
.section.bj88-bg-dark-2 > .section-inner {
  background: transparent !important;
}

/* Hero slider nằm ngoài section: ensure full bleed */
.entry-content > .bj88-hero-slider,
.post-content > .bj88-hero-slider {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  left: 0;
}

/* Fix Flatsome section có dark bg */
body.bj88-dark-theme .section[style*="background"] .section-inner {
  background: transparent !important;
}

/* Game categories placeholder color */
.bj88-cat-item__placeholder {
  color: var(--bj88-gold);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 1;
}

/* Đảm bảo section dark không có viền trắng */
body.bj88-dark-theme .section,
body.bj88-dark-theme .section-inner {
  border-color: var(--bj88-border) !important;
}

/* Fix màu text trong text_box Flatsome */
body.bj88-dark-theme .text-box p,
body.bj88-dark-theme .text-box li { color: var(--bj88-muted); }
body.bj88-dark-theme .text-box h1,
body.bj88-dark-theme .text-box h2,
body.bj88-dark-theme .text-box h3 { color: var(--bj88-text); }
body.bj88-dark-theme .text-box strong { color: var(--bj88-text); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .bj88-game-categories__grid {
    grid-template-columns: repeat(min(var(--bj88-cat-cols,4), 4), 1fr);
  }
  .bj88-promo-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bj88-game-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .bj88-promo-cards__grid {
    grid-template-columns: 1fr;
  }
  .bj88-feature-list {
    grid-template-columns: 1fr;
  }
  .bj88-hero-slide__content {
    padding: 50px 20px;
  }
  .bj88-hero-slider__prev,
  .bj88-hero-slider__next { display: none; }
  .bj88-info-row__label { min-width: 130px; width: auto; white-space: normal; }
}

@media (max-width: 480px) {
  .bj88-game-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .bj88-cat-item__circle { max-width: 130px; }
  .bj88-cat-item__label { font-size: 11px; letter-spacing: 1px; }
  .bj88-hero-slide__title { font-size: 22px; }
}

/* ============================================================
   BJ88 HEADER BUTTONS — ĐĂNG NHẬP / ĐĂNG KÝ +88K
   ============================================================ */

/* Container injected by JS */
.bj88-header-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  flex-shrink: 0;
}

/* Base button */
.bj88-btn-login,
.bj88-btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.bj88-btn-login:hover,
.bj88-btn-register:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ĐĂNG NHẬP — red */
.bj88-btn-login {
  background: #e8192c;
  color: #ffffff !important;
  border: none;
}

/* ĐĂNG KÝ +88K — gold */
.bj88-btn-register {
  background: #f5c518;
  color: #000000 !important;
  border: none;
}

/* Hide on mobile (hamburger menu takes over) */
@media (max-width: 768px) {
  .bj88-header-buttons { display: none; }
}

/* ============================================================
   BJ88 LOGO SIZE OVERRIDE
   ============================================================ */
body.bj88-dark-theme #logo img,
body.bj88-dark-theme #logo a img {
  max-height: 52px !important;
  width: auto !important;
  object-fit: contain;
}

/* ============================================================
   FIX: [text_box] khi dùng trong [col] (không phải banner)
   Flatsome mặc định render text_box position:absolute width:60%
   → override thành block element khi nằm trong col-inner
   ============================================================ */
.col-inner > .text-box,
.col-inner > div > .text-box {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 16px !important;
}

/* ============================================================
   HEADER BOTTOM NAV BAR — dark background matching original
   ============================================================ */
body.bj88-dark-theme .header-bottom {
  background-color: #0d0d0d !important;
}
body.bj88-dark-theme .header-bottom .nav > li > a {
  color: #cccccc !important;
}
body.bj88-dark-theme .header-bottom .nav > li.active > a,
body.bj88-dark-theme .header-bottom .nav > li > a:hover {
  color: #f5c518 !important;
}

/* ============================================================
   FOOTER DARK THEME
   ============================================================ */
body.bj88-dark-theme #footer,
body.bj88-dark-theme .footer-wrapper,
body.bj88-dark-theme .footer-widgets {
  background-color: #111111 !important;
  color: #cccccc !important;
}
body.bj88-dark-theme .footer-widgets .widget-title,
body.bj88-dark-theme .footer-widgets h4 {
  color: #f5c518 !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2a2a;
}
body.bj88-dark-theme .footer-widgets a {
  color: #cccccc !important;
  transition: color 0.2s;
}
body.bj88-dark-theme .footer-widgets a:hover {
  color: #f5c518 !important;
}
body.bj88-dark-theme .absolute-footer {
  background-color: #0d0d0d !important;
  border-top: 1px solid #2a2a2a !important;
  color: #b8b8b8 !important;
}
body.bj88-dark-theme .absolute-footer a {
  color: #c0c0c0 !important;
}
body.bj88-dark-theme .absolute-footer .copyright-footer {
  color: #b8b8b8 !important;
  font-size: 13px;
}
body.bj88-dark-theme .footer-widgets .footer {
  padding: 50px 0 30px !important;
}

/* ============================================================
   FLATSOME NATIVE SHORTCODE STYLES — dark theme
   ============================================================ */

/* ── Hero slider full-width breakout ── */
body.bj88-dark-theme .bj88-hero-slider,
body.bj88-dark-theme .bj88-hero-slider .flickity-viewport {
  width: 100% !important;
}
body.bj88-dark-theme .row-full-width > .col-inner {
  padding: 0 !important;
}

/* ── Section & row dark backgrounds ── */
body.bj88-dark-theme .section,
body.bj88-dark-theme .section > .section-inner {
  color: #cccccc;
}
body.bj88-dark-theme .section h1,
body.bj88-dark-theme .section h2,
body.bj88-dark-theme .section h3,
body.bj88-dark-theme .section h4 {
  color: #ffffff;
}

/* ── [title] shortcode — gold divider lines ── */
body.bj88-dark-theme .title-wrapper {
  margin-bottom: 30px;
}
body.bj88-dark-theme .title-wrapper h2,
body.bj88-dark-theme .title-wrapper h3,
body.bj88-dark-theme .section-title,
body.bj88-dark-theme h2.section-title,
body.bj88-dark-theme .bj88-section-heading {
  color: #f5c518 !important;
}

/* ── [featured_box] game category circles ── */
body.bj88-dark-theme .bj88-cat-item .icon-box-img {
  margin: 0 auto 12px;
}
body.bj88-dark-theme .bj88-cat-item .icon-box-img .icon,
body.bj88-dark-theme .bj88-cat-item .icon-box-img .icon .icon-inner {
  overflow: hidden;
  display: block;
}
body.bj88-dark-theme .bj88-cat-item .icon-box-img img {
  display: block;
}
body.bj88-dark-theme .bj88-cat-item .icon-box-text h3,
body.bj88-dark-theme .bj88-cat-item .icon-box-text .h3 {
  color: #f5c518 !important;
  font-size: 14px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  text-align: center;
}
body.bj88-dark-theme .bj88-cat-item:hover .icon-box-img img {
  border-color: #e8192c;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* ── [featured_box] feature items (bj88-feat-item) ── */
body.bj88-dark-theme .bj88-feat-item {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-left: 3px solid #f5c518;
  border-radius: 6px;
  padding: 16px 18px !important;
  margin-bottom: 14px;
}
body.bj88-dark-theme .bj88-feat-item .icon-box-text h3 {
  color: #ffffff !important;
  font-size: 15px !important;
  margin-bottom: 4px;
}
body.bj88-dark-theme .bj88-feat-item .icon-box-text p,
body.bj88-dark-theme .bj88-feat-item .icon-box-text .last-reset p {
  color: #c8c8c8 !important;
  font-size: 13px !important;
  margin: 0;
}

/* ── [featured_box] games section (bj88-game-item) ── */
body.bj88-dark-theme .bj88-game-item {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-left: 3px solid #f5c518;
  border-radius: 6px;
  padding: 16px 18px !important;
  margin-bottom: 14px;
}
body.bj88-dark-theme .bj88-game-item .icon-box-text h3 {
  color: #f5c518 !important;
  font-size: 15px !important;
  margin-bottom: 4px;
}
body.bj88-dark-theme .bj88-game-item .icon-box-text .last-reset p,
body.bj88-dark-theme .bj88-game-item .icon-box-text p {
  color: #c0c0c0 !important;
  font-size: 13px !important;
  margin: 0;
}

/* ── [ux_banner] promo cards ── */
body.bj88-dark-theme .bj88-promo-card {
  transition: border-color 0.2s ease;
}
body.bj88-dark-theme .bj88-promo-card:hover {
  border-color: #f5c518 !important;
}
body.bj88-dark-theme .bj88-promo-card .text-box {
  /* Không override position/transform — để Flatsome JS tự xử lý */
}

/* ── [accordion] FAQ dark ── */
body.bj88-dark-theme .bj88-faq .accordion__title {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  color: #cccccc !important;
  padding: 14px 20px !important;
  border-radius: 4px !important;
  margin-bottom: 6px !important;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
body.bj88-dark-theme .bj88-faq .accordion__title:hover,
body.bj88-dark-theme .bj88-faq .accordion__title.is-active {
  background: #222 !important;
  border-left-color: #f5c518 !important;
  color: #f5c518 !important;
}
body.bj88-dark-theme .bj88-faq .accordion__content {
  background: #161616 !important;
  border: 1px solid #2a2a2a !important;
  border-top: none !important;
  color: #c8c8c8 !important;
  padding: 14px 20px !important;
  font-size: 14px !important;
  line-height: 1.7;
  margin-bottom: 6px !important;
}

/* ── [blog_posts] dark styling ── */
body.bj88-dark-theme .bj88-blog-posts .box {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 6px !important;
  overflow: hidden;
}
body.bj88-dark-theme .bj88-blog-posts .box-text h3,
body.bj88-dark-theme .bj88-blog-posts .box-text .h3 {
  color: #f5c518 !important;
  font-size: 15px !important;
}
body.bj88-dark-theme .bj88-blog-posts .box-text p {
  color: #c0c0c0 !important;
  font-size: 13px !important;
}
body.bj88-dark-theme .bj88-blog-posts .box-text .date {
  color: #b8b8b8 !important;
  font-size: 12px;
}

/* ── [featured_box] category items — stacked circle image ── */
body.bj88-dark-theme .bj88-cat-item.icon-box.icon-box-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

body.bj88-dark-theme .bj88-cat-item .icon-box-img .icon,
body.bj88-dark-theme .bj88-cat-item .icon-box-img .icon-inner {
  width: 100%;
  height: 100%;
}

body.bj88-dark-theme .bj88-cat-item .icon-box-text {
  text-align: center;
  width: 100%;
}

/* ── BJ88 Footer 3-column override ── */
body.bj88-dark-theme .bj88-footer .is-divider {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Make span.widget-title behave like h4.widget-title */
body.bj88-dark-theme .bj88-footer span.widget-title {
  display: block !important;
}

body.bj88-dark-theme .bj88-footer {
  background-color: #111111 !important;
  padding: 50px 0 30px !important;
}
body.bj88-dark-theme .bj88-footer .row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
body.bj88-dark-theme .bj88-footer .col {
  padding: 0 20px !important;
}
body.bj88-dark-theme .bj88-footer .widget-title,
body.bj88-dark-theme .bj88-footer h4.widget-title {
  color: #f5c518 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #2a2a2a !important;
}
body.bj88-dark-theme .bj88-footer .textwidget a {
  color: #c8c8c8 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
body.bj88-dark-theme .bj88-footer .textwidget a:hover {
  color: #f5c518 !important;
}

/* ── Mobile header buttons ── */
@media (max-width: 849px) {
  .bj88-header-buttons {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
  }
  .bj88-btn-login,
  .bj88-btn-register {
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 4px;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .bj88-btn-login { padding: 7px 11px !important; font-size: 12px !important; }
  .bj88-btn-register { padding: 7px 11px !important; font-size: 12px !important; }
}

/* ══════════════════════════════════════════════════════════════
   BJ88 ARCHIVE / SEARCH / SINGLE – DARK THEME
   ══════════════════════════════════════════════════════════════ */

.bj88-archive-page,
.bj88-single-page {
  --bj88-gold:   #f5c518;
  --bj88-red:    #e8192c;
  --bj88-bg:     #0d0d0d;
  --bj88-card:   #1a1a1a;
  --bj88-border: #2a2a2a;
  --bj88-text:   #cccccc;
  --bj88-muted:  #888888;
  --bj88-radius: 10px;
}

/* ARCHIVE HERO */
.bj88-archive-hero {
  background: linear-gradient(135deg,#0d0d0d 0%,#1a1a1a 60%,#252010 100%);
  border-bottom: 3px solid #f5c518;
  padding: 44px 0 36px;
}
.bj88-breadcrumb {
  display:flex;align-items:center;flex-wrap:wrap;gap:4px;
  font-size:12px;color:rgba(255,255,255,.78);margin-bottom:18px;
}
.bj88-breadcrumb a {
  color:rgba(255,255,255,.82)!important;display:flex;align-items:center;
  gap:4px;text-decoration:none;transition:color .15s;
}
.bj88-breadcrumb a:hover { color:#f5c518!important; }
.bj88-breadcrumb-sep { opacity:.45; }
.bj88-breadcrumb-current { color:rgba(255,255,255,.8); }
.bj88-archive-hero-inner { display:flex;align-items:center;gap:18px; }
.bj88-archive-hero-icon {
  width:56px;height:56px;border-radius:14px;
  background:rgba(245,197,24,.12);border:1px solid rgba(245,197,24,.25);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;color:#f5c518;
}
.bj88-archive-title { font-size:clamp(20px,3vw,28px)!important;font-weight:800!important;color:#fff!important;margin:0 0 6px!important; }
.bj88-archive-desc { font-size:13px;color:rgba(255,255,255,.85);margin:0 0 6px!important; }
.bj88-archive-count {
  font-size:12px;color:#f5c518;font-weight:600;
  background:rgba(245,197,24,.1);padding:3px 10px;border-radius:20px;display:inline-block;
}

/* BODY LAYOUT */
.bj88-archive-body { background:#0d0d0d;padding:36px 0 48px; }
.bj88-archive-layout {
  display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start;
}
.bj88-archive-main { min-width:0; }

/* FEATURED CARD */
.bj88-feat-card {
  display:grid;grid-template-columns:1fr 1fr;
  background:#1a1a1a;border-radius:10px;border:1px solid #2a2a2a;
  overflow:hidden;margin-bottom:24px;transition:border-color .2s,box-shadow .2s;
}
.bj88-feat-card:hover { border-color:#f5c518;box-shadow:0 4px 24px rgba(245,197,24,.12); }
.bj88-feat-thumb { position:relative;display:block;overflow:hidden; }
.bj88-feat-img { width:100%;height:100%;min-height:240px;object-fit:cover;display:block;transition:transform .4s; }
.bj88-feat-card:hover .bj88-feat-img { transform:scale(1.04); }
.bj88-feat-no-thumb { background:#111;height:240px;display:flex;align-items:center;justify-content:center; }
.bj88-feat-cat {
  position:absolute;top:12px;left:12px;
  background:#f5c518;color:#000;font-size:10px;font-weight:700;
  text-transform:uppercase;letter-spacing:.07em;padding:3px 10px;border-radius:20px;
}
.bj88-feat-body { padding:24px 26px;display:flex;flex-direction:column;justify-content:center; }
.bj88-feat-meta {
  display:flex;align-items:center;flex-wrap:wrap;gap:5px;
  font-size:12px;color:#c0c0c0;margin-bottom:12px;
}
.bj88-meta-dot { opacity:.4; }
.bj88-meta-author-link { display:flex;align-items:center;gap:6px;color:inherit;text-decoration:none; }
.bj88-meta-author-link:hover { color:#f5c518!important; }
.bj88-arc-meta-avatar { width:22px!important;height:22px!important;border-radius:50%!important;object-fit:cover; }
.bj88-feat-title { font-size:20px!important;font-weight:800!important;color:#fff!important;margin:0 0 10px!important;line-height:1.3!important; }
.bj88-feat-title a { color:inherit!important;text-decoration:none; }
.bj88-feat-title a:hover { color:#f5c518!important; }
.bj88-feat-excerpt { font-size:13px;color:#e8e8e8;line-height:1.7;margin:0 0 16px!important; }
.bj88-feat-readmore {
  display:inline-flex;align-items:center;gap:5px;
  color:#f5c518!important;font-size:13px;font-weight:700;text-decoration:none!important;transition:gap .15s;
}
.bj88-feat-readmore:hover { gap:8px; }

/* CARD GRID */
.bj88-archive-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:28px; }
.bj88-arc-card {
  background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;
  overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s;
}
.bj88-arc-card:hover { border-color:#f5c518;box-shadow:0 4px 20px rgba(245,197,24,.1);transform:translateY(-2px); }
.bj88-arc-card-thumb { display:block;position:relative;overflow:hidden;height:180px; }
.bj88-arc-card-img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s; }
.bj88-arc-card:hover .bj88-arc-card-img { transform:scale(1.05); }
.bj88-arc-card-no-thumb { background:#222;height:100%;display:flex;align-items:center;justify-content:center; }
.bj88-arc-card-cat {
  position:absolute;top:10px;left:10px;background:#f5c518;color:#000;
  font-size:9px;font-weight:700;text-transform:uppercase;padding:2px 8px;border-radius:12px;
}
.bj88-arc-card-body { padding:16px 18px; }
.bj88-arc-card-title {
  font-size:15px!important;font-weight:700!important;color:#eee!important;margin:0 0 8px!important;
  line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.bj88-arc-card-title a { color:inherit!important;text-decoration:none; }
.bj88-arc-card-title a:hover { color:#f5c518!important; }
.bj88-arc-card-excerpt {
  font-size:12px;color:#c0c0c0;line-height:1.6;margin:0 0 12px!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.bj88-arc-card-footer { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px; }
.bj88-arc-card-meta { display:flex;align-items:center;gap:5px;font-size:11px;color:#c0c0c0; }
.bj88-arc-meta-sep { opacity:.4; }
.bj88-arc-read-more { display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:700;color:#f5c518!important;text-decoration:none!important; }

/* PAGINATION */
.bj88-pagination { display:flex;flex-wrap:wrap;gap:6px;justify-content:center;padding:24px 0 0; }
.bj88-pagination .page-numbers {
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:8px;font-size:13px;font-weight:600;
  color:#ccc!important;background:#1a1a1a;border:1px solid #2a2a2a;text-decoration:none!important;transition:all .15s;
}
.bj88-pagination .page-numbers:hover,
.bj88-pagination .page-numbers.current { background:#f5c518;color:#000!important;border-color:#f5c518; }

/* EMPTY */
.bj88-archive-empty { text-align:center;padding:60px 20px;color:#c0c0c0; }
.bj88-archive-empty p { font-size:15px;margin:16px 0; }
.bj88-arc-btn-home {
  display:inline-block;background:#f5c518;color:#000!important;font-weight:700;
  padding:10px 24px;border-radius:6px;text-decoration:none!important;transition:opacity .15s;
}
.bj88-arc-btn-home:hover { opacity:.85; }

/* SIDEBAR */
.bj88-archive-sidebar-sticky { position:sticky;top:100px;display:flex;flex-direction:column;gap:16px; }
.admin-bar .bj88-archive-sidebar-sticky { top:132px; }
.bj88-sb-widget { background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;padding:18px 20px; }
.bj88-sb-widget-title {
  display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;
  text-transform:uppercase;letter-spacing:.07em;color:#f5c518;
  margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #2a2a2a;
}
.bj88-sb-search-form { display:flex;gap:6px; }
.bj88-sb-search-input {
  flex:1;background:#111!important;border:1px solid #2a2a2a!important;border-radius:6px!important;
  color:#ccc!important;padding:8px 12px!important;font-size:13px!important;outline:none;
}
.bj88-sb-search-input:focus { border-color:#f5c518!important; }
.bj88-sb-search-btn {
  background:#f5c518;border:none;border-radius:6px;width:36px;height:36px;
  cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#000;
}
.bj88-sb-search-btn:hover { opacity:.85; }
.bj88-sb-post-list { list-style:none;padding:0;margin:0; }
.bj88-sb-post-item { display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #2a2a2a; }
.bj88-sb-post-item:last-child { border-bottom:none; }
.bj88-sb-post-thumb { flex-shrink:0;width:60px;height:60px;overflow:hidden;border-radius:6px;display:block; }
.bj88-sb-post-thumb img { width:60px;height:60px;object-fit:cover;display:block; }
.bj88-sb-post-info { flex:1;min-width:0; }
.bj88-sb-post-title {
  display:-webkit-box!important;font-size:12px;font-weight:600;color:#ccc!important;
  text-decoration:none!important;line-height:1.4;margin-bottom:4px;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.bj88-sb-post-title:hover { color:#f5c518!important; }
.bj88-sb-post-date { font-size:11px;color:#c0c0c0; }
.bj88-sb-cat-list { list-style:none;padding:0;margin:0; }
.bj88-sb-cat-item {
  display:flex;align-items:center;justify-content:space-between;
  padding:7px 0;border-bottom:1px solid #2a2a2a;
}
.bj88-sb-cat-item:last-child { border-bottom:none; }
.bj88-sb-cat-item a { font-size:13px;color:#ccc!important;text-decoration:none!important;transition:color .15s; }
.bj88-sb-cat-item a:hover { color:#f5c518!important; }
.bj88-sb-cat-item.bj88-cat-active a { color:#f5c518!important; }
.bj88-sb-cat-count { font-size:11px;background:#222;border:1px solid #2a2a2a;color:#c0c0c0;padding:1px 7px;border-radius:20px; }

/* SINGLE – READING PROGRESS */
.bj88-reading-progress { position:fixed;top:0;left:0;width:100%;height:3px;background:rgba(245,197,24,.15);z-index:9999; }
.bj88-reading-progress-bar { height:100%;width:0;background:linear-gradient(90deg,#f5c518,#e8192c);transition:width .1s linear;border-radius:0 2px 2px 0; }

/* SINGLE – HERO */
.bj88-post-hero {
  position:relative;background:linear-gradient(135deg,#0d0d0d 0%,#1a1a1a 50%,#201800 100%);
  padding:52px 0 44px;overflow:hidden;
}
.bj88-post-hero.has-thumb { min-height:340px;display:flex;align-items:flex-end; }
.bj88-post-hero-bg { position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.35) saturate(.7);z-index:0; }
.bj88-post-hero-overlay { position:absolute;inset:0;background:linear-gradient(to bottom,rgba(13,10,0,.5) 0%,rgba(10,8,0,.88) 70%,rgba(5,4,0,.97) 100%);z-index:1; }
.bj88-post-hero .container { position:relative;z-index:2;width:100%; }
.bj88-post-hero-inner { max-width:840px; }
.bj88-post-cat-badge {
  display:inline-block;background:rgba(245,197,24,.15);border:1px solid rgba(245,197,24,.4);
  color:#f5c518!important;font-size:10px;font-weight:700;text-transform:uppercase;
  letter-spacing:.08em;padding:3px 12px;border-radius:20px;margin-bottom:12px;
  text-decoration:none!important;transition:background .15s;
}
.bj88-post-cat-badge:hover { background:rgba(245,197,24,.28)!important; }
.bj88-post-title { font-size:clamp(20px,4vw,34px)!important;font-weight:800!important;color:#fff!important;line-height:1.25!important;margin:0 0 18px!important;text-shadow:0 2px 8px rgba(0,0,0,.4); }
.bj88-post-meta-row { display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;color:rgba(255,255,255,.72);font-size:12px; }
.bj88-meta-item { display:flex;align-items:center;gap:5px; }
.bj88-meta-item svg { opacity:.7;flex-shrink:0; }
.bj88-meta-avatar { width:26px!important;height:26px!important;border-radius:50%!important;border:2px solid rgba(245,197,24,.3)!important;object-fit:cover; }

/* SINGLE – BODY */
.bj88-single-body { background:#0d0d0d;padding:32px 0 40px; }
.bj88-single-grid { display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start; }
.bj88-single-main { min-width:0; }
.bj88-article { background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;padding:28px 32px;margin-bottom:20px; }
.bj88-article-content { font-size:15px;line-height:1.85;color:#e8e8e8; }
.bj88-article-content h2 { font-size:20px!important;font-weight:800!important;color:#f5c518!important;margin:28px 0 12px!important;padding-bottom:8px;border-bottom:1px solid #2a2a2a; }
.bj88-article-content h3 { font-size:17px!important;font-weight:700!important;color:#eee!important;margin:22px 0 10px!important; }
.bj88-article-content h4 { font-size:15px!important;font-weight:700!important;color:#ddd!important;margin:18px 0 8px!important; }
.bj88-article-content p { margin:0 0 16px!important; }
.bj88-article-content ul,.bj88-article-content ol { margin:0 0 16px 20px!important; }
.bj88-article-content li { margin-bottom:6px!important; }
.bj88-article-content a { color:#f5c518!important;text-decoration:underline; }
.bj88-article-content a:hover { color:#ffd700!important; }
.bj88-article-content blockquote { border-left:3px solid #f5c518;background:#1e1800;margin:20px 0!important;padding:14px 18px!important;border-radius:0 8px 8px 0;color:#bbb!important;font-style:italic; }
.bj88-article-content img { max-width:100%;height:auto;border-radius:8px;margin:10px 0;border:1px solid #2a2a2a; }
.bj88-article-content table { width:100%;border-collapse:collapse;margin:18px 0;font-size:13px; }
.bj88-article-content th { background:#1e1800!important;color:#f5c518!important;padding:10px 14px;text-align:left;border:1px solid #2a2a2a; }
.bj88-article-content td { padding:9px 14px;border:1px solid #2a2a2a;color:#e8e8e8; }
.bj88-article-content tr:nth-child(even) td { background:#181818; }

/* Tags */
.bj88-article-tags { display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:24px;padding-top:18px;border-top:1px solid #2a2a2a; }
.bj88-tags-label { display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#c0c0c0; }
.bj88-tag-pill { display:inline-block;background:#1e1800;border:1px solid rgba(245,197,24,.25);color:#f5c518!important;font-size:11px;font-weight:500;padding:3px 10px;border-radius:20px;text-decoration:none!important;transition:all .15s; }
.bj88-tag-pill:hover { background:#f5c518;color:#000!important; }

/* Share */
.bj88-share-section { display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;padding-top:18px;border-top:1px solid #2a2a2a; }
.bj88-share-label { font-size:12px;font-weight:600;color:#c0c0c0; }
.bj88-share-buttons { display:flex;gap:6px;flex-wrap:wrap; }
.bj88-share-btn { display:inline-flex;align-items:center;justify-content:center;gap:5px;height:30px;padding:0 14px;border-radius:20px;font-size:11px;font-weight:600;cursor:pointer;border:none;text-decoration:none!important;transition:all .15s;white-space:nowrap; }
.bj88-share-fb { background:#1877f2;color:#fff!important; }
.bj88-share-fb:hover { background:#0d65d9!important;color:#fff!important; }
.bj88-share-tw { background:#111;color:#fff!important; }
.bj88-share-tw:hover { background:#333!important;color:#fff!important; }
.bj88-share-copy { background:#1a1a1a;color:#f5c518!important;border:1px solid rgba(245,197,24,.3)!important; }
.bj88-share-copy:hover { background:rgba(245,197,24,.1)!important; }
.bj88-share-copied { background:#22c55e!important;color:#fff!important;border-color:#22c55e!important; }

/* Author */
.bj88-author-box { background:#1a1a1a;border:1px solid #2a2a2a;border-left:3px solid #f5c518;border-radius:12px;padding:22px 26px;display:flex;gap:18px;align-items:flex-start;margin-bottom:20px; }
.bj88-author-avatar { width:68px!important;height:68px!important;border-radius:50%!important;border:2px solid rgba(245,197,24,.3)!important;object-fit:cover;flex-shrink:0; }
.bj88-author-info { flex:1;min-width:0; }
.bj88-author-label { font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#f5c518;margin-bottom:4px; }
.bj88-author-name { font-size:16px!important;font-weight:800!important;color:#eee!important;margin:0 0 6px!important; }
.bj88-author-name a { color:inherit;text-decoration:none; }
.bj88-author-name a:hover { color:#f5c518; }
.bj88-author-bio { font-size:12px!important;color:#888!important;line-height:1.6!important;margin:0!important; }

/* Post nav */
.bj88-post-nav { display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px; }
.bj88-post-nav-item { background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:5px;text-decoration:none!important;transition:all .15s; }
.bj88-post-nav-item:hover { border-color:#f5c518;box-shadow:0 4px 16px rgba(245,197,24,.1);transform:translateY(-1px); }
.bj88-nav-next { text-align:right; }
.bj88-nav-dir { display:flex;align-items:center;gap:4px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#f5c518; }
.bj88-nav-next .bj88-nav-dir { justify-content:flex-end; }
.bj88-nav-title { font-size:12px;font-weight:600;color:#ccc!important;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }

/* Comments */
.bj88-comments-wrap { background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;padding:26px 30px; }
.bj88-comments-wrap .comment-reply-title,.bj88-comments-wrap #reply-title { color:#eee!important;font-size:16px!important;margin-bottom:14px!important; }
.bj88-comments-wrap .comment-list { list-style:none!important;padding:0!important; }
.bj88-comments-wrap .comment-body { background:#111;border-radius:8px;padding:14px 16px;margin-bottom:12px; }
.bj88-comments-wrap .comment-author .fn { color:#f5c518!important; }
.bj88-comments-wrap .comment-content p { color:#ccc!important;font-size:13px; }
.bj88-comments-wrap textarea,.bj88-comments-wrap input[type="text"],.bj88-comments-wrap input[type="email"],.bj88-comments-wrap input[type="url"] { background:#111!important;border:1px solid #2a2a2a!important;color:#ccc!important;border-radius:6px!important;padding:8px 12px!important;font-size:13px!important;width:100%!important; }
.bj88-comments-wrap textarea:focus,.bj88-comments-wrap input:focus { border-color:#f5c518!important;outline:none!important; }
.bj88-comments-wrap input[type="submit"] { background:#f5c518!important;color:#000!important;border:none!important;font-weight:700!important;padding:9px 22px!important;border-radius:6px!important;cursor:pointer!important;font-size:13px!important; }

/* Single sidebar */
.bj88-sidebar-sticky-single { position:sticky;top:100px;display:flex;flex-direction:column;gap:16px; }
.admin-bar .bj88-sidebar-sticky-single { top:132px; }
.bj88-sb-cta { background:linear-gradient(135deg,#1a1200,#2a1e00)!important;border-color:rgba(245,197,24,.3)!important;text-align:center; }
.bj88-sb-cta p { font-size:13px;color:#e8e8e8;margin:0 0 14px;line-height:1.6; }
.bj88-sb-cta-btn { display:inline-block;background:#f5c518;color:#000!important;font-weight:700;font-size:13px;padding:9px 20px;border-radius:6px;text-decoration:none!important;transition:opacity .15s; }
.bj88-sb-cta-btn:hover { opacity:.85; }

/* Related section */
.bj88-related-section { background:#111;border-top:1px solid #2a2a2a;padding:40px 0 48px; }
.bj88-related-section-title { display:flex;align-items:center;gap:8px;font-size:18px!important;font-weight:800!important;color:#f5c518!important;margin:0 0 24px!important;padding-bottom:12px;border-bottom:1px solid #2a2a2a; }
.bj88-related-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:18px; }
.bj88-related-card { background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;overflow:hidden;transition:border-color .2s,transform .2s; }
.bj88-related-card:hover { border-color:#f5c518;transform:translateY(-2px); }
.bj88-related-card-thumb { display:block;position:relative;overflow:hidden;height:150px; }
.bj88-related-card-img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s; }
.bj88-related-card:hover .bj88-related-card-img { transform:scale(1.05); }
.bj88-related-card-no-thumb { background:#222;height:100%;display:flex;align-items:center;justify-content:center; }
.bj88-related-card-cat { position:absolute;top:8px;left:8px;background:#f5c518;color:#000;font-size:9px;font-weight:700;text-transform:uppercase;padding:2px 7px;border-radius:10px; }
.bj88-related-card-body { padding:12px 14px; }
.bj88-related-card-title { display:-webkit-box!important;font-size:13px;font-weight:700;color:#ddd!important;text-decoration:none!important;margin-bottom:6px;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.bj88-related-card-title:hover { color:#f5c518!important; }
.bj88-related-card-meta { display:flex;align-items:center;gap:4px;font-size:11px;color:#c0c0c0;margin-bottom:6px; }
.bj88-related-card-excerpt { font-size:12px;color:#c0c0c0;line-height:1.55;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }

/* RESPONSIVE */
@media (max-width:1024px) { .bj88-related-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:849px) {
  .bj88-archive-layout,.bj88-single-grid { grid-template-columns:1fr; }
  .bj88-archive-sidebar,.bj88-single-sidebar { order:1; }
  .bj88-archive-sidebar-sticky,.bj88-sidebar-sticky-single { position:static; }
  .bj88-feat-card { grid-template-columns:1fr; }
  .bj88-feat-img { min-height:200px; }
  .bj88-related-grid { grid-template-columns:repeat(2,1fr); }
  .bj88-post-nav { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .bj88-archive-grid { grid-template-columns:1fr; }
  .bj88-related-grid { grid-template-columns:1fr; }
  .bj88-archive-hero { padding:28px 0 22px; }
  .bj88-archive-hero-inner { flex-direction:column;align-items:flex-start;gap:10px; }
  .bj88-article { padding:18px 16px; }
}

/* ============================================================
   MOBILE SIDEBAR – BJ88 Premium Dark
   ============================================================ */

/* ── Drawer wrapper ── */
.mobile-sidebar,
.mobile-sidebar .sidebar-menu {
  background: #0f0f0f !important;
}

/* Gold accent bar at top */
.mobile-sidebar .sidebar-menu::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #f5c518 0%, #e8a000 60%, transparent 100%);
  flex-shrink: 0;
}

/* ── Close button ── */
.mobile-sidebar .mfp-close {
  color: #b0b0b0 !important;
  font-size: 28px !important;
  opacity: 1 !important;
  transition: color .2s !important;
  right: 4px !important;
  top: 4px !important;
}
.mobile-sidebar .mfp-close:hover {
  color: #f5c518 !important;
}

/* ── Search bar ── */
.mobile-sidebar .header-search-form,
.mobile-sidebar .search-form {
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #141414 !important;
  border-bottom: 1px solid #1e1e1e !important;
}
.mobile-sidebar .searchform-wrapper,
.mobile-sidebar .ux-search-box {
  background: #1c1c1c !important;
  border: 1px solid #2c2c2c !important;
  border-radius: 8px !important;
  overflow: hidden;
  transition: border-color .2s;
}
.mobile-sidebar .ux-search-box:focus-within {
  border-color: #f5c518 !important;
  box-shadow: 0 0 0 2px rgba(245,197,24,.12) !important;
}
.mobile-sidebar .search-field,
.mobile-sidebar input[type="search"] {
  background: transparent !important;
  color: #ddd !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
}
.mobile-sidebar .search-field::placeholder {
  color: #484848 !important;
}
.mobile-sidebar .ux-search-submit {
  background: #f5c518 !important;
  color: #000 !important;
  border: none !important;
  border-radius: 0 !important;
  width: 44px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .2s !important;
}
.mobile-sidebar .ux-search-submit:hover {
  background: #ffd740 !important;
}

/* ── Nav items ── */
.mobile-sidebar .nav-sidebar,
.mobile-sidebar .nav-vertical {
  padding: 8px 0 !important;
}

.mobile-sidebar .nav-sidebar > li,
.mobile-sidebar .nav-vertical > li {
  margin: 0 !important;
  position: relative;
  border-top: none !important;
  border-bottom: none !important;
}

.mobile-sidebar .nav-sidebar > li > a,
.mobile-sidebar .nav-vertical > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  color: #b0b0b0 !important;
  border-bottom: 1px solid rgba(255,255,255,.04) !important;
  padding: 10px 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  transition: all .2s ease !important;
  position: relative;
}

/* Arrow indicator on the right */
.mobile-sidebar .nav-sidebar > li > a::after,
.mobile-sidebar .nav-vertical > li > a::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #333;
  border-top: 1.5px solid #333;
  transform: rotate(45deg);
  margin-left: auto;
  flex-shrink: 0;
  transition: border-color .2s, transform .2s;
}

.mobile-sidebar .nav-sidebar > li > a:hover,
.mobile-sidebar .nav-vertical > li > a:hover {
  color: #f5c518 !important;
  background: linear-gradient(90deg, rgba(245,197,24,.08) 0%, transparent 100%) !important;
  padding-left: 24px !important;
}

.mobile-sidebar .nav-sidebar > li > a:hover::after,
.mobile-sidebar .nav-vertical > li > a:hover::after {
  border-color: #f5c518;
  transform: rotate(45deg) translateX(2px);
}

/* Active / current item */
.mobile-sidebar .nav-sidebar > li.current-menu-item > a,
.mobile-sidebar .nav-sidebar > li.current-menu-ancestor > a,
.mobile-sidebar .nav-sidebar > li.active > a,
.mobile-sidebar .nav-vertical > li.current-menu-item > a,
.mobile-sidebar .nav-vertical > li.active > a {
  color: #f5c518 !important;
  background: linear-gradient(90deg, rgba(245,197,24,.12) 0%, transparent 100%) !important;
  border-left: 3px solid #f5c518 !important;
  padding-left: 17px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.mobile-sidebar .nav-sidebar > li.current-menu-item > a::after,
.mobile-sidebar .nav-sidebar > li.active > a::after {
  border-color: #f5c518;
}

/* ── Dropdown submenu ── */
.mobile-sidebar .sub-menu,
.mobile-sidebar .children {
  background: #0a0a0a !important;
  border-top: 1px solid #1e1e1e !important;
}

.mobile-sidebar .sub-menu li a,
.mobile-sidebar .children li a {
  color: #c0c0c0 !important;
  border-bottom: 1px solid #161616 !important;
  font-size: 11px !important;
  padding: 11px 20px 11px 32px !important;
}

.mobile-sidebar .sub-menu li a:hover,
.mobile-sidebar .children li a:hover {
  color: #f5c518 !important;
  background: rgba(245,197,24,.06) !important;
}

.mobile-sidebar-levels-2 .nav-slide > li > .sub-menu > li:not(.nav-slide-header),
.mobile-sidebar-levels-2 .nav-slide > li > ul.children > li:not(.nav-slide-header) {
  border-top: 1px solid #161616 !important;
}

.mobile-sidebar-levels-2 .nav-slide > li > .sub-menu > li:not(.nav-slide-header) > a,
.mobile-sidebar-levels-2 .nav-slide > li > ul.children > li:not(.nav-slide-header) > a {
  color: #777 !important;
  padding-left: 28px !important;
}

.mobile-sidebar-levels-2 .nav-slide > li > .sub-menu > li:not(.nav-slide-header).active,
.mobile-sidebar-levels-2 .nav-slide > li > .sub-menu > li:not(.nav-slide-header):hover,
.mobile-sidebar-levels-2 .nav-slide > li > ul.children > li:not(.nav-slide-header).active,
.mobile-sidebar-levels-2 .nav-slide > li > ul.children > li:not(.nav-slide-header):hover {
  background: rgba(245,197,24,.07) !important;
}

/* Slide back header */
.nav-slide-header a,
.mobile-sidebar .nav-slide-header a {
  color: #b0b0b0 !important;
  font-size: 11px !important;
  border-bottom: 1px solid #1e1e1e !important;
}

/* ── Divider / empty item ── */
.mobile-sidebar .nav-sidebar > li.html > a[href="#"],
.mobile-sidebar .nav-sidebar > li > a[href="-"] {
  border-bottom: 1px solid #1a1a1a !important;
  color: transparent !important;
  padding: 0 !important;
  height: 1px !important;
  pointer-events: none !important;
}

/* ── Social icons ── */
.mobile-sidebar .social-icons,
.mobile-sidebar .follow-icons {
  display: flex !important;
  gap: 8px !important;
  padding: 16px 20px !important;
  border-top: 1px solid #1a1a1a !important;
  justify-content: flex-start !important;
}

.mobile-sidebar .social-icons a,
.mobile-sidebar .follow-icons a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #1c1c1c !important;
  border: 1px solid #2a2a2a !important;
  color: #b8b8b8 !important;
  font-size: 13px !important;
  transition: all .2s !important;
  text-decoration: none !important;
}

.mobile-sidebar .social-icons a:hover,
.mobile-sidebar .follow-icons a:hover {
  background: rgba(245,197,24,.12) !important;
  border-color: #f5c518 !important;
  color: #f5c518 !important;
  transform: translateY(-2px) !important;
}

/* ── Newsletter widget ── */
.mobile-sidebar .widget {
  padding: 16px 20px !important;
  border-top: 1px solid #1a1a1a !important;
}

.mobile-sidebar .widget-title,
.mobile-sidebar .widget h3,
.mobile-sidebar .widget h4 {
  color: #b0b0b0 !important;
  font-size: 10px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.mobile-sidebar .widget input[type="email"],
.mobile-sidebar .widget input[type="text"] {
  background: #1c1c1c !important;
  border: 1px solid #2a2a2a !important;
  color: #e8e8e8 !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  width: 100% !important;
  margin-bottom: 8px !important;
}

.mobile-sidebar .widget .button,
.mobile-sidebar .widget button[type="submit"] {
  background: #f5c518 !important;
  color: #000 !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  width: 100% !important;
  padding: 9px !important;
}

/* ── Login / Register buttons (HTML block) ── */
.mobile-sidebar .bj88-header-buttons {
  padding: 14px 16px 18px !important;
  justify-content: stretch !important;
  gap: 8px !important;
  border-top: 1px solid #1a1a1a !important;
}

.mobile-sidebar .bj88-btn-login,
.mobile-sidebar .bj88-btn-register {
  flex: 1 !important;
  text-align: center !important;
  justify-content: center !important;
  padding: 11px 10px !important;
  font-size: 12px !important;
  border-radius: 7px !important;
}

/* ── Overlay backdrop ── */
.mfp-bg {
  background: rgba(0,0,0,.8) !important;
  backdrop-filter: blur(2px);
}

/* ── Off-canvas variant ── */
.off-canvas .mobile-sidebar,
.off-canvas .sidebar-menu {
  background: #0f0f0f !important;
}

/* ── Custom scrollbar ── */
.mobile-sidebar::-webkit-scrollbar,
.sidebar-menu::-webkit-scrollbar { width: 3px; }
.mobile-sidebar::-webkit-scrollbar-track,
.sidebar-menu::-webkit-scrollbar-track { background: #0a0a0a; }
.mobile-sidebar::-webkit-scrollbar-thumb,
.sidebar-menu::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }

/* ============================================================
   HOMEPAGE – Game Categories Oval & Content Sections
   ============================================================ */

/* Oval game category items */
.bj88-cat-oval .box {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid #f5c518;
  box-shadow: 0 0 20px rgba(245,197,24,.25), 0 8px 32px rgba(0,0,0,.6);
  transition: transform .25s, box-shadow .25s;
  background: #000;
  aspect-ratio: 1;
  margin: 0 auto 12px;
}
.bj88-cat-oval .box:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 0 36px rgba(245,197,24,.45), 0 12px 40px rgba(0,0,0,.7);
}
.bj88-cat-oval .box-image {
  border-radius: 50%;
  overflow: hidden;
}
.bj88-cat-oval .box-image img {
  border-radius: 50%;
  transition: transform .3s;
  filter: brightness(.9);
}
.bj88-cat-oval:hover .box-image img {
  transform: scale(1.08);
}
.bj88-cat-oval .box-text {
  position: absolute;
  bottom: 10%;
  left: 0; right: 0;
  text-align: center;
}
.bj88-cat-oval .box-text h3,
.bj88-cat-oval .title-wrapper {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.9), 0 0 20px rgba(0,0,0,.8) !important;
  margin: 0 !important;
}
.bj88-cat-oval a.box { text-decoration: none; }

/* Info table */
.bj88-info-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
}
.bj88-info-table tr:hover td {
  background: rgba(245,197,24,.04) !important;
}

/* FAQ accordion — chỉ override màu, không động layout */
.bj88-faq .accordion-item {
  margin-bottom: 8px !important;
}
.bj88-faq .accordion-title {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 8px !important;
  color: #e8e8e8 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background .2s, border-color .2s !important;
  text-decoration: none !important;
}
.bj88-faq .accordion-title:hover,
.bj88-faq .accordion-title.active {
  background: #1a1500 !important;
  border-color: #f5c518 !important;
  color: #f5c518 !important;
}
/* Icon */
.bj88-faq .accordion-title .icon-angle-down {
  color: #dedede !important;
}
.bj88-faq .accordion-title:hover .icon-angle-down,
.bj88-faq .accordion-title.active .icon-angle-down {
  color: #f5c518 !important;
}
/* Content area */
.bj88-faq .accordion-inner {
  background: #111 !important;
  border: 1px solid #2a2a2a !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  color: #dedede !important;
}
.bj88-faq .accordion-inner p {
  color: #dedede !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  margin: 0 !important;
}

/* Blog posts section */
.bj88-blog-posts .post-image img {
  border-radius: 8px;
  transition: transform .3s;
}
.bj88-blog-posts .post-image:hover img {
  transform: scale(1.04);
}
.bj88-blog-posts .post-title {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}
.bj88-blog-posts .post-title a {
  color: #fff !important;
  transition: color .2s !important;
}
.bj88-blog-posts .post-title a:hover {
  color: #f5c518 !important;
}
.bj88-blog-posts .post-meta { color: #b8b8b8 !important; font-size: 12px !important; }

@media (max-width:849px) {
  .bj88-cat-oval .box-text h3,
  .bj88-cat-oval .title-wrapper { font-size: 13px !important; }
}

/* Hide duplicate title under oval images (text is already on the image) */
.bj88-cat-oval .title-wrapper,
.bj88-cat-oval p {
  display: none !important;
}
.bj88-cat-oval {
  margin-bottom: 0 !important;
}
/* Tighten 2x2 grid spacing */
.bj88-cat-oval .box {
  max-width: 180px;
}
