/* style/blog-online-entertainment-safety-guide.css */
.page-blog-online-entertainment-safety-guide {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

.page-blog-online-entertainment-safety-guide__dark-bg {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff;
}

.page-blog-online-entertainment-safety-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-online-entertainment-safety-guide__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Minimal top padding if body handles offset */
  padding-bottom: 40px;
}

.page-blog-online-entertainment-safety-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px;
}

.page-blog-online-entertainment-safety-guide__hero-content {
  position: relative;
  padding: 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 10;
  margin-top: -150px; /* Adjust to position content below the image */
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding-bottom: 40px;
}

.page-blog-online-entertainment-safety-guide__main-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog-online-entertainment-safety-guide__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-online-entertainment-safety-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-online-entertainment-safety-guide__btn-primary,
.page-blog-online-entertainment-safety-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-online-entertainment-safety-guide__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-blog-online-entertainment-safety-guide__btn-primary:hover {
  background-color: #005a2b;
  transform: translateY(-2px);
}

.page-blog-online-entertainment-safety-guide__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-blog-online-entertainment-safety-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-blog-online-entertainment-safety-guide__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-blog-online-entertainment-safety-guide__section-title {
  font-size: 2em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-blog-online-entertainment-safety-guide__sub-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-online-entertainment-safety-guide__text-block {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-blog-online-entertainment-safety-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-online-entertainment-safety-guide__list-item {
  margin-bottom: 10px;
}

.page-blog-online-entertainment-safety-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-online-entertainment-safety-guide__faq-section {
  margin-top: 40px;
}

.page-blog-online-entertainment-safety-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  color: #333333;
}

.page-blog-online-entertainment-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #017439;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  list-style: none;
}

.page-blog-online-entertainment-safety-guide__faq-question::-webkit-details-marker,
.page-blog-online-entertainment-safety-guide__faq-question::marker {
  display: none;
}

.page-blog-online-entertainment-safety-guide__faq-qtext {
  flex-grow: 1;
}

.page-blog-online-entertainment-safety-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-blog-online-entertainment-safety-guide__faq-answer {
  padding: 15px 20px;
  background-color: #ffffff;
  color: #333333;
  border-top: 1px solid #e0e0e0;
}

.page-blog-online-entertainment-safety-guide__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px 0;
  background-color: #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-blog-online-entertainment-safety-guide__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-blog-online-entertainment-safety-guide__floating-btn {
  display: block;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-online-entertainment-safety-guide__floating-btn--register {
  background-color: #C30808;
  color: #ffffff; /* Adjusted for WCAG AA contrast */
}

.page-blog-online-entertainment-safety-guide__floating-btn--login {
  background-color: #C30808;
  color: #ffffff; /* Adjusted for WCAG AA contrast */
}

.page-blog-online-entertainment-safety-guide__floating-btn:hover {
  transform: translateY(-3px);
}

/* Universal image and button responsive styles */
.page-blog-online-entertainment-safety-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog-online-entertainment-safety-guide__cta-button,
.page-blog-online-entertainment-safety-guide__btn-primary,
.page-blog-online-entertainment-safety-guide__btn-secondary,
.page-blog-online-entertainment-safety-guide a[class*="button"],
.page-blog-online-entertainment-safety-guide a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-online-entertainment-safety-guide__cta-buttons,
.page-blog-online-entertainment-safety-guide__button-group,
.page-blog-online-entertainment-safety-guide__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-blog-online-entertainment-safety-guide {
    font-size: 15px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-blog-online-entertainment-safety-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }

  .page-blog-online-entertainment-safety-guide__hero-image {
    max-height: 300px;
  }

  .page-blog-online-entertainment-safety-guide__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 15px;
  }

  .page-blog-online-entertainment-safety-guide__main-title {
    font-size: 1.8em;
  }

  .page-blog-online-entertainment-safety-guide__hero-description {
    font-size: 1em;
  }

  .page-blog-online-entertainment-safety-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  /* 产品展示图区域 - Not applicable for this blog page, but included as per checklist */
  /* If there were product grid, it would be here: */
  /* .page-blog-online-entertainment-safety-guide__products-grid { flex-direction: column; } */

  /* 通用图片与容器 */
  .page-blog-online-entertainment-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-online-entertainment-safety-guide__content-area,
  .page-blog-online-entertainment-safety-guide__section,
  .page-blog-online-entertainment-safety-guide__card,
  .page-blog-online-entertainment-safety-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-blog-online-entertainment-safety-guide__cta-button,
  .page-blog-online-entertainment-safety-guide__btn-primary,
  .page-blog-online-entertainment-safety-guide__btn-secondary,
  .page-blog-online-entertainment-safety-guide a[class*="button"],
  .page-blog-online-entertainment-safety-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 !important;
    padding-right: 15px !important;
  }

  .page-blog-online-entertainment-safety-guide__cta-buttons,
  .page-blog-online-entertainment-safety-guide__button-group,
  .page-blog-online-entertainment-safety-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* Other content modules */
  .page-blog-online-entertainment-safety-guide__section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-online-entertainment-safety-guide__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-online-entertainment-safety-guide__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-blog-online-entertainment-safety-guide__faq-answer {
    padding: 12px 15px;
  }

  .page-blog-online-entertainment-safety-guide__floating-buttons {
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }

  .page-blog-online-entertainment-safety-guide__floating-btn {
    padding: 10px 15px;
    font-size: 0.9em;
  }
}