/* style/tintc.css */
.page-tintc {
  color: var(--text-main);
  background-color: var(--background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-tintc__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top from header, this is additional */
  background-color: var(--background);
}

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

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

.page-tintc__hero-content-wrapper {
  max-width: 800px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  color: var(--text-main);
}

.page-tintc__main-title {
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-tintc__hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-tintc__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.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: 12px;
  overflow: hidden;
  box-shadow: 0 4px 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-secondary);
}

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

.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: 22px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}

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

.page-tintc__card-title a:hover {
  color: var(--primary-color);
}

.page-tintc__card-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-tintc__card-excerpt {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-tintc__read-more:hover {
  color: var(--secondary-color);
}

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

.page-tintc__category-item {
  display: block;
  padding: 15px 20px;
  background-color: var(--deep-green);
  color: var(--text-main);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
}

.page-tintc__category-item:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.page-tintc__news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-tintc__list-item {
  display: flex;
  background-color: var(--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;
  color: var(--text-secondary);
}

.page-tintc__list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-tintc__list-content {
  padding: 25px;
  flex-grow: 1;
}

.page-tintc__list-title {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.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(--primary-color);
}

.page-tintc__list-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.page-tintc__list-excerpt {
  font-size: 16px;
}

.page-tintc__video-section {
  padding: 10px 20px 60px 20px; /* body handles padding-top from header */
  background-color: var(--background);
  text-align: center;
}

.page-tintc__video-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  background-color: var(--deep-green);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.page-tintc__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-tintc__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-tintc__video-description {
  margin-top: 20px;
  font-size: 16px;
  color: var(--text-secondary);
}

.page-tintc__faq-section {
  background-color: var(--card-bg);
}

.page-tintc__faq-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-tintc__faq-item {
  background-color: var(--deep-green);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-secondary);
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-tintc__faq-item[open] > .page-tintc__faq-question {
  background-color: var(--primary-color-dark);
}

.page-tintc__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--text-main);
}

.page-tintc__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-tintc__cta-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 20px;
  background-color: var(--deep-green);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 60px;
}

.page-tintc__cta-content {
  max-width: 600px;
  text-align: left;
  color: var(--text-main);
}

.page-tintc__cta-title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-tintc__cta-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-tintc__cta-button--large {
  padding: 18px 35px;
  font-size: 18px;
  border-radius: 10px;
}

.page-tintc__cta-image-wrapper {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__cta-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-tintc__list-item {
    flex-direction: column;
  }

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

  .page-tintc__cta-section {
    flex-direction: column;
    text-align: center;
  }

  .page-tintc__cta-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-tintc__section {
    padding: 40px 15px;
  }

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

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

  .page-tintc__main-title {
    font-size: 32px;
  }

  .page-tintc__hero-description {
    font-size: 16px;
  }

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

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

  .page-tintc__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

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

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

  .page-tintc__cta-section {
    padding: 60px 15px;
  }

  .page-tintc__cta-title {
    font-size: 28px;
  }

  .page-tintc__cta-description {
    font-size: 16px;
  }

  .page-tintc__cta-image-wrapper {
    width: 100%;
  }

  /* Force responsive images */
  .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__video-container,
  .page-tintc__video-wrapper,
  .page-tintc__cta-section,
  .page-tintc__cta-content,
  .page-tintc__cta-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-tintc__video-section {
    padding-top: 10px !important;
  }
}

/* Custom colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --primary-color-dark: #0A7A3A; /* Slightly darker primary for hover/active states */
}

.page-tintc h1, .page-tintc h2, .page-tintc h3, .page-tintc h4, .page-tintc h5, .page-tintc h6 {
  color: var(--text-main);
}

.page-tintc p, .page-tintc li {
  color: var(--text-secondary);
}

.page-tintc__news-card a, .page-tintc__list-item a {
  color: var(--primary-color);
}

.page-tintc__news-card a:hover, .page-tintc__list-item a:hover {
  color: var(--secondary-color);
}