/* style/tintc.css */
/* body đã có padding-top: var(--header-offset) từ shared.css */
.page-tintc {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
}

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

.page-tintc__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-tintc__light-bg {
  background-color: #ffffff;
  color: var(--text-secondary);
}

.page-tintc__text-main {
  color: var(--text-main);
}

.page-tintc__text-secondary {
  color: var(--text-secondary);
}

.page-tintc__section-title,
.page-tintc__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tintc__section-description,
.page-tintc__cta-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body đã xử lý padding-top, đây là phần đệm thêm */
  min-height: 500px;
  overflow: hidden;
}

.page-tintc__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-tintc__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Để chữ dễ đọc trên nền ảnh */
}

.page-tintc__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
}

.page-tintc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tintc__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Buttons */
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Cho phép xuống dòng */
  word-wrap: break-word; /* Cho phép ngắt từ */
}

.page-tintc__btn-primary {
  background: var(--button);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
  margin-left: 15px;
}

.page-tintc__btn-secondary:hover {
  background-color: var(--border);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-tintc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* News Grid */
.page-tintc__latest-news,
.page-tintc__promotions-events,
.page-tintc__industry-news,
.page-tintc__platform-updates,
.page-tintc__cta-bottom {
  padding: 60px 0;
}

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

.page-tintc__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--text-main);
}

.page-tintc__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-tintc__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-tintc__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__card-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
  color: var(--glow);
}

.page-tintc__card-meta {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-tintc__card-text {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tintc__card-link {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-tintc__card-link:hover {
  text-decoration: underline;
}

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

/* Platform Updates */
.page-tintc__platform-updates {
  background-color: var(--background);
}

.page-tintc__update-list {
  display: grid;
  gap: 30px;
}

.page-tintc__update-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-tintc__update-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-tintc__update-meta {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-tintc__update-text {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Industry News */
.page-tintc__industry-news {
  background-color: var(--background);
}

.page-tintc__article-list {
  display: grid;
  gap: 30px;
}

.page-tintc__article-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-tintc__article-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-tintc__article-meta {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-tintc__article-text {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-tintc__article-link {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tintc__article-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-tintc__faq-section {
  background-color: var(--deep-green);
  padding: 60px 0;
}

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

.page-tintc__faq-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  color: var(--text-main);
}

.page-tintc__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

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

.page-tintc__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-tintc__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-tintc__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--gold);
}

.page-tintc__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Call to Action Bottom */
.page-tintc__cta-bottom {
  padding: 80px 0;
  background-color: var(--background);
}

.page-tintc__cta-content {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tintc__section-title {
    font-size: 2em;
  }

  .page-tintc__hero-description {
    font-size: 1.1em;
  }

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

  .page-tintc__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-tintc__container {
    padding: 0 15px;
  }

  .page-tintc__hero-section {
    padding: 10px 0 40px 0;
    min-height: 400px;
  }

  .page-tintc__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-tintc__hero-description {
    font-size: 1em;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
    padding: 12px 20px;
  }

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-tintc__news-grid,
  .page-tintc__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tintc__card-image {
    height: 200px;
  }

  .page-tintc__section-title,
  .page-tintc__cta-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  .page-tintc__update-title,
  .page-tintc__article-title {
    font-size: 1.3em;
  }

  .page-tintc__faq-item summary {
    font-size: 1em;
    padding: 18px 20px;
  }

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

  /* Mobile image, video, and container adaptations */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc video,
  .page-tintc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__hero-section,
  .page-tintc__video-section,
  .page-tintc__video-container,
  .page-tintc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-tintc__hero-section { /* Override general padding-left/right for hero to allow full width image */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-tintc__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-tintc__video-section { /* Specific padding-top for video section */
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-tintc__main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .page-tintc__section-title,
  .page-tintc__cta-title {
    font-size: 1.6em;
  }

  .page-tintc__card-content {
    padding: 18px;
  }

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

  .page-tintc__update-item,
  .page-tintc__article-item {
    padding: 20px;
  }

  .page-tintc__update-title,
  .page-tintc__article-title {
    font-size: 1.1em;
  }
}