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

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

.page-tin-tuc__hero-section {
  padding-top: 10px; /* Small top padding for hero section */
  margin-bottom: 40px;
  text-align: center;
  background-color: #FFFFFF;
}

.page-tin-tuc__hero-image {
  margin-bottom: 20px;
}

.page-tin-tuc__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-tin-tuc__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-tin-tuc__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-tin-tuc__cta-button--primary {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin-right: 15px;
}

.page-tin-tuc__cta-button--primary:hover {
  background-color: #d16b05;
  border-color: #d16b05;
}

.page-tin-tuc__cta-button--secondary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-tin-tuc__cta-button--secondary:hover {
  background-color: #1f8ec0;
  border-color: #1f8ec0;
}

.page-tin-tuc__latest-news-section,
.page-tin-tuc__categories-section,
.page-tin-tuc__featured-articles-section,
.page-tin-tuc__newsletter-cta {
  padding: 60px 0;
  background-color: #FFFFFF;
  margin-bottom: 30px;
}

.page-tin-tuc__latest-news-section {
  background-color: #f9f9f9;
}

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

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

.page-tin-tuc__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 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-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

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

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

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

.page-tin-tuc__news-card-excerpt {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-tin-tuc__read-more-button {
  color: #EA7C07;
  font-weight: 600;
  text-decoration: none;
}

.page-tin-tuc__read-more-button:hover {
  text-decoration: underline;
}

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

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

.page-tin-tuc__category-card {
  background-color: #f0f8ff; /* Lighter blue background */
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-tin-tuc__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-tin-tuc__category-card img {
  width: 100%;
   /* Smaller for categories */
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__category-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-tin-tuc__category-description {
  font-size: 0.95em;
  color: #666666;
}

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

.page-tin-tuc__featured-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__featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-tin-tuc__featured-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-tin-tuc__featured-card img {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

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

.page-tin-tuc__featured-card-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}

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

.page-tin-tuc__featured-card-excerpt {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-tin-tuc__newsletter-cta {
  background-color: #26A9E0; /* Primary color background */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-tin-tuc__newsletter-cta .page-tin-tuc__section-title {
  color: #FFFFFF;
}

.page-tin-tuc__newsletter-cta .page-tin-tuc__section-description {
  color: #f0f0f0;
}

.page-tin-tuc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-tin-tuc__cta-buttons .page-tin-tuc__cta-button--primary {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-tin-tuc__cta-buttons .page-tin-tuc__cta-button--primary:hover {
  background-color: #d16b05;
  border-color: #d16b05;
}

.page-tin-tuc__cta-buttons .page-tin-tuc__cta-button--secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-tin-tuc__cta-buttons .page-tin-tuc__cta-button--secondary:hover {
  background-color: #f0f0f0;
  color: #1f8ec0;
  border-color: #f0f0f0;
}

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

  .page-tin-tuc__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }

  .page-tin-tuc__main-title {
    font-size: 2em; /* Adjusted for mobile */
  }

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

  .page-tin-tuc__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
    margin-right: 0 !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  .page-tin-tuc__latest-news-section,
  .page-tin-tuc__categories-section,
  .page-tin-tuc__featured-articles-section,
  .page-tin-tuc__newsletter-cta {
    padding: 40px 0;
    margin-bottom: 20px;
  }

  .page-tin-tuc__news-grid,
  .page-tin-tuc__category-grid,
  .page-tin-tuc__featured-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-tin-tuc__news-card img,
  .page-tin-tuc__featured-card img {
    max-width: 100% !important;
    width: 100% !important;
     /* Slightly smaller fixed height for mobile cards */
    height: auto !important;
    object-fit: cover;
  }

  .page-tin-tuc__category-card img {
    
    width: 100% !important;
    height: auto !important;
  }

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

  .page-tin-tuc__hero-image,
  .page-tin-tuc__news-card,
  .page-tin-tuc__category-card,
  .page-tin-tuc__featured-card,
  .page-tin-tuc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

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