.page-tintc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default to light text for dark background */
  background-color: var(--bg, #08160F); /* Default to dark background */
}

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

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--background, #08160F);
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-tintc__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  color: var(--text-main, #F2FFF6);
}

.page-tintc__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-tintc__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-tintc__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Sections */
.page-tintc__latest-news-section,
.page-tintc__featured-news-section,
.page-tintc__promotions-news-section,
.page-tintc__faq-section,
.page-tintc__cta-section {
  padding: 60px 0;
}

.page-tintc__dark-section {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-tintc__light-bg {
  color: var(--text-main, #F2FFF6);
}

.page-tintc__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section for contrast */
}

.page-tintc__dark-section .page-tintc__section-title {
  color: var(--text-main, #F2FFF6);
}

.page-tintc__featured-news-section .page-tintc__section-title, 
.page-tintc__faq-section .page-tintc__section-title {
  color: var(--deep-green, #0A4B2C); /* Assuming these sections might have a lighter background, using deep green for contrast */
}

.page-tintc__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary, #A7D9B8);
}

/* News Grid */
.page-tintc__news-grid,
.page-tintc__featured-grid,
.page-tintc__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-tintc__news-card,
.page-tintc__featured-card,
.page-tintc__promo-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main, #F2FFF6);
}

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

.page-tintc__news-image-wrapper,
.page-tintc__featured-image-wrapper,
.page-tintc__promo-image-wrapper {
  width: 100%;
  height: 225px; /* Fixed height for consistent card images */
  overflow: hidden;
}

.page-tintc__featured-image-wrapper {
  height: 375px;
}

.page-tintc__promo-image-wrapper {
  height: 200px;
}

.page-tintc__news-image,
.page-tintc__featured-image,
.page-tintc__promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

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

.page-tintc__news-date {
  font-size: 0.9em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 10px;
}

.page-tintc__news-title,
.page-tintc__featured-title,
.page-tintc__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.page-tintc__news-title a,
.page-tintc__featured-title a,
.page-tintc__promo-title a {
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__news-title a:hover,
.page-tintc__featured-title a:hover,
.page-tintc__promo-title a:hover {
  color: var(--glow, #57E38D);
}

.page-tintc__news-excerpt,
.page-tintc__featured-excerpt,
.page-tintc__promo-excerpt {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-tintc__read-more-button,
.page-tintc__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--deep-green, #0A4B2C);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9em;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-tintc__read-more-button:hover,
.page-tintc__promo-button:hover {
  background-color: var(--main-color, #11A84E);
}

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

.page-tintc__view-all-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__view-all-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-tintc__faq-section {
  background-color: #ffffff; /* Lighter background for FAQ for contrast */
  color: #333333;
}

.page-tintc__faq-section .page-tintc__section-title {
  color: #0A4B2C;
}

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

.page-tintc__faq-item {
  background-color: #f9f9f9;
  border: 1px solid var(--border, #2E7A4E); /* Using border color for consistency */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--main-color, #11A84E);
}

.page-tintc__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #f9f9f9;
}

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

.page-tintc__faq-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--main-color, #11A84E);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-tintc__faq-button:hover {
  background-color: var(--deep-green, #0A4B2C);
}

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

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-tintc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: var(--glow, #57E38D);
  border: 2px solid var(--glow, #57E38D);
}

.page-tintc__btn-secondary:hover {
  background-color: var(--glow, #57E38D);
  color: var(--background, #08160F);
  transform: translateY(-2px);
}

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

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

  .page-tintc__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-tintc__hero-section,
  .page-tintc__latest-news-section,
  .page-tintc__featured-news-section,
  .page-tintc__promotions-news-section,
  .page-tintc__faq-section,
  .page-tintc__cta-section {
    padding: 40px 0;
  }

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

  .page-tintc__hero-image-wrapper {
    max-height: 400px;
  }

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

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

  /* Image wrappers/containers */
  .page-tintc__news-image-wrapper,
  .page-tintc__featured-image-wrapper,
  .page-tintc__promo-image-wrapper {
    width: 100% !important;
    height: auto !important; /* Allow height to adjust for smaller screens */
    max-height: 250px !important; /* Cap max height for mobile */
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Content sections/cards */
  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__news-card,
  .page-tintc__featured-card,
  .page-tintc__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-tintc__news-content,
  .page-tintc__featured-content,
  .page-tintc__promo-content {
    padding: 20px;
  }

  /* Buttons */
  .page-tintc__cta-button,
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary,
  .page-tintc a[class*="button"],
  .page-tintc a[class*="btn"],
  .page-tintc__faq-button {
    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-bottom: 10px; /* Add margin between stacked buttons */
  }

  .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-direction: column !important;
    gap: 10px;
  }

  .page-tintc__view-all-button-container {
    padding: 0 15px;
  }

  .page-tintc__view-all-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

@media (max-width: 480px) {
  .page-tintc__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-tintc__section-title {
    font-size: clamp(1.4em, 5vw, 2em);
  }

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

  .page-tintc__cta-button {
    padding: 12px 20px;
  }
}