/* ===== Trang Tin Tức VH88 - style/tin-tuc.css ===== */
.page-tin-tuc {
  color: #333333;
  background: #FFFFFF;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  line-height: 1.65;
  max-width: 100%;
  overflow-x: hidden;
}
.page-tin-tuc__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-tin-tuc h1,
.page-tin-tuc h2,
.page-tin-tuc h3 {
  color: #017439;
}

/* HERO */
.page-tin-tuc__hero-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 32px;
  box-sizing: border-box;
}
.page-tin-tuc__hero-image {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}
.page-tin-tuc__hero-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}
.page-tin-tuc__hero-content {
  width: 100%;
  box-sizing: border-box;
}
.page-tin-tuc__hero-title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 0 0 14px;
  max-width: 900px;
  color: #017439;
}
.page-tin-tuc__hero-intro {
  color: #333333;
  margin: 0 0 20px;
  max-width: 900px;
}
.page-tin-tuc__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.page-tin-tuc__btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  transition: opacity 0.2s ease;
  border: 2px solid transparent;
}
.page-tin-tuc__btn:hover { opacity: 0.9; }
.page-tin-tuc__btn--primary {
  background: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}
.page-tin-tuc__btn--secondary {
  background: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}
.page-tin-tuc__btn--outline {
  background: #FFFFFF;
  color: #017439;
  border-color: #017439;
}

/* Section headings */
.page-tin-tuc__section-heading {
  text-align: center;
  margin-bottom: 28px;
}
.page-tin-tuc__section-title {
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #017439;
}
.page-tin-tuc__section-sub {
  color: #555555;
  margin: 0 auto;
  max-width: 760px;
}
.page-tin-tuc__subheading {
  font-weight: 700;
  color: #017439;
  margin: 24px 0 10px;
}
.page-tin-tuc__paragraph {
  color: #333333;
  margin: 0 0 16px;
}
.page-tin-tuc__paragraph--center { text-align: center; }

/* Breaking */
.page-tin-tuc__breaking-section {
  padding: 40px 0;
  background: #f4faf6;
}
.page-tin-tuc__breaking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.page-tin-tuc__breaking-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(1, 116, 57, 0.08);
  border-left: 5px solid #017439;
  box-sizing: border-box;
}
.page-tin-tuc__badge {
  display: inline-block;
  background: #017439;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-tin-tuc__card-title {
  font-weight: 700;
  margin: 0 0 10px;
  color: #017439;
  line-height: 1.4;
}
.page-tin-tuc__card-link {
  color: #017439;
  text-decoration: none;
}
.page-tin-tuc__card-link:hover { text-decoration: underline; }
.page-tin-tuc__card-desc {
  color: #333333;
  margin: 0 0 12px;
}
.page-tin-tuc__date {
  display: block;
  color: #6b6b6b;
  font-size: 13px;
}

/* News list */
.page-tin-tuc__news-section {
  padding: 48px 0;
}
.page-tin-tuc__news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-tin-tuc__news-item {
  background: #FFFFFF;
  border: 1px solid #e3ece6;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.page-tin-tuc__news-thumb {
  width: 100%;
  overflow: hidden;
}
.page-tin-tuc__news-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.page-tin-tuc__news-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.page-tin-tuc__tag {
  align-self: flex-start;
  background: #e6f4ec;
  color: #017439;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 16px;
}
.page-tin-tuc__news-title {
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  color: #017439;
}
.page-tin-tuc__news-desc {
  color: #333333;
  margin: 0;
}
.page-tin-tuc__more-wrap {
  text-align: center;
  margin-top: 32px;
}

/* Topics */
.page-tin-tuc__topics-section {
  padding: 48px 0;
  background: #f4faf6;
}
.page-tin-tuc__topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.page-tin-tuc__topic-card {
  display: block;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  border: 1px solid #dbe9e1;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}
.page-tin-tuc__topic-card:hover {
  transform: translateY(-3px);
  border-color: #017439;
}
.page-tin-tuc__topic-title {
  color: #017439;
  font-weight: 700;
  margin: 0 0 8px;
}
.page-tin-tuc__topic-desc {
  color: #555555;
  margin: 0;
  font-size: 14px;
}

/* Article section */
.page-tin-tuc__article-section {
  padding: 48px 0;
}
.page-tin-tuc__article-section .page-tin-tuc__section-title {
  text-align: left;
}

/* Reading steps */
.page-tin-tuc__reading-section {
  padding: 48px 0;
  background: #f4faf6;
}
.page-tin-tuc__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.page-tin-tuc__step {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 22px;
  border-top: 4px solid #017439;
  box-sizing: border-box;
}
.page-tin-tuc__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #017439;
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 12px;
}
.page-tin-tuc__step-title {
  color: #017439;
  font-weight: 700;
  margin: 0 0 8px;
}
.page-tin-tuc__step-desc {
  color: #333333;
  margin: 0;
}

/* Safety */
.page-tin-tuc__safety-section {
  padding: 48px 0;
}
.page-tin-tuc__safety-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}
.page-tin-tuc__safety-media {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}
.page-tin-tuc__safety-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}
.page-tin-tuc__safety-body .page-tin-tuc__section-title {
  text-align: left;
}
.page-tin-tuc__list {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #333333;
}
.page-tin-tuc__list-item {
  margin-bottom: 8px;
}

/* CTA */
.page-tin-tuc__cta-section {
  padding: 48px 0;
  background: #017439;
}
.page-tin-tuc__cta-section .page-tin-tuc__section-title {
  color: #FFFFFF;
  text-align: center;
}
.page-tin-tuc__cta-section .page-tin-tuc__paragraph {
  color: #FFFFFF;
}
.page-tin-tuc__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* FAQ */
.page-tin-tuc__faq-section {
  padding: 48px 0;
}
.page-tin-tuc__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-tin-tuc__faq-item {
  border: 1px solid #dbe9e1;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
}
.page-tin-tuc__faq-question {
  width: 100%;
  text-align: left;
  background: #f4faf6;
  border: none;
  padding: 16px 20px;
  font-weight: 700;
  color: #017439;
  cursor: pointer;
  font-size: 16px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.page-tin-tuc__faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 800;
  color: #017439;
  line-height: 1;
}
.page-tin-tuc__faq-question[aria-expanded="true"]::after {
  content: '−';
}
.page-tin-tuc__faq-answer {
  display: none;
  padding: 0 20px 16px;
  color: #333333;
}
.page-tin-tuc__faq-item.is-open .page-tin-tuc__faq-answer {
  display: block;
}

/* Links */
.page-tin-tuc__links-section {
  padding: 48px 0;
  background: #f4faf6;
}
.page-tin-tuc__links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.page-tin-tuc__link-item {
  display: block;
  background: #FFFFFF;
  border: 1px solid #dbe9e1;
  border-radius: 8px;
  padding: 12px 16px;
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  box-sizing: border-box;
}
.page-tin-tuc__link-item:hover {
  background: #017439;
  color: #FFFFFF;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-tin-tuc__news-list,
  .page-tin-tuc__breaking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tin-tuc__topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tin-tuc__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-tin-tuc {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-tin-tuc img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tin-tuc__hero-section {
    padding: 10px 12px 24px;
  }
  .page-tin-tuc__hero-title {
    line-height: 1.3;
  }
  .page-tin-tuc__hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tin-tuc__btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
  }
  .page-tin-tuc__breaking-grid,
  .page-tin-tuc__news-list,
  .page-tin-tuc__topics-grid,
  .page-tin-tuc__steps,
  .page-tin-tuc__links-grid,
  .page-tin-tuc__safety-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tuc__breaking-section,
  .page-tin-tuc__news-section,
  .page-tin-tuc__topics-section,
  .page-tin-tuc__article-section,
  .page-tin-tuc__reading-section,
  .page-tin-tuc__safety-section,
  .page-tin-tuc__cta-section,
  .page-tin-tuc__faq-section,
  .page-tin-tuc__links-section {
    padding: 32px 0;
  }
  .page-tin-tuc__cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tin-tuc__section-title {
    text-align: center;
  }
  .page-tin-tuc__safety-body .page-tin-tuc__section-title,
  .page-tin-tuc__article-section .page-tin-tuc__section-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-tin-tuc__hero-section {
    padding: 8px 10px 20px;
  }
  .page-tin-tuc__news-body,
  .page-tin-tuc__breaking-card,
  .page-tin-tuc__step,
  .page-tin-tuc__topic-card {
    padding: 16px;
  }
  .page-tin-tuc__faq-question {
    padding: 14px 16px;
    font-size: 15px;
  }
}