/* Base styles for .page-blog to ensure text readability against var(--background-color) */
.page-blog {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  line-height: 1.6;
}

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

.page-blog__hero-section {
  padding-top: 10px; /* Assuming body handles --header-offset */
  background: linear-gradient(180deg, #C91F17 0%, #E53935 100%);
  color: #FFF5E1;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px; /* Space between image and content */
}

.page-blog__hero-image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim the image for text contrast */
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* H1 font size with clamp */
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold-like color for H1 */
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red text on button */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  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 {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__introduction-section, .page-blog__benefits-section, .page-blog__registration-guide-section, .page-blog__promotions-section, .page-blog__tips-section, .page-blog__faq-section, .page-blog__conclusion-section, .page-blog__related-posts-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-blog__introduction-section p, .page-blog__tips-section p, .page-blog__conclusion-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #FFD86A; /* Gold-like color for H2 */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-blog__benefit-item, .page-blog__promo-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-blog__benefit-item img, .page-blog__promo-card img, .page-blog__blog-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  width: 100%;
  min-height: 200px; /* Minimum image size */
}

.page-blog__benefit-title, .page-blog__promo-title, .page-blog__step-title {
  font-size: 1.8em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.page-blog__step-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog__step-item p {
  text-align: justify;
  margin-bottom: 15px;
}

.page-blog__info-list {
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog__info-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-blog__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #F2B544; /* Border */
  border-radius: 5px;
  color: #F2B544; /* Border */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto; /* Push to bottom of card */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-outline:hover {
  background-color: #F2B544; /* Border */
  color: #7A0E0E; /* Deep Red */
}

.page-blog__cta-row {
  text-align: center;
  margin-top: 50px;
}

.page-blog__cta-button--centered {
  margin: 0 auto;
  display: block; /* Ensure it takes full width for centering */
  width: fit-content;
}

.page-blog__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog__tips-list li {
  background-color: #D32F2F; /* Card BG */
  border-left: 5px solid #F2B544; /* Border */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 1.05em;
}

.page-blog__tips-list li strong {
  color: #FFD86A;
}

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

.page-blog__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2em;
  color: #FFD86A; /* Gold-like color for FAQ question */
  background-color: #C91F17; /* Main color */
  user-select: none;
  list-style: none;
}

.page-blog__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  color: #FFF5E1;
  background-color: #D32F2F;
}

.page-blog__faq-answer p {
  margin: 0;
}

.page-blog__related-posts-section {
  background-color: #7A0E0E; /* Deep Red */
}

.page-blog__blog-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
}

.page-blog__blog-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-blog__blog-card-title {
  font-size: 1.5em;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
  font-weight: 600;
  flex-grow: 1;
}

.page-blog__blog-card-date {
  font-size: 0.9em;
  color: rgba(255, 245, 225, 0.7);
  margin-bottom: 10px;
}

.page-blog__blog-card-excerpt {
  font-size: 1em;
  color: #FFF5E1;
  margin-bottom: 20px;
}

/* Ensure all images are responsive by default */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-blog {
    font-size: 15px;
  }

  .page-blog__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Consistent top padding */
  }

  .page-blog__hero-image-wrapper {
    margin-bottom: 10px;
  }

  .page-blog__hero-image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__hero-content {
    padding: 15px;
  }

  .page-blog__main-title {
    font-size: 2em; /* Adjust H1 for mobile */
  }

  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog__cta-button, .page-blog__btn-outline, .page-blog__cta-button--final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-blog__cta-row {
    margin-top: 30px;
  }

  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog__benefits-grid, .page-blog__promo-grid, .page-blog__blog-masonry {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__benefit-item, .page-blog__promo-card, .page-blog__step-item, .page-blog__blog-card {
    padding: 20px;
  }

  .page-blog__benefit-item img, .page-blog__promo-card img, .page-blog__blog-card img {
    min-
  }

  .page-blog__benefit-title, .page-blog__promo-title, .page-blog__step-title {
    font-size: 1.5em;
  }

  .page-blog__step-by-step {
    gap: 30px;
  }

  .page-blog__info-list, .page-blog__tips-list {
    padding-left: 15px;
  }

  .page-blog__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-blog__faq-answer {
    padding: 10px 20px 15px;
  }

  /* General image responsiveness for content areas */
  .page-blog__introduction-section img,
  .page-blog__benefits-section img,
  .page-blog__registration-guide-section img,
  .page-blog__promotions-section img,
  .page-blog__tips-section img,
  .page-blog__faq-section img,
  .page-blog__conclusion-section img,
  .page-blog__related-posts-section img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* No slider/gameshow sections on blog page, so corresponding CSS is not needed. */
/* The following rules are from the checklist, explicitly excluded if not present in HTML: */
/* .page-blog__home-content {} */
/* .page-blog__row-games, .page-blog__row-sport, .page-blog__row-coop {} */
/* .page-blog__games-title, .page-blog__sport-title, .page-blog__coop-title {} */
/* .page-blog__slider-wrapper {} */
/* .page-blog__slider-track {} */
/* .page-blog__game-slide {} */
/* .page-blog__banners-top-wrapper {} */
/* .page-blog__banner-item img {} */
/* .page-blog__blog-slider-track {} */
/* .page-blog__blog-slide {} */