/* Base styles for page-tin-tuc */
.page-tin-tuc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

/* Hero Section */
.page-tin-tuc__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  gap: 30px;
}

.page-tin-tuc__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-tin-tuc__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-tin-tuc__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* General Section Styling */
.page-tin-tuc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-tin-tuc__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
}

.page-tin-tuc__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-tin-tuc__dark-bg .page-tin-tuc__section-title,
.page-tin-tuc__dark-bg .page-tin-tuc__section-description {
  color: #ffffff;
}

/* News Grid */
.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; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-tin-tuc__news-card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tuc__news-card-title a {
  color: #2F6BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__news-card-title a:hover {
  color: #4A8BFF;
}

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

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

.page-tin-tuc__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #2F6BFF;
  border-radius: 5px;
  color: #2F6BFF;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: auto;
}

.page-tin-tuc__btn-outline:hover {
  background-color: #2F6BFF;
  color: #ffffff;
}

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

/* Latest Updates Section */
.page-tin-tuc__latest-updates {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  padding: 60px 0;
}

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

.page-tin-tuc__update-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__update-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-tin-tuc__update-date {
  font-size: 0.9em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-tin-tuc__update-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

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

.page-tin-tuc__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  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: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #FFFFFF;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-tin-tuc__faq-question:hover {
  background-color: #f0f5ff;
}

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

.page-tin-tuc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2F6BFF;
  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: 0 25px 20px;
  font-size: 1em;
  color: #333333;
  line-height: 1.6;
}

/* Call to Action Section */
.page-tin-tuc__cta-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-tin-tuc__cta-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  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 {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-tin-tuc__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-tin-tuc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  background-color: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tin-tuc__hero-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: 16px;
    line-height: 1.6;
  }

  /* 1. HERO 主图区域 */
  .page-tin-tuc__hero-section {
    flex-direction: column;
    padding-top: 10px !important; /* Fixed header offset small top padding */
    padding-bottom: 40px;
    gap: 20px;
  }
  .page-tin-tuc__hero-title {
    font-size: 1.8em !important;
    line-height: 1.3;
  }
  .page-tin-tuc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-tin-tuc__hero-image-wrapper {
    margin-top: 20px;
  }

  /* 2. 长文金框区 (Adapting for main content block) */
  .page-tin-tuc__main-content-block, /* General content block if used */
  .page-tin-tuc__article-content { /* Specific for news article content */
    padding: 20px 15px !important;
    font-size: 1em;
  }
  .page-tin-tuc__home-content { /* Placeholder for checklist */
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px 15px !important;
  }

  /* 3. 游戏轮播 (Placeholder for checklist) */
  .page-tin-tuc__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tin-tuc__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  /* 4. 合作品牌六宫格 (Placeholder for checklist) */
  .page-tin-tuc__banners-top-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tin-tuc__banner-item img {
    
    
  }

  /* 5. 博客卡片区 (News Card List) */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tin-tuc__news-card {
    margin-bottom: 0;
  }
  .page-tin-tuc__news-card-image {
    height: 180px;
  }
  .page-tin-tuc__news-card-title {
    font-size: 1.2em;
  }
  .page-tin-tuc__update-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tin-tuc__blog-masonry { /* Placeholder for checklist */
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    align-items: stretch !important;
  }
  .page-tin-tuc__blog-card-link {
    height: auto !important;
  }
  .page-tin-tuc__blog-slider-track { /* Placeholder for checklist */
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tin-tuc__blog-slide { /* Placeholder for checklist */
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 6. 通用图片与容器 */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tin-tuc__container,
  .page-tin-tuc__section,
  .page-tin-tuc__card,
  .page-tin-tuc__update-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 7. 按钮与按钮容器 */
  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary,
  .page-tin-tuc__btn-outline,
  .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 !important;
    padding-right: 15px !important;
  }
  .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 !important;
    padding-right: 15px !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  /* Other mobile adjustments */
  .page-tin-tuc__section-title {
    font-size: 1.8em !important;
  }
  .page-tin-tuc__cta-title {
    font-size: 2em !important;
  }
  .page-tin-tuc__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-tin-tuc__faq-answer {
    padding: 0 20px 15px;
  }
  .page-tin-tuc__cta-section {
    padding: 60px 15px;
  }
}