/* style/tintc.css */
.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);
}

.page-tintc__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-tintc__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.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 */
  border-bottom: 2px solid #3A2A12;
}

.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;
  border: 1px solid #3A2A12;
}

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

.page-tintc__hero-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  line-height: 1.2;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-tintc__hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-tintc__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E;
}

.page-tintc__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tintc__featured-news .page-tintc__section-title,
.page-tintc__featured-news .page-tintc__section-description {
  color: #333333;
}

.page-tintc__latest-news .page-tintc__section-title,
.page-tintc__latest-news .page-tintc__section-description {
  color: #FFF6D6;
}

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

.page-tintc__news-card {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
}

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

.page-tintc__card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.page-tintc__news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #3A2A12;
}

.page-tintc__card-content {
  padding: 20px;
  color: #FFF6D6;
}

.page-tintc__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B;
  line-height: 1.3;
}

.page-tintc__card-date {
  font-size: 14px;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-tintc__card-summary {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-tintc__read-more {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #FFD36B;
  font-size: 16px;
}

.page-tintc__read-more svg {
  margin-left: 8px;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-tintc__card-link:hover .page-tintc__read-more svg {
  transform: translateX(5px);
}

.page-tintc__latest-news {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-tintc__list-item {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
}

.page-tintc__list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.page-tintc__item-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 15px;
}

.page-tintc__list-item img {
  
  
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  flex-shrink: 0;
  border: 1px solid #3A2A12;
}

.page-tintc__item-content {
  flex-grow: 1;
  color: #FFF6D6;
}

.page-tintc__item-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #FFD36B;
  line-height: 1.3;
}

.page-tintc__item-date {
  font-size: 14px;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-tintc__item-summary {
  font-size: 15px;
  color: #FFF6D6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.page-tintc__cta-section {
  padding: 80px 20px;
  text-align: center;
  border-top: 2px solid #3A2A12;
}

.page-tintc__cta-section .page-tintc__section-title {
  color: #333333;
}

.page-tintc__cta-section .page-tintc__section-description {
  color: #555555;
}

.page-tintc__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

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

.page-tintc__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  margin-left: 20px;
}

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

.page-tintc__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-tintc__news-card img {
    
  }
  .page-tintc__list-item img {
    
    
  }
}

@media (max-width: 768px) {
  .page-tintc h1 {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-tintc__hero-content p {
    font-size: 16px;
  }
  .page-tintc__section-title {
    font-size: 28px;
  }
  .page-tintc__section-description {
    font-size: 16px;
  }
  .page-tintc__news-grid {
    grid-template-columns: 1fr;
  }
  .page-tintc__news-card img {
    height: 220px;
  }
  .page-tintc__list-item {
    flex-direction: column;
    text-align: center;
  }
  .page-tintc__item-link {
    flex-direction: column;
    padding: 20px 15px;
  }
  .page-tintc__list-item img {
    width: 100%;
    height: 200px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-tintc__item-title {
    font-size: 18px;
  }
  .page-tintc__item-summary {
    font-size: 14px;
  }
  .page-tintc__cta-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-left: 15px;
    padding-right: 15px;
  }
  .page-tintc__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-tintc__button-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tintc__hero-section,
  .page-tintc__featured-news,
  .page-tintc__latest-news,
  .page-tintc__cta-section,
  .page-tintc__container {
    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;
    padding-bottom: 40px;
  }
  .page-tintc__news-card img,
  .page-tintc__list-item img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}