.page-trach-nhiem-co-bac {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: var(--background-color, #FFFFFF); /* Ensure contrast with body background */
}

.page-trach-nhiem-co-bac__top-section {
  background-color: #f5f5f5; /* Light background for top section */
  padding: 10px 20px 40px; /* Small top padding, relying on body for header offset */
  text-align: center;
}

.page-trach-nhiem-co-bac__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-trach-nhiem-co-bac__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Use clamp for H1 font size */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-trach-nhiem-co-bac__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555555;
}

.page-trach-nhiem-co-bac__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-trach-nhiem-co-bac__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-trach-nhiem-co-bac__btn--primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-trach-nhiem-co-bac__btn--primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-trach-nhiem-co-bac__btn--secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-trach-nhiem-co-bac__btn--secondary:hover {
  background-color: #e0f2f7;
  color: #1e87c0;
  border-color: #1e87c0;
}

/* Article Section */
.page-trach-nhiem-co-bac__article-section {
  padding: 50px 0;
  background-color: #FFFFFF;
}

.page-trach-nhiem-co-bac__article-wrap {
  max-width: 900px; /* Slightly narrower for readability of long text */
  margin: 0 auto;
  padding: 0 20px;
}

.page-trach-nhiem-co-bac__image-figure {
  margin: 40px 0;
  text-align: center;
}

.page-trach-nhiem-co-bac__article-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-trach-nhiem-co-bac__image-caption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

.page-trach-nhiem-co-bac__heading {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-trach-nhiem-co-bac__sub-heading {
  font-size: 1.4em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.page-trach-nhiem-co-bac__article-section p {
  margin-bottom: 1em;
  color: #333333;
}

.page-trach-nhiem-co-bac__cta-box {
  background-color: #e0f2f7; /* Lighter shade of primary color */
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin: 40px 0;
  border-radius: 8px;
  text-align: center;
}

.page-trach-nhiem-co-bac__cta-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
}

/* Promo Section */
.page-trach-nhiem-co-bac__promo-section {
  background-color: #26A9E0; /* Primary brand color */
  padding: 60px 20px;
  text-align: center;
}

.page-trach-nhiem-co-bac__promo-box {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for contrast */
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.page-trach-nhiem-co-bac__promo-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-trach-nhiem-co-bac__promo-text {
  font-size: 1.1em;
  color: #FFFFFF;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-trach-nhiem-co-bac__promo-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Override button styles for promo section if needed for visual consistency */
.page-trach-nhiem-co-bac__promo-cta .page-trach-nhiem-co-bac__btn--primary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-trach-nhiem-co-bac__promo-cta .page-trach-nhiem-co-bac__btn--primary:hover {
  background-color: #e0f2f7;
  color: #1e87c0;
  border-color: #e0f2f7;
}

.page-trach-nhiem-co-bac__promo-cta .page-trach-nhiem-co-bac__btn--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-trach-nhiem-co-bac__promo-cta .page-trach-nhiem-co-bac__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}


/* --- Responsive Styles (Mandatory Media Queries) --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-trach-nhiem-co-bac__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-trach-nhiem-co-bac__heading {
    font-size: 1.8em;
  }

  .page-trach-nhiem-co-bac__sub-heading {
    font-size: 1.3em;
  }

  .page-trach-nhiem-co-bac__article-wrap,
  .page-trach-nhiem-co-bac__container,
  .page-trach-nhiem-co-bac__promo-box,
  .page-trach-nhiem-co-bac__cta-box {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Mobile (max-width: 768px) - MANDATORY SECTIONS */
@media (max-width: 768px) {
  /* 1. Top Section (Title + CTA) */
  .page-trach-nhiem-co-bac__top-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-trach-nhiem-co-bac__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em) !important;
    margin-bottom: 10px;
  }

  .page-trach-nhiem-co-bac__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-trach-nhiem-co-bac__top-cta {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  /* 2. Single Column Long Text Container (Article Wrap, Sections, Cards) */
  .page-trach-nhiem-co-bac__article-section {
    padding: 30px 0;
  }

  .page-trach-nhiem-co-bac__article-wrap,
  .page-trach-nhiem-co-bac__container,
  .page-trach-nhiem-co-bac__promo-box,
  .page-trach-nhiem-co-bac__cta-box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-trach-nhiem-co-bac__heading {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-trach-nhiem-co-bac__sub-heading {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-trach-nhiem-co-bac__cta-box {
    padding: 20px;
    margin: 30px 0;
  }

  .page-trach-nhiem-co-bac__cta-text {
    font-size: 1em;
    margin-bottom: 15px;
  }

  /* 3. General Images and Figure */
  .page-trach-nhiem-co-bac img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images scale down */
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important; /* Prevent overflow due to padding/border */
  }

  .page-trach-nhiem-co-bac__image-figure {
    margin: 20px 0;
  }

  .page-trach-nhiem-co-bac__image-caption {
    font-size: 0.8em;
  }

  /* 4. Buttons and Button Containers */
  .page-trach-nhiem-co-bac__btn {
    max-width: 100% !important;
    width: 100% !important; /* Buttons take full width */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px 15px !important;
    font-size: 0.95em !important;
  }

  .page-trach-nhiem-co-bac__top-cta,
  .page-trach-nhiem-co-bac__promo-cta {
    flex-direction: column !important; /* Stack buttons */
    gap: 10px !important;
  }

  /* 5. Registration Tutorial and FAQ Block - General text styling */
  .page-trach-nhiem-co-bac p,
  .page-trach-nhiem-co-bac li {
    font-size: 0.95em;
    line-height: 1.5;
  }

  .page-trach-nhiem-co-bac__promo-section {
    padding: 40px 15px;
  }

  .page-trach-nhiem-co-bac__promo-title {
    font-size: clamp(1.5em, 6vw, 2.2em) !important;
  }

  .page-trach-nhiem-co-bac__promo-cta .page-trach-nhiem-co-bac__btn--secondary {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
  }
}