.page-tin-tuc {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Title Section */
.page-tin-tuc__title-section {
  padding-top: 10px; /* Rely on body for header offset, then 10px for visual spacing */
  padding-bottom: 40px;
  text-align: center;
  background-color: #0D0E12; /* Ensure consistent background */
}

.page-tin-tuc__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  color: #FF8C1A; /* Main color for emphasis */
  margin-bottom: 15px;
}

.page-tin-tuc__description {
  font-size: 1.1rem;
  color: #FFF3E6; /* Text Main */
  max-width: 800px;
  margin: 0 auto;
}

/* News List Section */
.page-tin-tuc__news-list-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

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

.page-tin-tuc__news-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__news-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tin-tuc__news-card-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for consistent card image display */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-tin-tuc__news-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-tin-tuc__news-card-date {
  font-size: 0.9em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 10px;
  display: block;
}

.page-tin-tuc__news-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FF8C1A; /* Main color */
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.page-tin-tuc__news-card-link:hover .page-tin-tuc__news-card-title {
  color: #FFA53A; /* Hover effect */
}

.page-tin-tuc__news-card-summary {
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tin-tuc__read-more-btn {
  display: inline-block;
  color: #FFA53A; /* Auxiliary color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-tin-tuc__read-more-btn:hover {
  color: #FFB04D; /* Glow */
}

/* CTA Section */
.page-tin-tuc__cta-section {
  padding: 60px 0;
  background: linear-gradient(90deg, #FF8C1A, #FFA53A); /* Use brand colors for CTA background */
  text-align: center;
}

.page-tin-tuc__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-tin-tuc__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-tin-tuc__cta-description {
  font-size: 1.1rem;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
}

.page-tin-tuc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Glow on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-tin-tuc__btn-secondary {
  background-color: transparent;
  color: #FFF3E6; /* Text Main */
  border: 2px solid #FFF3E6; /* Text Main for border */
}

.page-tin-tuc__btn-secondary:hover {
  background-color: #FFF3E6; /* Text Main as background on hover */
  color: #D96800; /* Deep Orange for text on hover */
}

/* General image responsive styles */
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-tin-tuc__container {
    padding: 0 15px !important;
  }

  /* Title Section */
  .page-tin-tuc__title-section {
    padding-top: 10px !important; /* Rely on body for header offset */
    padding-bottom: 30px !important;
  }

  .page-tin-tuc__main-title {
    font-size: 2rem !important;
  }

  .page-tin-tuc__description {
    font-size: 1rem !important;
  }

  /* News List Section */
  .page-tin-tuc__news-list-section {
    padding: 40px 0 !important;
  }

  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr !important; /* Single column on mobile */
    gap: 20px !important;
  }

  .page-tin-tuc__news-card-image-wrapper {
    height: 180px !important; /* Adjust height for mobile */
  }

  .page-tin-tuc__news-card-title {
    font-size: 1.2rem !important;
  }

  .page-tin-tuc__news-card-summary {
    font-size: 0.95rem !important;
  }

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

  .page-tin-tuc__cta-title {
    font-size: 1.8rem !important;
  }

  .page-tin-tuc__cta-description {
    font-size: 1rem !important;
  }

  .page-tin-tuc__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 15px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Universal image and container rules for mobile */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tin-tuc__title-section,
  .page-tin-tuc__news-list-section,
  .page-tin-tuc__cta-section,
  .page-tin-tuc__news-card,
  .page-tin-tuc__news-card-content,
  .page-tin-tuc__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}