/* style/tintc.css */

/* Base styles for the page */
.page-tintc {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0A4B2C; /* Deep Green for hero section background */
  overflow: hidden;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  filter: none; /* Ensure no CSS filters are used */
}

.page-tintc__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any background elements */
}

.page-tintc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-tintc__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Buttons */
.page-tintc__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-tintc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background-color: transparent;
  color: #2AD16F; /* A lighter green for contrast */
  border: 2px solid #2AD16F;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Background color for hover text */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* News List Section */
.page-tintc__news-list-section {
  padding: 80px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

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

.page-tintc__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
}

.page-tintc__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-tintc__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-tintc__news-image-wrapper {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  overflow: hidden;
}

.page-tintc__news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no CSS filters are used */
}

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

.page-tintc__news-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__news-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__news-title a:hover {
  color: #2AD16F; /* Lighter green on hover */
}

.page-tintc__news-meta {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-tintc__news-excerpt {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow excerpt to take available space */
}

.page-tintc__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background-color: #2E7A4E; /* Border color for a subtle button */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-tintc__read-more-btn:hover {
  background-color: #13994A; /* Darker green on hover */
}

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

/* CTA Section */
.page-tintc__cta-section {
  padding: 80px 20px;
  background-color: #11271B; /* Card BG */
  text-align: center;
}

.page-tintc__cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-tintc__cta-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tintc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure responsiveness */
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-tintc__faq-section {
  padding: 80px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

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

.page-tintc__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tintc__faq-item summary { /* For <details> tag */
  list-style: none; /* Remove default marker */
}
.page-tintc__faq-item summary::-webkit-details-marker { /* For Webkit browsers */
  display: none;
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* A darker shade for question */
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
}

.page-tintc__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

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

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 20px;
  color: #2AD16F; /* Lighter green for toggle */
}

.page-tintc__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
  border-top: 1px solid #2E7A4E; /* Border */
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-tintc__hero-section,
  .page-tintc__news-list-section,
  .page-tintc__cta-section,
  .page-tintc__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .page-tintc__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-tintc__main-title {
    font-size: 2rem;
  }

  .page-tintc__description {
    font-size: 1rem;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-tintc__news-list-section,
  .page-tintc__cta-section,
  .page-tintc__faq-section {
    padding: 60px 15px;
  }

  .page-tintc__section-title,
  .page-tintc__cta-title {
    font-size: 2rem;
  }

  .page-tintc__news-grid {
    grid-template-columns: 1fr;
  }
  
  .page-tintc__news-image-wrapper {
    height: 180px; /* Adjust height for mobile */
  }

  .page-tintc__news-title {
    font-size: 1.3rem;
  }

  .page-tintc__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

  .page-tintc__faq-answer {
    padding: 18px 20px;
  }
  
  /* Mobile image and video adaptation */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* No video on this page, but including general video rules for completeness if one were added */
  .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__video-section,
  .page-tintc__video-container,
  .page-tintc__video-wrapper,
  .page-tintc__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding left/right should be applied to specific elements like .page-tintc__container */
    /* To avoid double padding, remove it from top-level sections if container handles it */
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-tintc__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Ensure no CSS filters are used on images */
.page-tintc img {
  filter: none;
}