/* 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: #0D0E12; /* Màu nền chính của trang */
  color: #FFF3E6; /* Màu chữ chính cho nền tối */
  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; /* Chỉ một khoảng cách nhỏ */
  min-height: 400px;
  overflow: hidden;
}

.page-tintc__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
}

.page-tintc__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFF3E6;
  padding: 40px 20px;
  max-width: 800px;
  background: rgba(13, 14, 18, 0.6); /* Nền tối nhẹ để chữ nổi bật */
  border-radius: 10px;
}

.page-tintc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFA53A;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
}

.page-tintc__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-tintc__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-tintc__cta-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-tintc__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 50px;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.4);
}

.page-tintc__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF3E6;
}

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

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

.page-tintc__news-card {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C; /* Border color */
}

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

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

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

.page-tintc__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-tintc__card-title a {
  color: #FFA53A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
  color: #FFB04D; /* Glow */
}

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

.page-tintc__card-excerpt {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-tintc__read-more {
  color: #FF8C1A;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

.page-tintc__view-all-button {
  min-width: 200px;
}

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

.page-tintc__featured-main {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
}

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

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

.page-tintc__featured-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-tintc__featured-title a {
  color: #FFA53A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__featured-title a:hover {
  color: #FFB04D;
}

.page-tintc__featured-meta {
  font-size: 0.95rem;
  color: #A84F0C;
  margin-bottom: 20px;
}

.page-tintc__featured-excerpt {
  font-size: 1.05rem;
  color: #FFF3E6;
  margin-bottom: 25px;
}

.page-tintc__featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-tintc__sidebar-card {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-tintc__sidebar-content {
  padding: 15px;
  flex-grow: 1;
}

.page-tintc__sidebar-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.page-tintc__sidebar-title a {
  color: #FFA53A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__sidebar-title a:hover {
  color: #FFB04D;
}

.page-tintc__sidebar-meta {
  font-size: 0.85rem;
  color: #A84F0C;
}

.page-tintc__sidebar-excerpt {
  font-size: 0.95rem;
  color: #FFF3E6;
  margin-top: 10px;
}

.page-tintc__in-depth-report-section {
  background-color: #17191F;
  padding: 60px 0;
  border-top: 1px solid #A84F0C;
  border-bottom: 1px solid #A84F0C;
}

.page-tintc__report-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #FFF3E6;
  text-align: justify;
}

.page-tintc__faq-section {
  padding: 60px 0;
}

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

.page-tintc__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFA53A;
  cursor: pointer;
  background-color: #17191F;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
  background-color: #0D0E12;
  border-bottom-color: #A84F0C;
}

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

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

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #FF8C1A;
  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;
  font-size: 1rem;
  color: #FFF3E6;
  line-height: 1.7;
}

.page-tintc__cta-bottom-section {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(90deg, rgba(13,14,18,0.8) 0%, rgba(255,140,26,0.2) 50%, rgba(13,14,18,0.8) 100%);
  border-top: 1px solid #A84F0C;
}

.page-tintc__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-tintc__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #FFA53A;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
}

.page-tintc__cta-description {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 30px;
}

/* Các quy tắc responsive */
@media (max-width: 1024px) {
  .page-tintc__featured-grid {
    grid-template-columns: 1fr;
  }
  .page-tintc__featured-image {
    height: 300px;
  }
}

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

  .page-tintc__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tintc__hero-content {
    padding: 30px 15px;
  }

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

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

  .page-tintc__cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-tintc__section-title, .page-tintc__cta-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-tintc__section-description, .page-tintc__cta-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-tintc__news-grid {
    gap: 20px;
  }

  .page-tintc__news-card {
    margin-bottom: 0;
  }

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

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

  .page-tintc__card-excerpt {
    font-size: 0.95rem;
  }

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

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

  .page-tintc__sidebar-image {
    height: 150px;
  }

  .page-tintc__sidebar-title {
    font-size: 1rem;
  }

  .page-tintc__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-tintc__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .page-tintc__latest-news-section, .page-tintc__featured-news-section, .page-tintc__in-depth-report-section, .page-tintc__faq-section, .page-tintc__cta-bottom-section {
    padding: 30px 0;
  }

  /* Responsive images */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Responsive containers for images/buttons/videos */
  .page-tintc__section, .page-tintc__card, .page-tintc__container,
  .page-tintc__cta-buttons, .page-tintc__button-group, .page-tintc__btn-container,
  .page-tintc__video-section, .page-tintc__video-container, .page-tintc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Specific for video section padding */
  .page-tintc__video-section {
    padding-top: 10px !important;
  }

  /* Multiple buttons in mobile */
  .page-tintc__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}