/* 须含：1023px试玩重置、1024px三栏300px、overlay z-index、promo、hot-games、768px */
@media (max-width:1023px){.page-blog__home-hero{display:block!important;grid-template-columns:none!important;height:auto!important;max-height:none!important;overflow-x:hidden;box-sizing:border-box;}.page-blog__hero-brand,.page-blog__hero-jackpot{display:none!important;}.page-blog__game-trial{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:hidden!important;padding:0 0 12px!important;box-sizing:border-box;}.page-blog__game-trial-shell{height:auto!important;max-height:none!important;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;}.page-blog__game-trial-topbar,.page-blog__game-trial-bottombar{display:none!important;}.page-blog__game-trial-viewport{position:relative;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-blog__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;max-width:100%;border:none;z-index:1;overflow:hidden;}.page-blog__game-trial-overlay{z-index:5!important;pointer-events:auto!important;}.page-blog__game-trial-start{z-index:6!important;pointer-events:auto!important;touch-action:manipulation;}}
@media (min-width:1024px){.page-blog__home-hero{display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-blog__hero-brand,.page-blog__hero-jackpot,.page-blog__game-trial{height:300px;max-height:300px;}.page-blog__game-trial{overflow:hidden;}.page-blog__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-blog__game-trial-viewport{flex:1;min-height:0;}.page-blog__game-trial-frame{height:100%;min-height:0;}.page-blog__hero-jackpot-claim{background:#c62828!important;}.page-blog__promo-strip{margin-top:16px;}}

/* General styles for blog page */
.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Default body background */
}

.page-blog__section {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog__light-bg {
  background-color: #F5F7FA;
  color: #333333;
}

.page-blog__dark-bg {
  background-color: #E53935;
  color: #ffffff;
}

.page-blog__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
}

.page-blog__section-title--white {
  color: #ffffff;
}

/* Hero Section */
.page-blog__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 40px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #F5F7FA;
}

.page-blog__hero-content {
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
}

.page-blog__main-title {
    font-size: clamp(2em, 4vw, 2.8em);
    font-weight: 800;
    color: #E53935;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-blog__description {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 30px;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.page-blog__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-blog__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-blog__btn-secondary:hover {
    background: #f0f0f0;
    color: #E53935;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Latest Posts Grid */
.page-blog__posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-blog__post-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-blog__post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-blog__post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog__post-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-blog__post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-blog__post-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #E53935;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-blog__post-date {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 15px;
}

.page-blog__post-excerpt {
    font-size: 1em;
    color: #333333;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-blog__read-more {
    display: inline-block;
    color: #FF5A4F;
    font-weight: 600;
    text-decoration: none;
}

.page-blog__read-more:hover {
    text-decoration: underline;
}

.page-blog__view-all-button-wrapper {
    text-align: center;
}

/* Categories Section */
.page-blog__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-blog__category-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-blog__category-image {
    width: 100%;
    height: 200px; /* Fixed height for category images */
    object-fit: cover;
    display: block;
}

.page-blog__category-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #E53935;
    padding: 15px 20px 5px;
    margin: 0;
}

.page-blog__category-description {
    font-size: 0.95em;
    color: #333333;
    padding: 0 20px 20px;
    margin: 0;
    flex-grow: 1;
}

/* Why Choose Us Section */
.page-blog__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog__feature-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-blog__feature-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #E53935;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-blog__feature-text {
    font-size: 1em;
    color: #333333;
}

/* CTA Section */
.page-blog__cta-section {
    text-align: center;
}

.page-blog__cta-text {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: #f5f5f5;
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1023px) {
    /* For blog page, general adjustments for tablet */
    .page-blog__section-title {
        font-size: 2em;
    }
    .page-blog__posts-grid,
    .page-blog__categories-grid,
    .page-blog__content-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .page-blog__post-image,
    .page-blog__category-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
  /* All images basic responsive styles */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* All containers basic responsive styles */
  .page-blog__section,
  .page-blog__post-card,
  .page-blog__category-card,
  .page-blog__feature-item,
  .page-blog__hero-image-wrapper,
  .page-blog__view-all-button-wrapper,
  .page-blog__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons mobile adaptation */
  .page-blog__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    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;
  }

  .page-blog__hero-section {
      padding: 10px 15px 30px;
  }
  .page-blog__main-title {
      font-size: 1.8em;
  }
  .page-blog__description {
      font-size: 1em;
  }
  .page-blog__section-title {
      font-size: 1.8em;
      margin-bottom: 30px;
  }
  .page-blog__posts-grid,
  .page-blog__categories-grid,
  .page-blog__content-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  .page-blog__post-image,
  .page-blog__category-image {
      height: 200px; /* Adjust height for mobile */
  }
  .page-blog__post-title {
      font-size: 1.2em;
  }
  .page-blog__category-title {
      font-size: 1.1em;
  }
  .page-blog__feature-title {
      font-size: 1.3em;
  }
  .page-blog__cta-text {
      font-size: 1em;
  }
  details.page-blog__faq-item summary.page-blog__faq-question { padding: 15px; }
  .page-blog__faq-qtext { font-size: 15px; }
  details.page-blog__faq-item .page-blog__faq-answer { padding: 0 15px 15px; }
}