/* Base styles for the Tin Tức page */
.page-tin-tuc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main color for dark background */
  background-color: #140C0C; /* Background color */
}

.page-tin-tuc__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-tin-tuc__section-title,
.page-tin-tuc__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFF1E8; /* Text Main color */
  line-height: 1.2;
}

.page-tin-tuc__section-description,
.page-tin-tuc__cta-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #FFF1E8; /* Text Main color */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-tin-tuc__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  background-color: #140C0C;
}

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

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

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

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

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

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for button */
  border: none;
}

.page-tin-tuc__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__btn-secondary {
  background: #2A1212; /* Card BG color */
  color: #FFF1E8; /* Text Main color */
  border: 2px solid #6A1E1E; /* Border color */
}

.page-tin-tuc__btn-secondary:hover {
  background: #3a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-tin-tuc__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: block;
}

/* News List Section */
.page-tin-tuc__news-list-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #140C0C;
}

.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: #2A1212; /* Card BG color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a row have same height */
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-tin-tuc__news-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tin-tuc__news-card-media {
  width: 100%;
  height: 200px; /* Fixed height for image container */
  overflow: hidden;
}

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

.page-tin-tuc__news-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: #FFF1E8;
}

.page-tin-tuc__news-card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F3C54D; /* Gold color for titles */
  line-height: 1.3;
}

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

.page-tin-tuc__news-card-summary {
  font-size: 1em;
  color: #FFF1E8;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tin-tuc__read-more {
  color: #FFB04A; /* Gold color for read more */
  font-weight: bold;
  text-decoration: underline;
  margin-top: auto;
}

.page-tin-tuc__read-more:hover {
  color: #D86A14;
}

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

/* CTA Section */
.page-tin-tuc__cta-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #140C0C;
}

.page-tin-tuc__dark-bg {
  background-color: #2A1212; /* Card BG color */
  color: #FFF1E8; /* Text Main color */
  padding: 60px 30px;
  border-radius: 15px;
  text-align: center;
}

.page-tin-tuc__cta-title {
  color: #F3C54D; /* Gold color */
}

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

/* --- Responsive Styles --- */

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

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

  .page-tin-tuc__section-title,
  .page-tin-tuc__cta-title {
    font-size: 2em;
  }

  .page-tin-tuc__section-description,
  .page-tin-tuc__cta-description {
    font-size: 1em;
  }

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

  .page-tin-tuc__hero-container {
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .page-tin-tuc__main-title {
    font-size: 2.2em;
    text-align: center;
  }

  .page-tin-tuc__hero-description {
    text-align: center;
  }

  .page-tin-tuc__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  /* Buttons Mobile */
  .page-tin-tuc__btn-primary,
  .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 20px;
    font-size: 1em;
  }

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

  /* News Grid Mobile */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-tin-tuc__news-card {
    margin-left: 0;
    margin-right: 0;
  }

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

  .page-tin-tuc__news-card-summary {
    font-size: 0.95em;
  }

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

  .page-tin-tuc__dark-bg {
    padding: 40px 20px;
  }

  /* Universal image responsiveness for content area */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tin-tuc__news-card-media {
    height: 180px; /* Adjust height for mobile */
  }

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