.page-tin-tuc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--site-bg, #F4F7FB); /* Ensure body background is respected */
}

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

.page-tin-tuc__top-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-align: center;
}

.page-tin-tuc__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f8ff;
}

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

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

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid #2F6BFF;
}

.page-tin-tuc__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-tin-tuc__btn-secondary:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__article-section,
.page-tin-tuc__category-section,
.page-tin-tuc__benefits-section,
.page-tin-tuc__cta-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-tin-tuc__article-section {
  padding-top: 40px;
}

.page-tin-tuc__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-tin-tuc__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #2F6BFF;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-tin-tuc__text-block {
  font-size: 1.05em;
  color: #333333;
  margin-bottom: 25px;
  text-align: justify;
}

.page-tin-tuc__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 680px;
}

.page-tin-tuc__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__figcaption {
  font-size: 0.9em;
  color: #555555;
  margin-top: 10px;
}

.page-tin-tuc__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 600;
  color: #1F2D3D;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-tin-tuc__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-tin-tuc__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #333333;
  font-size: 1em;
}

.page-tin-tuc__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2F6BFF;
  font-weight: bold;
}

.page-tin-tuc__list--benefits .page-tin-tuc__list-item::before {
  content: '✨';
}

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

.page-tin-tuc__category-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tin-tuc__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

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

.page-tin-tuc__card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #1F2D3D;
  padding: 20px 20px 10px 20px;
  flex-grow: 1;
}

.page-tin-tuc__card-text {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 15px 20px;
  flex-grow: 1;
}

.page-tin-tuc__card-link {
  display: block;
  padding: 12px 20px;
  background-color: #2F6BFF;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border-top: 1px solid #D6E2FF;
}

.page-tin-tuc__card-link:hover {
  background-color: #1e58e0;
}

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

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

.page-tin-tuc__cta-section .page-tin-tuc__section-title::after {
  background-color: #A5C4FF;
}

.page-tin-tuc__cta-section .page-tin-tuc__text-block {
  color: #f0f8ff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-tin-tuc__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-tin-tuc {
    font-size: 16px;
    line-height: 1.65;
  }

  /* 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.5em !important;
    margin-bottom: 10px;
  }

  .page-tin-tuc__description {
    font-size: 1em !important;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-tin-tuc__top-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

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

  /* 2. 单栏长文容器 */
  .page-tin-tuc__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__article-section,
  .page-tin-tuc__category-section,
  .page-tin-tuc__benefits-section,
  .page-tin-tuc__cta-section {
    padding: 40px 0 !important;
  }

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

  .page-tin-tuc__sub-title {
    font-size: 1.4em !important;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-tin-tuc__text-block {
    font-size: 1em !important;
    margin-bottom: 20px;
  }

  .page-tin-tuc__list-item {
    font-size: 1em !important;
    padding-left: 25px;
    margin-bottom: 10px;
  }

  /* 3. 通用图片与 figure */
  .page-tin-tuc__figure {
    margin: 20px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__figure img,
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__figcaption {
    font-size: 0.85em !important;
  }

  .page-tin-tuc__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-tin-tuc__category-card {
    max-width: 100%;
  }

  .page-tin-tuc__card-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-tin-tuc__card-title {
    font-size: 1.2em !important;
    padding: 15px 15px 8px 15px;
  }

  .page-tin-tuc__card-text {
    font-size: 0.9em !important;
    padding: 0 15px 10px 15px;
  }

  .page-tin-tuc__card-link {
    padding: 10px 15px;
  }

  /* 4. 按钮与按钮容器 (已在 .page-tin-tuc__btn 和 .page-tin-tuc__top-cta 处理) */
  .page-tin-tuc__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 5. 注册教程与 FAQ 区块 (N/A for this page, but structure for general long-form article is covered by .page-tin-tuc__text-block, .page-tin-tuc__sub-title, .page-tin-tuc__figure) */
  /* If there were specific FAQ items with h3 as question, their text and spacing would be adjusted here */
}

@media (max-width: 480px) {
  .page-tin-tuc__main-title {
    font-size: 2em !important;
  }

  .page-tin-tuc__section-title {
    font-size: 1.6em !important;
  }
}