/* -------------------------------------------------------------------------- */
/*                            Base & Typography                               */
/* -------------------------------------------------------------------------- */
.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

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

.page-tin-tuc__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tin-tuc__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

/* -------------------------------------------------------------------------- */
/*                                Hero Section                                */
/* -------------------------------------------------------------------------- */
.page-tin-tuc__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  background-color: #f5f5f5;
}

.page-tin-tuc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
}

.page-tin-tuc__hero-content {
  max-width: 900px;
  margin: 20px auto 0 auto;
  padding: 20px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-50px); /* Slightly overlap image for visual interest */
  position: relative;
  z-index: 1;
}

.page-tin-tuc__hero-title {
  font-size: 2.8em;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

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

.page-tin-tuc__hero-cta-button {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #C30808;
}

.page-tin-tuc__hero-cta-button:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

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

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

.page-tin-tuc__news-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a row have equal height */
  display: flex;
  flex-direction: column;
}

.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: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-tin-tuc__card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
  flex-grow: 1;
}

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

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

.page-tin-tuc__read-more-button {
  display: inline-block;
  color: #C30808; /* Use red for read more */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

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

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

.page-tin-tuc__view-all-button {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-tin-tuc__view-all-button:hover {
  background-color: #005f2c;
}

/* -------------------------------------------------------------------------- */
/*                                CTA Section                                 */
/* -------------------------------------------------------------------------- */
.page-tin-tuc__cta-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.page-tin-tuc__cta-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

.page-tin-tuc__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-tin-tuc__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-tin-tuc__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-3px);
}

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

.page-tin-tuc__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
  transform: translateY(-3px);
}

/* -------------------------------------------------------------------------- */
/*                                About Section                               */
/* -------------------------------------------------------------------------- */
.page-tin-tuc__about-section {
  padding: 40px 0;
  background-color: #ffffff;
}

.page-tin-tuc__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-tin-tuc__about-image {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  height: auto;
}

.page-tin-tuc__about-text {
  flex: 1;
  font-size: 1.1em;
  color: #444444;
}

.page-tin-tuc__about-text p {
  margin-bottom: 15px;
}

.page-tin-tuc__read-more-link {
  display: inline-block;
  margin-top: 20px;
  color: #017439;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__read-more-link:hover {
  color: #005f2c;
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/*                                 FAQ Section                                */
/* -------------------------------------------------------------------------- */
.page-tin-tuc__faq-section {
  padding: 40px 0 60px 0;
  background-color: #f9f9f9;
}

.page-tin-tuc__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-tin-tuc__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #eaf7ed;
  user-select: none;
  list-style: none;
}

.page-tin-tuc__faq-question::-webkit-details-marker {
  display: none;
}

.page-tin-tuc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle {
  transform: rotate(45deg);
}

.page-tin-tuc__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

.page-tin-tuc__faq-answer p {
  margin-bottom: 10px;
}

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

/* -------------------------------------------------------------------------- */
/*                               Media Queries                                */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-tin-tuc__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-tin-tuc__about-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-tin-tuc__about-image {
    max-width: 80%;
    flex: none;
  }
}

@media (max-width: 768px) {
  .page-tin-tuc__container {
    padding: 15px;
  }

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

  .page-tin-tuc__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 300px;
  }

  .page-tin-tuc__hero-content {
    padding: 15px;
    transform: translateY(-30px);
    margin: 10px auto 0 auto;
  }

  .page-tin-tuc__hero-title {
    font-size: 1.8em !important;
    line-height: 1.3;
  }

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

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

  /* News List Section (Blog Card Area) */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-tin-tuc__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__card-image {
    height: 180px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

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

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

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

  .page-tin-tuc__cta-title {
    font-size: 2em !important;
  }

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

  .page-tin-tuc__cta-buttons-group {
    flex-direction: column !important;
    gap: 15px !important;
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* About Section */
  .page-tin-tuc__about-section {
    padding: 30px 0;
  }

  .page-tin-tuc__about-image {
    max-width: 90% !important;
    width: 100% !important;
  }

  .page-tin-tuc__about-text {
    font-size: 1em !important;
  }

  /* FAQ Section */
  .page-tin-tuc__faq-list {
    margin-top: 20px;
  }

  .page-tin-tuc__faq-question {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }

  .page-tin-tuc__faq-answer {
    padding: 15px 20px !important;
    font-size: 0.95em !important;
  }

  /* General Image Adaptation */
  .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__news-card,
  .page-tin-tuc__about-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific overrides for sections that might exist on homepage but are adapted for news */
  .page-tin-tuc__home-content { /* If a similar long text area exists */
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
  }
  .page-tin-tuc__games-title, .page-tin-tuc__sport-title, .page-tin-tuc__coop-title { /* If these titles appear */
    font-size: 1.8em !important;
  }
  .page-tin-tuc__slider-track { /* If a slider track appears */
    display: flex !important; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-tin-tuc__game-slide { /* If game slides appear */
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }
  .page-tin-tuc__banners-top-wrapper { /* If partner banners appear */
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .page-tin-tuc__banner-item img { /* If banner images appear */
    
    
  }
  .page-tin-tuc__blog-masonry { /* If a masonry blog grid appears */
    grid-template-columns: 1fr !important;
  }
  .page-tin-tuc__blog-slide { /* If a blog slider appears */
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-tin-tuc__hero-title {
    font-size: 1.5em !important;
  }

  .page-tin-tuc__section-title {
    font-size: 1.8em !important;
  }

  .page-tin-tuc__cta-title {
    font-size: 1.6em !important;
  }

  .page-tin-tuc__cta-buttons-group {
    flex-direction: column !important;
  }
}