.page-blog-how-to-play-jin88 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #F4F7FB; /* Body background color from shared.css */
}

.page-blog-how-to-play-jin88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-blog-how-to-play-jin88__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    margin-bottom: 40px;
    background-color: #F4F7FB;
}

.page-blog-how-to-play-jin88__hero-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-blog-how-to-play-jin88__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default cover for desktop */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-blog-how-to-play-jin88__hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-how-to-play-jin88__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: #1F2D3D;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-blog-how-to-play-jin88__intro-text {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-how-to-play-jin88__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 15px; /* Add padding to prevent overflow */
}

.page-blog-how-to-play-jin88__btn-primary,
.page-blog-how-to-play-jin88__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

.page-blog-how-to-play-jin88__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-blog-how-to-play-jin88__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-blog-how-to-play-jin88__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-blog-how-to-play-jin88__btn-secondary:hover {
    background: #e0eaff;
    color: #2F6BFF;
    border-color: #2F6BFF;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.page-blog-how-to-play-jin88__content-section {
    padding: 60px 0;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.page-blog-how-to-play-jin88__light-bg {
    background-color: #ffffff; /* Card BG */
    color: #1F2D3D; /* Text Main */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-blog-how-to-play-jin88__dark-bg {
    background-color: #2F6BFF; /* Main Color */
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(47, 107, 255, 0.2);
}

.page-blog-how-to-play-jin88__section-title {
    font-size: 2.2em;
    color: inherit; /* Inherit color from parent section */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-blog-how-to-play-jin88__sub-title {
    font-size: 1.6em;
    color: inherit;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-how-to-play-jin88__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: inherit;
}

.page-blog-how-to-play-jin88__article-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Limit width for content images */
}

.page-blog-how-to-play-jin88__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: inherit;
}

.page-blog-how-to-play-jin88__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-blog-how-to-play-jin88__game-category {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #1F2D3D;
}

.page-blog-how-to-play-jin88__game-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto 20px;
    border-radius: 8px;
    display: block;
}

.page-blog-how-to-play-jin88__game-title {
    font-size: 1.8em;
    color: #2F6BFF;
    margin-bottom: 15px;
    font-weight: 600;
}

/* FAQ styles */
.page-blog-how-to-play-jin88__faq-list {
    margin-top: 30px;
}
details.page-blog-how-to-play-jin88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color from custom palette */
  overflow: hidden;
  background: #ffffff; /* Card BG */
}
details.page-blog-how-to-play-jin88__faq-item summary.page-blog-how-to-play-jin88__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;
  color: #1F2D3D; /* Text Main */
}
details.page-blog-how-to-play-jin88__faq-item summary.page-blog-how-to-play-jin88__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-how-to-play-jin88__faq-item summary.page-blog-how-to-play-jin88__faq-question:hover {
  background: #f5f7fa; /* Slightly darker than F4F7FB */
}
.page-blog-how-to-play-jin88__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-blog-how-to-play-jin88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-how-to-play-jin88__faq-item .page-blog-how-to-play-jin88__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB; /* Background color */
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Responsive styles for 1024px */
@media (max-width: 1024px) {
    .page-blog-how-to-play-jin88__container {
        padding: 15px;
    }
    .page-blog-how-to-play-jin88__hero-section {
        margin-bottom: 30px;
    }
    .page-blog-how-to-play-jin88__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-blog-how-to-play-jin88__section-title {
        font-size: 1.8em;
    }
    .page-blog-how-to-play-jin88__sub-title {
        font-size: 1.4em;
    }
    .page-blog-how-to-play-jin88__btn-primary,
    .page-blog-how-to-play-jin88__btn-secondary {
        padding: 10px 20px;
        font-size: 1em;
    }
}

/* Responsive styles for 768px (Mobile) */
@media (max-width: 768px) {
    .page-blog-how-to-play-jin88 {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-blog-how-to-play-jin88__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-how-to-play-jin88__hero-section {
        padding-top: 10px; /* Small top padding, assuming body has header offset */
        margin-bottom: 20px;
    }
    .page-blog-how-to-play-jin88__hero-image img {
        object-fit: contain !important; /* Mobile: contain, not cover */
        aspect-ratio: unset !important; /* Allow natural aspect ratio or be defined by height:auto */
        width: 100% !important;
        height: auto !important;
    }
    .page-blog-how-to-play-jin88__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* More constrained H1 for mobile */
        margin-bottom: 10px;
    }
    .page-blog-how-to-play-jin88__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
}