/* Base styles for the Tin Tức page */
.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* Light background for the page content */
}

/* HERO Section */
.page-tin-tuc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  overflow: hidden;
  background-color: #140C0C;
}

.page-tin-tuc__hero-image-wrap {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-tin-tuc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop to fill space */
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-tin-tuc__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content slightly over image for visual appeal */
  background-color: rgba(20, 12, 12, 0.7); /* Card BG with opacity */
  border-radius: 10px;
  color: #FFF1E8;
}

.page-tin-tuc__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3C54D;
  line-height: 1.2;
}

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

/* General Section Styles */
.page-tin-tuc__section {
  padding: 60px 0;
}

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

.page-tin-tuc__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #C61F1F;
}

.page-tin-tuc__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

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

.page-tin-tuc__cta-buttons--center {
  justify-content: center;
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  border: none;
}

.page-tin-tuc__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-tin-tuc__btn-secondary {
  background: #ffffff;
  color: #C61F1F;
  border: 2px solid #C61F1F;
}

.page-tin-tuc__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Intro Section */
.page-tin-tuc__intro-section {
  background-color: #f8f8f8;
}

/* Why News Section (Content Grid) */
.page-tin-tuc__why-news-section {
  background-color: #fff;
}

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

.page-tin-tuc__content-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #FFF1E8;
  padding-bottom: 20px;
}

.page-tin-tuc__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-tin-tuc__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F3C54D;
  padding: 0 15px;
}

.page-tin-tuc__card-text {
  font-size: 0.95em;
  color: #FFF1E8;
  padding: 0 15px;
}

/* Latest News Section (News List) */
.page-tin-tuc__latest-news-section {
  background-color: #f8f8f8;
}

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

.page-tin-tuc__news-card {
  display: flex;
  flex-direction: column;
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #FFF1E8;
  transition: transform 0.3s ease;
}

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
}

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

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

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

.page-tin-tuc__news-meta {
  font-size: 0.85em;
  color: #7E0D0D;
  margin-bottom: 15px;
}

.page-tin-tuc__news-excerpt {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tin-tuc__read-more {
  color: #FFB04A;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-tin-tuc__read-more span {
  transition: transform 0.3s ease;
}

.page-tin-tuc__news-card:hover .page-tin-tuc__read-more span {
  transform: translateX(5px);
}

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

/* Benefits Section (Dark Background) */
.page-tin-tuc__benefits-section {
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
  padding: 80px 0;
}

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

.page-tin-tuc__benefit-item {
  text-align: center;
  padding: 30px;
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__benefit-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F3C54D;
}

.page-tin-tuc__benefit-text {
  font-size: 0.95em;
  color: #FFF1E8;
}

/* FAQ Section */
.page-tin-tuc__faq-section {
  background-color: #fff;
}

details.page-tin-tuc__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background-color: #140C0C; /* Background */
  color: #F3C54D;
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question:hover {
  background: #2A1212;
}
.page-tin-tuc__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D;
}
.page-tin-tuc__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer {
  padding: 0 20px 20px;
  background: #2A1212; /* Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

/* Conclusion Section (Dark Background) */
.page-tin-tuc__conclusion-section {
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
  padding: 80px 0;
  text-align: center;
}

.page-tin-tuc__conclusion-section .page-tin-tuc__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Generic Image Responsiveness */
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Adaptations */
@media (max-width: 1024px) {
  .page-tin-tuc__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }
  .page-tin-tuc__main-title {
    font-size: 2.5em;
  }
  .page-tin-tuc__section-title {
    font-size: 2em;
  }
  .page-tin-tuc__content-grid,
  .page-tin-tuc__news-list,
  .page-tin-tuc__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page-tin-tuc__news-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* HERO Section Mobile */
  .page-tin-tuc__hero-section {
    padding-top: 10px; /* Small top padding */
  }
  .page-tin-tuc__hero-image-wrap {
    max-height: 300px;
  }
  .page-tin-tuc__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
  }
  .page-tin-tuc__hero-content {
    margin-top: 0; /* Remove overlap on mobile */
    padding: 25px 15px;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-tin-tuc__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-tin-tuc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* General Section & Container Mobile */
  .page-tin-tuc__section {
    padding: 40px 0;
  }
  .page-tin-tuc__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-tin-tuc__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-tin-tuc__text-block {
    font-size: 1em;
    text-align: left;
  }

  /* CTA Buttons Mobile */
  .page-tin-tuc__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Content Grid Mobile */
  .page-tin-tuc__content-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-tin-tuc__content-card {
    padding-bottom: 15px;
  }
  .page-tin-tuc__card-image {
    height: 180px;
  }
  .page-tin-tuc__card-title {
    font-size: 1.2em;
  }
  .page-tin-tuc__card-text {
    font-size: 0.9em;
  }

  /* News List Mobile */
  .page-tin-tuc__news-list {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-tin-tuc__news-card {
    flex-direction: column;
  }
  .page-tin-tuc__news-image {
    height: 180px;
  }
  .page-tin-tuc__news-title {
    font-size: 1.1em;
  }
  .page-tin-tuc__news-meta {
    font-size: 0.8em;
  }
  .page-tin-tuc__news-excerpt {
    font-size: 0.9em;
  }

  /* Benefits Grid Mobile */
  .page-tin-tuc__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tin-tuc__benefit-item {
    padding: 20px;
  }
  .page-tin-tuc__benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  .page-tin-tuc__benefit-title {
    font-size: 1.2em;
  }
  .page-tin-tuc__benefit-text {
    font-size: 0.9em;
  }

  /* FAQ Section Mobile */
  details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question {
    padding: 15px;
  }
  .page-tin-tuc__faq-qtext {
    font-size: 15px;
  }
  .page-tin-tuc__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer {
    padding: 0 15px 15px;
  }

  /* Generic Image & Container Responsiveness */
  .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__hero-section,
  .page-tin-tuc__why-news-section,
  .page-tin-tuc__latest-news-section,
  .page-tin-tuc__benefits-section,
  .page-tin-tuc__faq-section,
  .page-tin-tuc__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding already handled by .page-tin-tuc__container for content sections */
  }
}