.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D;
  background-color: #F4F7FB;
}

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

.page-tin-tuc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Fixed height for desktop hero */
  overflow: hidden;
  position: relative;
}

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

.page-tin-tuc__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  padding: 40px 20px 20px;
  color: #ffffff;
  text-align: center;
}

.page-tin-tuc__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-tin-tuc__hero-description {
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-tin-tuc__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

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

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

.page-tin-tuc__section-title--light {
  color: #ffffff;
}

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

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

.page-tin-tuc__news-card {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-tin-tuc__news-card-title {
  font-size: 1.25rem;
  color: #1F2D3D;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.page-tin-tuc__news-card-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.page-tin-tuc__news-card-excerpt {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-tin-tuc__read-more-btn {
  display: inline-block;
  color: #2F6BFF;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #2F6BFF;
  padding-bottom: 2px;
}

.page-tin-tuc__read-more-btn:hover {
  color: #4A8BFF;
  border-color: #4A8BFF;
}

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

.page-tin-tuc__btn-secondary {
  display: inline-block;
  background: #FFFFFF;
  color: #2F6BFF;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
}

.page-tin-tuc__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
}

.page-tin-tuc__topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-tin-tuc__topic-card {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
}

.page-tin-tuc__topic-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-tin-tuc__topic-card-title {
  font-size: 1.3rem;
  color: #1F2D3D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-tin-tuc__topic-card-text {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-tin-tuc__btn-link {
  display: inline-block;
  color: #2F6BFF;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #2F6BFF;
  padding-bottom: 2px;
}

.page-tin-tuc__btn-link:hover {
  color: #4A8BFF;
  border-color: #4A8BFF;
}

.page-tin-tuc__why-choose-section {
  background: #2F6BFF;
  color: #ffffff;
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-tin-tuc__why-choose-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.page-tin-tuc__why-choose-content p {
  margin-bottom: 20px;
  color: #ffffff;
}

.page-tin-tuc__why-choose-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-tin-tuc__why-choose-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-tin-tuc__why-choose-content ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #A5C4FF; /* Glow color */
  font-weight: bold;
}

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

.page-tin-tuc__btn-primary--inverted:hover {
  background: transparent;
  color: #ffffff;
}

.page-tin-tuc__contact-cta-section {
  text-align: center;
  padding: 50px 0;
}

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

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

  .page-tin-tuc__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Section */
  .page-tin-tuc__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-tin-tuc__hero-image-wrapper {
    height: 300px; /* Adjust height for mobile */
  }

  .page-tin-tuc__hero-content {
    padding: 20px 15px 15px;
    position: static; /* No absolute positioning on mobile to prevent overlap */
    background: #2F6BFF; /* Solid background for content block */
    color: #ffffff;
    text-align: center;
  }

  .page-tin-tuc__main-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .page-tin-tuc__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-tin-tuc__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  /* Latest News Section */
  .page-tin-tuc__latest-news-section,
  .page-tin-tuc__featured-topics-section,
  .page-tin-tuc__why-choose-section,
  .page-tin-tuc__contact-cta-section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

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

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

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

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

  .page-tin-tuc__news-card-title {
    font-size: 1.1rem;
  }

  .page-tin-tuc__view-all-button-wrapper {
    margin-top: 30px;
  }

  .page-tin-tuc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  /* Featured Topics Section */
  .page-tin-tuc__topic-grid {
    grid-template-columns: repeat(1, 1fr); /* Single column for mobile */
    gap: 20px;
  }

  .page-tin-tuc__topic-card-image {
    height: 180px;
  }

  /* Why Choose Section */
  .page-tin-tuc__why-choose-content {
    font-size: 1rem;
  }

  .page-tin-tuc__why-choose-content ul li {
    padding-left: 25px;
  }

  .page-tin-tuc__btn-primary--inverted {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  /* Contact CTA Section */
  .page-tin-tuc__contact-cta-section {
    padding: 30px 0;
  }

  /* General Image and Button Adaptaion */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-tin-tuc__section, 
  .page-tin-tuc__card, 
  .page-tin-tuc__container, 
  .page-tin-tuc__button-group, 
  .page-tin-tuc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
  }

  .page-tin-tuc__cta-buttons {
    display: flex;
    flex-direction: column; /* Mobile vertical stacking */
    gap: 10px;
  }
}