.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: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-tin-tuc__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
  color: #ffffff; /* Dark background with light text */
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
}

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-tin-tuc__hero-content {
  max-width: 800px;
  z-index: 1;
  padding: 0 20px;
}

.page-tin-tuc__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-tin-tuc__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-tin-tuc__hero-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

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

.page-tin-tuc__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.1);
}

.page-tin-tuc__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-tin-tuc__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__latest-news-section,
.page-tin-tuc__promotion-section,
.page-tin-tuc__related-articles-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

.page-tin-tuc__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

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

.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: #ffffff; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #1F2D3D;
}

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

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

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

.page-tin-tuc__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-tin-tuc__card-title a {
  color: #1F2D3D; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__card-title a:hover {
  color: #2F6BFF; /* Main color */
}

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

.page-tin-tuc__card-text {
  font-size: 1em;
  color: #333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tin-tuc__btn-text {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  transition: color 0.3s ease;
}

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

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

.page-tin-tuc__expert-analysis-section,
.page-tin-tuc__guide-section {
  padding: 80px 0;
}

.page-tin-tuc__article-content {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-tin-tuc__article-content p {
  margin-bottom: 25px;
  color: inherit;
}

.page-tin-tuc__article-content h3 {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-tin-tuc__figure {
  margin: 40px 0;
  text-align: center;
  background: #ffffff; /* Card BG */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.page-tin-tuc__figure-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

.page-tin-tuc__figure-caption {
  font-size: 0.95em;
  color: #666;
  margin-top: 15px;
}

.page-tin-tuc__promo-box {
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(47, 107, 255, 0.1);
}

.page-tin-tuc__promo-box .page-tin-tuc__section-title {
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-tin-tuc__promo-box .page-tin-tuc__section-description {
  margin-bottom: 30px;
  color: #333;
}

.page-tin-tuc__related-articles-section .page-tin-tuc__section-title {
  margin-bottom: 50px;
}

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

.page-tin-tuc__article-item {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc__article-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.page-tin-tuc__item-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-tin-tuc__item-title a {
  color: #1F2D3D;
  text-decoration: none;
}

.page-tin-tuc__item-title a:hover {
  color: #2F6BFF;
}

.page-tin-tuc__item-text {
  font-size: 1em;
  color: #555;
}

.page-tin-tuc__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

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

.page-tin-tuc__link {
  color: #A5C4FF; /* Glow */
  text-decoration: underline;
}

.page-tin-tuc__link:hover {
  color: #ffffff;
}

/* --- Responsive Styles --- */

/* Tablet styles */
@media (max-width: 1024px) {
  .page-tin-tuc__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-tin-tuc__hero-description,
  .page-tin-tuc__section-description,
  .page-tin-tuc__article-content p {
    font-size: 1em;
  }

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

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

  .page-tin-tuc__promo-box {
    padding: 40px;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .page-tin-tuc__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

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

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

  /* Buttons mobile adaptation */
  .page-tin-tuc__btn,
  .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__hero-cta-buttons,
  .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; /* Ensure buttons wrap */
    gap: 10px;
  }

  /* 2. 单栏长文容器 */
  .page-tin-tuc__latest-news-section,
  .page-tin-tuc__expert-analysis-section,
  .page-tin-tuc__promotion-section,
  .page-tin-tuc__guide-section,
  .page-tin-tuc__related-articles-section,
  .page-tin-tuc__cta-bottom-section {
    padding: 40px 0;
  }

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

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

  .page-tin-tuc__article-content {
    font-size: 1em;
    line-height: 1.7;
  }

  .page-tin-tuc__article-content h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-tin-tuc__promo-box {
    padding: 30px;
  }

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

  .page-tin-tuc__figure {
    margin: 30px 0;
    padding: 10px;
  }

  .page-tin-tuc__figure-caption {
    font-size: 0.9em;
  }

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

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

  .page-tin-tuc__card-text {
    font-size: 0.95em;
  }

  /* 4. 按钮与按钮容器 - Already handled with general .page-tin-tuc__btn rules */
  .page-tin-tuc__view-all-button-wrapper {
    margin-top: 15px;
  }

  /* 5. 注册教程与 FAQ 区块 - General article content and cards are covered */
  .page-tin-tuc__articles-list {
    grid-template-columns: 1fr;
  }

  .page-tin-tuc__article-item {
    padding: 20px;
  }

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

  .page-tin-tuc__item-text {
    font-size: 0.95em;
  }
}