.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f4f7f6; /* Body background color */
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #08160F; /* Dark background for the hero section */
  color: #F2FFF6; /* Light text for dark background */
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  margin-bottom: 20px; /* Space between image and content */
}

.page-blog__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Light text for dark background */
}

.page-blog__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

/* Call to Action Button - Primary */
.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* White text for button */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-blog__cta-button--small {
  padding: 12px 25px;
  font-size: 1rem;
}

.page-blog__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Content Area */
.page-blog__content-area {
  max-width: 100%; /* Full width for content area */
  padding: 40px 0;
  background-color: #f4f7f6; /* Light background */
  color: #333333; /* Dark text */
}

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

.page-blog__section-title {
  font-size: 2.2rem;
  color: #11A84E; /* Main brand color for section titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-blog__sub-title {
  font-size: 1.7rem;
  color: #0A4B2C; /* Deep Green */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333333; /* Dark text */
}

.page-blog__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-blog__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333; /* Dark text */
}

.page-blog__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333333; /* Dark text */
}

.page-blog__note {
  font-style: italic;
  padding: 15px;
  background-color: #A7D9B8; /* Light background for notes */
  border-left: 5px solid #11A84E; /* Main brand color for border */
  border-radius: 5px;
  margin-top: 20px;
  color: #0A4B2C; /* Deep Green text for note */
}

/* Game List / Promo List */
.page-blog__game-list,
.page-blog__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.page-blog__game-item,
.page-blog__promo-item {
  background-color: #11271B; /* Card Background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  color: #F2FFF6; /* Main text for cards */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-blog__game-item:hover,
.page-blog__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.page-blog__game-title,
.page-blog__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-blog__game-description,
.page-blog__promo-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text for cards */
}

/* CTA Group */
.page-blog__cta-group {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog__cta-group--final {
  margin-top: 60px;
  margin-bottom: 60px;
}

/* FAQ Section */
.page-blog__faq-list {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog__faq-item {
  background-color: #11271B; /* Card Background */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Main text for FAQ item */
}

.page-blog__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  list-style: none; /* Remove default marker */
  color: #F2FFF6; /* Main text for FAQ question */
}

.page-blog__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit */
}

.page-blog__faq-question .page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Gold for toggle icon */
}

.page-blog__faq-item[open] .page-blog__faq-question .page-blog__faq-toggle {
  transform: rotate(45deg); /* Rotate + to x when open */
}

.page-blog__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text for FAQ answer */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    max-width: 768px;
  }
  .page-blog__section-title {
    font-size: 2rem;
  }
  .page-blog__sub-title {
    font-size: 1.5rem;
  }
  .page-blog__game-list,
  .page-blog__promo-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust H1 for mobile */
  }
  .page-blog__hero-description {
    font-size: 1rem;
  }
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100% !important; /* Force full width for buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog__cta-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog__content-area {
    padding: 30px 0;
  }
  .page-blog__container {
    padding: 0 15px;
  }
  .page-blog__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-blog__sub-title {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-blog__paragraph,
  .page-blog__list-item,
  .page-blog__game-description,
  .page-blog__promo-description,
  .page-blog__faq-answer p {
    font-size: 0.9rem;
  }
  .page-blog__image-full {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow smaller than 200px if container is smaller */
    min-height: unset;
  }
  .page-blog__game-list,
  .page-blog__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-blog__game-item,
  .page-blog__promo-item {
    padding: 20px;
  }
  .page-blog__game-title,
  .page-blog__promo-title {
    font-size: 1.2rem;
  }
  .page-blog__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-blog__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Ensure all images and containers are responsive and prevent overflow */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__cta-group,
  .page-blog__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Specific padding for content containers on mobile */
  .page-blog__hero-content,
  .page-blog__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Video section (if any) */
  .page-blog__video-section {
    padding-top: 10px !important; /* body already handles header offset */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog video,
  .page-blog__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__video-container,
  .page-blog__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Color contrast adjustments */
/* Ensure all links have proper contrast */
.page-blog a {
  color: #11A84E; /* Main brand color for links */
  text-decoration: none;
}

.page-blog a:hover {
  text-decoration: underline;
  color: #22C768; /* Auxiliary brand color on hover */
}