.page-resources-how-to-choose-jili77-slots {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

.page-resources-how-to-choose-jili77-slots__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  background-color: #f0f0f0; /* Light background for hero section */
}

.page-resources-how-to-choose-jili77-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-how-to-choose-jili77-slots__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.page-resources-how-to-choose-jili77-slots__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 80%;
}

.page-resources-how-to-choose-jili77-slots__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-resources-how-to-choose-jili77-slots__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-resources-how-to-choose-jili77-slots__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-how-to-choose-jili77-slots__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-resources-how-to-choose-jili77-slots__button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-resources-how-to-choose-jili77-slots__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-how-to-choose-jili77-slots__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-how-to-choose-jili77-slots__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-2px);
}

.page-resources-how-to-choose-jili77-slots__button--inline {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1em;
}

.page-resources-how-to-choose-jili77-slots__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-resources-how-to-choose-jili77-slots__content-area {
  max-width: 1000px; /* Adjusted for better article flow */
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
}

.page-resources-how-to-choose-jili77-slots__toc {
  flex: 0 0 250px;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px);
  align-self: flex-start;
  height: fit-content;
}

.page-resources-how-to-choose-jili77-slots__toc-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-jili77-slots__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-how-to-choose-jili77-slots__toc-list-item {
  margin-bottom: 10px;
}

.page-resources-how-to-choose-jili77-slots__toc-link {
  text-decoration: none;
  color: #333333;
  font-weight: normal;
  display: block;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.page-resources-how-to-choose-jili77-slots__toc-link:hover,
.page-resources-how-to-choose-jili77-slots__toc-link.active {
  color: #FFD700;
  font-weight: bold;
}

.page-resources-how-to-choose-jili77-slots__article-content {
  flex: 1;
  max-width: 700px; /* Article content width */
  font-size: 1.1em;
}

.page-resources-how-to-choose-jili77-slots__article-heading {
  font-size: 2em;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources-how-to-choose-jili77-slots__article-subheading {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-jili77-slots__article-paragraph {
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-how-to-choose-jili77-slots__article-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-resources-how-to-choose-jili77-slots__article-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-how-to-choose-jili77-slots__article-list-item {
  margin-bottom: 10px;
}

.page-resources-how-to-choose-jili77-slots__cta-box {
  background-color: #8B0000;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin: 40px 0;
}

.page-resources-how-to-choose-jili77-slots__cta-text {
  font-size: 1.4em;
  margin-bottom: 20px;
}

.page-resources-how-to-choose-jili77-slots__final-cta {
  text-align: center;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-jili77-slots__content-area {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-how-to-choose-jili77-slots__toc {
    position: static;
    width: 100%;
    border-left: none;
    border-bottom: 5px solid #FFD700;
    margin-bottom: 20px;
  }

  .page-resources-how-to-choose-jili77-slots__article-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-jili77-slots__hero-title {
    font-size: 2.5em;
  }

  .page-resources-how-to-choose-jili77-slots__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-choose-jili77-slots__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-choose-jili77-slots__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources-how-to-choose-jili77-slots__hero-section {
    padding: 40px 15px;
  }

  .page-resources-how-to-choose-jili77-slots__article-heading {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-jili77-slots__article-subheading {
    font-size: 1.3em;
  }

  .page-resources-how-to-choose-jili77-slots__article-content {
    font-size: 1em;
  }

  /* Ensure images do not overflow on mobile */
  .page-resources-how-to-choose-jili77-slots__hero-image,
  .page-resources-how-to-choose-jili77-slots__article-image {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-resources-how-to-choose-jili77-slots__cta-text {
    font-size: 1.2em;
  }

  .page-resources-how-to-choose-jili77-slots__final-cta {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-choose-jili77-slots__hero-title {
    font-size: 2em;
  }

  .page-resources-how-to-choose-jili77-slots__hero-description {
    font-size: 0.9em;
  }

  .page-resources-how-to-choose-jili77-slots__hero-content {
    max-width: 90%;
  }

  .page-resources-how-to-choose-jili77-slots__button {
    width: 90%;
  }
}