.page-trach-nhiem-ca-cuoc {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #F5F7FA; /* Background color for the page */
  line-height: 1.6;
}

/* Hero Section */
.page-trach-nhiem-ca-cuoc__hero-section {
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-align: center;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-trach-nhiem-ca-cuoc__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width of the image wrapper */
  margin-bottom: 20px;
  box-sizing: border-box;
  overflow: hidden; /* Ensure no overflow */
}

.page-trach-nhiem-ca-cuoc__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-trach-nhiem-ca-cuoc__hero-content {
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-trach-nhiem-ca-cuoc__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #ffffff;
  font-size: clamp(2em, 4vw, 3em); 
}

.page-trach-nhiem-ca-cuoc__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styles */
.page-trach-nhiem-ca-cuoc__section {
  padding: 60px 0;
}

.page-trach-nhiem-ca-cuoc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-trach-nhiem-ca-cuoc__section-title {
  font-size: 2.2em;
  color: #E53935; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-trach-nhiem-ca-cuoc__section-title--light {
  color: #ffffff;
}

.page-trach-nhiem-ca-cuoc__sub-title {
  font-size: 1.6em;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-trach-nhiem-ca-cuoc__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-trach-nhiem-ca-cuoc__text-block--light {
  color: #f0f0f0;
}

.page-trach-nhiem-ca-cuoc__text-block a {
  color: #E53935;
  text-decoration: underline;
}

.page-trach-nhiem-ca-cuoc__link--light {
  color: #FFDDC1; /* Lighter color for links on dark background */
  text-decoration: underline;
}

/* Two Column Layout */
.page-trach-nhiem-ca-cuoc__two-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-trach-nhiem-ca-cuoc__content-column {
  flex: 1;
}

.page-trach-nhiem-ca-cuoc__image-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-trach-nhiem-ca-cuoc__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* List Styles */
.page-trach-nhiem-ca-cuoc__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-trach-nhiem-ca-cuoc__list-item {
  margin-bottom: 10px;
}

/* Feature Cards */
.page-trach-nhiem-ca-cuoc__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-trach-nhiem-ca-cuoc__feature-card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards are same height */
  color: #333333; /* Text Main */
}

.page-trach-nhiem-ca-cuoc__feature-title {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-trach-nhiem-ca-cuoc__feature-description {
  font-size: 0.95em;
  line-height: 1.5;
}

/* CTA Button Styles */
.page-trach-nhiem-ca-cuoc__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-trach-nhiem-ca-cuoc__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-trach-nhiem-ca-cuoc__cta-button--secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-trach-nhiem-ca-cuoc__cta-button--secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* Dark Section for Conclusion */
.page-trach-nhiem-ca-cuoc__dark-section {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  color: #ffffff;
  text-align: center;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-trach-nhiem-ca-cuoc__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }

  .page-trach-nhiem-ca-cuoc__section-title {
    font-size: 2em;
  }

  .page-trach-nhiem-ca-cuoc__sub-title {
    font-size: 1.4em;
  }

  .page-trach-nhiem-ca-cuoc__two-columns {
    flex-direction: column;
  }

  .page-trach-nhiem-ca-cuoc__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* General mobile text adjustments */
  .page-trach-nhiem-ca-cuoc {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. HERO Section */
  .page-trach-nhiem-ca-cuoc__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  
  .page-trach-nhiem-ca-cuoc__hero-content {
    padding: 0 15px;
  }

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

  .page-trach-nhiem-ca-cuoc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* General Section Content & Container */
  .page-trach-nhiem-ca-cuoc__section {
    padding: 40px 0;
  }

  .page-trach-nhiem-ca-cuoc__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-trach-nhiem-ca-cuoc__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-trach-nhiem-ca-cuoc__sub-title {
    font-size: 1.3em;
    margin-top: 20px;
  }

  /* Two Column Layout */
  .page-trach-nhiem-ca-cuoc__two-columns {
    flex-direction: column;
    gap: 30px;
  }

  .page-trach-nhiem-ca-cuoc__understanding .page-trach-nhiem-ca-cuoc__image-column {
    order: -1; /* Image first for understanding section */
  }

  .page-trach-nhiem-ca-cuoc__red-flags .page-trach-nhiem-ca-cuoc__image-column {
    order: 0; /* Content first for red flags section */
  }

  .page-trach-nhiem-ca-cuoc__advice .page-trach-nhiem-ca-cuoc__image-column {
    order: -1; /* Image first for advice section */
  }

  /* Features Grid */
  .page-trach-nhiem-ca-cuoc__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .page-trach-nhiem-ca-cuoc__feature-card {
    padding: 20px;
  }

  /* 6. General Images */
  .page-trach-nhiem-ca-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* 7. Buttons */
  .page-trach-nhiem-ca-cuoc__cta-button,
  .page-trach-nhiem-ca-cuoc__btn-primary,
  .page-trach-nhiem-ca-cuoc__btn-secondary,
  .page-trach-nhiem-ca-cuoc a[class*="button"],
  .page-trach-nhiem-ca-cuoc a[class*="btn"] {
    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;
    font-size: 1em !important;
    text-align: center;
  }
  
  /* Button containers */
  .page-trach-nhiem-ca-cuoc__cta-buttons,
  .page-trach-nhiem-ca-cuoc__button-group,
  .page-trach-nhiem-ca-cuoc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* 2. Placeholder for long text gold frame (if present) */
  .page-trach-nhiem-ca-cuoc__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
  }

  /* 3. Placeholder for game carousel (if present) */
  .page-trach-nhiem-ca-cuoc__slider-track {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
  }

  /* 4. Placeholder for gameshow grids (if present) */
  .page-trach-nhiem-ca-cuoc__banners-top-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    max-width: 100% !important;
  }

  /* 5. Placeholder for blog masonry (if present) */
  .page-trach-nhiem-ca-cuoc__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* 5. Placeholder for blog slider (if present) */
  .page-trach-nhiem-ca-cuoc__blog-slider-track {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
  }
}