/* ===== Page Tin Tức - ga65 ===== */
.page-tin-tuc {
  color: #1F2D3D;
  background-color: #F4F7FB;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.page-tin-tuc *,
.page-tin-tuc *::before,
.page-tin-tuc *::after {
  box-sizing: border-box;
}

.page-tin-tuc h1,
.page-tin-tuc h2,
.page-tin-tuc h3 {
  color: #2F6BFF;
  line-height: 1.25;
  margin: 0 0 12px 0;
  letter-spacing: 0.2px;
}

.page-tin-tuc h1 {
  font-weight: 800;
  max-width: 100%;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}

.page-tin-tuc h2 {
  font-weight: 700;
}

.page-tin-tuc h3 {
  font-weight: 700;
}

.page-tin-tuc p {
  margin: 0 0 12px 0;
  color: #1F2D3D;
}

.page-tin-tuc a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-tin-tuc a:hover {
  text-decoration: underline;
}

.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.page-tin-tuc__hero-section {
  width: 100%;
  padding-top: 10px;
  margin-top: 0;
  background: linear-gradient(180deg, #EAF1FF 0%, #F4F7FB 100%);
  padding-bottom: 16px;
}

.page-tin-tuc__hero-image-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-tin-tuc__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(47, 107, 255, 0.18);
}

.page-tin-tuc__hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 0 auto;
  padding: 0 16px;
}

.page-tin-tuc__hero-desc {
  font-size: 1.02rem;
  max-width: 900px;
  color: #1F2D3D;
}

.page-tin-tuc__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-tin-tuc__btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  line-height: 1.3;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-tin-tuc__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: 1px solid #2F6BFF;
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.28);
}

.page-tin-tuc__btn--primary:hover {
  text-decoration: none;
  opacity: 0.95;
  transform: translateY(-1px);
}

.page-tin-tuc__btn--secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 1px solid #D6E2FF;
}

.page-tin-tuc__btn--secondary:hover {
  text-decoration: none;
  background: #EAF1FF;
}

.page-tin-tuc__banner-section {
  max-width: 1200px;
  margin: 12px auto 0 auto;
  padding: 16px;
}

.page-tin-tuc__banner-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.page-tin-tuc__thumb-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #D6E2FF;
  background: #FFFFFF;
}

.page-tin-tuc__thumb-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.page-tin-tuc__intro-section,
.page-tin-tuc__posts-section,
.page-tin-tuc__promo-section,
.page-tin-tuc__list-section,
.page-tin-tuc__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px;
}

.page-tin-tuc__section-title {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.page-tin-tuc__section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-tin-tuc__intro-text {
  font-size: 1.02rem;
  color: #1F2D3D;
}

.page-tin-tuc__posts-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-tin-tuc__post-card {
  flex: 0 0 calc(25% - 12px);
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.08);
  scroll-snap-align: start;
  min-width: 240px;
}

.page-tin-tuc__post-link {
  display: block;
  color: #2F6BFF;
}

.page-tin-tuc__post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.page-tin-tuc__post-title {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #2F6BFF;
}

.page-tin-tuc__post-meta {
  font-size: 0.82rem;
  color: #4A5A70;
  margin-bottom: 8px;
}

.page-tin-tuc__post-excerpt {
  font-size: 0.92rem;
  color: #1F2D3D;
  margin-bottom: 0;
}

.page-tin-tuc__promo-section {
  padding-top: 12px;
}

.page-tin-tuc__promo-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.1);
}

.page-tin-tuc__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
}

.page-tin-tuc__promo-title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.page-tin-tuc__promo-text {
  color: #1F2D3D;
  margin-bottom: 16px;
}

.page-tin-tuc__list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.page-tin-tuc__list-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.08);
}

.page-tin-tuc__list-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.page-tin-tuc__list-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.page-tin-tuc__list-text {
  font-size: 0.94rem;
  color: #1F2D3D;
  margin-bottom: 0;
}

.page-tin-tuc__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-tin-tuc__faq-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  overflow: hidden;
}

.page-tin-tuc__faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: #FFFFFF;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #1F2D3D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.page-tin-tuc__faq-question::after {
  content: '+';
  color: #2F6BFF;
  font-size: 1.4rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.page-tin-tuc__faq-item.is-open .page-tin-tuc__faq-question::after {
  content: '−';
}

.page-tin-tuc__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 18px;
}

.page-tin-tuc__faq-item.is-open .page-tin-tuc__faq-answer {
  max-height: 500px;
  padding-bottom: 14px;
}

.page-tin-tuc__faq-answer p {
  color: #1F2D3D;
  margin: 0;
  font-size: 0.96rem;
}

.page-tin-tuc__overlay-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  border-radius: 0;
}

.page-tin-tuc__overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 0;
}

.page-tin-tuc__overlay-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 51, 0.62);
  z-index: 1;
}

.page-tin-tuc__overlay-content {
  position: relative;
  z-index: 2;
  padding: 30px 18px;
  max-width: 780px;
}

.page-tin-tuc__overlay-title {
  color: #FFFFFF;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.page-tin-tuc__overlay-text {
  color: #F4F7FB;
  margin-bottom: 18px;
}

.page-tin-tuc__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 40px 16px;
}

.page-tin-tuc__cta-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 28px rgba(47, 107, 255, 0.16);
}

.page-tin-tuc__cta-content {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.1);
}

.page-tin-tuc__cta-title {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.page-tin-tuc__cta-text {
  color: #1F2D3D;
  margin-bottom: 16px;
}

.page-tin-tuc__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

@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-top: 8px;
  }

  .page-tin-tuc__hero-image-wrap,
  .page-tin-tuc__hero-content {
    padding: 0 12px;
  }

  .page-tin-tuc__banner-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-tin-tuc__post-card {
    flex: 0 0 85%;
    min-width: 0;
  }

  .page-tin-tuc__promo-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .page-tin-tuc__list-grid {
    grid-template-columns: 1fr;
  }

  .page-tin-tuc__hero-actions,
  .page-tin-tuc__cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .page-tin-tuc__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-tin-tuc__intro-section,
  .page-tin-tuc__posts-section,
  .page-tin-tuc__promo-section,
  .page-tin-tuc__list-section,
  .page-tin-tuc__faq-section,
  .page-tin-tuc__cta-section {
    padding: 20px 12px;
  }

  .page-tin-tuc__overlay-content {
    padding: 24px 14px;
  }

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