.page-bao-mat-he-thong {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --text-main-color: #FFF5E1;
  --bg-color-card: #D32F2F;
  --bg-color-section: #B71C1C;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --button-text-color: #7A0E0E;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;

  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Assuming shared.css body background is dark */
  background-color: var(--bg-color-section);
}

.page-bao-mat-he-thong__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-bao-mat-he-thong__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-top: 10px; /* Adhering to fixed header spacing rule */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-bao-mat-he-thong__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Example max height for hero image */
}

.page-bao-mat-he-thong__hero-content {
  position: relative; /* Changed from absolute to relative to comply with "上图下文" */
  padding: 40px 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.5); /* Slightly darker overlay for text readability */
  margin-top: -100px; /* Pull content up slightly, but not over image */
  z-index: 1;
  border-radius: 10px;
}

.page-bao-mat-he-thong__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-bao-mat-he-thong__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-main-color);
}

.page-bao-mat-he-thong__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: var(--button-text-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-bao-mat-he-thong__cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-bao-mat-he-thong__cta-button--secondary {
  background: var(--deep-red-color);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
  margin-left: 15px;
}

.page-bao-mat-he-thong__cta-button--secondary:hover {
  background: var(--primary-color);
}

.page-bao-mat-he-thong__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: 700;
}

.page-bao-mat-he-thong__intro-section,
.page-bao-mat-he-thong__features-section,
.page-bao-mat-he-thong__data-protection-section,
.page-bao-mat-he-thong__fair-play-section,
.page-bao-mat-he-thong__responsibilities-section,
.page-bao-mat-he-thong__faq-section,
.page-bao-mat-he-thong__cta-section {
  padding: 60px 0;
  background-color: var(--bg-color-section);
}

.page-bao-mat-he-thong__intro-section .page-bao-mat-he-thong__text-block {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
  color: var(--text-main-color);
}

.page-bao-mat-he-thong__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-bao-mat-he-thong__feature-card {
  background-color: var(--bg-color-card);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-bao-mat-he-thong__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-bao-mat-he-thong__feature-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-bao-mat-he-thong__feature-description {
  font-size: 1rem;
  line-height: 1.7;
}

.page-bao-mat-he-thong__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-bao-mat-he-thong__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-bao-mat-he-thong__content-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-bao-mat-he-thong__text-content {
  flex: 2;
  color: var(--text-main-color);
}

.page-bao-mat-he-thong__sub-title {
  font-size: 1.8rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-bao-mat-he-thong__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-bao-mat-he-thong__inline-link {
  color: var(--gold-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-bao-mat-he-thong__inline-link:hover {
  color: var(--glow-color);
}

.page-bao-mat-he-thong__responsibility-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
  color: var(--text-main-color);
}

.page-bao-mat-he-thong__responsibility-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-bao-mat-he-thong__responsibility-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.page-bao-mat-he-thong__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-bao-mat-he-thong__faq-list {
  margin-top: 30px;
}

.page-bao-mat-he-thong__faq-item {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-bao-mat-he-thong__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--gold-color);
  background-color: var(--primary-color);
}

.page-bao-mat-he-thong__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-bao-mat-he-thong__faq-item[open] .page-bao-mat-he-thong__faq-toggle {
  transform: rotate(45deg);
}

.page-bao-mat-he-thong__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  background-color: var(--bg-color-card);
  color: var(--text-main-color);
}

.page-bao-mat-he-thong__cta-section .page-bao-mat-he-thong__text-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-bao-mat-he-thong__cta-buttons {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* General image and container responsiveness */
.page-bao-mat-he-thong img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-bao-mat-he-thong__section,
.page-bao-mat-he-thong__card,
.page-bao-mat-he-thong__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-bao-mat-he-thong__hero-content {
    padding: 30px 20px;
  }
  .page-bao-mat-he-thong__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-bao-mat-he-thong__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-bao-mat-he-thong__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-bao-mat-he-thong__content-image {
    margin-bottom: 20px;
  }
  .page-bao-mat-he-thong__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-bao-mat-he-thong__cta-button--secondary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-bao-mat-he-thong {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-bao-mat-he-thong__hero-section {
    padding-top: 10px !important;
  }

  .page-bao-mat-he-thong__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-bao-mat-he-thong__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-bao-mat-he-thong__cta-button {
    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-bao-mat-he-thong__cta-button--secondary {
    margin-left: 0;
  }

  .page-bao-mat-he-thong__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Force vertical stacking for buttons */
    gap: 10px;
  }

  .page-bao-mat-he-thong__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-bao-mat-he-thong__intro-section,
  .page-bao-mat-he-thong__features-section,
  .page-bao-mat-he-thong__data-protection-section,
  .page-bao-mat-he-thong__fair-play-section,
  .page-bao-mat-he-thong__responsibilities-section,
  .page-bao-mat-he-thong__faq-section,
  .page-bao-mat-he-thong__cta-section {
    padding: 40px 0;
  }

  .page-bao-mat-he-thong__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-bao-mat-he-thong__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-bao-mat-he-thong__feature-card {
    padding: 20px;
  }

  .page-bao-mat-he-thong__feature-image {
    height: 180px;
  }

  .page-bao-mat-he-thong__sub-title {
    font-size: 1.5rem;
  }

  .page-bao-mat-he-thong__text-block,
  .page-bao-mat-he-thong__responsibility-item,
  .page-bao-mat-he-thong__faq-answer {
    font-size: 0.95rem;
  }

  .page-bao-mat-he-thong__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-bao-mat-he-thong__faq-answer {
    padding: 15px 20px;
  }

  /* Generic images */
  .page-bao-mat-he-thong img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-bao-mat-he-thong__content-image {
    min-width: unset;
  }
}

@media (max-width: 549px) {
  .page-bao-mat-he-thong__hero-content {
    margin-top: -80px;
  }
  .page-bao-mat-he-thong__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .page-bao-mat-he-thong__hero-description {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
  }
  .page-bao-mat-he-thong__cta-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}