.page-blog-s8bet-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF; /* Matches body var(--secondary-color) which is #FFFFFF */
  line-height: 1.6;
}

.page-blog-s8bet-beginner-guide__hero-section {
  position: relative;
  text-align: center;
  padding-bottom: 40px;
  background-color: #f0f0f0;
  padding-top: 10px; /* Small top padding, relies on body for main header offset */
}

.page-blog-s8bet-beginner-guide__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
}

.page-blog-s8bet-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-s8bet-beginner-guide__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-s8bet-beginner-guide__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 100%;
}

.page-blog-s8bet-beginner-guide__intro-text {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
}

.page-blog-s8bet-beginner-guide__cta-button {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-s8bet-beginner-guide__cta-button:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-blog-s8bet-beginner-guide__section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-blog-s8bet-beginner-guide__section:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.page-blog-s8bet-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-s8bet-beginner-guide__section-title {
  font-size: 36px;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-s8bet-beginner-guide__section-description {
  font-size: 17px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-s8bet-beginner-guide__step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-blog-s8bet-beginner-guide__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-s8bet-beginner-guide__step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-s8bet-beginner-guide__step-icon {
  width: 100px;
  height: 100px;
  background-color: #e6f7ed;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.page-blog-s8bet-beginner-guide__step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-s8bet-beginner-guide__step-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-s8bet-beginner-guide__step-text {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-s8bet-beginner-guide__step-button {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-s8bet-beginner-guide__step-button:hover {
  background-color: #005a2e;
}

.page-blog-s8bet-beginner-guide__conclusion-text {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-top: 50px;
  font-weight: 500;
}

.page-blog-s8bet-beginner-guide__tips-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-blog-s8bet-beginner-guide__tips-list li {
  background-color: #ffffff;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: #333333;
}

.page-blog-s8bet-beginner-guide__tips-list li p {
  margin: 0;
  padding: 0;
}

/* FAQ Section */
details.page-blog-s8bet-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog-s8bet-beginner-guide__faq-item summary.page-blog-s8bet-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-s8bet-beginner-guide__faq-item summary.page-blog-s8bet-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-s8bet-beginner-guide__faq-item summary.page-blog-s8bet-beginner-guide__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-s8bet-beginner-guide__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-blog-s8bet-beginner-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-s8bet-beginner-guide__faq-item .page-blog-s8bet-beginner-guide__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-blog-s8bet-beginner-guide__cta-section {
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-blog-s8bet-beginner-guide__cta-container {
  max-width: 900px;
}

.page-blog-s8bet-beginner-guide__cta-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-blog-s8bet-beginner-guide__cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-blog-s8bet-beginner-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-blog-s8bet-beginner-guide__btn-primary,
.page-blog-s8bet-beginner-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-s8bet-beginner-guide__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
}

.page-blog-s8bet-beginner-guide__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-blog-s8bet-beginner-guide__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #017439;
}

.page-blog-s8bet-beginner-guide__btn-secondary:hover {
  background-color: #e6f7ed;
  border-color: #005a2e;
  transform: translateY(-2px);
}

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

.page-blog-s8bet-beginner-guide__section,
.page-blog-s8bet-beginner-guide__card,
.page-blog-s8bet-beginner-guide__container,
.page-blog-s8bet-beginner-guide__step-item {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-blog-s8bet-beginner-guide__main-title {
    font-size: 38px;
  }

  .page-blog-s8bet-beginner-guide__section-title {
    font-size: 32px;
  }

  .page-blog-s8bet-beginner-guide__step-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-blog-s8bet-beginner-guide__cta-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .page-blog-s8bet-beginner-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-s8bet-beginner-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog-s8bet-beginner-guide__hero-content {
    padding: 15px;
  }

  .page-blog-s8bet-beginner-guide__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-blog-s8bet-beginner-guide__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-blog-s8bet-beginner-guide__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-s8bet-beginner-guide__section {
    padding: 40px 0;
  }

  .page-blog-s8bet-beginner-guide__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-s8bet-beginner-guide__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-blog-s8bet-beginner-guide__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-blog-s8bet-beginner-guide__step-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-blog-s8bet-beginner-guide__step-item {
    padding: 25px;
  }

  .page-blog-s8bet-beginner-guide__step-title {
    font-size: 20px;
  }

  .page-blog-s8bet-beginner-guide__step-text {
    font-size: 14px;
  }

  .page-blog-s8bet-beginner-guide__step-button {
    font-size: 15px;
    padding: 10px 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-s8bet-beginner-guide__conclusion-text {
    font-size: 16px;
    margin-top: 40px;
  }

  .page-blog-s8bet-beginner-guide__tips-list {
    margin-top: 30px;
  }

  .page-blog-s8bet-beginner-guide__tips-list li {
    padding: 15px;
    font-size: 15px;
  }

  details.page-blog-s8bet-beginner-guide__faq-item summary.page-blog-s8bet-beginner-guide__faq-question { padding: 15px; }
  .page-blog-s8bet-beginner-guide__faq-qtext { font-size: 15px; }
  .page-blog-s8bet-beginner-guide__faq-toggle { font-size: 20px; width: 24px; margin-left: 10px; }
  details.page-blog-s8bet-beginner-guide__faq-item .page-blog-s8bet-beginner-guide__faq-answer {
    padding: 0 15px 15px;
  }

  .page-blog-s8bet-beginner-guide__cta-section {
    padding: 50px 0;
  }

  .page-blog-s8bet-beginner-guide__cta-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-blog-s8bet-beginner-guide__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-blog-s8bet-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-s8bet-beginner-guide__btn-primary,
  .page-blog-s8bet-beginner-guide__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General image responsiveness for mobile */
  .page-blog-s8bet-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-s8bet-beginner-guide__section,
  .page-blog-s8bet-beginner-guide__card,
  .page-blog-s8bet-beginner-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}