.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-tin-tuc__top-section {
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #FFFFFF;
}

.page-tin-tuc__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-tin-tuc__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

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

.page-tin-tuc__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tin-tuc__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-tin-tuc__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-tin-tuc__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-tin-tuc__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8cc4;
}

.page-tin-tuc__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

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

.page-tin-tuc__featured-news-section,
.page-tin-tuc__new-games-section,
.page-tin-tuc__community-section,
.page-tin-tuc__cta-final-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-tin-tuc__promotions-section,
.page-tin-tuc__guides-section,
.page-tin-tuc__why-choose-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF; /* Ensure text is white on brand color background */
}

.page-tin-tuc__promotions-section .page-tin-tuc__section-title,
.page-tin-tuc__guides-section .page-tin-tuc__section-title,
.page-tin-tuc__why-choose-section .page-tin-tuc__section-title {
  color: #FFFFFF;
}

.page-tin-tuc__promotions-section .page-tin-tuc__section-description,
.page-tin-tuc__guides-section .page-tin-tuc__section-description,
.page-tin-tuc__why-choose-section .page-tin-tuc__section-description {
  color: #f0f0f0;
}

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

.page-tin-tuc__news-card,
.page-tin-tuc__promo-card,
.page-tin-tuc__game-card,
.page-tin-tuc__guide-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Ensure text is dark on white card background */
}

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

.page-tin-tuc__news-image,
.page-tin-tuc__promo-image,
.page-tin-tuc__game-image,
.page-tin-tuc__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-tin-tuc__news-content,
.page-tin-tuc__promo-card,
.page-tin-tuc__game-card,
.page-tin-tuc__guide-card {
  padding: 25px;
}

.page-tin-tuc__news-title,
.page-tin-tuc__promo-title,
.page-tin-tuc__game-title,
.page-tin-tuc__guide-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tuc__news-title a,
.page-tin-tuc__game-title a,
.page-tin-tuc__guide-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-tin-tuc__news-title a:hover,
.page-tin-tuc__game-title a:hover,
.page-tin-tuc__guide-title a:hover {
  text-decoration: underline;
}

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

.page-tin-tuc__news-excerpt,
.page-tin-tuc__promo-text,
.page-tin-tuc__game-text,
.page-tin-tuc__guide-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-tin-tuc__read-more {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

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

.page-tin-tuc__cta-center {
  text-align: center;
  margin-top: 30px;
}

/* Ensure all images are responsive */
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-tin-tuc__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-tin-tuc__top-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-tin-tuc__main-title {
    font-size: 2.2em; /* Adjust font size for mobile */
    margin-bottom: 15px;
  }

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

  .page-tin-tuc__cta-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-tin-tuc__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 单栏长文容器 */
  .page-tin-tuc__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-top: 30px;
  }

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

  .page-tin-tuc__news-grid,
  .page-tin-tuc__promo-grid,
  .page-tin-tuc__game-grid,
  .page-tin-tuc__guide-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-tin-tuc__news-card,
  .page-tin-tuc__promo-card,
  .page-tin-tuc__game-card,
  .page-tin-tuc__guide-card {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 400px; /* Optional: constrain card width for better readability on very wide phones */
  }

  .page-tin-tuc__news-image,
  .page-tin-tuc__promo-image,
  .page-tin-tuc__game-image,
  .page-tin-tuc__guide-image {
    height: 200px; /* Adjust image height for mobile cards */
  }

  .page-tin-tuc__news-title,
  .page-tin-tuc__promo-title,
  .page-tin-tuc__game-title,
  .page-tin-tuc__guide-title {
    font-size: 1.2em;
  }

  .page-tin-tuc__news-excerpt,
  .page-tin-tuc__promo-text,
  .page-tin-tuc__game-text,
  .page-tin-tuc__guide-text {
    font-size: 0.9em;
  }

  /* 3. 通用图片与 figure */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tin-tuc__featured-news-section,
  .page-tin-tuc__promotions-section,
  .page-tin-tuc__new-games-section,
  .page-tin-tuc__guides-section,
  .page-tin-tuc__community-section,
  .page-tin-tuc__why-choose-section,
  .page-tin-tuc__cta-final-section {
    padding: 40px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* 4. 按钮与按钮容器 */
  .page-tin-tuc__cta-group, .page-tin-tuc__cta-center {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tin-tuc__cta-group {
    flex-wrap: wrap !important;
    flex-direction: column !important;
  }

  /* 5. 注册教程与 FAQ 区块 (Not explicitly for Tin Tức, but including placeholder for checklist) */
  /* If a dedicated FAQ section were present, its elements like h3, p would be styled here for mobile readability. */
  /* As per prompt, for 188BET, homepage FAQ is h3 paragraphs, no JS. This page does not contain an interactive FAQ. */
}

/* Color Contrast Fixes */
.page-tin-tuc__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-tin-tuc__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-tin-tuc__news-card, .page-tin-tuc__promo-card, .page-tin-tuc__game-card, .page-tin-tuc__guide-card {
  background-color: #FFFFFF;
  color: #333333;
}

.page-tin-tuc__news-title a, .page-tin-tuc__game-title a, .page-tin-tuc__guide-title a, .page-tin-tuc__read-more {
  color: #26A9E0;
}

.page-tin-tuc__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-tin-tuc__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #26A9E0;
}