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

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

.page-blog__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #11A84E; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-blog__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #11A84E; /* Brand primary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__text-main {
  color: #F2FFF6; /* Text Main */
}

.page-blog__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-blog__hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  margin-top: -80px; /* Overlap slightly for visual effect, but text is below image */
  position: relative;
  z-index: 1;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-blog__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  line-height: 1.1;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__intro-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-blog__video-section {
  padding: 40px 0;
  background-color: #f8f9fa; /* Light background */
  padding-top: 10px; /* Small top padding for first section */
}

.page-blog__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.page-blog__video-description {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: #555555;
}

.page-blog__overview-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background */
}

.page-blog__image-content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog__image-content-flex--reverse {
  flex-direction: row-reverse;
}

.page-blog__image-content-flex .page-blog__text-block {
  flex: 1;
}

.page-blog__image-content-flex .page-blog__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-blog__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-blog__game-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-blog__game-list li {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-blog__game-list li strong {
  color: #11A84E;
}

.page-blog__guide-section {
  padding: 60px 0;
  background-color: #08160F; /* Background color */
}

.page-blog__blog-list-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background */
}

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

.page-blog__blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-blog__blog-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__blog-card-content {
  padding: 20px;
}

.page-blog__blog-card-title-link {
  text-decoration: none;
  color: inherit;
}

.page-blog__blog-card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #11A84E;
  margin-top: 0;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.page-blog__blog-card-title-link:hover .page-blog__blog-card-title {
  color: #22C768;
}

.page-blog__blog-card-date {
  display: block;
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 15px;
}

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

.page-blog__blog-card-read-more {
  display: inline-block;
  color: #11A84E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__blog-card-read-more:hover {
  color: #22C768;
  text-decoration: underline;
}

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

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

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

.page-blog__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* For details/summary */
}

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow color */
  transition: transform 0.3s ease;
}

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

.page-blog__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__cta-final-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background */
  text-align: center;
}

.page-blog__cta-final-section p {
  max-width: 800px;
  margin: 20px auto 40px;
  font-size: 1.1em;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__sub-title {
    font-size: 1.5em;
  }
  .page-blog__image-content-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-blog__image-content-flex--reverse {
    flex-direction: column;
  }
  .page-blog__blog-card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-content {
    margin-top: -40px;
    padding: 20px 10px;
  }
  .page-blog__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-blog__intro-text {
    font-size: 1em;
  }
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog__sub-title {
    font-size: 1.3em;
  }
  .page-blog__hero-image-wrapper {
    max-height: 400px;
  }

  /* Mobile specific image/video/button rules */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog video,
  .page-blog__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__video-section,
  .page-blog__video-container,
  .page-blog__video-wrapper,
  .page-blog__cta-final-section,
  .page-blog__overview-section,
  .page-blog__guide-section,
  .page-blog__blog-list-section,
  .page-blog__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-blog__video-section {
    padding-top: 10px !important;
  }
  .page-blog__cta-button,
  .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;
  }
  .page-blog__view-all-posts .page-blog__cta-button {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog__cta-final-section .page-blog__cta-button {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog__hero-content .page-blog__cta-button {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__blog-card-image {
    height: 160px;
  }
  .page-blog__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-content {
    margin-top: -30px;
  }
  .page-blog__hero-image-wrapper {
    max-height: 250px;
  }
  .page-blog__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__sub-title {
    font-size: 1.2em;
  }
  .page-blog__blog-card-image {
    height: 140px;
  }
}