:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --card-bg-color: #D32F2F;
  --background-color: #B71C1C;
  --text-main-color: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --text-dark: #333333;
  --text-light: #ffffff;
  --default-bg-light: #ffffff; /* Default body bg is light */
}

/* Base styles for the page content */
.page-blog-jn88-info-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--default-bg-light); /* Assuming body background is light */
}

.page-blog-jn88-info-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-jn88-info-guide__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-blog-jn88-info-guide__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-blog-jn88-info-guide__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* HERO Section specific styles */
.page-blog-jn88-info-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--background-color); /* Deep red background for hero */
  color: var(--text-light);
  overflow: hidden; /* Ensure no overflow issues */
}

.page-blog-jn88-info-guide__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width for max-width to work */
}

.page-blog-jn88-info-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Limit content width */
  margin-bottom: 30px;
}

.page-blog-jn88-info-guide__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color); /* Gold color for main title */
  letter-spacing: 1px;
}

.page-blog-jn88-info-guide__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-jn88-info-guide__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Max width for the image */
  margin-top: 30px;
}

.page-blog-jn88-info-guide__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--border-color); /* Gold border for hero image */
}

/* CTA Button styles */
.page-blog-jn88-info-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--deep-red-color); /* Dark text on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button is responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-jn88-info-guide__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog-jn88-info-guide__btn-primary {
  background: var(--button-gradient);
  color: var(--deep-red-color);
}

.page-blog-jn88-info-guide__btn-secondary {
  background: var(--deep-red-color);
  color: var(--text-light);
  border: 2px solid var(--gold-color);
  margin-left: 15px;
}

.page-blog-jn88-info-guide__btn-secondary:hover {
  background: var(--deep-red-color);
  color: var(--gold-color);
  border-color: var(--gold-color);
}

/* Intro Section */
.page-blog-jn88-info-guide__intro-section {
  background-color: var(--default-bg-light);
  color: var(--text-dark);
}

.page-blog-jn88-info-guide__intro-section .page-blog-jn88-info-guide__section-title {
  color: var(--primary-color);
}

.page-blog-jn88-info-guide__intro-section p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 17px;
}

.page-blog-jn88-info-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-jn88-info-guide__feature-card {
  background-color: var(--default-bg-light); /* Light background for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color); /* Gold border */
  color: var(--text-dark);
}

.page-blog-jn88-info-guide__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-jn88-info-guide__card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Guide Section */
.page-blog-jn88-info-guide__guide-section {
  background-color: var(--default-bg-light);
  color: var(--text-dark);
}

.page-blog-jn88-info-guide__dark-section {
  background-color: var(--background-color); /* Deep red background */
  color: var(--text-main-color); /* Light text on deep red */
}

.page-blog-jn88-info-guide__text-main {
  color: var(--text-main-color);
}

.page-blog-jn88-info-guide__guide-section .page-blog-jn88-info-guide__section-title {
  color: var(--primary-color);
}

.page-blog-jn88-info-guide__dark-section .page-blog-jn88-info-guide__section-title {
  color: var(--gold-color);
}

.page-blog-jn88-info-guide__content-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-blog-jn88-info-guide__content-block p {
  margin-bottom: 15px;
  font-size: 17px;
}

.page-blog-jn88-info-guide__ordered-list,
.page-blog-jn88-info-guide__bullet-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
  font-size: 17px;
}

.page-blog-jn88-info-guide__ordered-list li,
.page-blog-jn88-info-guide__bullet-list li {
  margin-bottom: 10px;
}

.page-blog-jn88-info-guide__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--border-color);
}

.page-blog-jn88-info-guide__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure button group takes full width for responsiveness */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-blog-jn88-info-guide__faq-section {
  background-color: var(--background-color); /* Deep red background */
  color: var(--text-main-color); /* Light text on deep red */
}

.page-blog-jn88-info-guide__faq-section .page-blog-jn88-info-guide__section-title {
  color: var(--gold-color);
}

.page-blog-jn88-info-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

details.page-blog-jn88-info-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color); /* Gold border */
  overflow: hidden;
  background: var(--card-bg-color); /* Card background color */
  color: var(--text-main-color);
}
details.page-blog-jn88-info-guide__faq-item summary.page-blog-jn88-info-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-jn88-info-guide__faq-item summary.page-blog-jn88-info-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-jn88-info-guide__faq-item summary.page-blog-jn88-info-guide__faq-question:hover {
  background: var(--deep-red-color); /* Slightly darker red on hover */
}
.page-blog-jn88-info-guide__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color); /* Light text for question */
}
.page-blog-jn88-info-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color); /* Gold color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-jn88-info-guide__faq-item .page-blog-jn88-info-guide__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-red-color); /* Deeper red for answer background */
  border-radius: 0 0 8px 8px;
  color: var(--text-main-color);
}
.page-blog-jn88-info-guide__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Image responsive styles */
.page-blog-jn88-info-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-jn88-info-guide__section-title {
    font-size: 30px;
  }
  .page-blog-jn88-info-guide__sub-title {
    font-size: 22px;
  }
  .page-blog-jn88-info-guide__main-title {
    font-size: clamp(24px, 5vw, 40px);
  }
  .page-blog-jn88-info-guide__hero-description {
    font-size: clamp(15px, 2.5vw, 18px);
  }
  .page-blog-jn88-info-guide__cta-button {
    font-size: 16px;
    padding: 12px 30px;
  }
}

@media (max-width: 768px) {
  .page-blog-jn88-info-guide__section {
    padding: 40px 0;
  }
  .page-blog-jn88-info-guide__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-blog-jn88-info-guide__sub-title {
    font-size: 20px;
  }
  .page-blog-jn88-info-guide__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-blog-jn88-info-guide__hero-content {
    margin-bottom: 20px;
  }
  .page-blog-jn88-info-guide__main-title {
    font-size: clamp(22px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-blog-jn88-info-guide__hero-description {
    font-size: clamp(14px, 3vw, 16px);
    margin-bottom: 20px;
  }
  .page-blog-jn88-info-guide__hero-image-wrapper {
    margin-top: 20px;
  }
  .page-blog-jn88-info-guide__cta-button,
  .page-blog-jn88-info-guide__btn-primary,
  .page-blog-jn88-info-guide a[class*="button"],
  .page-blog-jn88-info-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-jn88-info-guide__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog-jn88-info-guide__btn-secondary {
    margin-left: 0; /* Remove margin-left for vertical stacking */
  }
  .page-blog-jn88-info-guide__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-jn88-info-guide__content-block {
    padding: 0 15px;
  }
  .page-blog-jn88-info-guide__ordered-list,
  .page-blog-jn88-info-guide__bullet-list {
    padding-left: 10px;
    font-size: 16px;
  }
  .page-blog-jn88-info-guide__faq-list {
    padding: 0 15px;
  }
  details.page-blog-jn88-info-guide__faq-item summary.page-blog-jn88-info-guide__faq-question {
    padding: 15px;
  }
  .page-blog-jn88-info-guide__faq-qtext {
    font-size: 16px;
  }
  details.page-blog-jn88-info-guide__faq-item .page-blog-jn88-info-guide__faq-answer {
    padding: 0 15px 15px;
  }
  .page-blog-jn88-info-guide__faq-answer p {
    font-size: 15px;
  }

  /* Mobile image responsiveness */
  .page-blog-jn88-info-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-jn88-info-guide__section,
  .page-blog-jn88-info-guide__card,
  .page-blog-jn88-info-guide__container,
  .page-blog-jn88-info-guide__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}