/* ===== Tin Tuc page styles ===== */
.page-tin-tuc {
  max-width: 1200px;
  margin: 0 auto;
  color: #FFF6D6;
  background-color: #0A0A0A;
}

/* HERO */
.page-tin-tuc__hero-section {
  padding: 10px 0 0;
}
.page-tin-tuc__hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  display: block;
}
.page-tin-tuc__hero-content {
  padding: 20px 16px;
  text-align: center;
  background: #111111;
  border: 1px solid #3A2A12;
}
.page-tin-tuc__hero-title {
  color: #F2C14E;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  max-width: 800px;
  margin: 0 auto 8px;
}
.page-tin-tuc__hero-desc {
  color: #D0DDE7;
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: 1rem;
}
.page-tin-tuc__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Buttons */
.page-tin-tuc__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s;
  box-sizing: border-box;
}
.page-tin-tuc__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
}
.page-tin-tuc__btn--secondary {
  background: transparent;
  border: 2px solid #F2C14E;
  color: #F2C14E;
}
.page-tin-tuc__btn--small {
  padding: 8px 20px;
  font-size: 0.9rem;
}
.page-tin-tuc__btn:hover {
  opacity: 0.9;
}

/* Section Layout */
.page-tin-tuc__featured-section,
.page-tin-tuc__latest-section,
.page-tin-tuc__promo-section,
.page-tin-tuc__faq-section {
  padding: 24px 16px;
}
.page-tin-tuc__section-title {
  color: #F2C14E;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-tin-tuc__section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.page-tin-tuc__view-all {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #3A2A12;
  padding: 8px 16px;
  border-radius: 999px;
  transition: border-color 0.3s;
}
.page-tin-tuc__view-all:hover {
  border-color: #F2C14E;
}

/* Featured Cards */
.page-tin-tuc__featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.page-tin-tuc__featured-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.page-tin-tuc__featured-card img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}
.page-tin-tuc__card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-tin-tuc__card-tag {
  background: #FFD36B;
  color: #0A0A0A;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
}
.page-tin-tuc__card-title {
  font-size: 1.1rem;
  margin: 0;
}
.page-tin-tuc__card-title a {
  color: #FFF6D6;
  text-decoration: none;
}
.page-tin-tuc__card-title a:hover {
  color: #FFD36B;
}
.page-tin-tuc__card-excerpt {
  color: #D0DDE7;
  flex: 1;
  font-size: 0.9rem;
}
.page-tin-tuc__card-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
}

/* Latest List */
.page-tin-tuc__latest-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-tin-tuc__latest-item {
  display: flex;
  gap: 20px;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 16px;
}
.page-tin-tuc__latest-item img {
  width: 280px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 8px;
}
.page-tin-tuc__latest-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.page-tin-tuc__date {
  color: #FFD36B;
  font-size: 0.85rem;
}
.page-tin-tuc__latest-title {
  font-size: 1.2rem;
  margin: 0;
}
.page-tin-tuc__latest-title a {
  color: #FFF6D6;
  text-decoration: none;
}
.page-tin-tuc__latest-title a:hover {
  color: #FFD36B;
}
.page-tin-tuc__latest-excerpt {
  color: #D0DDE7;
  flex: 1;
  margin: 0;
}

/* Promo */
.page-tin-tuc__promo-section {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 16px;
  margin: 0 16px;
  text-align: center;
}
.page-tin-tuc__promo-title {
  color: #F2C14E;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.page-tin-tuc__promo-desc {
  color: #D0DDE7;
  max-width: 600px;
  margin: 0 auto 16px;
}
.page-tin-tuc__promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* FAQ */
.page-tin-tuc__faq-section {
  max-width: 800px;
  margin: 0 auto;
}
.page-tin-tuc__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 12px;
}
.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.page-tin-tuc__faq-question::-webkit-details-marker {
  display: none;
}
.page-tin-tuc__faq-text {
  font-weight: 600;
  color: #FFF6D6;
}
.page-tin-tuc__faq-icon {
  color: #F2C14E;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.page-tin-tuc__faq-answer {
  padding: 0 16px 14px;
  color: #D0DDE7;
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-tin-tuc__featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tin-tuc__latest-item img {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .page-tin-tuc__hero-section {
    padding-top: 0;
  }
  .page-tin-tuc__hero-image img {
    aspect-ratio: 2/1;
  }
  .page-tin-tuc__hero-content {
    padding: 16px;
  }
  .page-tin-tuc__featured-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tuc__latest-item {
    flex-direction: column;
  }
  .page-tin-tuc__latest-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .page-tin-tuc__latest-content {
    align-items: stretch;
  }
  .page-tin-tuc__promo-section {
    margin: 0 8px;
  }
  .page-tin-tuc__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-tin-tuc__hero-actions,
  .page-tin-tuc__promo-actions {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-tin-tuc img {
    max-width: 100% !important;
    height: auto !important;
  }
}