/* style/tintc.css */

/* Variables for colors */
:root {
  --page-tintc-bg-color: #08160F;
  --page-tintc-card-bg: #11271B;
  --page-tintc-text-main: #F2FFF6;
  --page-tintc-text-secondary: #A7D9B8;
  --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.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: 80px 20px;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  background-color: var(--page-tintc-bg-color);
}

.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.3; /* Subtle overlay for text readability */
}

.page-tintc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-tintc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--page-tintc-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-tintc__description {
  font-size: 1.1rem;
  color: var(--page-tintc-text-main);
  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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary {
  background: var(--page-tintc-btn-gradient);
  color: #ffffff; /* As per rule, button text always white */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-tintc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-tintc__btn-secondary {
  background: transparent;
  color: var(--page-tintc-gold-color);
  border: 2px solid var(--page-tintc-gold-color);
}

.page-tintc__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
}

.page-tintc__section-title {
  font-size: 2.2rem;
  color: var(--page-tintc-gold-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-tintc__featured-news-section,
.page-tintc__latest-news-section,
.page-tintc__categories-section,
.page-tintc__faq-section,
.page-tintc__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--page-tintc-bg-color);
}

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

.page-tintc__news-card {
  background-color: var(--page-tintc-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 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(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-tintc__news-image-wrapper {
  width: 100%;
  height: 200px;
  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;
}

.page-tintc__news-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.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-meta {
  font-size: 0.9rem;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 15px;
}

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

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

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

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

.page-tintc__list-item {
  display: flex;
  background-color: var(--page-tintc-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-tintc-divider-color);
}

.page-tintc__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.page-tintc__list-image-wrapper {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  overflow: hidden;
}

.page-tintc__list-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-tintc__list-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}

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

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

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

.page-tintc__list-excerpt {
  font-size: 0.95rem;
  color: var(--page-tintc-text-secondary);
}

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

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

.page-tintc__category-card {
  background-color: var(--page-tintc-card-bg);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: var(--page-tintc-text-main);
  padding-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-tintc-divider-color);
}

.page-tintc__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.page-tintc__category-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-tintc__category-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-tintc-text-main);
}

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

.page-tintc__faq-item {
  background-color: var(--page-tintc-card-bg);
  border-radius: 10px;
  border: 1px solid var(--page-tintc-border-color);
  padding: 0 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-tintc-text-main);
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--page-tintc-text-main);
}

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

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--page-tintc-gold-color);
  margin-left: 15px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-tintc__news-grid {
    grid-template-columns: 1fr;
  }

  .page-tintc__list-item {
    flex-direction: column;
  }

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

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

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

@media (max-width: 768px) {
  .page-tintc__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-tintc__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

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

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-tintc__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 30px;
  }

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

  .page-tintc__news-card,
  .page-tintc__list-item,
  .page-tintc__category-card,
  .page-tintc__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  /* Image responsive rules */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Container responsive rules for images/videos/buttons */
  .page-tintc__section, .page-tintc__card, .page-tintc__container,
  .page-tintc__news-image-wrapper, .page-tintc__list-image-wrapper,
  .page-tintc__category-card, .page-tintc__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-tintc__list-image-wrapper {
    height: 180px;
  }

  .page-tintc__category-image {
    height: 100px;
  }

  .page-tintc__faq-question {
    font-size: 1rem;
  }

  .page-tintc__faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-tintc__categories-grid {
    grid-template-columns: 1fr;
  }
}