/* ===== Tin Tức Page Styles ===== */
.page-tin-tuc {
  color: #333333;
  background: #F5F7FA;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-tin-tuc__hero-section {
  padding-top: 10px;
  padding-bottom: 20px;
  background: linear-gradient(180deg, #F5F7FA 0%, #FFFFFF 100%);
}

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

.page-tin-tuc__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.page-tin-tuc__hero-content {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 16px;
  text-align: center;
}

.page-tin-tuc__hero-title {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: #E53935;
  max-width: 800px;
  margin: 0 auto 12px;
  font-size: clamp(1.2rem, 0.8rem + 1.5vw, 2.2rem);
}

.page-tin-tuc__hero-subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Logo Grid Section */
.page-tin-tuc__logo-grid-section {
  padding: 16px 0;
}

.page-tin-tuc__logo-grid-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding: 0 16px;
}

.page-tin-tuc__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-tin-tuc__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-tin-tuc__logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.page-tin-tuc__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
}

.page-tin-tuc__logo-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: opacity 0.2s, transform 0.2s;
}

.page-tin-tuc__logo-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.page-tin-tuc__logo-item:nth-child(5) {
  grid-column: 2 / 3;
}

.page-tin-tuc__logo-item:nth-child(6) {
  grid-column: 3 / 4;
}

/* Guide Section */
.page-tin-tuc__guide-section {
  padding: 20px 0 48px;
}

.page-tin-tuc__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 24px;
}

.page-tin-tuc__guide-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 32px;
}

.page-tin-tuc__guide-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.page-tin-tuc__guide-figure {
  margin: 0 0 16px;
}

.page-tin-tuc__guide-figure img {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.page-tin-tuc__guide-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.page-tin-tuc__guide-item p {
  color: #555;
}

/* FAQ */
.page-tin-tuc__faq-item {
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #FFFFFF;
  overflow: hidden;
}

.page-tin-tuc__faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: #333;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.page-tin-tuc__faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E53935;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
}

.page-tin-tuc__faq-item p {
  padding: 0 20px 16px;
  margin: 0;
  color: #555;
}

/* Guide CTA */
.page-tin-tuc__guide-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: opacity 0.2s, transform 0.2s;
}

.page-tin-tuc__guide-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Tablet */
@media (max-width: 1024px) {
  .page-tin-tuc__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-tin-tuc__logo-item:nth-child(5),
  .page-tin-tuc__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-tin-tuc__hero-section {
    padding-top: 10px;
  }
  .page-tin-tuc__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-tin-tuc__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .page-tin-tuc__logo-item:nth-child(5),
  .page-tin-tuc__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-tin-tuc__guide-title {
    font-size: 1.4rem;
  }

  .page-tin-tuc__guide-item {
    padding: 16px;
  }

  .page-tin-tuc__guide-figure img,
  .page-tin-tuc__guide-figure {
    max-width: 100%;
    height: auto;
  }

  .page-tin-tuc__guide-cta,
  .page-tin-tuc__logo-cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }

  .page-tin-tuc img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-tin-tuc {
    max-width: 100%;
    overflow-x: hidden;
  }
}