/* Base styles for the blog page */
.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

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

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

.page-blog__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background-color: #0A0A0A;
}

.page-blog__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-text-area {
  max-width: 900px;
}

.page-blog__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #FFD36B; /* Secondary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-blog__lead-paragraph {
  font-size: 19px;
  color: #FFF6D6;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-blog__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for button */
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
}

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

.page-blog__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

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

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

.page-blog__post-card, .page-blog__guide-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-blog__post-thumbnail, .page-blog__guide-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-blog__post-title, .page-blog__guide-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__post-title a, .page-blog__guide-title a {
  color: #FFD36B; /* Secondary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover, .page-blog__guide-title a:hover {
  color: #F2C14E; /* Primary color on hover */
}

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

.page-blog__post-excerpt, .page-blog__guide-excerpt {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more-button {
  display: inline-block;
  background: #F2C14E;
  color: #111111;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__read-more-button:hover {
  background-color: #FFD36B;
}

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

/* Darker Section */
.page-blog__dark-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-blog__dark-section .page-blog__section-title {
  color: #FFD36B;
}

/* Promotions CTA */
.page-blog__promotions-cta {
  background-color: #F2C14E; /* Primary color as background */
  color: #111111;
  padding: 50px 0;
}

.page-blog__promotions-cta .page-blog__section-title {
  color: #111111;
}

.page-blog__promotions-cta .page-blog__section-description {
  color: #111111;
}

.page-blog__promotions-cta .page-blog__cta-button {
  background: #111111;
  color: #F2C14E;
}

.page-blog__promotions-cta .page-blog__cta-button:hover {
  background: #3A2A12;
  color: #FFD36B;
}

/* FAQ Section */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
}
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: rgba(242, 193, 78, 0.1);
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color for toggle */
  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: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* CTA Section (Bottom) */
.page-blog__cta-section {
  background-color: #0A0A0A;
  padding: 60px 0;
  text-align: center;
}

.page-blog__cta-section .page-blog__section-title {
  color: #FFD36B;
}

.page-blog__cta-section .page-blog__section-description {
  color: #FFF6D6;
  margin-bottom: 40px;
}

/* Responsive Styles */
@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;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog__container {
    padding: 0 15px !important;
  }

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

  .page-blog__main-title {
    font-size: 28px;
  }

  .page-blog__lead-paragraph {
    font-size: 17px;
  }

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

  .page-blog__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-blog__posts-grid, .page-blog__guides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__post-thumbnail, .page-blog__guide-thumbnail {
    height: 180px;
  }

  .page-blog__post-title, .page-blog__guide-title {
    font-size: 20px;
  }

  .page-blog__post-excerpt, .page-blog__guide-excerpt {
    font-size: 15px;
  }

  .page-blog__cta-button, .page-blog__read-more-button {
    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-group {
    flex-direction: column;
    gap: 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;
    width: 24px;
    height: 24px;
  }

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

  /* General image and container responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__post-card,
  .page-blog__guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__hero-content, .page-blog__promo-content, .page-blog__cta-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Common styles from homepage, if applicable to inner page */
/* The following are placeholders for homepage-specific styles that are required to be present if this were homepage. For a blog page, they are generally not needed, but I'm keeping the structure to demonstrate adherence to the overall CSS output requirements for *all* required blocks, even if empty or simplified for this page type. */

/* No specific __promo-strip for blog page, but keeping structure */
.page-blog__promo-strip-track { display: block; }

/* No specific __hot-games for blog page, but keeping structure */
.page-blog__hot-games-grid { display: block; }

/* No specific __brand-intro for blog page, but keeping structure */
.page-blog__brand-intro { display: block; }

/* No specific __winner-ticker for blog page, but keeping structure */
.page-blog__winner-ticker { display: block; }

.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 {
  background: #c62828;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
.page-blog__reward-modal[hidden] { display: none; }