/* style/tintc.css */

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

.page-tintc {
  background-color: var(--page-tintc-bg-color); /* Body background is dark */
  color: var(--page-tintc-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-tintc a {
  color: var(--page-tintc-gold);
  text-decoration: none;
}

.page-tintc a:hover {
  text-decoration: underline;
}

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

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-tintc-deep-green);
}

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

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

.page-tintc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px 20px 0;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

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

/* Section Titles */
.page-tintc__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--page-tintc-gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
}

.page-tintc__text-block {
  color: var(--page-tintc-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-tintc__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Featured News Section */
.page-tintc__featured-news-section {
  padding: 60px 0;
  background-color: var(--page-tintc-card-bg);
}

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

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

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

.page-tintc__card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

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

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

.page-tintc__card-title {
  font-size: 1.2em;
  color: var(--page-tintc-text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__card-summary {
  font-size: 0.9em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 15px;
  height: 70px; /* Fixed height for summary */
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-tintc__read-more {
  color: var(--page-tintc-gold);
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

/* General Section Styles */
.page-tintc__updates-section,
.page-tintc__promotions-section,
.page-tintc__community-section {
  padding: 60px 0;
  background-color: var(--page-tintc-bg-color);
}

.page-tintc__strategy-section,
.page-tintc__guide-section {
  padding: 60px 0;
  background-color: var(--page-tintc-card-bg);
}

.page-tintc__strategy-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: var(--page-tintc-text-secondary);
}

.page-tintc__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.page-tintc__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-tintc-gold);
  font-weight: bold;
}

/* Call to Action Buttons */
.page-tintc__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

.page-tintc__btn-primary {
  background: var(--page-tintc-btn-primary-gradient);
  color: #ffffff; /* Button text always white for contrast */
  border: none;
}

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

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

.page-tintc__btn-secondary:hover {
  background-color: var(--page-tintc-gold);
  color: var(--page-tintc-deep-green);
  transform: translateY(-2px);
}

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

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

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

.page-tintc__faq-item {
  background-color: var(--page-tintc-deep-green);
  border: 1px solid var(--page-tintc-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  color: var(--page-tintc-text-main);
  font-weight: bold;
  font-size: 1.1em;
  list-style: none; /* For details/summary */
}

.page-tintc__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
  background-color: var(--page-tintc-deep-green);
  border-bottom: 1px solid var(--page-tintc-border-color);
}

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-tintc-gold);
}

.page-tintc__faq-answer {
  padding: 15px 20px 20px;
  color: var(--page-tintc-text-secondary);
  font-size: 0.95em;
}

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

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

  .page-tintc__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

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

  .page-tintc__main-title {
    font-size: 1.8em;
  }

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

  .page-tintc__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-tintc__featured-news-section,
  .page-tintc__updates-section,
  .page-tintc__strategy-section,
  .page-tintc__promotions-section,
  .page-tintc__guide-section,
  .page-tintc__community-section,
  .page-tintc__faq-section,
  .page-tintc__cta-section {
    padding: 40px 0;
  }

  .page-tintc__news-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-tintc__card-summary {
    height: auto; /* Allow summary to expand on mobile */
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    display: block !important;
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    padding: 15px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  /* Image and Video responsive adaptation */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-tintc__hero-image-wrapper,
  .page-tintc__container,
  .page-tintc__news-card,
  .page-tintc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

@media (max-width: 480px) {
  .page-tintc__main-title {
    font-size: 1.5em;
  }
  .page-tintc__hero-content {
    margin-top: -50px;
  }
}