/* style/choi-co-trach-nhiem.css */

:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --page-bg-color: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-choi-co-trach-nhiem {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--page-bg-color);
}

.page-choi-co-trach-nhiem__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-choi-co-trach-nhiem__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-choi-co-trach-nhiem__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-choi-co-trach-nhiem__text-center {
  text-align: center;
}

/* Hero Section */
.page-choi-co-trach-nhiem__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
}

.page-choi-co-trach-nhiem__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-choi-co-trach-nhiem__hero-image-wrapper {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: center;
}

.page-choi-co-trach-nhiem__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-choi-co-trach-nhiem__hero-content {
  flex: 1 1 40%;
  min-width: 300px;
  color: #ffffff;
}

.page-choi-co-trach-nhiem__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-choi-co-trach-nhiem__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-choi-co-trach-nhiem__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-choi-co-trach-nhiem__btn-primary,
.page-choi-co-trach-nhiem__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-choi-co-trach-nhiem__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-choi-co-trach-nhiem__btn-primary:hover {
  background: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-choi-co-trach-nhiem__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-choi-co-trach-nhiem__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Intro Section */
.page-choi-co-trach-nhiem__intro-section {
  padding: 60px 0;
  background-color: var(--card-bg-color);
}

.page-choi-co-trach-nhiem__feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-choi-co-trach-nhiem__feature-item {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  padding: 25px;
  background-color: var(--page-bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-choi-co-trach-nhiem__feature-item:hover {
  transform: translateY(-5px);
}

.page-choi-co-trach-nhiem__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-choi-co-trach-nhiem__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-choi-co-trach-nhiem__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-choi-co-trach-nhiem__feature-description {
  font-size: 0.95em;
  color: var(--text-main-color);
}

/* Signs Section & Tools Section (Dark Background) */
.page-choi-co-trach-nhiem__dark-section {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 60px 0;
}

.page-choi-co-trach-nhiem__dark-section .page-choi-co-trach-nhiem__section-title {
  color: #ffffff;
}

.page-choi-co-trach-nhiem__dark-section .page-choi-co-trach-nhiem__text-block {
  color: #f0f0f0;
}

.page-choi-co-trach-nhiem__dark-section .page-choi-co-trach-nhiem__list-item {
  color: #f0f0f0;
}

.page-choi-co-trach-nhiem__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-choi-co-trach-nhiem__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-choi-co-trach-nhiem__text-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-choi-co-trach-nhiem__image-container {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

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

.page-choi-co-trach-nhiem__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-choi-co-trach-nhiem__list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

/* Measures Section */
.page-choi-co-trach-nhiem__measures-section {
  padding: 60px 0;
  background-color: var(--page-bg-color);
}

.page-choi-co-trach-nhiem__grid-3-col {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-choi-co-trach-nhiem__card {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-main-color);
}

.page-choi-co-trach-nhiem__card:hover {
  transform: translateY(-5px);
}

.page-choi-co-trach-nhiem__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-choi-co-trach-nhiem__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-choi-co-trach-nhiem__card-description {
  font-size: 0.95em;
  color: var(--text-main-color);
}

/* Tips Section */
.page-choi-co-trach-nhiem__tips-section {
  padding: 60px 0;
  background-color: var(--card-bg-color);
}

.page-choi-co-trach-nhiem__list--columns {
  list-style-type: decimal;
  margin-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px 30px;
}

.page-choi-co-trach-nhiem__list--columns .page-choi-co-trach-nhiem__list-item {
  margin-bottom: 0;
}

/* FAQ Section */
.page-choi-co-trach-nhiem__faq-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-choi-co-trach-nhiem__faq-section .page-choi-co-trach-nhiem__section-title {
  color: #ffffff;
}

.page-choi-co-trach-nhiem__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-choi-co-trach-nhiem__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-choi-co-trach-nhiem__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-choi-co-trach-nhiem__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-choi-co-trach-nhiem__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-choi-co-trach-nhiem__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-choi-co-trach-nhiem__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-choi-co-trach-nhiem__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

/* CTA Section */
.page-choi-co-trach-nhiem__cta-section {
  padding: 60px 0;
  background-color: var(--page-bg-color);
}

/* General Image Styles for content sections */
.page-choi-co-trach-nhiem img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-choi-co-trach-nhiem__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-choi-co-trach-nhiem__hero-image-wrapper, 
  .page-choi-co-trach-nhiem__hero-content {
    flex: 1 1 100%;
  }
  .page-choi-co-trach-nhiem__cta-buttons {
    justify-content: center;
  }
  .page-choi-co-trach-nhiem__content-wrapper {
    flex-direction: column;
  }
  .page-choi-co-trach-nhiem__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-choi-co-trach-nhiem__text-content,
  .page-choi-co-trach-nhiem__image-container {
    flex: 1 1 100%;
  }
  .page-choi-co-trach-nhiem__list--columns {
    grid-template-columns: 1fr;
  }
  .page-choi-co-trach-nhiem__feature-item,
  .page-choi-co-trach-nhiem__card {
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .page-choi-co-trach-nhiem__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  .page-choi-co-trach-nhiem__hero-container {
    padding: 20px 15px !important;
    gap: 20px !important;
  }
  .page-choi-co-trach-nhiem__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    text-align: center;
  }
  .page-choi-co-trach-nhiem__description {
    font-size: 1em !important;
    text-align: center;
  }
  .page-choi-co-trach-nhiem__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-choi-co-trach-nhiem__btn-primary,
  .page-choi-co-trach-nhiem__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-choi-co-trach-nhiem__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px !important;
  }

  /* Module 1 Feature Boxes (Intro Section) */
  .page-choi-co-trach-nhiem__feature-grid {
    gap: 20px !important;
  }
  .page-choi-co-trach-nhiem__feature-item {
    padding: 20px !important;
    max-width: 100% !important;
  }
  .page-choi-co-trach-nhiem__icon-box-media {
    width: 160px !important;
    height: 160px !important;
    border-width: 3px !important;
  }
  .page-choi-co-trach-nhiem__feature-title {
    font-size: 1.3em !important;
  }

  /* General Content Sections (Signs, Measures, Tools, Tips) */
  .page-choi-co-trach-nhiem__container {
    padding: 30px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-choi-co-trach-nhiem__text-block,
  .page-choi-co-trach-nhiem__list-item {
    font-size: 0.95em !important;
  }
  .page-choi-co-trach-nhiem__list {
    margin-left: 15px !important;
  }

  /* Grid 3-col (Measures Section) */
  .page-choi-co-trach-nhiem__grid-3-col {
    gap: 20px !important;
  }
  .page-choi-co-trach-nhiem__card {
    padding: 20px !important;
    max-width: 100% !important;
  }
  .page-choi-co-trach-nhiem__card-title {
    font-size: 1.2em !important;
  }

  /* FAQ Section */
  .page-choi-co-trach-nhiem__faq-list {
    margin-top: 30px !important;
  }
  .page-choi-co-trach-nhiem__faq-item summary {
    padding: 15px 20px !important;
    font-size: 1.1em !important;
  }
  .page-choi-co-trach-nhiem__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.95em !important;
  }

  /* Universal Image Responsive Styles */
  .page-choi-co-trach-nhiem img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Ensure all containers with images also adapt */
  .page-choi-co-trach-nhiem__hero-image-wrapper,
  .page-choi-co-trach-nhiem__image-container,
  .page-choi-co-trach-nhiem__feature-item,
  .page-choi-co-trach-nhiem__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
}