.page-blog-online-betting-safety {
  background-color: #08160F; /* Nền chính */
  color: #F2FFF6; /* Màu chữ chính */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-online-betting-safety__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Nhỏ gọn để không trùng với padding-top của body */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-blog-online-betting-safety__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-online-betting-safety__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-online-betting-safety__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: -80px; /* Điều chỉnh để nội dung không bị quá xa ảnh */
  position: relative;
  z-index: 1;
  background: rgba(8, 22, 15, 0.8); /* Nền bán trong suốt cho chữ */
  border-radius: 10px;
  padding-bottom: 40px;
}

.page-blog-online-betting-safety__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-online-betting-safety__hero-description {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: #F2FFF6;
  margin-bottom: 30px;
}

.page-blog-online-betting-safety__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-online-betting-safety__btn-primary,
.page-blog-online-betting-safety__btn-secondary {
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-online-betting-safety__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-online-betting-safety__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-blog-online-betting-safety__btn-secondary {
  background: transparent;
  color: #A7D9B8;
  border: 2px solid #2E7A4E;
}

.page-blog-online-betting-safety__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  color: #F2FFF6;
  border-color: #57E38D;
  transform: translateY(-2px);
}

.page-blog-online-betting-safety__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-blog-online-betting-safety__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-blog-online-betting-safety__paragraph {
  font-size: 1.1rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-blog-online-betting-safety__highlight {
  color: #57E38D;
  font-weight: bold;
}

.page-blog-online-betting-safety__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-online-betting-safety__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-online-betting-safety__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-blog-online-betting-safety__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
  min-width: 200px;
}

.page-blog-online-betting-safety__card-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-blog-online-betting-safety__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-blog-online-betting-safety__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog-online-betting-safety__list-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-blog-online-betting-safety__list-item:hover {
  transform: translateX(5px);
}

.page-blog-online-betting-safety__list-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-blog-online-betting-safety__list-text {
  font-size: 1rem;
  color: #A7D9B8;
}

.page-blog-online-betting-safety__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
  min-width: 200px;
}

.page-blog-online-betting-safety__image-center {
  display: block;
  margin: 40px auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
  min-width: 200px;
}

.page-blog-online-betting-safety__dark-bg {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  border-color: #1E3A2A; /* Divider */
}

.page-blog-online-betting-safety__dark-bg .page-blog-online-betting-safety__card-title {
  color: #F2C14E;
}

.page-blog-online-betting-safety__dark-bg .page-blog-online-betting-safety__card-text {
  color: #A7D9B8;
}

.page-blog-online-betting-safety__contact-cta {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #11271B;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
}

.page-blog-online-betting-safety__contact-cta .page-blog-online-betting-safety__paragraph {
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.page-blog-online-betting-safety__faq-list {
  margin-top: 30px;
}

.page-blog-online-betting-safety__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-online-betting-safety__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  color: #F2C14E;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A;
  user-select: none;
  list-style: none;
}

.page-blog-online-betting-safety__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-online-betting-safety__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-blog-online-betting-safety__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #57E38D;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-blog-online-betting-safety__faq-item[open] .page-blog-online-betting-safety__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-online-betting-safety__faq-answer {
  padding: 20px 25px;
  background-color: #11271B;
  color: #A7D9B8;
  font-size: 1rem;
}

.page-blog-online-betting-safety__faq-answer .page-blog-online-betting-safety__paragraph {
  margin-bottom: 0;
}

.page-blog-online-betting-safety__cta-final {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-blog-online-betting-safety__btn-lg {
  padding: 15px 40px;
  font-size: 1.2rem;
  max-width: 400px;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-online-betting-safety__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-blog-online-betting-safety__hero-section {
    padding-bottom: 20px;
  }

  .page-blog-online-betting-safety__hero-content {
    margin-top: -40px;
    padding: 15px;
  }

  .page-blog-online-betting-safety__main-title {
    font-size: 2rem;
  }

  .page-blog-online-betting-safety__hero-description {
    font-size: 1rem;
  }

  .page-blog-online-betting-safety__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-online-betting-safety__btn-primary,
  .page-blog-online-betting-safety__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .page-blog-online-betting-safety__content-area {
    padding: 30px 15px;
  }

  .page-blog-online-betting-safety__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-blog-online-betting-safety__paragraph,
  .page-blog-online-betting-safety__list-text,
  .page-blog-online-betting-safety__card-text,
  .page-blog-online-betting-safety__faq-answer {
    font-size: 1rem;
  }

  .page-blog-online-betting-safety__card-title,
  .page-blog-online-betting-safety__list-title {
    font-size: 1.3rem;
  }

  .page-blog-online-betting-safety__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-online-betting-safety__card {
    padding: 20px;
  }

  .page-blog-online-betting-safety__list-item {
    padding: 20px;
  }

  .page-blog-online-betting-safety__contact-cta {
    padding: 20px;
  }

  .page-blog-online-betting-safety__contact-cta .page-blog-online-betting-safety__paragraph {
    font-size: 1.1rem;
  }

  .page-blog-online-betting-safety__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

  .page-blog-online-betting-safety__faq-toggle {
    font-size: 1.5rem;
  }

  .page-blog-online-betting-safety__btn-lg {
    width: 100%;
    max-width: none;
  }

  /* Force responsive images and videos on mobile */
  .page-blog-online-betting-safety img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-online-betting-safety video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-online-betting-safety__section,
  .page-blog-online-betting-safety__card,
  .page-blog-online-betting-safety__container,
  .page-blog-online-betting-safety__hero-section,
  .page-blog-online-betting-safety__content-area,
  .page-blog-online-betting-safety__video-section,
  .page-blog-online-betting-safety__video-container,
  .page-blog-online-betting-safety__video-wrapper,
  .page-blog-online-betting-safety__cta-buttons,
  .page-blog-online-betting-safety__button-group,
  .page-blog-online-betting-safety__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-blog-online-betting-safety__hero-section,
  .page-blog-online-betting-safety__introduction-section,
  .page-blog-online-betting-safety__security-aspects,
  .page-blog-online-betting-safety__reliable-sites,
  .page-blog-online-betting-safety__personal-safety,
  .page-blog-online-betting-safety__security-incidents,
  .page-blog-online-betting-safety__faq-section,
  .page-blog-online-betting-safety__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-online-betting-safety__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }
}

/* Default styles for content area text, ensuring good contrast on #08160F background */
.page-blog-online-betting-safety__content-area,
.page-blog-online-betting-safety p,
.page-blog-online-betting-safety li {
  color: #F2FFF6; /* Text Main for dark background */
}

.page-blog-online-betting-safety__card {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main for card */
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog-online-betting-safety__text-block {
  color: #F2FFF6;
}

.page-blog-online-betting-safety__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Button text always light on dark gradient */
}

.page-blog-online-betting-safety__btn-secondary {
  background: transparent;
  color: #A7D9B8; /* Secondary text color */
  border: 2px solid #2E7A4E;
}

.page-blog-online-betting-safety__btn-secondary:hover {
  color: #F2FFF6;
}