/* style/tintc.css */
.page-tintc {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-tintc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-tintc__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 0;
}

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

.page-tintc__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  background: rgba(13, 14, 18, 0.7); /* Slightly transparent background for text */
  margin-top: -5px; /* Slight overlap to connect visually */
}

.page-tintc__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #FF8C1A;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-tintc__hero-description {
  font-size: 1.1em;
  color: #FFF3E6;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-tintc__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-tintc__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.6);
}

.page-tintc__btn-secondary {
  background: #17191F;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-tintc__btn-secondary:hover {
  background: #FF8C1A;
  color: #17191F;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.6);
}

.page-tintc__section-title {
  font-size: 2.5em;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tintc__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-tintc__latest-news-section,
.page-tintc__categories-section,
.page-tintc__cta-section,
.page-tintc__faq-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-tintc__news-card {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-tintc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.2);
}

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

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

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

.page-tintc__news-title {
  font-size: 1.4em;
  color: #FF8C1A;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__news-date {
  font-size: 0.9em;
  color: #A84F0C;
  margin-bottom: 15px;
}

.page-tintc__news-excerpt {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tintc__read-more {
  color: #FFA53A;
  font-weight: bold;
  text-decoration: none;
  align-self: flex-start;
}

.page-tintc__read-more:hover {
  text-decoration: underline;
}

.page-tintc__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

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

.page-tintc__category-card {
  background-color: #17191F;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #FFF3E6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-tintc__category-card:hover {
  transform: translateY(-5px);
  background-color: #FF8C1A;
  color: #17191F;
}

.page-tintc__category-card:hover .page-tintc__category-title {
  color: #17191F;
}

.page-tintc__category-card:hover .page-tintc__category-description {
  color: #FFF3E6;
}

.page-tintc__category-title {
  font-size: 1.8em;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-tintc__category-description {
  font-size: 1em;
  color: #FFF3E6;
}

.page-tintc__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #17191F;
}

.page-tintc__cta-section .page-tintc__section-title {
  color: #FFA53A;
}

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

.page-tintc__faq-list {
  margin-top: 40px;
}

.page-tintc__faq-item {
  background-color: #17191F;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FF8C1A;
  cursor: pointer;
  background-color: #17191F;
  border-bottom: 1px solid #A84F0C;
  list-style: none; /* For details/summary */
}

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

.page-tintc__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  content: '−';
}

.page-tintc__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #FFF3E6;
}

.page-tintc__faq-answer p {
  margin: 0;
}

/* General image styling for content areas */
.page-tintc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-tintc__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

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

  .page-tintc__news-grid,
  .page-tintc__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

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

  .page-tintc__category-title {
    font-size: 1.5em;
  }

  .page-tintc__hero-content {
    padding: 30px 15px;
  }

  .page-tintc__hero-cta {
    gap: 15px;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    padding: 10px 20px;
    font-size: 1em;
  }
}

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

  .page-tintc__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 1. HERO 主图区域 */
  .page-tintc__hero-section {
    padding-top: 10px !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-tintc__hero-content {
    padding: 20px 15px;
  }

  .page-tintc__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }

  .page-tintc__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-tintc__hero-cta {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 2. 产品展示图区域 (这里是新闻卡片，非gameshow，但遵循类似流式布局) */
  .page-tintc__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tintc__news-card {
    max-width: 100% !important;
    width: 100% !important;
  }

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

  .page-tintc__categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .page-tintc__latest-news-section,
  .page-tintc__categories-section,
  .page-tintc__cta-section,
  .page-tintc__faq-section {
    padding: 40px 0;
  }

  /* 4. 按钮与按钮容器 */
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary,
  .page-tintc a[class*="button"],
  .page-tintc 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-tintc__cta-buttons,
  .page-tintc__button-group,
  .page-tintc__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;
    flex-direction: column; /* Ensure vertical stacking for CTAs on mobile */
  }

  /* 5. 其他内容模块 */
  .page-tintc__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-tintc__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-tintc__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-tintc__faq-answer {
    padding: 0 15px 15px;
  }
}