/* 须含：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;}}
@media (max-width:768px){.page-blog__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-blog__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.page-blog__game-trial-overlay{z-index:5;pointer-events:auto;}.page-blog__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-blog__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-blog__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-blog__reward-modal{position:fixed;inset:0;z-index:10000;}

/* Blog Page Specific Styles */
.page-blog {
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-blog__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 30px;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  position: relative;
}

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

.page-blog__hero-content {
  text-align: center;
  padding: 30px 15px;
  background: #FFFFFF; /* Card BG */
  margin: -60px auto 0;
  position: relative;
  z-index: 2;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__main-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__intro-text {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

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

.page-blog__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-blog__posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__post-card {
  background: #FFFFFF; /* Card BG */
  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;
  display: flex;
  flex-direction: column;
}

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

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

.page-blog__post-image {
  width: 100%;
  height: 220px;
  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: 22px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__post-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more-btn {
  display: inline-block;
  color: #2F6BFF; /* Main color */
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-blog__read-more-btn:hover {
  color: #6FA3FF; /* Auxiliary color */
}

.page-blog__view-all-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-blog__featured-articles {
  background: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-blog__featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-blog__featured-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-blog__featured-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-blog__featured-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__featured-excerpt {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #2F6BFF; /* Main color */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
  margin-top: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-secondary:hover {
  background: #f0f0f0;
  border-color: #6FA3FF; /* Auxiliary color */
  color: #6FA3FF;
}

.page-blog__faq-list {
  margin-top: 30px;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color */
  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: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  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: #F4F7FB; /* Background */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
  font-size: 16px;
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
  .page-blog__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }
  .page-blog__main-title {
    font-size: clamp(24px, 4vw, 36px);
  }
  .page-blog__intro-text {
    font-size: 16px;
  }
  .page-blog__section-title {
    font-size: 30px;
  }
  .page-blog__posts-grid, .page-blog__featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-blog__section {
    padding: 30px 0;
  }
  .page-blog__hero-section {
    margin-bottom: 20px;
  }
  .page-blog__hero-image-wrapper {
    max-height: 300px;
  }
  .page-blog__hero-content {
    margin-top: -30px;
    padding: 20px 10px;
    border-radius: 5px;
  }
  .page-blog__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-blog__intro-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-blog__cta-button,
  .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;
    font-size: 16px;
  }
  .page-blog__view-all-button-wrapper,
  .page-blog__featured-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__posts-grid,
  .page-blog__featured-grid {
    gap: 20px;
  }
  .page-blog__post-card,
  .page-blog__featured-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-blog__post-image,
  .page-blog__featured-image {
    height: 180px;
  }
  .page-blog__post-title {
    font-size: 20px;
  }
  .page-blog__post-excerpt {
    font-size: 15px;
  }
  details.page-blog__faq-item summary.page-blog__faq-question { padding: 15px; }
  .page-blog__faq-qtext { font-size: 16px; }
  .page-blog__faq-toggle { font-size: 20px; }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__posts-grid,
  .page-blog__featured-grid,
  .page-blog__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__hero-content .page-blog__cta-button {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: 24px;
  }
  .page-blog__section-title {
    font-size: 26px;
  }
  .page-blog__post-title {
    font-size: 18px;
  }
  .page-blog__featured-title {
    font-size: 20px;
  }
}