/* style/tintc.css */

:root {
  --page-tintc-primary-color: #11A84E;
  --page-tintc-secondary-color: #22C768;
  --page-tintc-background-color: #08160F;
  --page-tintc-card-bg-color: #11271B;
  --page-tintc-text-main-color: #F2FFF6;
  --page-tintc-text-secondary-color: #A7D9B8;
  --page-tintc-border-color: #2E7A4E;
  --page-tintc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-tintc-glow-color: #57E38D;
  --page-tintc-gold-color: #F2C14E;
  --page-tintc-divider-color: #1E3A2A;
  --page-tintc-deep-green-color: #0A4B2C;
}

.page-tintc {
  color: var(--page-tintc-text-main-color);
  background-color: var(--page-tintc-background-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-tintc a:hover {
  color: var(--page-tintc-secondary-color);
}

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

.page-tintc__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--page-tintc-gold-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-tintc__description {
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--page-tintc-text-secondary-color);
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tintc__btn-primary {
  background: var(--page-tintc-button-gradient);
  color: var(--page-tintc-text-main-color);
  box-shadow: 0 4px 15px rgba(0, 255, 100, 0.2);
}

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 255, 100, 0.3);
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: var(--page-tintc-primary-color);
  border-color: var(--page-tintc-primary-color);
}

.page-tintc__btn-secondary:hover {
  background-color: var(--page-tintc-primary-color);
  color: var(--page-tintc-text-main-color);
}

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

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-tintc__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual flow */
  background-color: var(--page-tintc-card-bg-color); /* Darker background for text contrast */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.page-tintc__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--page-tintc-gold-color);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: 1px;
}

.page-tintc__hero-description {
  font-size: 20px;
  color: var(--page-tintc-text-secondary-color);
  margin-bottom: 30px;
}

/* News List Section */
.page-tintc__news-list-section {
  padding: 80px 0;
  background-color: var(--page-tintc-background-color);
}

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

.page-tintc__news-card {
  background-color: var(--page-tintc-card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-tintc-border-color);
}

.page-tintc__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-tintc__news-thumbnail-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.page-tintc__news-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-tintc__news-meta {
  font-size: 14px;
  color: var(--page-tintc-text-secondary-color);
  margin-bottom: 10px;
}

.page-tintc__news-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-tintc__news-title a {
  color: var(--page-tintc-text-main-color);
}

.page-tintc__news-title a:hover {
  color: var(--page-tintc-primary-color);
}

.page-tintc__news-excerpt {
  font-size: 16px;
  color: var(--page-tintc-text-secondary-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-tintc__read-more {
  color: var(--page-tintc-primary-color);
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.page-tintc__read-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--page-tintc-primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.page-tintc__read-more:hover::after {
  transform: scaleX(1);
}

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

/* Promotion CTA Section */
.page-tintc__promotion-cta-section {
  padding: 80px 0;
  background-color: var(--page-tintc-deep-green-color);
  text-align: center;
}

.page-tintc__promotion-cta-section .page-tintc__section-title {
  color: var(--page-tintc-text-main-color);
}

.page-tintc__promotion-cta-section .page-tintc__description {
  color: var(--page-tintc-text-secondary-color);
  margin-bottom: 40px;
}

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

.page-tintc__faq-item {
  background-color: var(--page-tintc-card-bg-color);
  border: 1px solid var(--page-tintc-border-color);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-tintc__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--page-tintc-text-main-color);
  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(var(--page-tintc-primary-color), 0.1);
}

.page-tintc__faq-qtext {
  flex-grow: 1;
}

.page-tintc__faq-toggle {
  font-size: 28px;
  line-height: 1;
  margin-left: 20px;
  color: var(--page-tintc-primary-color);
}

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

/* CTA Section */
.page-tintc__cta-section {
  padding: 80px 0;
  background-color: var(--page-tintc-deep-green-color);
  text-align: center;
}

.page-tintc__cta-section .page-tintc__section-title {
  color: var(--page-tintc-text-main-color);
}

.page-tintc__cta-section .page-tintc__description {
  color: var(--page-tintc-text-secondary-color);
  margin-bottom: 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tintc__hero-content {
    margin-top: -100px;
  }
  .page-tintc__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-tintc__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tintc__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-tintc__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-tintc__main-title {
    font-size: 32px;
  }

  .page-tintc__hero-description {
    font-size: 18px;
  }

  .page-tintc__news-list-section, 
  .page-tintc__promotion-cta-section, 
  .page-tintc__faq-section, 
  .page-tintc__cta-section {
    padding: 50px 0;
  }

  .page-tintc__section-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

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

  .page-tintc__news-thumbnail {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tintc__news-title {
    font-size: 20px;
  }

  .page-tintc__news-excerpt {
    font-size: 15px;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

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

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

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

  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__hero-image-wrapper,
  .page-tintc__news-thumbnail-wrapper,
  .page-tintc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-tintc__hero-content {
    margin-top: -60px;
  }
  .page-tintc__main-title {
    font-size: 28px;
  }
  .page-tintc__hero-description {
    font-size: 16px;
  }
  .page-tintc__section-title {
    font-size: 26px;
  }
  .page-tintc__news-title {
    font-size: 18px;
  }
  .page-tintc__faq-item summary {
    font-size: 16px;
  }
}