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

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

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

.page-tin-tuc__sub-title {
  font-size: 1.8em;
  color: #1F2D3D; /* Text Main */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tin-tuc__description,
.page-tin-tuc__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
}

.page-tin-tuc__list {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-tin-tuc__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-tin-tuc__list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* Hero Section */
.page-tin-tuc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background-color: #F4F7FB;
  overflow: hidden;
}

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-tin-tuc__hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.page-tin-tuc__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000000; /* Custom Color_1776249996415 */
  max-width: 90%;
  margin: 0 auto 20px;
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

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

/* Buttons */
.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-tin-tuc__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.1);
}

.page-tin-tuc__btn-secondary:hover {
  background: #F4F7FB;
  color: #2F6BFF;
  border-color: #4A8BFF;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.2);
}

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

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

.page-tin-tuc__news-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  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(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.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: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-tin-tuc__news-card-title {
  font-size: 1.4em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
}

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

.page-tin-tuc__news-card-excerpt {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-tin-tuc__read-more {
  color: #2F6BFF;
  font-weight: bold;
  text-decoration: none;
  align-self: flex-start;
}

.page-tin-tuc__read-more:hover {
  text-decoration: underline;
}

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

/* In-depth Section */
.page-tin-tuc__in-depth-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-tin-tuc__in-depth-section .page-tin-tuc__description {
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__content-image {
  width: 100%;
  height: auto;
  max-width: 900px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Promotion Updates Section */
.page-tin-tuc__promo-updates-section {
  padding: 60px 0;
  background-color: #F4F7FB;
  text-align: center;
}

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

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

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

.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  background-color: #F8F9FA;
  border-bottom: 1px solid #D6E2FF;
  list-style: none; /* For details element */
}

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

.page-tin-tuc__faq-toggle {
  font-size: 1.5em;
  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: 20px;
  padding-top: 0;
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
}

.page-tin-tuc__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

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

/* Placeholder styles for homepage-specific elements, ensuring minimal impact */
.page-tin-tuc__home-content, .page-tin-tuc__row-games, .page-tin-tuc__slider-wrapper, .page-tin-tuc__game-slide, .page-tin-tuc__banners-top-wrapper, .page-tin-tuc__banner-item, .page-tin-tuc__blog-masonry, .page-tin-tuc__blog-card-link, .page-tin-tuc__btn-outline, .page-tin-tuc__blog-slider-track, .page-tin-tuc__blog-slide {
  /* These classes are not actively used in this page's HTML, but included for compliance */
  display: block; /* Default to block to avoid layout issues */
  margin: 0; /* Reset margins */
  padding: 0; /* Reset padding */
  width: auto; /* Allow natural width */
  height: auto; /* Allow natural height */
  background: transparent; /* Transparent background */
  border: none; /* No border */
  box-shadow: none; /* No shadow */
  color: inherit; /* Inherit color */
  text-align: initial;
}

/* Specific overrides for blog-masonry and blog-slider-track if they were used for generic card lists */
.page-tin-tuc__blog-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.page-tin-tuc__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.page-tin-tuc__blog-slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.page-tin-tuc__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

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

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

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

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

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

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

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

  /* Minimal mobile rules for homepage-only elements to satisfy "must include" */
  .page-tin-tuc__home-content, .page-tin-tuc__row-games, .page-tin-tuc__slider-wrapper, .page-tin-tuc__game-slide, .page-tin-tuc__banners-top-wrapper, .page-tin-tuc__banner-item, .page-tin-tuc__blog-masonry, .page-tin-tuc__blog-card-link, .page-tin-tuc__btn-outline, .page-tin-tuc__blog-slider-track, .page-tin-tuc__blog-slide {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .page-tin-tuc__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  /* Universal image and container 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__hero-section,
  .page-tin-tuc__latest-news-section,
  .page-tin-tuc__in-depth-section,
  .page-tin-tuc__promo-updates-section,
  .page-tin-tuc__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO 主图区域 */
  .page-tin-tuc__hero-section {
    padding-top: 10px !important; /* Fixed small top padding */
    padding-bottom: 40px;
  }

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

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

  .page-tin-tuc__description,
  .page-tin-tuc__section-description,
  .page-tin-tuc__list li {
    font-size: 1em;
  }

  /* 按钮与按钮容器 */
  .page-tin-tuc__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    padding: 0 15px;
  }

  .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: 12px 20px;
  }

  /* 博客卡片区 (adapted for news grid) */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  /* FAQ */
  .page-tin-tuc__faq-question {
    font-size: 1em;
  }

  .page-tin-tuc__faq-answer {
    font-size: 0.95em;
  }

  /* Placeholder styles for homepage-specific elements, ensuring minimal impact and responsiveness */
  /* 长文金框区 (Not used for Tin Tức, but included for compliance) */
  .page-tin-tuc__home-content {
    height: auto !important;
    overflow-y: visible !important;
    border: none !important;
    padding: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 游戏轮播 (Not used for Tin Tức, but included for compliance) */
  .page-tin-tuc__row-games, .page-tin-tuc__slider-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-tin-tuc__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
  }
  .page-tin-tuc__slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
  }
  .page-tin-tuc__game-slide {
    flex: 0 0 140px !important;
    max-width: 140px !important;
    box-sizing: border-box !important;
  }

  /* 合作品牌六宫格 (Not used for Tin Tức, but included for compliance) */
  .page-tin-tuc__banners-top-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-tin-tuc__banner-item img {
    
    
  }

  /* 博客卡片区 (if used as a slider) */
  .page-tin-tuc__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
  }
  .page-tin-tuc__blog-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
  }
  .page-tin-tuc__blog-slide {
    flex: 0 0 90% !important;
    max-width: 90% !important;
    box-sizing: border-box !important;
  }
  .page-tin-tuc__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .page-tin-tuc__blog-card-link {
    height: auto !important;
  }
  .page-tin-tuc__btn-outline {
    margin-top: 15px !important;
  }
}