.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
  box-sizing: border-box;
  min-height: 60vh;
}

.page-blog__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-blog__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to width */
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  background: #11271B; /* Card BG, slightly transparent */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-blog__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-blog__section {
  padding: 60px 20px;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-blog__section:last-of-type {
  border-bottom: none;
}

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

.page-blog__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #57E38D; /* Glow */
  border-radius: 2px;
}

.page-blog__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-blog__content-wrapper--reverse {
  flex-direction: row-reverse;
}

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

.page-blog__text-block h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #2AD16F; /* A lighter green from the gradient */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__text-block p,
.page-blog__text-block li {
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-blog__text-block ol {
  list-style-type: decimal;
  margin-left: 20px;
  padding-left: 0;
}

.page-blog__text-block ol li {
  margin-bottom: 10px;
}

.page-blog__image-block {
  flex: 0 0 40%; /* Fixed width for image block */
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-blog__inline-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-blog__inline-link:hover {
  text-decoration: underline;
  color: #2AD16F;
}

/* Latest Articles Section */
.page-blog__latest-articles {
  background-color: #11271B; /* Card BG for a slight contrast */
}

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

.page-blog__article-card {
  background-color: #08160F; /* Background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border */
}

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

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

.page-blog__article-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__article-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-blog__article-title a:hover {
  color: #57E38D;
  text-decoration: underline;
}

.page-blog__article-meta {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  text-decoration: underline;
  color: #57E38D;
}

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

/* FAQ Section */
.page-blog__faq-section {
  background-color: #08160F; /* Background */
}

.page-blog__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-blog__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  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: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
  list-style: none; /* Hide default marker for details summary */
}

.page-blog__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-blog__faq-question:hover {
  background-color: #1E3A2A; /* Divider for hover */
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  color: #57E38D; /* Glow */
}

.page-blog__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.8;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog__content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-blog__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-blog__image-block {
    flex: 0 0 80%;
    max-width: 80%;
    margin-bottom: 30px;
  }

  .page-blog__text-block {
    flex: 1;
    max-width: 100%;
  }

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

  .page-blog__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-blog__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-bottom: 40px;
  }

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

  .page-blog__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog__subtitle {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }

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

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-blog__section {
    padding: 30px 15px;
  }

  .page-blog__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-blog__text-block h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .page-blog__text-block p,
  .page-blog__text-block li,
  .page-blog__article-excerpt,
  .page-blog__faq-answer p {
    font-size: 0.95rem;
  }

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

  /* Image responsiveness for mobile */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__image-block,
  .page-blog__article-card,
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__latest-articles,
  .page-blog__faq-section,
  .page-blog__about-z58win,
  .page-blog__download-guide,
  .page-blog__game-showcase,
  .page-blog__strategy-tips,
  .page-blog__promotions,
  .page-blog__security {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video responsiveness for mobile */
  .page-blog video,
  .page-blog__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
  }
}