/* Base styles for the page */
.page-blog-latest-g88-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default background for the main content area */
}

.page-blog-latest-g88-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-blog-latest-g88-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relies on body for header offset */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  background-color: #017439; /* Brand primary color for dark background */
  color: #ffffff; /* White text for dark background */
}

.page-blog-latest-g88-promotions__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
  z-index: 1;
}

.page-blog-latest-g88-promotions__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 15px;
  color: #ffffff;
  /* Using clamp for responsive font-size, as per instructions */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-blog-latest-g88-promotions__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-latest-g88-promotions__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 0;
}

/* General Section Styles */
.page-blog-latest-g88-promotions__section {
  padding: 60px 0;
}

.page-blog-latest-g88-promotions__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand primary color for titles */
}

.page-blog-latest-g88-promotions__section-title--white {
  color: #ffffff;
}

.page-blog-latest-g88-promotions__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #017439;
}

.page-blog-latest-g88-promotions__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-blog-latest-g88-promotions__text-block--white {
  color: #f0f0f0;
}

.page-blog-latest-g88-promotions__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-blog-latest-g88-promotions__list--white {
  color: #f0f0f0;
}

.page-blog-latest-g88-promotions__list-item {
  margin-bottom: 10px;
}

/* Grid for Promotion Categories */
.page-blog-latest-g88-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-latest-g88-promotions__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog-latest-g88-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-latest-g88-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-blog-latest-g88-promotions__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-blog-latest-g88-promotions__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotion List */
.page-blog-latest-g88-promotions__promotion-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-blog-latest-g88-promotions__promotion-item {
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-blog-latest-g88-promotions__promotion-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-latest-g88-promotions__promotion-content {
  padding: 30px;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-blog-latest-g88-promotions__promotion-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-blog-latest-g88-promotions__promotion-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.page-blog-latest-g88-promotions__promotion-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Steps Guide */
.page-blog-latest-g88-promotions__steps-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-blog-latest-g88-promotions__step-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-latest-g88-promotions__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
  background-color: #e6ffe6; /* Lighter green for number background */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-latest-g88-promotions__step-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-blog-latest-g88-promotions__step-description {
  font-size: 0.95rem;
  color: #555;
}

.page-blog-latest-g88-promotions__step-description a {
  color: #017439;
  text-decoration: underline;
}

.page-blog-latest-g88-promotions__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-latest-g88-promotions__faq-list {
  margin-top: 30px;
}

.page-blog-latest-g88-promotions__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-latest-g88-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.page-blog-latest-g88-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-latest-g88-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-latest-g88-promotions__faq-item[open] .page-blog-latest-g88-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-latest-g88-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #555;
}

/* Final CTA Section */
.page-blog-latest-g88-promotions__cta-final {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #017439;
  color: #ffffff;
}

.page-blog-latest-g88-promotions__cta-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-blog-latest-g88-promotions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-blog-latest-g88-promotions__btn-primary,
.page-blog-latest-g88-promotions__btn-secondary,
.page-blog-latest-g88-promotions__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box; /* Include padding/border in width */
}

.page-blog-latest-g88-promotions__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-blog-latest-g88-promotions__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-blog-latest-g88-promotions__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-blog-latest-g88-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
}

.page-blog-latest-g88-promotions__btn-outline {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: auto; /* Push to bottom of card */
}

.page-blog-latest-g88-promotions__btn-outline:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Generic image responsiveness */
.page-blog-latest-g88-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Dark/Light Background Helpers */
.page-blog-latest-g88-promotions__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-blog-latest-g88-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Placeholder for shared components' styles, not to be modified */
/* .shared-header, .shared-footer styles are managed externally */

/* ------------------------------------------------------------------------------------ */
/* 🚨 Mobile Responsive Styles (max-width: 768px) - MUST BE EXPLICITLY INCLUDED FOR ALL MANDATORY SECTIONS */
/* ------------------------------------------------------------------------------------ */
@media (max-width: 768px) {
  .page-blog-latest-g88-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO 主图区域 */
  .page-blog-latest-g88-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding, relies on body for header offset */
    padding-bottom: 30px;
  }

  .page-blog-latest-g88-promotions__hero-content {
    margin-bottom: 20px;
  }

  .page-blog-latest-g88-promotions__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 10px;
  }

  .page-blog-latest-g88-promotions__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* General Section Adjustments */
  .page-blog-latest-g88-promotions__section {
    padding: 40px 0;
  }

  .page-blog-latest-g88-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-latest-g88-promotions__sub-title {
    font-size: 1.5rem;
  }

  /* 长文金框区 - Placeholder for non-homepage */
  .page-blog-latest-g88-promotions__home-content {
    height: auto !important;
    overflow-y: visible !important;
    border: none !important;
    padding: 0 !important;
  }

  /* 游戏轮播 - Placeholder for non-homepage */
  .page-blog-latest-g88-promotions__row-games {
    padding: 20px 15px;
  }

  .page-blog-latest-g88-promotions__slider-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
  }

  .page-blog-latest-g88-promotions__slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .page-blog-latest-g88-promotions__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 10px; /* Space for scrollbar */
  }

  .page-blog-latest-g88-promotions__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }

  /* 合作品牌六宫格 - Placeholder for non-homepage */
  .page-blog-latest-g88-promotions__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .page-blog-latest-g88-promotions__banner-item img {
    
    
  }

  /* Blog/Promotion Grid */
  .page-blog-latest-g88-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-latest-g88-promotions__card-image {
    height: 180px;
  }

  .page-blog-latest-g88-promotions__card-content {
    padding: 20px;
  }

  .page-blog-latest-g88-promotions__card-title {
    font-size: 1.2rem;
  }

  /* Promotion List */
  .page-blog-latest-g88-promotions__promotion-item {
    flex-direction: column;
  }

  .page-blog-latest-g88-promotions__promotion-image {
    width: 100%;
    height: 200px; /* Adjust height for mobile */
  }

  .page-blog-latest-g88-promotions__promotion-content {
    width: 100%;
    padding: 20px;
  }

  .page-blog-latest-g88-promotions__promotion-title {
    font-size: 1.4rem;
  }

  /* Steps Guide */
  .page-blog-latest-g88-promotions__steps-guide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-latest-g88-promotions__step-number {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }

  /* FAQ */
  .page-blog-latest-g88-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-latest-g88-promotions__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* Final CTA */
  .page-blog-latest-g88-promotions__cta-description {
    font-size: 1rem;
  }

  .page-blog-latest-g88-promotions__button-group {
    flex-direction: column;
    gap: 15px;
  }

  /* 通用图片与容器 */
  .page-blog-latest-g88-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog-latest-g88-promotions__section,
  .page-blog-latest-g88-promotions__card,
  .page-blog-latest-g88-promotions__container,
  .page-blog-latest-g88-promotions__promotion-item,
  .page-blog-latest-g88-promotions__step-item,
  .page-blog-latest-g88-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .page-blog-latest-g88-promotions__btn-primary,
  .page-blog-latest-g88-promotions__btn-secondary,
  .page-blog-latest-g88-promotions__btn-outline,
  .page-blog-latest-g88-promotions a[class*="button"],
  .page-blog-latest-g88-promotions 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 !important;
    padding-right: 15px !important;
  }

  .page-blog-latest-g88-promotions__cta-buttons,
  .page-blog-latest-g88-promotions__button-group,
  .page-blog-latest-g88-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 博客卡片区 - Placeholder for non-homepage */
  .page-blog-latest-g88-promotions__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-blog-latest-g88-promotions__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
  }

  .page-blog-latest-g88-promotions__blog-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .page-blog-latest-g88-promotions__blog-slide {
    flex: 0 0 calc(100% - 30px) !important; /* Adjust for padding */
    max-width: calc(100% - 30px) !important;
    margin: 0 15px; /* Add side padding for slides */
  }
}

/* Placeholder for module 0-2 simplified styles from common prompt */
.page-blog-latest-g88-promotions__home-content{border:1px solid #FBB00D;border-radius:10px;height:650px;overflow-y:auto}
.page-blog-latest-g88-promotions__row-games,.page-blog-latest-g88-promotions__row-sport,.page-blog-latest-g88-promotions__row-coop{background-color:#1A202C;padding:40px 20px;max-width:1330px;margin:0 auto}
.page-blog-latest-g88-promotions__games-title,.page-blog-latest-g88-promotions__sport-title,.page-blog-latest-g88-promotions__coop-title{color:#fff;text-align:center}
.page-blog-latest-g88-promotions__slider-wrapper{overflow:hidden}
.page-blog-latest-g88-promotions__slider-track{display:flex;flex-wrap:nowrap;gap:16px}
.page-blog-latest-g88-promotions__game-slide{flex:0 0 200px;max-width:200px}
.page-blog-latest-g88-promotions__banners-top-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:900px;margin:0 auto}
.page-blog-latest-g88-promotions__banner-item img{object-fit:contain;margin:0 auto;display:block}
.page-blog-latest-g88-promotions__blog-masonry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.page-blog-latest-g88-promotions__blog-card-link{display:flex;flex-direction:column;height:100%}
.page-blog-latest-g88-promotions__btn-outline{margin-top:auto}
.page-blog-latest-g88-promotions__blog-slider-track{display:flex;flex-wrap:nowrap;gap:20px}
.page-blog-latest-g88-promotions__blog-slide{flex:0 0 calc(33.333% - 14px);max-width:calc(33.333% - 14px)}