/* style/tintc.css */

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

/* Ensure proper spacing for the main content due to fixed header */
.page-tintc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #08160F;
  overflow: hidden;
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-tintc__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.page-tintc__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-tintc__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background-color: transparent;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2AD16F; /* Border color */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-tintc__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main */
}

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

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

.page-tintc__latest-news {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-tintc__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  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 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__card-image {
  width: 100%;
  height: 220px;
  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.3rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-tintc__card-title a:hover {
  color: #2AD16F;
}

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

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

.page-tintc__card-link {
  display: inline-block;
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tintc__card-link:hover {
  color: #F2FFF6;
}

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

.page-tintc__why-follow {
  padding: 80px 0;
  background-color: #11A84E; /* Main color */
  color: #F2FFF6; /* Text Main */
}

.page-tintc__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  padding: 80px 0;
}

.page-tintc__content-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.page-tintc__content-block p {
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-tintc__content-block a {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-tintc__content-block a:hover {
  color: #F2FFF6;
}

.page-tintc__faq-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

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

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  border-bottom: 1px solid #1E3A2A; /* Divider */
  transition: background-color 0.3s ease;
}

.page-tintc__faq-question:hover {
  background-color: #1E3A2A;
}

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

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #2AD16F;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  content: '−';
}

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

.page-tintc__faq-item summary::-webkit-details-marker, 
.page-tintc__faq-item summary::marker {
  display: none;
}

.page-tintc__cta-section {
  padding: 80px 0;
  background-color: #0A4B2C;
  text-align: center;
}

.page-tintc__cta-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

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

  .page-tintc__hero-content {
    padding: 20px 15px;
  }

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

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

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-tintc__container {
    padding: 0 15px;
  }

  .page-tintc__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-tintc__latest-news,
  .page-tintc__why-follow,
  .page-tintc__faq-section,
  .page-tintc__cta-section {
    padding: 50px 0;
  }

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

  .page-tintc__card-title {
    font-size: 1.15rem;
  }

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

  .page-tintc__content-block {
    font-size: 1rem;
  }

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

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

  /* Mobile image responsiveness */
  .page-tintc img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__hero-section,
  .page-tintc__latest-news,
  .page-tintc__why-follow,
  .page-tintc__faq-section,
  .page-tintc__cta-section,
  .page-tintc__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tintc__hero-section,
  .page-tintc__latest-news,
  .page-tintc__why-follow,
  .page-tintc__faq-section,
  .page-tintc__cta-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-tintc__content-block p {
    padding: 0 15px;
  }
}