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

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

.page-tin-tuc__section-title {
  font-size: 2.5em;
  color: #E53935; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.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: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-tin-tuc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-tin-tuc__btn-secondary {
  background: #ffffff;
  color: #E53935; /* Main Color */
  border: 2px solid #E53935; /* Main Color */
}

.page-tin-tuc__btn-secondary:hover {
  background: #E53935; /* Main Color */
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-tin-tuc__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white for readability */
  margin-top: -80px; /* Overlap with image slightly for visual effect */
  position: relative;
  z-index: 1;
  border-radius: 10px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-tin-tuc__hero-title {
  font-size: 3em;
  font-weight: 800;
  color: #E53935; /* Main Color */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-tin-tuc__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

.page-tin-tuc__news-card {
  background: #ffffff; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  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.12);
}

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

.page-tin-tuc__news-card-image {
  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;
  font-weight: bold;
  color: #E53935; /* Main Color */
  margin-bottom: 10px;
}

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

.page-tin-tuc__news-card-excerpt {
  font-size: 1em;
  color: #333333;
  line-height: 1.5;
}

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

/* Analysis Section */
.page-tin-tuc__analysis-section {
  padding: 60px 0;
  background-color: #E53935; /* Main Color */
  color: #ffffff;
}

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

.page-tin-tuc__analysis-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-tin-tuc__text-block {
  flex: 1;
}

.page-tin-tuc__text-block p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-tin-tuc__image-block {
  flex: 1;
  text-align: center;
}

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

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

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

.page-tin-tuc__guide-item {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc__guide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-tin-tuc__guide-title {
  font-size: 1.5em;
  color: #E53935; /* Main Color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tin-tuc__guide-description {
  color: #333333;
  margin-bottom: 25px;
}

/* CTA Section */
.page-tin-tuc__cta-section {
  padding: 80px 0;
  background-color: #E53935; /* Main Color */
  color: #ffffff;
  text-align: center;
}

.page-tin-tuc__cta-section .page-tin-tuc__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-tin-tuc__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

/* Contrast Fix for CTA section if needed */
.page-tin-tuc__contrast-fix {
  color: #ffffff !important; /* Ensure white text on dark brand color background */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tin-tuc__hero-title {
    font-size: 2.5em;
  }
  .page-tin-tuc__news-grid,
  .page-tin-tuc__guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tin-tuc__analysis-content {
    flex-direction: column;
    text-align: center;
  }
  .page-tin-tuc__image-block {
    order: -1; /* Image above text on smaller screens */
  }
  .page-tin-tuc__analysis-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-tin-tuc__container {
    padding: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-tin-tuc__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-tin-tuc__hero-content {
    padding: 25px 15px;
    margin-top: -50px; /* Adjust overlap */
    max-width: 95%;
  }
  .page-tin-tuc__hero-title {
    font-size: 2em;
    line-height: 1.3;
  }
  .page-tin-tuc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-tin-tuc__hero-cta-buttons,
  .page-tin-tuc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important; /* Adjust padding for full width buttons */
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* News Section */
  .page-tin-tuc__news-section,
  .page-tin-tuc__analysis-section,
  .page-tin-tuc__guide-section,
  .page-tin-tuc__cta-section {
    padding: 40px 0;
  }
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tin-tuc__news-card-image {
    height: 180px; /* Adjust height for mobile */
  }
  .page-tin-tuc__news-card-title {
    font-size: 1.1em;
  }

  /* Analysis Section */
  .page-tin-tuc__analysis-content {
    gap: 30px;
  }
  .page-tin-tuc__text-block p {
    font-size: 1em;
  }
  .page-tin-tuc__analysis-image {
    max-width: 100% !important;
  }

  /* Guide Section */
  .page-tin-tuc__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tin-tuc__guide-title {
    font-size: 1.3em;
  }

  /* General image responsiveness */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-tin-tuc__hero-image-wrapper,
  .page-tin-tuc__news-card,
  .page-tin-tuc__analysis-content,
  .page-tin-tuc__image-block,
  .page-tin-tuc__guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}