:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --section-bg: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
}

.page-tintc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--page-bg, #f8f8f8); /* Inherit from shared, fallback to light grey */
}

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

/* Hero Section */
.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, header offset handled by body */
  background-color: var(--section-bg); /* Use custom background color */
  color: var(--text-main); /* Ensure text color contrasts with section-bg */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-tintc__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-tintc__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-tintc__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-tintc__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-tintc__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-main); /* Ensure contrast */
}

.page-tintc__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main); /* Ensure contrast */
}

.page-tintc__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient); /* Use custom button gradient */
  color: #000000; /* Text color for gold gradient buttons */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color); /* Custom border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tintc__cta-button:hover {
  background: linear-gradient(180deg, #FFE082 0%, #FFC107 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* News List Section */
.page-tintc__news-list-section {
  padding: 80px 0;
  background-color: var(--page-bg, #f8f8f8); /* Inherit from shared */
}

.page-tintc__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--deep-red-color); /* Use custom deep red for titles */
}

.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); /* Use custom card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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.15);
}

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

.page-tintc__news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.page-tintc__news-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-main); /* Ensure text color contrasts with card-bg */
}

.page-tintc__news-card-date {
  font-size: 0.9em;
  color: #FFCC66; /* Use custom glow color for date */
  margin-bottom: 10px;
}

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

.page-tintc__news-card-title a {
  color: var(--text-main); /* Ensure link color contrasts with card-bg */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__news-card-title a:hover {
  color: var(--gold-color); /* Use custom gold color on hover */
}

.page-tintc__news-card-excerpt {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-main); /* Ensure text color contrasts with card-bg */
}

.page-tintc__news-card-readmore {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--gold-color); /* Use custom gold color for read more button */
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-tintc__news-card-readmore:hover {
  background-color: #FFCC66; /* Use glow color on hover */
}

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

.page-tintc__view-all-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tintc__view-all-button:hover {
  background: linear-gradient(180deg, #FFE082 0%, #FFC107 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.page-tintc__cta-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Use primary color for CTA background */
  text-align: center;
  color: var(--text-main); /* Ensure text color contrasts with primary-color */
}

.page-tintc__cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-tintc__cta-description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main);
}

.page-tintc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-tintc__btn-primary {
  background: var(--button-gradient);
  color: #000000;
  border: 2px solid var(--border-color);
}

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

.page-tintc__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-tintc__btn-secondary:hover {
  background-color: #f0f0f0;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-tintc__faq-section {
  padding: 80px 0;
  background-color: var(--page-bg, #f8f8f8); /* Inherit from shared */
}

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

details.page-tintc__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color); /* Use custom border color */
  overflow: hidden;
  background: #fff; /* White background for FAQ items for readability */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
details.page-tintc__faq-item summary.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #333333; /* Dark text for question */
}
details.page-tintc__faq-item summary.page-tintc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tintc__faq-item summary.page-tintc__faq-question:hover {
  background: #f5f5f5;
}
.page-tintc__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-tintc__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Use primary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tintc__faq-item .page-tintc__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9; /* Light grey background for answer */
  border-radius: 0 0 5px 5px;
  color: #555555; /* Slightly lighter text for answer */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-tintc__container,
  .page-tintc__hero-section,
  .page-tintc__news-list-section,
  .page-tintc__cta-section,
  .page-tintc__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tintc__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 40px;
  }

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

  .page-tintc__description {
    font-size: 1em;
  }

  .page-tintc__cta-button,
  .page-tintc__view-all-button,
  .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 20px;
    font-size: 16px;
  }
  
  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

  details.page-tintc__faq-item summary.page-tintc__faq-question {
    padding: 15px;
  }
  .page-tintc__faq-qtext {
    font-size: 1em;
  }
  details.page-tintc__faq-item .page-tintc__faq-answer {
    padding: 0 15px 15px;
  }
}