.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

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

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  text-align: center;
}

.page-blog__hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

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

.page-blog__hero-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: -80px auto 0 auto; /* Overlap slightly with image */
  position: relative;
  z-index: 1;
  color: #333333;
}

.page-blog__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #555555;
}

.page-blog__description--light {
  color: #f0f0f0;
}

.page-blog__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  background-color: #1a7fb8;
}

.page-blog__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

.page-blog__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-blog__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #26A9E0;
  color: #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.page-blog__btn-outline:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-blog__intro-section,
.page-blog__featured-posts-section,
.page-blog__latest-posts-section,
.page-blog__faq-section {
  padding: 60px 0;
}

.page-blog__categories-section,
.page-blog__cta-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-blog__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 25px;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-blog__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-blog__category-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-blog__category-description {
  font-size: 0.95em;
  color: #555555;
}

.page-blog__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.page-blog__blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-blog__blog-card-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__blog-card-meta {
  font-size: 0.85em;
  color: #888888;
  margin-bottom: 15px;
}

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

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

.page-blog__cta-section .page-blog__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  width: 100%;
  max-width: 500px;
}

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

.page-blog__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
  position: relative;
}

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

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

.page-blog__faq-item[open] .page-blog__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

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

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

.page-blog__faq-answer {
  padding: 15px 25px;
  font-size: 0.95em;
  color: #555555;
  background-color: #ffffff;
}

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

/* General image responsiveness */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-blog__container {
    padding: 15px;
  }

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

  .page-blog__hero-content {
    padding: 20px;
    margin-top: -50px;
    max-width: 95%;
  }

  .page-blog__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 10px;
  }

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

  .page-blog__btn-primary,
  .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: 10px 15px;
    margin-left: 0;
    margin-top: 10px; /* For vertical stacking */
  }

  .page-blog__btn-secondary {
    margin-left: 0;
  }

  .page-blog__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 20px;
  }

  .page-blog__intro-section,
  .page-blog__categories-section,
  .page-blog__featured-posts-section,
  .page-blog__latest-posts-section,
  .page-blog__cta-section,
  .page-blog__faq-section {
    padding: 40px 0;
  }

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

  .page-blog__category-image {
    height: 150px;
  }

  .page-blog__blog-card-image {
    height: 180px;
  }

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

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

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

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

  /* Ensure all images are responsive */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog__hero-image-wrapper,
  .page-blog__category-card,
  .page-blog__blog-card,
  .page-blog__cta-buttons,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* For blog slider (if present, though not used in this specific output) */
  .page-blog__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-blog__blog-slide {
    flex: 0 0 90%; /* Adjust as needed */
    scroll-snap-align: start;
  }
}

/* Specific overrides for generic BEM classes if they were used in HTML (not in this output) */
.page-blog__home-content { border: 1px solid #FBB00D; border-radius: 10px; height: auto; overflow-y: visible; padding: 20px; }
.page-blog__row-games, .page-blog__row-sport, .page-blog__row-coop { background-color: #1A202C; padding: 40px 20px; max-width: 1330px; margin: 0 auto; }
.page-blog__games-title, .page-blog__sport-title, .page-blog__coop-title { color: #fff; text-align: center; }
.page-blog__slider-wrapper { overflow: hidden; }
.page-blog__slider-track { display: flex; flex-wrap: nowrap; gap: 16px; }
.page-blog__game-slide { flex: 0 0 200px; max-width: 200px; }
.page-blog__banners-top-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.page-blog__banner-item img {   object-fit: contain; margin: 0 auto; display: block; }
.page-blog__blog-slider-track { display: flex; flex-wrap: nowrap; gap: 20px; }
.page-blog__blog-slide { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); }

@media (max-width: 1024px) {
  .page-blog__container {
    padding: 20px;
  }
  .page-blog__hero-content {
    max-width: 800px;
  }
  .page-blog__blog-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-blog__category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-blog__banners-top-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  /* Specific overrides for generic BEM classes if they were used in HTML (not in this output) */
  .page-blog__hero-section { padding-top: 10px !important; } /* Ensure small top padding */
  .page-blog__home-content { height: auto !important; overflow-y: visible !important; padding: 15px !important; }
  .page-blog__row-games, .page-blog__row-sport, .page-blog__row-coop { padding: 20px 15px !important; }
  .page-blog__slider-track { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; scroll-snap-type: x mandatory !important; }
  .page-blog__game-slide { flex: 0 0 160px !important; max-width: 160px !important; scroll-snap-align: start !important; }
  .page-blog__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px !important; }
  .page-blog__banner-item img {   }
  .page-blog__blog-masonry { grid-template-columns: 1fr !important; gap: 20px !important; }
  .page-blog__blog-slider-track { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; scroll-snap-type: x mandatory !important; }
  .page-blog__blog-slide { flex: 0 0 90% !important; max-width: 90% !important; scroll-snap-align: start !important; }
  .page-blog img { max-width: 100% !important; height: auto !important; }
  .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-left: 15px;
    padding-right: 15px;
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog__cta-buttons {
    flex-direction: column !important;
  }
}