.page-tintc {
  --main-color: #11A84E;
  --aux-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-tintc__dark-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-tintc__light-bg {
  background-color: #f0f0f0; /* A lighter background for contrast with dark section */
  color: #333333;
}

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

.page-tintc__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-tintc__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-tintc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

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

.page-tintc__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-tintc__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-tintc__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-tintc__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
  padding-top: 40px;
}

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

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

.page-tintc__news-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  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;
  color: var(--text-main);
}

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

.page-tintc__news-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__news-date {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.page-tintc__news-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

.page-tintc__news-title a:hover {
  color: var(--aux-color);
}

.page-tintc__news-summary {
  font-size: 1em;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tintc__read-more {
  display: inline-block;
  color: var(--aux-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tintc__read-more:hover {
  color: var(--main-color);
  text-decoration: underline;
}

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

.page-tintc__list-item {
  display: flex;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tintc__list-image {
  width: 250px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.page-tintc__list-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-tintc__list-date {
  font-size: 0.85em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.page-tintc__list-title {
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.page-tintc__list-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__list-title a:hover {
  color: var(--aux-color);
}

.page-tintc__list-summary {
  font-size: 0.95em;
  color: var(--text-secondary);
}

.page-tintc__button-container {
  text-align: center;
  margin-top: 40px;
}

/* Ensure contrast for light background text */
.page-tintc__light-bg .page-tintc__section-title,
.page-tintc__light-bg .page-tintc__news-title a,
.page-tintc__light-bg .page-tintc__news-summary,
.page-tintc__light-bg .page-tintc__news-date {
  color: #333333; /* Dark text for light background */
}

.page-tintc__light-bg .page-tintc__read-more {
  color: var(--main-color);
}

.page-tintc__light-bg .page-tintc__cta-button {
  background: var(--button-gradient);
  color: #ffffff;
}

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

  .page-tintc__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-tintc__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-tintc__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-tintc__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    padding-top: 20px;
  }

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

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

  .page-tintc__news-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

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

  .page-tintc__card-content {
    padding: 20px;
  }

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

  .page-tintc__list-item {
    flex-direction: column;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-tintc__list-image {
    width: 100%;
    height: 180px;
  }

  .page-tintc__list-content {
    padding: 15px;
  }

  .page-tintc__list-title {
    font-size: 1.1em;
  }

  /* Images, videos, and buttons must be responsive */
  .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__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;
  }

  .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;
  }

  .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;
    display: flex;
    flex-direction: column;
  }
}