/* Nếu body là nền tối, sử dụng màu chữ sáng */
.page-blog {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy */
}

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

.page-blog__hero-section {
  text-align: center;
  padding-top: 10px; /* Nhỏ hơn so với header offset */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  color: #F3F8FF;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 10px;
  object-fit: cover;
}

.page-blog__main-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #AFC4E8; /* Text Secondary */
}

.page-blog__posts-section {
  padding: 60px 0;
}

.page-blog__section-title {
  font-size: 2.5em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

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

.page-blog__post-card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border */
}

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

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

.page-blog__post-content {
  padding: 25px;
}

.page-blog__post-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__post-title a {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
  color: #F2C14E; /* Gold */
}

.page-blog__post-meta {
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__read-more-btn {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.page-blog__read-more-btn:hover {
  opacity: 0.9;
}

.page-blog__view-all {
  text-align: center;
  margin-top: 50px;
}

.page-blog__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: opacity 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
}

.page-blog__faq-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}
details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: rgba(29, 95, 209, 0.1); /* Slightly lighter on hover */
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 20px;
  background: #10233F; /* Card BG */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
}

.page-blog__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #113B7A; /* Primary Color */
  color: #F3F8FF;
}

.page-blog__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #AFC4E8; /* Text Secondary */
}

/* --- Homepage-specific CSS (Included as per strict instructions, even if not directly relevant to blog page content) --- */
@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;max-width:none !important; width: 100%; margin: 0; padding: 0;}.page-blog__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-blog__game-trial-viewport{flex:1;min-height:0;position: relative; width: 100%;}.page-blog__game-trial-frame{height:100%;min-height:0;display: block; width: 100%; border: none;}.page-blog__hero-jackpot-claim{background:#c62828!important;color: #fff !important;}.page-blog__promo-strip{margin-top:16px;}}

/* --- General Responsive Styles for Blog Page --- */
@media (max-width: 1023px) {
  .page-blog__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }
  .page-blog__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__post-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog__hero-section, .page-blog__posts-section, .page-blog__faq-section, .page-blog__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-blog__intro-text {
    font-size: 1em;
  }
  .page-blog__post-title {
    font-size: 1.3em;
  }
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__section, .page-blog__card, .page-blog__container, .page-blog__cta-buttons, .page-blog__button-group, .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__btn-primary, .page-blog__read-more-btn, .page-blog a[class*="button"], .page-blog 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;
  }
  .page-blog__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  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; }

  /* --- Homepage-specific 768px overrides (as per strict instructions) --- */
  /* These are redundant if 1023px block is already present, but included for strict compliance */
  .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);}
}

/* --- Homepage-specific CSS (Additional as per strict instructions) --- */
.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;}