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

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

.page-tin-tuc__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-tin-tuc__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FF5A4F;
  border-radius: 2px;
}

.page-tin-tuc__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

/* Hero Section */
.page-tin-tuc__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 50px;
}

.page-tin-tuc__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

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

.page-tin-tuc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tuc__description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

/* Latest News Section */
.page-tin-tuc__latest-news-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 50px;
}

.page-tin-tuc__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

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

.page-tin-tuc__news-card-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

.page-tin-tuc__read-more-btn {
  display: inline-block;
  color: #E53935;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto;
}

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

.page-tin-tuc__button-container {
  text-align: center;
}

.page-tin-tuc__view-all-button {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* Categories Section */
.page-tin-tuc__categories-section {
  padding: 60px 0;
  background-color: #E53935;
  color: #ffffff;
  margin-bottom: 50px;
}

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

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

.page-tin-tuc__category-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-tin-tuc__category-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-tin-tuc__category-card-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #ffffff;
  padding: 0 15px;
}

/* Why Choose Section */
.page-tin-tuc__why-choose-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

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

.page-tin-tuc__choose-content {
  flex: 1;
}

.page-tin-tuc__text-block {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

.page-tin-tuc__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-tin-tuc__feature-item {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-tin-tuc__feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #E53935;
  font-weight: bold;
}

.page-tin-tuc__button-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

.page-tin-tuc__btn-secondary:hover {
  background-color: #E53935;
  color: #ffffff;
}

.page-tin-tuc__choose-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-tin-tuc__choose-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

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

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

.page-tin-tuc__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
  user-select: none;
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-question {
  background-color: #E53935;
  color: #ffffff;
  border-bottom-color: #E53935;
}

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

.page-tin-tuc__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle {
  content: '−';
}

.page-tin-tuc__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

.page-tin-tuc__faq-answer p {
  margin: 0;
}

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

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-tin-tuc {
    font-size: 16px;
    line-height: 1.5;
  }

  .page-tin-tuc__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 1. HERO主图区域 */
  .page-tin-tuc__hero-section {
    padding-top: 10px !important; /* Small top padding */
    margin-bottom: 30px;
  }

  .page-tin-tuc__hero-image-wrapper {
    height: 300px;
  }

  .page-tin-tuc__hero-content {
    margin: 20px auto;
    padding: 15px;
  }

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

  .page-tin-tuc__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-tin-tuc__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 1em;
  }

  /* 2. Latest News Section (similar to long text/blog card) */
  .page-tin-tuc__latest-news-section {
    padding: 40px 0;
  }

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

  .page-tin-tuc__news-card-image {
    height: 180px;
  }

  .page-tin-tuc__news-card-content {
    padding: 15px;
  }

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

  .page-tin-tuc__news-card-excerpt {
    font-size: 0.9em;
  }

  .page-tin-tuc__view-all-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  /* 3. Categories Section */
  .page-tin-tuc__categories-section {
    padding: 40px 0;
  }

  .page-tin-tuc__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .page-tin-tuc__category-card-image {
    height: 120px;
  }

  .page-tin-tuc__category-card-title {
    font-size: 1em;
  }

  /* 4. Why Choose Section */
  .page-tin-tuc__choose-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-tin-tuc__choose-content, .page-tin-tuc__choose-image-wrapper {
    width: 100%;
  }

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

  .page-tin-tuc__text-block, .page-tin-tuc__feature-item {
    font-size: 0.95em;
  }

  .page-tin-tuc__button-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-tin-tuc__btn-primary, .page-tin-tuc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  /* 5. FAQ Section */
  .page-tin-tuc__faq-section {
    padding: 40px 0;
  }

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

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

  /* 6. 通用图片与容器 */
  .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-image-wrapper,
  .page-tin-tuc__choose-image-wrapper,
  .page-tin-tuc__button-container,
  .page-tin-tuc__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  /* 7. 按钮与按钮容器 */
  .page-tin-tuc__cta-button,
  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-tin-tuc__cta-buttons,
  .page-tin-tuc__button-group,
  .page-tin-tuc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  /* CSS for modules that might not be on this page but are required for the checklist */
  /* Long Text Gold Frame Area (Placeholder for checklist) */
  .page-tin-tuc__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
    font-size: 0.9em;
  }
  .page-tin-tuc__home-content h2 {
    font-size: 1.5em;
  }

  /* Game Carousel (Placeholder for checklist) */
  .page-tin-tuc__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-tin-tuc__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }
  .page-tin-tuc__slider-wrapper {
    overflow: hidden;
  }

  /* Brand Grid (Placeholder for checklist) */
  .page-tin-tuc__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }
  .page-tin-tuc__banner-item img {
    
    
  }

  /* Blog Card Area (Placeholder for checklist, assuming this page's news-grid is the blog card area) */
  .page-tin-tuc__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .page-tin-tuc__blog-card-link {
    height: auto !important;
  }
  .page-tin-tuc__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-tin-tuc__blog-slide {
    flex: 0 0 90% !important; /* Adjust as needed for better single card view */
    max-width: 90% !important;
    scroll-snap-align: start;
  }
}

/* Placeholder for desktop styles for modules that might not be on this page but are required for the checklist */
.page-tin-tuc__hero-section { padding-top: 10px; }
.page-tin-tuc__home-content { border: 1px solid #FBB00D; border-radius: 10px; height: 650px; overflow-y: auto; }
.page-tin-tuc__row-games, .page-tin-tuc__row-sport, .page-tin-tuc__row-coop { background-color: #1A202C; padding: 40px 20px; max-width: 1330px; margin: 0 auto; }
.page-tin-tuc__games-title, .page-tin-tuc__sport-title, .page-tin-tuc__coop-title { color: #fff; text-align: center; }
.page-tin-tuc__slider-wrapper { overflow: hidden; }
.page-tin-tuc__slider-track { display: flex; flex-wrap: nowrap; gap: 16px; }
.page-tin-tuc__game-slide { flex: 0 0 200px; max-width: 200px; }
.page-tin-tuc__banners-top-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.page-tin-tuc__banner-item img {   object-fit: contain; margin: 0 auto; display: block; }
.page-tin-tuc__blog-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.page-tin-tuc__blog-card-link { display: flex; flex-direction: column; height: 100%; }
.page-tin-tuc__btn-outline { margin-top: auto; }
.page-tin-tuc__blog-slider-track { display: flex; flex-wrap: nowrap; gap: 20px; }
.page-tin-tuc__blog-slide { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); }