.page-tin-tuc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Main text color for dark body background */
  background-color: var(--background-color); /* Inherit from shared.css */
}

.page-tin-tuc__section {
  padding: 40px 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

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

.page-tin-tuc__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: #B71C1C; /* Deep Red for hero background */
  color: #FFF5E1;
}

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Limit hero image width */
  margin-bottom: 20px;
}

.page-tin-tuc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-tin-tuc__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold color for main title */
  letter-spacing: 0.5px;
}

.page-tin-tuc__hero-description {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #FFF5E1;
}

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

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  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: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button for contrast */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__btn-secondary {
  background: #7A0E0E; /* Deep Red background */
  color: #FFF5E1; /* Main Text color for contrast */
  border: 2px solid #F2B544; /* Gold border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__btn-secondary:hover {
  background: #E53935; /* Auxiliary Red */
  border-color: #FFCC66; /* Glow Gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFD86A; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-tin-tuc__section-description {
  font-size: 1.1rem;
  color: #FFF5E1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-tin-tuc__news-card,
.page-tin-tuc__promo-card {
  background: #D32F2F; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #FFF5E1; /* Text Main for contrast */
  border: 1px solid #F2B544; /* Border Gold */
}

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

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

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

.page-tin-tuc__card-title a {
  color: #FFD86A; /* Gold for linked card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__card-title a:hover {
  color: #FFCC66; /* Glow Gold on hover */
}

.page-tin-tuc__card-date {
  font-size: 0.9rem;
  color: #F4D34D; /* Gold for date */
  margin-bottom: 10px;
}

.page-tin-tuc__card-summary {
  font-size: 1rem;
  color: #FFF5E1;
  margin-bottom: 15px;
}

.page-tin-tuc__card-link {
  display: inline-block;
  padding: 8px 15px;
  background: #F4D34D; /* Gold background */
  color: #7A0E0E; /* Deep Red text for contrast */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-tin-tuc__card-link:hover {
  background: #FFCC66; /* Glow Gold on hover */
}

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

.page-tin-tuc__dark-section {
  background: #C91F17; /* Main brand color for dark section */
  color: #FFF5E1;
}

.page-tin-tuc__content-block {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content blocks */
  border-radius: 8px;
  border: 1px solid rgba(242, 181, 68, 0.3); /* Transparent gold border */
}

.page-tin-tuc__content-block p {
  color: #FFF5E1;
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-tin-tuc__content-block p:last-child {
  margin-bottom: 0;
}

.page-tin-tuc__content-subtitle {
  font-size: 1.8rem;
  color: #FFD86A; /* Gold for subtitles */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-tin-tuc__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-tin-tuc__promo-card .page-tin-tuc__card-title a {
  color: #FFD86A;
}

.page-tin-tuc__promo-card .page-tin-tuc__card-title a:hover {
  color: #FFCC66;
}

.page-tin-tuc__note {
  font-size: 0.95rem;
  color: #F4D34D;
  text-align: center;
  margin-top: 20px;
}

.page-tin-tuc__faq-list {
  margin-top: 30px;
}

.page-tin-tuc__faq-item {
  background: #D32F2F; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #F2B544; /* Border Gold */
  color: #FFF5E1;
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle {
  content: '-';
}

.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #FFD86A; /* Gold for FAQ question */
  background: #E53935; /* Auxiliary Red for question background */
  border-bottom: 1px solid rgba(242, 181, 68, 0.3); /* Transparent gold border */
  list-style: none;
}

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

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

.page-tin-tuc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  color: #FFD86A;
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle::before {
  content: '-';
}

.page-tin-tuc__faq-item:not([open]) .page-tin-tuc__faq-toggle::before {
  content: '+';
}

.page-tin-tuc__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  color: #FFF5E1;
}

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

.page-tin-tuc__footer-cta {
  padding: 50px 20px;
  text-align: center;
  background: #7A0E0E; /* Deep Red for footer CTA */
  color: #FFF5E1;
}

.page-tin-tuc__footer-cta .page-tin-tuc__section-title {
  color: #FFD86A; /* Gold for title */
}

.page-tin-tuc__footer-cta .page-tin-tuc__section-description {
  color: #FFF5E1;
}

.page-tin-tuc__footer-cta .page-tin-tuc__cta-group {
  margin-top: 30px;
}

/* Universal image and button responsive styles */
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.page-tin-tuc a[class*="btn"],
.page-tin-tuc a[class*="button"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tin-tuc__hero-cta-group,
.page-tin-tuc__cta-group,
.page-tin-tuc__view-all-button-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-tin-tuc__hero-section {
    padding-top: 10px !important;
  }

  .page-tin-tuc__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
    padding: 0 15px;
  }

  .page-tin-tuc__hero-description {
    font-size: 1rem;
    padding: 0 15px;
  }

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

  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 2. 单栏长文容器 */
  .page-tin-tuc__article-wrap {
    padding: 0 15px;
  }

  .page-tin-tuc__section-title {
    font-size: 2rem;
    padding: 0 15px;
  }

  .page-tin-tuc__section-description {
    font-size: 1rem;
    padding: 0 15px;
  }

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

  .page-tin-tuc__news-card,
  .page-tin-tuc__promo-card {
    margin: 0;
  }

  .page-tin-tuc__content-block {
    padding: 15px;
    margin: 0 15px 30px 15px; /* Add horizontal margin for blocks */
  }

  .page-tin-tuc__content-subtitle {
    font-size: 1.5rem;
  }

  .page-tin-tuc__content-block p {
    font-size: 0.95rem;
  }

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

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

  .page-tin-tuc__hero-image,
  .page-tin-tuc__card-image,
  .page-tin-tuc__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
    height: auto !important;
  }

  .page-tin-tuc__section,
  .page-tin-tuc__card,
  .page-tin-tuc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 4. 按钮与按钮容器 */
  .page-tin-tuc__cta-button,
  .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-group,
  .page-tin-tuc__cta-group,
  .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;
    gap: 10px;
  }
  
  .page-tin-tuc__hero-cta-group,
  .page-tin-tuc__cta-group {
    flex-direction: column;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-tin-tuc__faq-item {
    margin: 0 15px 15px 15px; /* Adjust margin for mobile */
  }

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

  .page-tin-tuc__faq-answer {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .page-tin-tuc__footer-cta .page-tin-tuc__cta-group {
    flex-direction: column;
  }
}