.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: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-tin-tuc__hero-section {
  padding-top: 10px; /* Small top padding, relies on body for header offset */
  padding-bottom: 40px;
  background-color: #ffffff;
}

.page-tin-tuc__hero-container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.page-tin-tuc__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #333333;
}

.page-tin-tuc__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #E53935; /* Main color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-tin-tuc__hero-image {
  flex: 1 1 45%;
  text-align: center;
  min-width: 300px;
}

.page-tin-tuc__hero-main-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-tin-tuc__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
}

.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: #FFFFFF; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  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__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

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

.page-tin-tuc__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #E53935; /* Main color */
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-tin-tuc__card-excerpt {
  font-size: 1em;
  color: #333333;
  margin-bottom: 20px;
}

.page-tin-tuc__read-more {
  color: #FF5A4F; /* Auxiliary color */
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.page-tin-tuc__arrow {
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.page-tin-tuc__news-card:hover .page-tin-tuc__arrow {
  margin-left: 10px;
}

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

.page-tin-tuc__view-all-button {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
  border: none;
  cursor: pointer;
}

.page-tin-tuc__view-all-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-tin-tuc__cta-container {
  max-width: 800px;
}

.page-tin-tuc__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tuc__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-tin-tuc__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-tin-tuc__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tin-tuc__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-tin-tuc__hero-content, .page-tin-tuc__hero-image {
    flex: 1 1 100%;
  }
  .page-tin-tuc__main-title {
    font-size: 2.5em;
  }
  .page-tin-tuc__section-title {
    font-size: 2em;
  }
  .page-tin-tuc__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-tin-tuc {
    font-size: 15px;
  }

  /* HERO Section */
  .page-tin-tuc__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-tin-tuc__hero-container {
    padding: 20px 15px;
  }

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

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

  .page-tin-tuc__hero-main-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tin-tuc__card-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-tin-tuc__card-title {
    font-size: 1.2em;
  }

  .page-tin-tuc__card-excerpt {
    font-size: 0.95em;
  }

  .page-tin-tuc__view-all-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-tin-tuc__view-all-wrapper {
    padding: 0 15px;
    box-sizing: border-box;
  }

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

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

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

  .page-tin-tuc__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* Universal image and button container rules for mobile */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-tin-tuc__section, /* General section container */
  .page-tin-tuc__card, /* Card container */
  .page-tin-tuc__container, /* General container */
  .page-tin-tuc__cta-buttons, /* Button group container */
  .page-tin-tuc__button-group, /* Another button group container */
  .page-tin-tuc__btn-container /* Yet another button container */
  {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .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;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-tin-tuc__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}