.page-bao-mat-32wim {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff; /* Explicitly set for content area if body is default */
}

/* HERO Section */
.page-bao-mat-32wim__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  padding-bottom: 60px;
  background-color: #f8f8f8; /* Light background for contrast */
}

.page-bao-mat-32wim__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-bao-mat-32wim__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-bao-mat-32wim__main-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 clamp font size */
  font-weight: 700;
  color: #017439; /* Brand color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-bao-mat-32wim__hero-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
}

.page-bao-mat-32wim__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-bao-mat-32wim__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center image */
  filter: none; /* Ensure no CSS filter changes image color */
}

/* CTA Buttons */
.page-bao-mat-32wim__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-bao-mat-32wim__btn-primary,
.page-bao-mat-32wim__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Crucial for buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-bao-mat-32wim__btn-primary {
  background-color: #017439; /* Main brand color */
  color: #ffffff; /* White text */
  border: 2px solid #017439;
}

.page-bao-mat-32wim__btn-primary:hover {
  background-color: #005a2e; /* Darker shade on hover */
  border-color: #005a2e;
}

.page-bao-mat-32wim__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Main brand color text */
  border: 2px solid #017439;
}

.page-bao-mat-32wim__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

/* Inline CTA Buttons */
.page-bao-mat-32wim__cta-buttons--inline {
  margin-top: 20px;
}

/* Content Area */
.page-bao-mat-32wim__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-bao-mat-32wim__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

.page-bao-mat-32wim__text-block {
  font-size: 16px;
  color: #333333;
  margin-bottom: 15px;
}

/* Feature Grid (for principles section) */
.page-bao-mat-32wim__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-bao-mat-32wim__feature-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-bao-mat-32wim__icon-box-media {
  width: 200px; /* Fixed width */
  height: 200px; /* Fixed height for square */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e0f2f1; /* Light background for icon */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.page-bao-mat-32wim__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure image covers the circular area */
  border-radius: 50%;
  display: block;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-bao-mat-32wim__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-bao-mat-32wim__feature-description {
  font-size: 15px;
  color: #555555;
}

/* Two-column grid for data protection and financial security */
.page-bao-mat-32wim__grid-two-column {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-bao-mat-32wim__text-column,
.page-bao-mat-32wim__image-column {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-bao-mat-32wim__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-bao-mat-32wim__bullet-list,
.page-bao-mat-32wim__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-bao-mat-32wim__numbered-list {
  list-style-type: decimal;
}

.page-bao-mat-32wim__bullet-list li,
.page-bao-mat-32wim__numbered-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333333;
}

/* Dark section (for contact) */
.page-bao-mat-32wim__dark-section {
  background-color: #017439; /* Brand main color */
  color: #ffffff; /* White text */
  text-align: center;
}

.page-bao-mat-32wim__dark-section .page-bao-mat-32wim__section-title {
  color: #ffffff;
}

.page-bao-mat-32wim__dark-section .page-bao-mat-32wim__text-block {
  color: #f0f0f0;
}

.page-bao-mat-32wim__dark-section .page-bao-mat-32wim__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

.page-bao-mat-32wim__dark-section .page-bao-mat-32wim__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #f0f0f0;
}


/* FAQ Section */
.page-bao-mat-32wim__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-bao-mat-32wim__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.page-bao-mat-32wim__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-bao-mat-32wim__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-bao-mat-32wim__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #e8f5e9; /* Light green background */
  border-bottom: 1px solid #dcdcdc;
  transition: background-color 0.3s ease;
}

.page-bao-mat-32wim__faq-question:hover {
  background-color: #dcedc8;
}

.page-bao-mat-32wim__faq-qtext {
  flex-grow: 1;
}

.page-bao-mat-32wim__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-bao-mat-32wim__faq-item[open] .page-bao-mat-32wim__faq-toggle {
  content: "−"; /* Change to minus when open, handled by JS for consistency */
}

.page-bao-mat-32wim__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #333333;
  background-color: #ffffff;
}

.page-bao-mat-32wim__faq-answer p {
  margin-bottom: 0;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-bao-mat-32wim__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-bao-mat-32wim__hero-content,
  .page-bao-mat-32wim__hero-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-bao-mat-32wim__cta-buttons {
    justify-content: center;
  }

  .page-bao-mat-32wim__grid-two-column {
    flex-direction: column;
  }

  .page-bao-mat-32wim__text-column,
  .page-bao-mat-32wim__image-column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-bao-mat-32wim__grid-two-column.reverse-on-mobile {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-bao-mat-32wim__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }
  .page-bao-mat-32wim__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }
  .page-bao-mat-32wim__main-title {
    font-size: clamp(24px, 7vw, 38px);
    text-align: center;
  }
  .page-bao-mat-32wim__hero-description {
    font-size: 16px;
    text-align: center;
  }
  .page-bao-mat-32wim__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container */
  }
  .page-bao-mat-32wim__btn-primary,
  .page-bao-mat-32wim__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Content Area */
  .page-bao-mat-32wim__content-area {
    padding: 30px 15px;
  }
  .page-bao-mat-32wim__section-title {
    font-size: clamp(20px, 6vw, 30px);
    margin-bottom: 20px;
  }
  .page-bao-mat-32wim__text-block {
    font-size: 15px;
  }

  /* Feature Grid (Module 1 - Three-column icon boxes) */
  .page-bao-mat-32wim__feature-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-bao-mat-32wim__icon-box-media {
    width: 160px; /* Still square */
    height: 160px; /* Still square */
    margin-bottom: 15px;
  }
  .page-bao-mat-32wim__feature-title {
    font-size: 20px;
  }

  /* Two-column grid (data protection & financial security) */
  .page-bao-mat-32wim__grid-two-column {
    flex-direction: column; /* Single column */
    gap: 30px;
  }
  .page-bao-mat-32wim__text-column,
  .page-bao-mat-32wim__image-column {
    min-width: unset; /* Reset min-width */
    width: 100%;
  }
  .page-bao-mat-32wim__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-bao-mat-32wim__bullet-list,
  .page-bao-mat-32wim__numbered-list {
    margin-left: 15px;
  }
  .page-bao-mat-32wim__bullet-list li,
  .page-bao-mat-32wim__numbered-list li {
    font-size: 15px;
  }

  /* Dark section (contact) */
  .page-bao-mat-32wim__dark-section {
    padding: 30px 15px;
  }
  .page-bao-mat-32wim__dark-section .page-bao-mat-32wim__text-block {
    font-size: 15px;
  }

  /* FAQ Section */
  .page-bao-mat-32wim__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-bao-mat-32wim__faq-toggle {
    font-size: 20px;
  }
  .page-bao-mat-32wim__faq-answer {
    padding: 15px 20px;
    font-size: 15px;
  }

  /* Universal image responsive rule for content area */
  .page-bao-mat-32wim img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-bao-mat-32wim__section,
  .page-bao-mat-32wim__card,
  .page-bao-mat-32wim__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}