/* style/tintc.css */

/* General page styling */
.page-tintc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main for general content on dark body bg */
  background-color: #08160F; /* Background color */
}

.page-tintc__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-tintc__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  border-radius: 2px;
}

.page-tintc__section-title--light {
  color: #F2FFF6; /* Text Main */
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Background color */
  overflow: hidden;
}

.page-tintc__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px; /* Space between content and image */
}

.page-tintc__main-title {
  font-size: clamp(32px, 5vw, 60px); /* Responsive H1 font size */
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-tintc__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  margin-top: 20px; /* Space below content */
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
  margin-right: 15px;
}

.page-tintc__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-tintc__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter shade of primary for contrast */
  border: 2px solid #2AD16F; /* A lighter shade of primary for contrast */
}

.page-tintc__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

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

.page-tintc__center-align {
  text-align: center;
}

/* About News Section */
.page-tintc__about-news-section {
  padding: 80px 20px;
  background-color: #08160F; /* Background color */
  text-align: center;
}

.page-tintc__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-tintc__content-wrapper p {
  margin-bottom: 20px;
  font-size: 17px;
}

/* News Grid / Card Styling */
.page-tintc__latest-news-section,
.page-tintc__featured-news-section,
.page-tintc__industry-insights-section,
.page-tintc__faq-section,
.page-tintc__cta-section {
  padding: 80px 20px;
  background-color: #08160F; /* Background color */
}

.page-tintc__dark-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

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

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

.page-tintc__news-card:hover,
.page-tintc__featured-card:hover {
  transform: translateY(-5px);
}

.page-tintc__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-tintc__featured-card .page-tintc__card-image {
  height: 338px; /* Larger fixed height for featured cards */
}

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

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

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

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

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

.page-tintc__card-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tintc__read-more-btn {
  display: inline-block;
  color: #2AD16F; /* Lighter primary for contrast */
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-tintc__read-more-btn:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

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

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

.page-tintc__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-tintc__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-tintc__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider for subtle hover */
}

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

.page-tintc__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Lighter primary for contrast */
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-tintc__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-tintc__faq-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-tintc__faq-link:hover {
  color: #F2FFF6; /* Text Main */
}

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

.page-tintc__cta-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tintc__news-grid,
  .page-tintc__featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-tintc__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
}

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

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

  .page-tintc__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

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

  .page-tintc__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 30px;
  }

  .page-tintc__latest-news-section,
  .page-tintc__featured-news-section,
  .page-tintc__industry-insights-section,
  .page-tintc__faq-section,
  .page-tintc__cta-section {
    padding: 40px 15px;
  }

  /* Images responsive */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive */
  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0; /* Content padding handled by section */
    padding-right: 0; /* Content padding handled by section */
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-tintc__cta-button,
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary,
  .page-tintc a[class*="button"],
  .page-tintc a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 0 !important; /* Remove margin-right for stacking */
  }
  
  .page-tintc__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    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-grid,
  .page-tintc__featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-tintc__featured-card .page-tintc__card-image {
    height: auto; /* Allow height to adjust on mobile */
  }

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

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

  .page-tintc__cta-description {
    font-size: 16px;
  }
}

/* Ensure content area images are not too small */
.page-tintc__news-card img,
.page-tintc__featured-card img {
  min-width: 200px;
  min-height: 200px;
}
.page-tintc__card-image {
  width: 100%; /* Ensure images fill their card width */
  max-width: 100%;
}

/* Video specific CSS (if any video is added later) */
.page-tintc__video-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-tintc__video-container {
  width: 100%; /* Ensure width: 100% is present for desktop too */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

@media (max-width: 768px) {
  .page-tintc__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-tintc video,
  .page-tintc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
}