.page-blog-how-to-choose-best-online-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F4F7FB; /* Custom background color */
}

.page-blog-how-to-choose-best-online-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-how-to-choose-best-online-casino__hero-section {
  position: relative;
  padding-top: 10px; /* Assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F4F7FB;
}

.page-blog-how-to-choose-best-online-casino__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-how-to-choose-best-online-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-how-to-choose-best-online-casino__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -80px; /* Overlap slightly for visual effect, ensures text is below image */
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, #FFFFFF 100%);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.page-blog-how-to-choose-best-online-casino__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive H1 font size */
  color: #1F2D3D;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-how-to-choose-best-online-casino__description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

.page-blog-how-to-choose-best-online-casino__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  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-how-to-choose-best-online-casino__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.page-blog-how-to-choose-best-online-casino__section-title {
  font-size: 2.2em;
  color: #1F2D3D;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  padding-top: 20px;
}

.page-blog-how-to-choose-best-online-casino__sub-title {
  font-size: 1.8em;
  color: #2F6BFF;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-how-to-choose-best-online-casino__content-area p {
  margin-bottom: 1em;
  color: #333333;
}

.page-blog-how-to-choose-best-online-casino__content-area strong {
  color: #1F2D3D;
}

.page-blog-how-to-choose-best-online-casino__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-how-to-choose-best-online-casino__card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  border: 1px solid #D6E2FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-how-to-choose-best-online-casino__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-how-to-choose-best-online-casino__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-how-to-choose-best-online-casino__card-title {
  font-size: 1.4em;
  color: #1F2D3D;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-how-to-choose-best-online-casino__card p {
  font-size: 0.95em;
  color: #333333;
}

.page-blog-how-to-choose-best-online-casino__game-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-how-to-choose-best-online-casino__game-trial-frame {
  width: 100%;
  min-height: 400px;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  background-color: #ffffff;
}

.page-blog-how-to-choose-best-online-casino__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  border: 2px solid #2F6BFF;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-how-to-choose-best-online-casino__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.page-blog-how-to-choose-best-online-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-how-to-choose-best-online-casino__step-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border: 1px solid #D6E2FF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-how-to-choose-best-online-casino__step-icon {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(47, 107, 255, 0.3);
}

.page-blog-how-to-choose-best-online-casino__step-title {
  font-size: 1.5em;
  color: #1F2D3D;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-how-to-choose-best-online-casino__step-card p {
  font-size: 0.95em;
  color: #333333;
  margin-bottom: 20px;
}

.page-blog-how-to-choose-best-online-casino__btn-text {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog-how-to-choose-best-online-casino__btn-text:hover {
  color: #6FA3FF;
  text-decoration: underline;
}

/* FAQ Section */
.page-blog-how-to-choose-best-online-casino__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

details.page-blog-how-to-choose-best-online-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-blog-how-to-choose-best-online-casino__faq-item summary.page-blog-how-to-choose-best-online-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: #1F2D3D;
}

details.page-blog-how-to-choose-best-online-casino__faq-item summary.page-blog-how-to-choose-best-online-casino__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-how-to-choose-best-online-casino__faq-item summary.page-blog-how-to-choose-best-online-casino__faq-question:hover {
  background: #F4F7FB;
}

.page-blog-how-to-choose-best-online-casino__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
}

.page-blog-how-to-choose-best-online-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-how-to-choose-best-online-casino__faq-item .page-blog-how-to-choose-best-online-casino__faq-answer {
  padding: 0 25px 20px;
  background: #F9F9F9;
  border-radius: 0 0 10px 10px;
  color: #333333;
}

.page-blog-how-to-choose-best-online-casino__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

.page-blog-how-to-choose-best-online-casino__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* General image responsiveness */
.page-blog-how-to-choose-best-online-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button responsiveness */
.page-blog-how-to-choose-best-online-casino a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-how-to-choose-best-online-casino__cta-group,
.page-blog-how-to-choose-best-online-casino__button-group,
.page-blog-how-to-choose-best-online-casino__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-how-to-choose-best-online-casino__container {
    padding: 15px;
  }

  .page-blog-how-to-choose-best-online-casino__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-blog-how-to-choose-best-online-casino__section-title {
    font-size: 1.8em;
  }

  .page-blog-how-to-choose-best-online-casino__sub-title {
    font-size: 1.5em;
  }

  .page-blog-how-to-choose-best-online-casino__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-blog-how-to-choose-best-online-casino__game-showcase {
    grid-template-columns: 1fr;
  }

  .page-blog-how-to-choose-best-online-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-how-to-choose-best-online-casino__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  /* 1. Banner __hero-section */
  .page-blog-how-to-choose-best-online-casino__hero-section {
    padding-top: 10px; /* Consistent top padding */
    margin-bottom: 20px;
  }
  .page-blog-how-to-choose-best-online-casino__hero-image-wrapper {
    max-height: 400px; /* Adjusted height for mobile */
  }
  .page-blog-how-to-choose-best-online-casino__hero-image {
    object-fit: cover; /* Ensure image covers the area */
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-how-to-choose-best-online-casino__hero-content {
    padding: 20px 15px;
    margin-top: -40px;
  }
  .page-blog-how-to-choose-best-online-casino__main-title {
    font-size: clamp(1.5em, 5vw, 2em);
    line-height: 1.3;
  }
  .page-blog-how-to-choose-best-online-casino__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 2. 三链按钮 __access-links (Not directly present in HTML for this page, but including CSS as required) */
  /* If __access-links were present, they would be styled like this for mobile */
  .page-blog-how-to-choose-best-online-casino__access-links {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .page-blog-how-to-choose-best-online-casino__access-links .page-blog-how-to-choose-best-online-casino__btn-primary,
  .page-blog-how-to-choose-best-online-casino__access-links a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 3. 五入口 __category-lobby (Not directly present in HTML for this page, but including CSS as required) */
  /* If __category-lobby were present, they would be styled like this for mobile */
  .page-blog-how-to-choose-best-online-casino__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 10px;
    padding: 0 10px;
  }
  .page-blog-how-to-choose-best-online-casino__category-card-link img {
    aspect-ratio: 1/1; /* Ensure square aspect ratio */
    width: 100%;
    object-fit: contain;
    border: none;
    box-shadow: none;
  }
  .page-blog-how-to-choose-best-online-casino__category-card-link {
    padding: 0; /* Remove padding for mobile */
    background: none;
    box-shadow: none;
  }

  /* 4. 博客滑块 __blog-slider (Not directly present in HTML for this page, but including CSS as required) */
  /* If __blog-slider were present, they would be styled like this for mobile */
  .page-blog-how-to-choose-best-online-casino__blog-slider-wrapper {
    padding: 0 10px;
  }
  .page-blog-how-to-choose-best-online-casino__blog-slider-track {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-blog-how-to-choose-best-online-casino__post-item {
    flex: 0 0 calc(100% - 20px); /* Show one card with some gap */
    scroll-snap-align: start;
    margin-right: 20px;
  }
  .page-blog-how-to-choose-best-online-casino__blog-slider-controls {
    justify-content: center;
    margin-top: 20px;
  }

  /* 5. 通用图片与按钮 */
  .page-blog-how-to-choose-best-online-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-how-to-choose-best-online-casino__section,
  .page-blog-how-to-choose-best-online-casino__card,
  .page-blog-how-to-choose-best-online-casino__container,
  .page-blog-how-to-choose-best-online-casino__game-showcase {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-how-to-choose-best-online-casino__cta-button,
  .page-blog-how-to-choose-best-online-casino__btn-primary,
  .page-blog-how-to-choose-best-online-casino__btn-secondary,
  .page-blog-how-to-choose-best-online-casino a[class*="button"],
  .page-blog-how-to-choose-best-online-casino 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-how-to-choose-best-online-casino__cta-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-how-to-choose-best-online-casino__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-blog-how-to-choose-best-online-casino__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-blog-how-to-choose-best-online-casino__card-image {
    height: 150px;
  }
  .page-blog-how-to-choose-best-online-casino__card-title {
    font-size: 1.2em;
  }
  .page-blog-how-to-choose-best-online-casino__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-blog-how-to-choose-best-online-casino__step-title {
    font-size: 1.3em;
  }

  details.page-blog-how-to-choose-best-online-casino__faq-item summary.page-blog-how-to-choose-best-online-casino__faq-question {
    padding: 15px;
  }
  .page-blog-how-to-choose-best-online-casino__faq-qtext {
    font-size: 1em;
  }
  .page-blog-how-to-choose-best-online-casino__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-blog-how-to-choose-best-online-casino__faq-item .page-blog-how-to-choose-best-online-casino__faq-answer {
    padding: 0 15px 15px;
  }
}