/* style/tintc.css */

/* BEM naming convention: .page-tintc__element-name */
/* Colors: #11A84E (Main), #22C768 (Aux), #08160F (Background), #11271B (Card BG), #F2FFF6 (Text Main), #A7D9B8 (Text Secondary) */

body {
  background-color: #08160F; /* Ensure consistency with overall site background */
}

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

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

.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  text-align: center;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-tintc__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-tintc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-tintc__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-tintc__cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-tintc__cta-button--secondary {
  background: transparent;
  border: 2px solid #11A84E; /* Main Color */
  color: #11A84E; /* Main Color */
}

.page-tintc__cta-button--secondary:hover {
  background: #11A84E;
  color: #F2FFF6; /* Text Main */
}

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

.page-tintc__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
}

.page-tintc__latest-news-section, 
.page-tintc__featured-news-section, 
.page-tintc__industry-news-section, 
.page-tintc__faq-section, 
.page-tintc__cta-section {
  padding: 60px 0;
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-tintc__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-tintc__news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-tintc__news-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

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

.page-tintc__news-card-excerpt {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-tintc__button-container {
  text-align: center;
}

.page-tintc__featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-tintc__featured-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  text-align: center;
}

.page-tintc__featured-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-tintc__featured-content {
  max-width: 800px;
}

.page-tintc__featured-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-tintc__featured-date {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-tintc__featured-excerpt {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
}

.page-tintc__read-more-link {
  color: #2AD16F; /* Brighter green for links */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.page-tintc__article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-tintc__article-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tintc__article-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

.page-tintc__article-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

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

.page-tintc__article-excerpt {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

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

.page-tintc__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-tintc__faq-question::-webkit-details-marker {
  display: none;
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  border-bottom-color: transparent;
}

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

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
}

.page-tintc__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

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

@media (max-width: 768px) {
  .page-tintc__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-tintc__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .page-tintc__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    padding-top: 30px;
  }

  .page-tintc__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

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

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

  .page-tintc__featured-card {
    padding: 20px;
  }

  .page-tintc__featured-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

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

  .page-tintc__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-tintc__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image and video responsiveness */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-tintc video, .page-tintc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-tintc__container,
  .page-tintc__hero-image-wrapper,
  .page-tintc__video-section,
  .page-tintc__video-container,
  .page-tintc__video-wrapper,
  .page-tintc__news-card,
  .page-tintc__featured-card,
  .page-tintc__article-item,
  .page-tintc__faq-item,
  .page-tintc__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-tintc__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-tintc__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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