/* style/tintc.css */
.page-tintc {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #f5f5f5; /* Slightly off-white for sections */
}

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

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A; /* Dark background for hero */
  color: #FFF6D6; /* Light text for dark background */
}

.page-tintc__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure width is 100% for flex item */
}

.page-tintc__hero-image-main {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-tintc__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-tintc__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-tintc__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-tintc__cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-tintc__cta-button--inverted {
  background: #FFF6D6;
  color: #111111;
}

.page-tintc__cta-button--inverted:hover {
  background: #FFD36B;
  color: #0A0A0A;
}

/* General Section Styling */
.page-tintc__intro-section,
.page-tintc__article-list-section,
.page-tintc__value-proposition-section,
.page-tintc__faq-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for these sections */
}

.page-tintc__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
}

.page-tintc__section-title--light {
  color: #FFF6D6; /* For dark sections */
}

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

.page-tintc__section-description--light {
  color: #f0f0f0; /* For dark sections */
}

/* Article List */
.page-tintc__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-tintc__article-card {
  background: #111111; /* Card BG from custom colors */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #FFF6D6; /* Main text color for cards */
}

.page-tintc__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-tintc__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  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: 15px;
  line-height: 1.3;
}

.page-tintc__card-title a {
  color: #FFF6D6; /* Text Main for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
  color: #FFD36B; /* Glow color on hover */
}

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

.page-tintc__card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  color: #FFD36B; /* Auxiliary color for meta info */
}

.page-tintc__read-more-button {
  display: inline-block;
  padding: 8px 15px;
  background: #F2C14E; /* Primary color */
  color: #111111; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-tintc__read-more-button:hover {
  background: #FFD36B; /* Auxiliary color */
}

.page-tintc__view-all-articles {
  text-align: center;
  margin-top: 30px;
}

.page-tintc__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  background: #F2C14E; /* Primary color */
  color: #111111; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-tintc__view-all-button:hover {
  background: #FFD36B; /* Auxiliary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Value Proposition Section */
.page-tintc__value-proposition-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-tintc__value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.page-tintc__value-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tintc__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-tintc__value-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-tintc__value-heading {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Primary color */
}

.page-tintc__value-description {
  font-size: 1em;
  color: #555555;
}

/* CTA Section (Dark) */
.page-tintc__cta-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color from custom colors */
  color: #FFF6D6; /* Text Main for dark section */
  text-align: center;
}

/* FAQ Section */
.page-tintc__faq-section {
  background-color: #fefefe;
}

details.page-tintc__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color from custom colors */
  overflow: hidden;
  background: #111111; /* Card BG for FAQ item */
}
details.page-tintc__faq-item summary.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF6D6; /* Text Main for FAQ question */
}
details.page-tintc__faq-item summary.page-tintc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tintc__faq-item summary.page-tintc__faq-question:hover {
  background: #222222; /* Slightly lighter dark for hover */
}
.page-tintc__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-tintc__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tintc__faq-item .page-tintc__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background color for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0; /* Light text for dark answer background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tintc__main-title {
    font-size: 2.2em;
  }
  .page-tintc__hero-description {
    font-size: 1.1em;
  }
  .page-tintc__section-title {
    font-size: 1.8em;
  }
  .page-tintc__section-description {
    font-size: 1em;
  }
  .page-tintc__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-tintc__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-tintc__hero-image-main {
    margin-bottom: 20px;
  }
  .page-tintc__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-tintc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-tintc__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-tintc__intro-section,
  .page-tintc__article-list-section,
  .page-tintc__value-proposition-section,
  .page-tintc__cta-section,
  .page-tintc__faq-section {
    padding: 40px 0;
  }
  .page-tintc__container {
    padding: 0 15px;
  }
  .page-tintc__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-tintc__section-description {
    font-size: 0.95em;
  }
  .page-tintc__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tintc__article-image {
    height: 180px;
  }
  .page-tintc__card-title {
    font-size: 1.2em;
  }
  .page-tintc__read-more-button {
    padding: 6px 12px;
    font-size: 0.9em;
  }
  .page-tintc__view-all-button {
    padding: 10px 25px;
    font-size: 0.95em;
  }
  .page-tintc__value-grid {
    grid-template-columns: 1fr;
  }
  .page-tintc__value-icon {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 20px auto;
  }

  /* Images responsive styles */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__hero-container,
  .page-tintc__hero-content,
  .page-tintc__article-card,
  .page-tintc__value-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .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;
  }
  .page-tintc__cta-buttons {
    flex-direction: column;
  }

  details.page-tintc__faq-item summary.page-tintc__faq-question { padding: 15px; }
  .page-tintc__faq-qtext { font-size: 1em; }
  .page-tintc__faq-toggle { font-size: 20px; width: 24px; height: 24px; }
  details.page-tintc__faq-item .page-tintc__faq-answer { padding: 0 15px 15px; }
}