/* styles for tin-tuc page */
.page-tin-tuc {
  background-color: #F5F7FA;
  color: #333333;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 1240px;
}

/* hero section */
.page-tin-tuc__hero {
  padding: 8px 16px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
}

.page-tin-tuc__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.page-tin-tuc__hero-content {
  margin-top: 14px;
  text-align: center;
}

.page-tin-tuc__hero-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #E53935;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto 10px;
  letter-spacing: -0.02em;
}

.page-tin-tuc__hero-description {
  font-size: 1rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}

/* promo grid */
.page-tin-tuc__promo-grid {
  padding: 32px 16px 16px;
}

.page-tin-tuc__section-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  color: #E53935;
  margin: 0 0 28px;
}

.page-tin-tuc__promo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.page-tin-tuc__promo-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.page-tin-tuc__promo-card--featured {
  border-top: 4px solid #E53935;
}

.page-tin-tuc__promo-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.page-tin-tuc__promo-content {
  padding: 16px;
  flex: 1;
}

.page-tin-tuc__promo-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-tin-tuc__promo-title a {
  color: #E53935;
  text-decoration: none;
}

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

.page-tin-tuc__promo-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.page-tin-tuc__all-promo-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-tin-tuc__all-promo-btn:hover {
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.4);
  transform: translateY(-2px);
}

/* news section */
.page-tin-tuc__news-section {
  padding: 16px 16px 32px;
}

.page-tin-tuc__news-header {
  text-align: center;
  margin-bottom: 24px;
}

.page-tin-tuc__news-description {
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.page-tin-tuc__news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.page-tin-tuc__news-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.page-tin-tuc__news-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.page-tin-tuc__news-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__news-category {
  display: inline-block;
  background: #E53935;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-tin-tuc__news-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-tin-tuc__news-title a {
  color: #333333;
  text-decoration: none;
}

.page-tin-tuc__news-title a:hover {
  color: #E53935;
}

.page-tin-tuc__news-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  flex: 1;
}

.page-tin-tuc__news-date {
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
}

.page-tin-tuc__all-news-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-tin-tuc__all-news-btn:hover {
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.4);
  transform: translateY(-2px);
}

/* guide section */
.page-tin-tuc__guide-section {
  padding: 16px 16px 48px;
}

.page-tin-tuc__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.page-tin-tuc__guide-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #E53935;
  margin: 0 0 16px;
}

.page-tin-tuc__guide-description {
  color: #555;
  max-width: 800px;
  margin: 0 auto 24px;
}

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

.page-tin-tuc__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
}

.page-tin-tuc__guide-caption {
  margin-top: 12px;
}

.page-tin-tuc__guide-caption a {
  color: #E53935;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.page-tin-tuc__guide-caption a:hover {
  border-bottom-color: #E53935;
}

@media (max-width: 1024px) {
  .page-tin-tuc__promo-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-tin-tuc__hero {
    padding: 8px 12px 0;
  }

  .page-tin-tuc__hero-image {
    aspect-ratio: 2/1;
  }

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

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

  .page-tin-tuc__promo-image,
  .page-tin-tuc__news-image,
  .page-tin-tuc__guide-image {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-tin-tuc__hero-content {
    text-align: left;
  }
}