/* Shared styles for body background and text color based on palette */
body {
  background-color: #08160F;
  color: #F2FFF6;
}

/* General page blog styles */
.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color for dark background */
}

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

.page-blog__section-title {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for titles */
  line-height: 1.2;
}

.page-blog__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Secondary text color */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #0A4B2C; /* Deep Green for hero section */
  position: relative;
  overflow: hidden;
}

.page-blog__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog__hero-image-container {
  width: 100%;
  margin-bottom: 30px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-text-content {
  text-align: center;
  max-width: 900px;
}

.page-blog__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__intro-text {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  background: none;
  color: #57E38D; /* Glow color for secondary button text */
  border: 2px solid #57E38D;
}

.page-blog__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
  border-color: #F2FFF6;
  transform: translateY(-2px);
}

/* Articles Section */
.page-blog__articles-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-blog__article-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-blog__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__card-title a:hover {
  color: #57E38D; /* Glow */
}

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

.page-blog__card-excerpt {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: inline-block;
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  color: #F2C14E;
}

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

/* Categories Section */
.page-blog__categories-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-blog__category-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #F2FFF6;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-blog__category-card:hover {
  background-color: #1E3A2A; /* Darker Divider */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__category-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-blog__category-desc {
  font-size: 0.95em;
  color: #A7D9B8;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
}

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;
  color: #F2FFF6; /* Text Main */
}

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-color: #1E3A2A; /* Darker Divider */
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6;
}

.page-blog__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8; /* Text Secondary */
}

/* Bottom CTA Section */
.page-blog__cta-bottom-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-blog__hero-content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-blog__container {
    padding: 15px;
  }

  .page-blog__section-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-blog__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-blog__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-blog__hero-image-container {
    margin-bottom: 20px;
  }

  .page-blog__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-blog__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .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: 12px 20px;
    font-size: 1em;
  }

  .page-blog__articles-section,
  .page-blog__categories-section,
  .page-blog__faq-section,
  .page-blog__cta-bottom-section {
    padding: 40px 0;
  }

  .page-blog__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__article-image {
    height: 180px;
  }

  .page-blog__card-title {
    font-size: 1.2em;
  }

  .page-blog__card-meta,
  .page-blog__card-excerpt {
    font-size: 0.9em;
  }

  .page-blog__category-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-blog__category-title {
    font-size: 1.4em;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px 20px;
  }

  .page-blog__faq-qtext {
    font-size: 1em;
  }

  .page-blog__faq-toggle {
    font-size: 1.8em;
    margin-left: 15px;
  }

  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__hero-image-container,
  .page-blog__article-card,
  .page-blog__category-card,
  .page-blog__faq-item,
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* No game trial CSS for blog page */
/* The following media queries are required by the prompt, even if not directly used for game trial on this page. */
@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;
    margin: 0 auto;
    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;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !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%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-blog__hero-brand,
  .page-blog__hero-jackpot,
  .page-blog__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-blog__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-blog__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-blog__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-blog__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* The following are placeholders for other modules as required by the prompt, even if not directly present on this blog page */
@media (max-width: 768px) {
  /* Placeholder for __promo-strip */
  .page-blog__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-blog__promo-card {
    flex-direction: column;
    text-align: center;
  }
  .page-blog__promo-card img {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 10px;
  }

  /* Placeholder for __hot-games */
  .page-blog__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px;
  }
  .page-blog__hot-games-card .page-blog__hot-games-name,
  .page-blog__hot-games-card .page-blog__hot-games-rtp,
  .page-blog__hot-games-card .page-blog__hot-games-desc {
    display: none;
  }
  .page-blog__hot-games-card img {
    width: 100% !important;
    height: auto !important;
  }

  /* Placeholder for __brand-intro */
  .page-blog__brand-intro {
    padding: 30px 15px;
  }
  .page-blog__brand-intro-content {
    flex-direction: column;
    text-align: center;
  }

  /* Placeholder for __winner-ticker */
  .page-blog__winner-ticker {
    position: static;
    padding: 10px 0;
  }
  body {
    padding-bottom: 0 !important; /* Reset if ticker is not fixed */
  }

  /* General content area images */
  .page-blog__content-area img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* General button containers */
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}

/* Common game trial related styles (if any, as per prompt) */
.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;
}
.page-blog__reward-modal-close {
  /* Style for close button */
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: #F2FFF6;
  cursor: pointer;
  z-index: 10001;
}
.page-blog--reward-open {
  overflow: hidden;
}