/* style/tintc.css */

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

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

.page-tintc__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-tintc__paragraph {
  font-size: 1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 1em;
  text-align: justify;
}

/* --- Buttons --- */
.page-tintc__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.page-tintc__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 8px;
  background-color: transparent;
  border: 2px solid #2AD16F;
  color: #2AD16F;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
}

/* --- Hero Section --- */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden; /* Ensure content doesn't bleed */
}

.page-tintc__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place behind content */
  overflow: hidden;
}

.page-tintc__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area */
  filter: brightness(0.4); /* Darken image for text contrast, no color change filter */
}

.page-tintc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 50px; /* Adjust based on image and header */
}

.page-tintc__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 */
  font-weight: 900;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.page-tintc__hero-description {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Introduction Section --- */
.page-tintc__introduction-section {
  background-color: #11271B; /* Card BG */
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-tintc__introduction-section .page-tintc__section-title {
  color: #F2FFF6; /* Text Main */
  font-size: 2em;
  margin-bottom: 30px;
}

.page-tintc__introduction-section .page-tintc__section-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
  margin-bottom: 30px;
}

/* --- Latest News Section --- */
.page-tintc__latest-news-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

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

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

.page-tintc__news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block; /* Ensure no extra space below image */
}

.page-tintc__news-card:hover .page-tintc__news-image {
  transform: scale(1.05);
}

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

.page-tintc__news-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1; /* Allow title to take space */
}

.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; /* Primary color */
}

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

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

.page-tintc__read-more-btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  background-color: #22C768; /* Auxiliary color */
  color: #ffffff;
  font-size: 0.9em;
  text-decoration: none;
  transition: background-color 0.3s ease;
  align-self: flex-start; /* Align to start of flex container */
}

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

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

/* --- Featured Updates Section --- */
.page-tintc__featured-updates-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-tintc__feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-tintc__feature-item:last-child {
  margin-bottom: 0;
}

.page-tintc__feature-item--reverse {
  flex-direction: row-reverse;
}

.page-tintc__feature-content {
  flex: 1;
}

.page-tintc__feature-image-wrapper {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tintc__feature-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-tintc__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-tintc__feature-text {
  font-size: 1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-tintc__read-more-link {
  color: #2AD16F; /* Primary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tintc__read-more-link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

/* --- FAQ Section --- */
.page-tintc__faq-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-tintc__faq-list {
  margin-top: 40px;
}

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

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

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

.page-tintc__faq-item summary:hover {
  background-color: rgba(42, 209, 111, 0.1); /* Light hover effect */
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-tintc__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-tintc__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #2AD16F; /* Primary color */
  transition: transform 0.3s ease;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  content: '−'; /* Directly change content */
  transform: none; /* No rotation */
}


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

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

.page-tintc__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-tintc__faq-answer a:hover {
  color: #F2C14E;
}


/* --- CTA Section --- */
.page-tintc__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-tintc__cta-section .page-tintc__section-title {
  color: #F2C14E; /* Gold */
}

.page-tintc__cta-section .page-tintc__section-description {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

.page-tintc__btn-cta {
  font-size: 1.3em;
  padding: 15px 40px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-tintc__hero-content {
    padding: 15px;
  }

  .page-tintc__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }

  .page-tintc__hero-description {
    font-size: 1.1em;
  }

  .page-tintc__feature-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 20px;
  }

  .page-tintc__feature-item--reverse {
    flex-direction: column; /* Reset order for small screens */
  }

  .page-tintc__feature-content,
  .page-tintc__feature-image-wrapper {
    flex: none; /* Remove flex sizing */
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-tintc__section-title {
    font-size: 2em;
  }

  .page-tintc__section-description {
    font-size: 1em;
  }

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

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

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

  .page-tintc__feature-title {
    font-size: 1.5em;
  }

  /* Mobile image responsiveness */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__hero-section,
  .page-tintc__introduction-section,
  .page-tintc__latest-news-section,
  .page-tintc__featured-updates-section,
  .page-tintc__faq-section,
  .page-tintc__cta-section,
  .page-tintc__news-image-wrapper,
  .page-tintc__feature-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

  /* Mobile button responsiveness */
  .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;
  }

  /* Button groups for mobile */
  .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 {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-tintc__section-title {
    font-size: 1.8em;
  }

  .page-tintc__hero-description {
    font-size: 0.95em;
  }

  .page-tintc__btn-primary, .page-tintc__btn-secondary {
    font-size: 1em;
    padding: 10px 20px;
  }

  .page-tintc__feature-title {
    font-size: 1.3em;
  }

  .page-tintc__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

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

/* Color contrast enforcement - examples */
/* Body background is dark (#08160F), so text should be light */
.page-tintc {
  color: #F2FFF6; /* Text Main (light) */
}

/* Card backgrounds are #11271B (darker), so text inside is light */
.page-tintc__news-card,
.page-tintc__faq-item {
  color: #F2FFF6; /* Text Main (light) */
  background-color: #11271B;
}

.page-tintc__news-excerpt,
.page-tintc__news-date,
.page-tintc__faq-answer {
  color: #A7D9B8; /* Text Secondary (lighter than main but still visible) */
}

/* Deep Green sections are dark, text must be light */
.page-tintc__feature-item,
.page-tintc__cta-section {
  color: #F2FFF6; /* Text Main (light) */
  background-color: #0A4B2C; /* Deep Green */
}

.page-tintc__feature-text,
.page-tintc__cta-section .page-tintc__section-description {
  color: #F2FFF6; /* Text Main (light) */
}

/* Gold titles on dark backgrounds */
.page-tintc__section-title,
.page-tintc__feature-title,
.page-tintc__main-title {
  color: #F2C14E; /* Gold */
}

/* Links must be distinguishable */
.page-tintc__read-more-link,
.page-tintc__faq-answer a {
  color: #2AD16F; /* Primary color, good contrast on dark backgrounds */
}

/* Button text is white on gradient green, which is dark enough */
.page-tintc__btn-primary {
  color: #ffffff;
}

.page-tintc__btn-secondary {
  color: #2AD16F; /* Primary color on transparent/dark background */
}