/* Base styles for the page container */
.page-tin-tuc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

/* --- Hero Section --- */
.page-tin-tuc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden;
  background-color: #F4F7FB; /* Match page background */
}

.page-tin-tuc__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-tin-tuc__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.page-tin-tuc__main-title {
  font-size: 48px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-tin-tuc__intro-text {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  margin-top: 30px;
  max-width: 100%; /* Ensure container respects width */
  box-sizing: border-box;
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #FFFFFF;
  border: none;
}

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

.page-tin-tuc__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF; /* Primary color border */
}

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

/* --- General Section Styles --- */
.page-tin-tuc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px;
}

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

.page-tin-tuc__section-title--white {
  color: #FFFFFF;
}

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

.page-tin-tuc__section-description--white {
  color: #E0E0E0; /* Lighter text for dark background */
}

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

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

.page-tin-tuc__news-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__news-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tin-tuc__news-thumbnail {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  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-title {
  font-size: 20px;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tuc__news-card-meta {
  font-size: 14px;
  color: #666666;
  margin-bottom: 15px;
}

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

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

/* --- Official Announcements Section --- */
.page-tin-tuc__official-announcements-section {
  background: #2F6BFF; /* Primary color */
  padding: 60px 0;
  color: #FFFFFF;
}

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

.page-tin-tuc__announcement-item {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on primary background */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__announcement-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tuc__announcement-date {
  font-size: 14px;
  color: #A5C4FF; /* Glow color for date */
  margin-bottom: 15px;
}

.page-tin-tuc__announcement-text {
  font-size: 16px;
  color: #E0E0E0;
}

/* --- Industry Insights Section --- */
.page-tin-tuc__industry-insights-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-tin-tuc__insight-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__insight-thumbnail {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-tin-tuc__insight-title {
  font-size: 20px;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tuc__insight-meta {
  font-size: 14px;
  color: #666666;
  margin-bottom: 15px;
}

.page-tin-tuc__insight-excerpt {
  font-size: 16px;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tin-tuc__read-more-link {
  color: #2F6BFF; /* Primary color */
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-tin-tuc__read-more-link:hover {
  color: #1F2D3D; /* Text Main on hover */
}

.page-tin-tuc__arrow {
  margin-left: 5px;
  font-size: 20px;
  line-height: 1;
}

/* --- FAQ Section --- */
.page-tin-tuc__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-tin-tuc__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-tin-tuc__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #F0F5FF; /* Lighter shade of primary */
}
.page-tin-tuc__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-tin-tuc__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle {
  color: #1F2D3D; /* Text Main when open */
}
details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer {
  padding: 0 25px 20px;
  background: #F9F9F9; /* Light grey background */
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #333333;
}
details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer p {
    margin: 0;
}

/* --- Global Image & Container Responsive Styles (Desktop) --- */
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-tin-tuc__section,
.page-tin-tuc__card,
.page-tin-tuc__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* --- Responsive Styles (Tablet and Mobile) --- */
@media (max-width: 1024px) {
  .page-tin-tuc__main-title {
    font-size: 40px;
  }
  .page-tin-tuc__section-title {
    font-size: 32px;
  }
  .page-tin-tuc__news-thumbnail,
  .page-tin-tuc__insight-thumbnail {
    height: 180px;
  }
  .page-tin-tuc__news-card-title,
  .page-tin-tuc__insight-title {
    font-size: 18px;
  }
  .page-tin-tuc__announcement-title {
    font-size: 20px;
  }
  .page-tin-tuc__faq-qtext {
    font-size: 16px;
  }
  .page-tin-tuc__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-tin-tuc__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 30px;
  }
  .page-tin-tuc__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    height: auto !important; /* Override fixed height */
  }
  .page-tin-tuc__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Adaptive font size */
    margin-bottom: 10px;
  }
  .page-tin-tuc__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-tin-tuc__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }
  /* 按钮与按钮容器 */
  .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: 12px 20px;
    font-size: 16px;
  }
  .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;
    gap: 10px;
  }

  /* 通用图片与容器 */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !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;
  }

  /* 产品展示图区域 (News Grid - acts like product grid here) */
  .page-tin-tuc__news-grid,
  .page-tin-tuc__announcements-list,
  .page-tin-tuc__insights-grid {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-tin-tuc__news-thumbnail,
  .page-tin-tuc__insight-thumbnail {
    height: 200px; /* Adjust height for mobile cards */
  }
  .page-tin-tuc__news-card-content,
  .page-tin-tuc__insight-content,
  .page-tin-tuc__announcement-item {
    padding: 15px;
  }
  .page-tin-tuc__news-card-title,
  .page-tin-tuc__insight-title {
    font-size: 18px;
  }
  .page-tin-tuc__news-card-excerpt,
  .page-tin-tuc__insight-excerpt,
  .page-tin-tuc__announcement-text {
    font-size: 15px;
  }
  .page-tin-tuc__section-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-tin-tuc__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-tin-tuc__faq-section .page-tin-tuc__container,
  .page-tin-tuc__latest-news-section .page-tin-tuc__container,
  .page-tin-tuc__official-announcements-section .page-tin-tuc__container,
  .page-tin-tuc__industry-insights-section .page-tin-tuc__container {
    padding: 30px 15px; /* Adjust container padding for mobile */
  }

  /* FAQ specific mobile styles */
  details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question {
    padding: 15px 20px;
  }
  .page-tin-tuc__faq-qtext {
    font-size: 16px;
  }
  .page-tin-tuc__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }
}