/* Base Styles & Typography */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F5F7FA; /* Default background */
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__section {
  padding: 60px 0;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  max-width: 900px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.5;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__ordered-list,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__ordered-list li,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__unordered-list li {
  margin-bottom: 10px;
  color: #333333;
}

/* Color Scheme & Contrast */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__dark-bg {
  background-color: #E53935;
  color: #ffffff; /* Deep Red background, so white text */
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__light-bg {
  background-color: #F5F7FA;
  color: #333333; /* Light background, so dark text */
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__dark-section .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__section-title {
  color: #ffffff;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__dark-section .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__text-block,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__dark-section .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__ordered-list li,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__dark-section .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__unordered-list li {
  color: #f0f0f0;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__card {
  background: #ffffff; /* Card background */
  color: #333333; /* Card text color */
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #E53935;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__card-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #333333;
}

/* Buttons */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-primary,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom of card */
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Hero Section */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-image {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  object-fit: cover;
  min-height: 400px;
  max-height: 600px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Promotion Grid */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-list {
  margin-top: 30px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #f8f8f8;
  color: #E53935;
  list-style: none; /* For details/summary */
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-qtext {
  flex-grow: 1;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-item[open] .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-answer {
  padding: 15px 25px 20px;
  background-color: #ffffff;
  border-top: 1px solid #E0E0E0;
  font-size: 1em;
  color: #333333;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-answer p {
  margin-bottom: 0;
}

/* General Image Styling */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Link styling */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat a {
  color: #E53935;
  text-decoration: underline;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat a:hover {
  color: #FF5A4F;
  text-decoration: none;
}

/* --- General CSS for potential homepage sections (as per template instructions) --- */
/* These styles are included to satisfy the "必写清单" even if corresponding HTML elements are not on this page. */
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  padding: 20px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__row-games,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__row-sport,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__games-title,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__sport-title,
.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__coop-title {
  color: #fff;
  text-align: center;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__slider-wrapper {
  overflow: hidden;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-outline {
  margin-top: auto;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__section-title {
    font-size: 2em;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 40px;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-image {
    min-height: 300px;
    max-height: 450px;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-content-wrapper {
    padding: 30px 15px;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__hero-description {
    font-size: 1em;
  }

  /* 长文金框区 (If present) */
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__home-content {
    height: auto; /* Allow content to expand */
    overflow-y: visible;
    padding: 15px;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__home-content h2 {
    font-size: 1.8em;
  }

  /* 游戏轮播 (If present) */
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  /* 合作品牌六宫格 (If present) */
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3 columns for mobile */
    gap: 8px;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__banner-item img {
    
    
  }

  /* 博客卡片区 */
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__blog-slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
  }

  /* 通用图片与容器 */
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__section,
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__card,
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-primary,
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-secondary,
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat a[class*="button"],
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__cta-buttons,
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__button-group,
  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__section-title {
    font-size: 1.8em;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-blog-cac-loai-khuyen-mai-j88-tai-hap-dan-nhat {
    font-size: 16px;
    line-height: 1.6;
  }
}