/* style/tintc.css */
.page-tintc {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body padding-top handles main offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-tintc__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-tintc__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tintc__hero-description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-tintc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-tintc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-tintc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-tintc__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Brighter green from gradient */
  border: 2px solid #2AD16F;
}

.page-tintc__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

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

.page-tintc__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: 700;
}

/* Latest News Section */
.page-tintc__latest-news-section {
  padding-bottom: 80px;
}

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

.page-tintc__news-card {
  background-color: #11271B; /* 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;
}

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

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

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

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

.page-tintc__news-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__news-meta {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-tintc__news-summary {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-tintc__read-more {
  display: inline-block;
  color: #2AD16F;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #2AD16F;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-tintc__read-more:hover {
  color: #57E38D; /* Glow */
  border-color: #57E38D;
}

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

/* Featured News Section */
.page-tintc__featured-news-section {
  padding-bottom: 80px;
}

.page-tintc__featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-tintc__featured-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-tintc__featured-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.page-tintc__featured-content {
  padding: 30px;
}

.page-tintc__featured-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__featured-summary {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

/* About wibet chính thức Section */
.page-tintc__about-wibet-section {
  padding-bottom: 100px;
}

.page-tintc__about-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 25px auto;
}

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

/* Responsive Styles */
@media (min-width: 769px) {
  .page-tintc__featured-item {
    flex-direction: row;
  }

  .page-tintc__featured-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-tintc__featured-image {
    width: 50%;
    height: auto;
  }

  .page-tintc__featured-content {
    width: 50%;
  }
}

@media (max-width: 1024px) {
  .page-tintc__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-tintc__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

  .page-tintc__hero-description {
    font-size: 1rem;
  }

  /* 按钮与按钮容器 */
  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary,
  .page-tintc a[class*="button"],
  .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: 20px !important;
    padding-right: 20px !important;
  }

  /* 通用图片与容器 */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tintc__container,
  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 其他内容模块 */
  .page-tintc__section-title {
    font-size: 2rem;
    padding-top: 40px;
    margin-bottom: 30px;
  }

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

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

  .page-tintc__news-title {
    font-size: 1.2rem;
  }

  .page-tintc__news-summary {
    font-size: 0.95rem;
  }

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

  .page-tintc__featured-image {
    width: 100%;
    height: 250px;
  }

  .page-tintc__featured-content {
    width: 100%;
    padding: 20px;
  }

  .page-tintc__featured-title {
    font-size: 1.4rem;
  }

  .page-tintc__featured-summary {
    font-size: 1rem;
  }

  .page-tintc__about-text {
    font-size: 1rem;
  }

  body, html {
    overflow-x: hidden;
  }
}