.page-tin-tuc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Body background from shared.css */
}

.page-tin-tuc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-tin-tuc__hero-section {
  padding-top: 10px; /* Minimal top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic reasons */
  overflow: hidden;
}

.page-tin-tuc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-tin-tuc__hero-content {
  position: relative; /* Ensure content is above any potential background */
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for design effect, but not covering text */
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-tin-tuc__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-tin-tuc__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* Ensure container takes full width for flex-wrap */
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow button text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  max-width: 100%; /* Ensure buttons don't overflow their container */
  text-align: center;
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-tin-tuc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Complementary color */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-tin-tuc__btn-secondary:hover {
  background: #2E7A4E; /* Border color */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-tin-tuc__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-tin-tuc__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

/* Latest News Section (News Grid) */
.page-tin-tuc__latest-news-section {
  padding: 60px 0;
}

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

.page-tin-tuc__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
}

.page-tin-tuc__news-card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-tin-tuc__news-card-content {
  padding: 20px;
  flex-grow: 1; /* Make content fill remaining space */
  display: flex;
  flex-direction: column;
}

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

.page-tin-tuc__news-card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__news-card-title a:hover {
  color: #2AD16F; /* Lighter green from button gradient */
}

.page-tin-tuc__news-card-date {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-tin-tuc__news-card-excerpt {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  flex-grow: 1; /* Allow excerpt to take up space */
}

.page-tin-tuc__read-more-link {
  color: #2AD16F; /* Lighter green from button gradient */
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start; /* Align to the start */
  transition: color 0.3s ease;
}

.page-tin-tuc__read-more-link:hover {
  text-decoration: underline;
  color: #57E38D; /* Glow color */
}

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

/* Categories Section */
.page-tin-tuc__categories-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-tin-tuc__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-tin-tuc__category-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-tin-tuc__category-card:hover {
  transform: translateY(-5px);
}

.page-tin-tuc__category-card a {
  text-decoration: none;
  display: block; /* Make the whole card clickable */
}

.page-tin-tuc__category-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
  transition: color 0.3s ease;
}

.page-tin-tuc__category-card:hover .page-tin-tuc__category-title {
  color: #2AD16F; /* Lighter green */
}

.page-tin-tuc__category-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* Guides Section */
.page-tin-tuc__guides-section {
  padding: 60px 0;
}

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

.page-tin-tuc__guide-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__guide-card:hover {
  transform: translateY(-5px);
}

.page-tin-tuc__guide-card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

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

.page-tin-tuc__guide-card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__guide-card-title a:hover {
  color: #2AD16F; /* Lighter green */
}

.page-tin-tuc__guide-card-excerpt {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Benefits Section */
.page-tin-tuc__benefits-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-tin-tuc__benefit-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__benefit-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2AD16F; /* Lighter green */
}

.page-tin-tuc__benefit-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-tin-tuc__faq-section {
  padding: 60px 0;
}

.page-tin-tuc__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-tin-tuc__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__faq-question {
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-tin-tuc__faq-answer {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-tin-tuc__faq-answer a {
  color: #2AD16F; /* Lighter green */
  text-decoration: underline;
}

.page-tin-tuc__faq-answer a:hover {
  color: #57E38D; /* Glow color */
}

/* CTA Section */
.page-tin-tuc__cta-section {
  padding: 60px 0;
  text-align: center;
  background: #0A4B2C; /* Deep Green */
}

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

  .page-tin-tuc__hero-content {
    margin-top: -50px;
    padding: 30px 20px;
  }

  .page-tin-tuc__news-grid,
  .page-tin-tuc__category-grid,
  .page-tin-tuc__guides-grid,
  .page-tin-tuc__benefits-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .page-tin-tuc__news-card-image,
  .page-tin-tuc__guide-card-image {
    height: 180px; /* Adjust image height for medium screens */
  }
}

@media (max-width: 768px) {
  .page-tin-tuc__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
  }

  .page-tin-tuc__hero-content {
    margin-top: -30px;
    padding: 20px 15px;
  }

  .page-tin-tuc__main-title {
    font-size: 1.8em;
  }

  .page-tin-tuc__description {
    font-size: 1em;
  }

  .page-tin-tuc__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    padding: 12px 15px !important; /* Adjust padding */
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__section-title {
    font-size: 1.6em;
  }

  .page-tin-tuc__section-subtitle {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* News Grid (equivalent to blog card section) */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    padding: 0 15px; /* Add padding */
  }

  .page-tin-tuc__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__news-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Auto height for mobile images */
  }

  /* Category Grid */
  .page-tin-tuc__category-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    padding: 0 15px; /* Add padding */
  }

  .page-tin-tuc__category-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Guides Grid */
  .page-tin-tuc__guides-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    padding: 0 15px; /* Add padding */
  }

  .page-tin-tuc__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__guide-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Auto height for mobile images */
  }

  /* Benefits List */
  .page-tin-tuc__benefits-list {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    padding: 0 15px; /* Add padding */
  }

  .page-tin-tuc__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ List */
  .page-tin-tuc__faq-list {
    padding: 0 15px; /* Add padding */
  }

  .page-tin-tuc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-tin-tuc__section,
  .page-tin-tuc__card,
  .page-tin-tuc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}