/* style/tintc.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #ffffff;
  --bg-color-dark: #26A9E0; /* Using primary color for dark background sections */
  --button-login-color: #EA7C07;
}

.page-tintc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--bg-color-light); /* Body background is light */
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* body { padding-top: var(--header-offset); } handles main spacing */
  padding-top: 10px; /* Small decorative top padding */
  background-color: var(--bg-color-light);
}

.page-tintc__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-tintc__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-tintc__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

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

.page-tintc__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Clamp for responsive H1, not fixed large value */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-tintc__hero-description {
  font-size: 1.1em;
  color: var(--text-color-dark);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-tintc__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-login-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__cta-button:hover {
  background: #c76906; /* Darken #EA7C07 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-tintc__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-tintc__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-color-dark);
}

/* Intro Section */
.page-tintc__intro-section {
  padding: 60px 0;
  background-color: var(--bg-color-light);
}

/* Article Grid Section */
.page-tintc__articles-section {
  padding: 60px 0;
  background-color: var(--bg-color-light);
}

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

.page-tintc__article-card {
  background: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-tintc__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-tintc__article-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tintc__article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-tintc__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-tintc__card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-tintc__card-meta {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 15px;
}

.page-tintc__card-excerpt {
  font-size: 1em;
  color: var(--text-color-dark);
  margin-bottom: 15px;
  flex-grow: 1;
}

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

.page-tintc__read-more:hover {
  text-decoration: underline;
}

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

.page-tintc__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__view-all-button:hover {
  background: #208cb9; /* Darken #26A9E0 */
  transform: translateY(-2px);
}

/* News Archive Section (dark background) */
.page-tintc__news-archive-section {
  padding: 60px 0;
  background-color: var(--bg-color-dark);
  color: var(--text-color-light);
}

.page-tintc__news-archive-section .page-tintc__section-title {
  color: var(--text-color-light);
}

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

.page-tintc__news-item {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent light background */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tintc__news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__news-date {
  flex-shrink: 0;
  text-align: center;
  margin-right: 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 5px;
  padding: 10px 15px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-tintc__date-day {
  display: block;
  font-size: 2em;
  line-height: 1;
}

.page-tintc__date-month {
  display: block;
  font-size: 0.9em;
  text-transform: uppercase;
}
.page-tintc__date-year {
  display: block;
  font-size: 0.8em;
  color: #666;
}

.page-tintc__news-content {
  flex-grow: 1;
}

.page-tintc__news-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--text-color-light);
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__news-excerpt {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 15px;
}

.page-tintc__news-link {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__news-link:hover {
  text-decoration: underline;
  color: #e6e6e6; /* Lighten #FFFFFF */
}

/* CTA Section */
.page-tintc__cta-section {
  padding: 80px 0;
  background-color: var(--bg-color-light);
  text-align: center;
}

.page-tintc__cta-wrapper {
  background: var(--primary-color); /* Simplified background for CTA */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-tintc__cta-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
  border-radius: 12px;
}

.page-tintc__cta-content {
  position: relative;
  z-index: 2;
  color: var(--text-color-light);
  max-width: 800px;
}

.page-tintc__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tintc__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-tintc__btn-primary {
  background: var(--button-login-color);
  color: var(--text-color-light);
  display: inline-block;
  padding: 15px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}