.page-tin-tuc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

.page-tin-tuc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-tin-tuc__hero-section {
  padding-top: 10px; /* Small top padding as per rules */
  padding-bottom: 60px;
  background-color: #f8f8f8;
  color: #333333;
}

.page-tin-tuc__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 40px 15px;
}

.page-tin-tuc__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-tin-tuc__hero-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Use clamp for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: #017439;
  line-height: 1.2;
}

.page-tin-tuc__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-tin-tuc__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-tin-tuc__hero-image {
  flex: 1 1 40%;
  text-align: center;
  min-width: 300px;
}

.page-tin-tuc__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-tin-tuc__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-tin-tuc__btn-primary:hover {
  background-color: #005f2f;
  border-color: #005f2f;
}

.page-tin-tuc__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-tin-tuc__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2f;
  border-color: #005f2f;
}

.page-tin-tuc__btn-lg {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-tin-tuc__latest-news-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-tin-tuc__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
}

.page-tin-tuc__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-tin-tuc__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-tin-tuc__news-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-tin-tuc__news-card-media {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-tin-tuc__news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-tin-tuc__news-card-content {
  padding: 20px;
}

.page-tin-tuc__news-card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tuc__news-card-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__news-card-title a:hover {
  color: #005f2f;
  text-decoration: underline;
}

.page-tin-tuc__news-card-date {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 15px;
  display: block;
}

.page-tin-tuc__news-card-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-tin-tuc__news-card-link {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tin-tuc__news-card-link:hover {
  color: #005f2f;
  text-decoration: underline;
}

.page-tin-tuc__view-all-button-container {
  text-align: center;
  margin-top: 30px;
}

.page-tin-tuc__cta-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for dark background */
  color: #ffffff; /* White text for dark background */
}

.page-tin-tuc__cta-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-tin-tuc__cta-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-tin-tuc__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tuc__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-tin-tuc__cta-image {
  flex: 1 1 40%;
  text-align: center;
  min-width: 300px;
}

.page-tin-tuc__cta-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-tin-tuc__hero-title {
    font-size: 2.5em;
  }

  .page-tin-tuc__section-title,
  .page-tin-tuc__cta-title {
    font-size: 2em;
  }

  .page-tin-tuc__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-tin-tuc {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Section */
  .page-tin-tuc__hero-section {
    padding-top: 10px !important; /* Retain small top padding */
    padding-bottom: 40px;
  }

  .page-tin-tuc__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 20px;
  }

  .page-tin-tuc__hero-content,
  .page-tin-tuc__hero-image {
    flex: 1 1 100%;
    width: 100%;
  }

  .page-tin-tuc__hero-title {
    font-size: 2em; /* Smaller H1 for mobile */
    text-align: center;
  }

  .page-tin-tuc__hero-description {
    font-size: 1em;
    text-align: center;
  }

  .page-tin-tuc__hero-cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Buttons - general */
  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary,
  .page-tin-tuc a[class*="button"],
  .page-tin-tuc 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;
  }

  /* Section titles and descriptions */
  .page-tin-tuc__section-title,
  .page-tin-tuc__cta-title {
    font-size: 1.8em;
    text-align: center;
  }

  .page-tin-tuc__section-description,
  .page-tin-tuc__cta-description {
    font-size: 1em;
    text-align: center;
    padding: 0 15px; /* Add padding to text blocks */
  }

  /* News Grid (Content area layout) */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    padding: 0 15px;
  }

  .page-tin-tuc__news-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-tin-tuc__news-card-media {
    height: 180px;
  }

  .page-tin-tuc__news-card-content {
    padding: 15px;
  }

  .page-tin-tuc__news-card-title {
    font-size: 1.2em;
  }

  .page-tin-tuc__view-all-button-container {
    padding: 0 15px;
  }

  /* CTA Section */
  .page-tin-tuc__cta-section {
    padding: 50px 0;
  }

  .page-tin-tuc__cta-flex {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .page-tin-tuc__cta-content,
  .page-tin-tuc__cta-image {
    flex: 1 1 100%;
    width: 100%;
  }

  .page-tin-tuc__cta-title {
    font-size: 1.8em;
    text-align: center;
  }

  .page-tin-tuc__cta-description {
    text-align: center;
  }

  /* General Images */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Containers for content */
  .page-tin-tuc__section,
  .page-tin-tuc__card,
  .page-tin-tuc__container,
  .page-tin-tuc__hero-section,
  .page-tin-tuc__latest-news-section,
  .page-tin-tuc__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}