/* style/tintc.css */
:root {
  --page-tintc-bg-color: #08160F;
  --page-tintc-card-bg: #11271B;
  --page-tintc-text-main: #F2FFF6;
  --page-tintc-text-secondary: #A7D9B8;
  --page-tintc-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-tintc-border-color: #2E7A4E;
  --page-tintc-glow-color: #57E38D;
  --page-tintc-gold-color: #F2C14E;
  --page-tintc-divider-color: #1E3A2A;
  --page-tintc-deep-green: #0A4B2C;
}

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

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

.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6);
}

.page-tintc__hero-content {
  position: relative;
  z-index: 2;
  color: var(--page-tintc-text-main);
  padding: 80px 20px;
  max-width: 800px;
}

.page-tintc__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-tintc-gold-color);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-tintc__btn-primary {
  display: inline-block;
  background: var(--page-tintc-btn-gradient);
  color: var(--page-tintc-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-tintc__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__latest-news {
  padding: 60px 0;
  background-color: var(--page-tintc-bg-color);
}

.page-tintc__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--page-tintc-gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-tintc__news-card {
  background-color: var(--page-tintc-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-tintc-border-color);
}

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

.page-tintc__news-thumbnail {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

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

.page-tintc__news-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

.page-tintc__news-date {
  font-size: 0.9em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 15px;
  display: block;
}

.page-tintc__news-excerpt {
  font-size: 1em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 20px;
}

.page-tintc__read-more {
  color: var(--page-tintc-gold-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

.page-tintc__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--page-tintc-gold-color);
  border: 2px solid var(--page-tintc-gold-color);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-tintc__btn-secondary:hover {
  background-color: var(--page-tintc-gold-color);
  color: var(--page-tintc-bg-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.page-tintc__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-tintc-deep-green);
  position: relative;
  overflow: hidden;
}

.page-tintc__cta-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-tintc__cta-text {
  max-width: 700px;
}

.page-tintc__cta-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--page-tintc-gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-tintc__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-tintc__faq-section {
  padding: 60px 0;
  background-color: var(--page-tintc-bg-color);
}

.page-tintc__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--page-tintc-divider-color);
}

.page-tintc__faq-item {
  background-color: var(--page-tintc-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--page-tintc-border-color);
}

.page-tintc__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-tintc-text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--page-tintc-card-bg);
  transition: background-color 0.3s ease;
}

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

.page-tintc__faq-item summary:hover {
  background-color: var(--page-tintc-deep-green);
}

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-tintc-gold-color);
}

.page-tintc__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: var(--page-tintc-text-secondary);
  line-height: 1.6;
}

.page-tintc__contact-cta {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-tintc-deep-green);
}

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

/* General button responsiveness */
.page-tintc__btn-primary,
.page-tintc__btn-secondary,
.page-tintc a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Media Queries for Mobile */
@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-top: 10px !important;
    padding-bottom: 40px;
  }

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

  .page-tintc__main-title {
    font-size: 2.2em;
  }

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

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

  .page-tintc__news-card {
    margin-bottom: 20px;
  }

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

  .page-tintc__cta-content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

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

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

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

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

  /* Mobile button forced responsiveness */
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary,
  .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__view-all-button-container,
  .page-tintc__cta-section .page-tintc__container,
  .page-tintc__contact-cta .page-tintc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
}