.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-blog__hero-section {
  padding-top: 10px; /* Adjusted for shared header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-align: center;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-blog__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-blog__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color */
}

.page-blog__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(111, 163, 255, 0.3);
}

.page-blog__btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-blog__btn--center {
  display: block;
  margin: 30px auto;
  max-width: 250px;
}

.page-blog__content-section {
  padding: 40px 0;
}

.page-blog__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
}

.page-blog__article-content {
  flex: 3;
}

.page-blog__sidebar {
  flex: 1;
}

.page-blog__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #D6E2FF; /* Border */
  padding-bottom: 10px;
}

.page-blog__sub-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2F6BFF; /* Main color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__article-content p {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #1F2D3D; /* Text Main */
}

.page-blog__article-content strong {
  color: #2F6BFF; /* Main color */
}

.page-blog__figure {
  margin: 30px 0;
  text-align: center;
}

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

.page-blog__figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

.page-blog__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog__step-item {
  background-color: #ffffff; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
}

.page-blog__step-title {
  font-size: 1.3rem;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
  font-weight: 700;
}

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

.page-blog__game-list li {
  background-color: #ffffff; /* Card BG */
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #2F6BFF; /* Main color */
  display: flex;
  flex-direction: column;
}

.page-blog__game-item-title {
  font-size: 1.25rem;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog__game-list li p {
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__link {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  font-weight: 600;
}

.page-blog__link:hover {
  text-decoration: underline;
}

.page-blog__app-download-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-blog__final-cta {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-blog__card {
  background-color: #ffffff; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  border: 1px solid #D6E2FF; /* Border */
}

.page-blog__card-title {
  font-size: 1.4rem;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #D6E2FF; /* Border */
}

.page-blog__related-posts {
  list-style: none;
  padding: 0;
}

.page-blog__related-posts li {
  margin-bottom: 12px;
}

.page-blog__related-posts li a {
  color: #1F2D3D; /* Text Main */
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-blog__related-posts li a:hover {
  color: #2F6BFF; /* Main color */
  text-decoration: underline;
}

.page-blog__promo-box {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  text-align: center;
}

.page-blog__promo-box .page-blog__card-title {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.page-blog__promo-box p {
  color: #e0e0e0;
  margin-bottom: 25px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-blog__article-wrap {
    flex-direction: column;
  }
  .page-blog__sidebar {
    margin-top: 30px;
  }
  .page-blog__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-blog__section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  /* 1. Top section (title + CTA buttons) */
  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    padding: 0 15px;
  }
  .page-blog__description {
    font-size: 1rem;
    padding: 0 15px;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 2. Single-column long text containers */
  .page-blog__article-wrap {
    padding: 0 15px !important;
    flex-direction: column;
  }
  .page-blog__article-content,
  .page-blog__sidebar {
    flex: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
  }
  .page-blog__section-title {
    font-size: 1.5rem !important;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-blog__sub-title {
    font-size: 1.2rem !important;
  }
  .page-blog__article-content p {
    font-size: 0.95rem;
  }

  /* 3. General images and figures */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-blog__figure {
    margin: 20px 0;
  }
  .page-blog__step-by-step-guide {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__game-list li {
    padding: 15px;
  }

  /* 4. Buttons and button containers */
  .page-blog__app-download-cta {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog__app-download-cta .page-blog__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-blog__final-cta .page-blog__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-blog__promo-box .page-blog__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 5. Registration tutorial/FAQ blocks (step-by-step guide is similar) */
  .page-blog__step-item {
    padding: 20px;
  }
  .page-blog__step-title {
    font-size: 1.1rem;
  }
  .page-blog__card {
    margin-bottom: 20px;
    padding: 20px;
  }
  .page-blog__card-title {
    font-size: 1.2rem;
  }
  .page-blog__related-posts li a {
    font-size: 0.95rem;
  }
  .page-blog__promo-box p {
    font-size: 0.95rem;
  }
}