.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-tin-tuc__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-tin-tuc__section-title {
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-tin-tuc__section-title--light {
  color: #ffffff;
}

.page-tin-tuc__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-tin-tuc__section-description--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-tin-tuc__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding for header offset */
  padding-bottom: 60px;
  background-color: #F4F7FB;
  overflow: hidden;
}

.page-tin-tuc__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-tin-tuc__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
  color: #1F2D3D;
}

.page-tin-tuc__hero-title {
  font-weight: 900;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 600px;
}

.page-tin-tuc__hero-description {
  font-size: 1.15em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-tin-tuc__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-tin-tuc__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-tin-tuc__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-tin-tuc__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-tin-tuc__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF;
  border: 2px solid #2F6BFF; /* Main Color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-tin-tuc__btn-secondary:hover {
  background: #f0f5ff;
  color: #2358cc;
  border-color: #2358cc;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Latest Articles Section */
.page-tin-tuc__latest-articles-section {
  background-color: #F4F7FB;
  padding: 60px 0;
}

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

.page-tin-tuc__article-card {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-tin-tuc__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-tin-tuc__article-image-wrapper {
  height: 220px; /* Fixed height for image consistency */
  overflow: hidden;
}

.page-tin-tuc__article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-tin-tuc__article-card:hover .page-tin-tuc__article-image-wrapper img {
  transform: scale(1.05);
}

.page-tin-tuc__article-content {
  padding: 25px;
}

.page-tin-tuc__article-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-tin-tuc__article-title a {
  color: #1F2D3D; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__article-title a:hover {
  color: #2F6BFF; /* Main Color */
}

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

.page-tin-tuc__article-summary {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-tin-tuc__read-more-btn {
  display: inline-block;
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tin-tuc__read-more-btn:hover {
  color: #1e5ad7;
  text-decoration: underline;
}

.page-tin-tuc__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Categories Section */
.page-tin-tuc__categories-section {
  background-color: #2F6BFF; /* Main Color */
  padding: 60px 0;
  color: #ffffff;
}

.page-tin-tuc__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-tin-tuc__category-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: background 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-tin-tuc__category-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.page-tin-tuc__category-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-tin-tuc__category-summary {
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* FAQ Section */
.page-tin-tuc__faq-section {
  background-color: #F4F7FB;
  padding: 60px 0;
}

.page-tin-tuc__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-tin-tuc__faq-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-tin-tuc__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: #1F2D3D; /* Text Main */
  transition: background-color 0.3s ease;
}

.page-tin-tuc__faq-item summary:hover {
  background-color: #f0f5ff;
}

.page-tin-tuc__faq-item summary::-webkit-details-marker,
.page-tin-tuc__faq-item summary::marker {
  display: none;
}

.page-tin-tuc__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

.page-tin-tuc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF; /* Main Color */
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle {
  content: '−';
}

.page-tin-tuc__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #444;
  overflow: hidden;
}

/* CTA Section */
.page-tin-tuc__cta-section {
  background-color: #F4F7FB;
  padding: 80px 0;
  text-align: center;
}

.page-tin-tuc__cta-content {
  background: #ffffff; /* Card BG */
  border-radius: 15px;
  padding: 60px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #D6E2FF; /* Border */
}

.page-tin-tuc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tin-tuc__hero-container {
    gap: 30px;
    padding: 30px 16px;
  }

  .page-tin-tuc__hero-content,
  .page-tin-tuc__hero-image {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-tin-tuc__hero-title {
    max-width: none;
  }

  .page-tin-tuc__hero-cta-buttons {
    justify-content: center;
  }

  .page-tin-tuc__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-tin-tuc__category-card {
    padding: 25px;
  }

  .page-tin-tuc__faq-item summary {
    padding: 18px 20px;
  }

  .page-tin-tuc__faq-answer {
    padding: 0 20px 18px;
  }

  .page-tin-tuc__cta-content {
    padding: 50px 30px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-tin-tuc__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-tin-tuc__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }

  .page-tin-tuc__hero-content {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .page-tin-tuc__hero-title {
    font-size: 1.8em; /* Adjusted for mobile readability */
    margin-bottom: 15px;
  }

  .page-tin-tuc__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-tin-tuc__hero-image {
    width: 100%;
    box-sizing: border-box;
  }

  .page-tin-tuc__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Buttons - Mobile specific */
  .page-tin-tuc__btn-primary,
  .page-tin-tuc__btn-secondary,
  .page-tin-tuc a[class*="button"],
  .page-tin-tuc 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: 15px;
    padding-right: 15px;
  }

  .page-tin-tuc__cta-buttons,
  .page-tin-tuc__button-group,
  .page-tin-tuc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Latest Articles Section */
  .page-tin-tuc__latest-articles-section {
    padding: 40px 0;
  }

  .page-tin-tuc__container {
    padding: 20px 15px;
  }

  .page-tin-tuc__section-title {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .page-tin-tuc__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-tin-tuc__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tin-tuc__article-image-wrapper {
    height: 180px;
  }

  .page-tin-tuc__article-content {
    padding: 20px;
  }

  .page-tin-tuc__article-title {
    font-size: 1.2em;
  }

  /* Categories Section */
  .page-tin-tuc__categories-section {
    padding: 40px 0;
  }

  .page-tin-tuc__categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-tin-tuc__category-card {
    padding: 20px;
  }

  .page-tin-tuc__category-title {
    font-size: 1.1em;
  }

  /* FAQ Section */
  .page-tin-tuc__faq-section {
    padding: 40px 0;
  }

  .page-tin-tuc__faq-list {
    margin-top: 25px;
  }

  .page-tin-tuc__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-tin-tuc__faq-qtext {
    font-size: 1em;
  }

  .page-tin-tuc__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* CTA Section */
  .page-tin-tuc__cta-section {
    padding: 50px 0;
  }

  .page-tin-tuc__cta-content {
    padding: 40px 20px;
  }

  /* General Image adaptation for mobile */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__section,
  .page-tin-tuc__card,
  .page-tin-tuc__container,
  .page-tin-tuc__article-card,
  .page-tin-tuc__category-card,
  .page-tin-tuc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}