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

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

/* Hero Section */
.page-tin-tuc__hero-section {
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F4F7FB;
  padding-bottom: 40px;
}

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
}

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

.page-tin-tuc__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-tin-tuc__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  color: #2F6BFF; /* Primary color for main title */
  margin-bottom: 15px;
}

.page-tin-tuc__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
}

/* General Section Styling */
.page-tin-tuc__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
}

.page-tin-tuc__section-description {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Why Follow Section */
.page-tin-tuc__why-follow-section {
  padding: 60px 0;
  background: #2F6BFF; /* Dark background */
  color: #ffffff;
}

.page-tin-tuc__why-follow-section .page-tin-tuc__section-title,
.page-tin-tuc__why-follow-section .page-tin-tuc__section-description {
  color: #ffffff;
}

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

.page-tin-tuc__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-tin-tuc__feature-icon {
  width: 100%;
  max-width: 400px; /* Recommended size for content display */
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-tin-tuc__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-tin-tuc__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-tin-tuc__category-card {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #1F2D3D;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-tin-tuc__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__category-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 10px;
}

.page-tin-tuc__category-text {
  font-size: 0.9em;
  line-height: 1.5;
  color: #1F2D3D;
}

/* Latest Articles Section */
.page-tin-tuc__latest-articles-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-tin-tuc__article-card {
  background: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-tin-tuc__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-tin-tuc__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-tin-tuc__article-title {
  font-size: 1.25em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-tin-tuc__article-excerpt {
  font-size: 0.9em;
  line-height: 1.5;
  color: #1F2D3D;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tin-tuc__article-meta {
  font-size: 0.85em;
  color: #666;
  margin-top: auto;
}

.page-tin-tuc__button-group {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 20px;
}

/* Buttons */
.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
  text-align: center;
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-tin-tuc__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-tin-tuc__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__btn-secondary:hover {
  background: #F4F7FB;
  color: #2457CC;
  border-color: #2457CC;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

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

.page-tin-tuc__faq-item {
  background: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px 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.15em;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  list-style: none; /* Remove default marker */
}

.page-tin-tuc__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-tin-tuc__faq-qtext {
  flex-grow: 1;
}

.page-tin-tuc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #333333;
}

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

.page-tin-tuc__cta-image {
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__cta-section .page-tin-tuc__section-title,
.page-tin-tuc__cta-section .page-tin-tuc__section-description {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tin-tuc__container {
    padding: 20px 30px;
  }

  .page-tin-tuc__hero-content {
    padding: 0 30px;
  }

  .page-tin-tuc__main-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }

  .page-tin-tuc__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }

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

  .page-tin-tuc__article-image {
    height: 200px;
  }
}

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

  /* HERO 主图区域 */
  .page-tin-tuc__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 20px;
  }

  .page-tin-tuc__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-tin-tuc__hero-content {
    padding: 0 15px;
  }

  .page-tin-tuc__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 10px;
  }

  .page-tin-tuc__hero-description {
    font-size: 0.95em;
  }

  .page-tin-tuc__section-title {
    font-size: clamp(1.5em, 6vw, 1.8em);
    margin-bottom: 15px;
  }

  .page-tin-tuc__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  /* 长文金框区 (Conceptual, applied to general content area) */
  .page-tin-tuc__content-area {
    padding: 20px 15px;
  }

  /* 游戏轮播 (CSS required even if HTML not present on this page) */
  .page-tin-tuc__slider-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tin-tuc__slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  .page-tin-tuc__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding-bottom: 10px;
  }

  .page-tin-tuc__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  /* 合作品牌六宫格 (CSS required even if HTML not present on this page) */
  .page-tin-tuc__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-tin-tuc__banner-item img {
    
    
  }

  /* 博客卡片区 (Applied to article grid) */
  .page-tin-tuc__article-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

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

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

  .page-tin-tuc__article-title {
    font-size: 1.1em;
  }

  .page-tin-tuc__article-excerpt {
    font-size: 0.85em;
  }

  .page-tin-tuc__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-tin-tuc__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tin-tuc__blog-slider-track::-webkit-scrollbar {
    display: none;
  }

  .page-tin-tuc__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 通用图片与容器 */
  .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__feature-item,
  .page-tin-tuc__category-card,
  .page-tin-tuc__article-card,
  .page-tin-tuc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-tin-tuc__feature-item,
  .page-tin-tuc__category-card,
  .page-tin-tuc__article-card,
  .page-tin-tuc__faq-item {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* 按钮与按钮容器 */
  .page-tin-tuc__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 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-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-tin-tuc__cta-section {
    padding: 40px 0;
  }

  .page-tin-tuc__cta-image {
    max-width: 250px;
  }

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

  .page-tin-tuc__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Required for homepage modules, even if not on this page */
  .page-tin-tuc__home-content {
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    height: auto;
    overflow-y: visible;
    padding: 20px;
  }

  .page-tin-tuc__row-games, .page-tin-tuc__row-sport, .page-tin-tuc__row-coop {
    padding: 20px 0;
  }
}