/* style/tintc.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */
.page-tintc {
  background-color: #08160F;
  color: #F2FFF6;
  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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background-color: #08160F;
}

.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;
  opacity: 0.2; /* Slightly dim the background image */
}

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

.page-tintc__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-tintc__hero-description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-tintc__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

.page-tintc__btn-secondary {
  background: #11271B;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-tintc__btn-secondary:hover {
  background: #2E7A4E;
  color: #ffffff;
}

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

.page-tintc__intro-text {
  font-size: 1.1em;
  color: #A7D9B8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-tintc__news-list-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-tintc__news-card {
  background-color: #11271B;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  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.4);
}

.page-tintc__news-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

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

.page-tintc__news-date {
  font-size: 0.9em;
  color: #A7D9B8;
  margin-bottom: 10px;
}

.page-tintc__news-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-tintc__news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__news-title a:hover {
  color: #2AD16F;
}

.page-tintc__news-excerpt {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tintc__read-more {
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-tintc__read-more:hover {
  color: #57E38D;
}

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

.page-tintc__about-us-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  text-align: center;
}

.page-tintc__about-us-section .page-tintc__text-block {
  max-width: 900px;
  margin: 0 auto 25px auto;
  font-size: 1.1em;
  color: #A7D9B8;
}

.page-tintc__about-us-section .page-tintc__cta-buttons {
  margin-top: 40px;
}

.page-tintc__promotions-cta-section {
  padding: 80px 0;
  background-color: #08160F;
  text-align: center;
}

.page-tintc__promotions-cta-section .page-tintc__text-block {
  max-width: 900px;
  margin: 0 auto 25px auto;
  font-size: 1.1em;
  color: #A7D9B8;
}

.page-tintc__promotions-cta-section .page-tintc__cta-buttons {
  margin-top: 40px;
}

.page-tintc__faq-section {
  padding: 80px 0;
  background-color: #11271B;
  color: #F2FFF6;
}

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

.page-tintc__faq-item {
  background-color: #08160F;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #08160F;
  list-style: none;
}

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

.page-tintc__faq-qtext {
  flex-grow: 1;
}

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  transform: rotate(45deg);
}

.page-tintc__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-tintc__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-tintc {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-tintc__hero-content {
    padding: 30px 15px;
  }

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

  .page-tintc__hero-description,
  .page-tintc__intro-text,
  .page-tintc__about-us-section .page-tintc__text-block,
  .page-tintc__promotions-cta-section .page-tintc__text-block {
    font-size: 1em;
  }

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    text-align: center;
  }
  
  .page-tintc__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    padding-top: 30px;
  }

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

  .page-tintc__news-card {
    margin-left: 15px;
    margin-right: 15px;
  }

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

  .page-tintc__faq-question {
    padding: 18px 20px;
    font-size: 1.05em;
  }

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

  /* Mobile image, video, button responsive requirements */
  .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__news-card,
  .page-tintc__hero-section,
  .page-tintc__news-list-section,
  .page-tintc__about-us-section,
  .page-tintc__promotions-cta-section,
  .page-tintc__faq-section,
  .page-tintc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-tintc__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-tintc__hero-content {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-tintc__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }
}