/* Base Styles */
.page-tin-tuc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
}

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

.page-tin-tuc__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color */
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-tin-tuc__section-subtitle {
  font-size: 18px;
  text-align: center;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-tin-tuc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-tin-tuc__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color */
  border: 2px solid #3A2A12; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__btn-secondary:hover {
  background: #222222;
  color: #FFF6D6; /* Text Main */
  border-color: #F2C14E;
}

/* Hero Section */
.page-tin-tuc__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-tin-tuc__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but text is below image */
  background: rgba(10, 10, 10, 0.85); /* Slightly transparent dark background */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  border: 1px solid #3A2A12;
}

.page-tin-tuc__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

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

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

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

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.page-tin-tuc__news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-tin-tuc__news-card-date {
  font-size: 0.9em;
  color: #FFD36B;
  margin-bottom: 10px;
  display: block;
}

.page-tin-tuc__news-card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-tin-tuc__news-card-title a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__news-card-title a:hover {
  color: #FFD36B;
}

.page-tin-tuc__news-card-excerpt {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tin-tuc__news-card-link {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.page-tin-tuc__news-card-link:hover {
  text-decoration: underline;
}

.page-tin-tuc__button-group {
  text-align: center;
  margin-top: 50px;
}

/* Featured Article Section */
.page-tin-tuc__featured-article-section {
  padding: 60px 0;
  background: #0A0A0A;
}

.page-tin-tuc__article-body {
  max-width: 900px;
  margin: 40px auto 0 auto;
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-tin-tuc__article-figure {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  display: block;
}

.page-tin-tuc__article-title {
  font-size: 2em;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-tin-tuc__article-body p {
  margin-bottom: 1.5em;
  color: #FFF6D6;
  font-size: 1.1em;
}

/* Categories Section */
.page-tin-tuc__categories-section {
  padding: 60px 0;
  background: #0A0A0A;
}

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

.page-tin-tuc__category-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tuc__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #3A2A12;
}

.page-tin-tuc__category-title {
  font-size: 1.3em;
  font-weight: bold;
  padding: 20px;
  color: #F2C14E;
}

/* CTA Section */
.page-tin-tuc__cta-section {
  background: #111111; /* Card BG */
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
  margin-bottom: 60px;
}

.page-tin-tuc__cta-title {
  font-size: 3em;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-tin-tuc__cta-description {
  font-size: 1.2em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* FAQ Section */
details.page-tin-tuc__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}
.page-tin-tuc__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-tin-tuc__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A;
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* Image responsiveness for all images in main content */
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-tin-tuc__container {
    padding: 15px;
  }
  .page-tin-tuc__hero-content {
    margin-top: -80px;
  }
  .page-tin-tuc__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-tin-tuc__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page-tin-tuc__article-body {
    padding: 25px;
  }
  .page-tin-tuc__article-title {
    font-size: 1.8em;
  }
  .page-tin-tuc__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .page-tin-tuc__cta-title {
    font-size: 2.5em;
  }
  .page-tin-tuc__cta-description {
    font-size: 1.1em;
  }
  .page-tin-tuc__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-tin-tuc__hero-section {
    margin-bottom: 40px;
    padding-top: 10px; /* Small top padding */
  }
  .page-tin-tuc__hero-image {
    height: 300px;
    object-fit: contain !important; /* Prevent cropping */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
  }
  .page-tin-tuc__hero-content {
    margin-top: -60px; /* Adjust overlap */
    padding: 25px 15px;
    width: calc(100% - 30px); /* Fill container with padding */
  }
  .page-tin-tuc__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.3;
  }
  .page-tin-tuc__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 (Not applicable for this page, but general rule for other pages) */
  /* For tin-tuc, news-grid is the main content, not product-grid */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }
  .page-tin-tuc__news-card-image {
    height: 180px;
  }
  .page-tin-tuc__news-card-title {
    font-size: 1.2em;
  }
  .page-tin-tuc__news-card-excerpt {
    font-size: 0.95em;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-tin-tuc__section-title {
    font-size: 28px;
    margin-bottom: 15px;
    padding: 0 15px;
  }
  .page-tin-tuc__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-tin-tuc__article-body {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
  .page-tin-tuc__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 20px;
  }
  .page-tin-tuc__article-title {
    font-size: 1.5em;
  }
  .page-tin-tuc__article-body p {
    font-size: 1em;
  }

  /* 通用图片与容器 */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tin-tuc__container,
  .page-tin-tuc__latest-news-section,
  .page-tin-tuc__featured-article-section,
  .page-tin-tuc__categories-section,
  .page-tin-tuc__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-tin-tuc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
  }

  /* Categories Section */
  .page-tin-tuc__category-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tuc__category-image {
    height: 150px;
  }

  /* CTA Section */
  .page-tin-tuc__cta-title {
    font-size: 2em;
  }

  /* FAQ Section */
  details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question { padding: 15px; }
  .page-tin-tuc__faq-qtext { font-size: 15px; }
  details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer { padding: 0 15px 15px; }
}