/* ===== Tin Tức Page Styles ===== */
.page-tin-tuc {
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ===== Hero Section ===== */
.page-tin-tuc__hero-section {
  padding-top: 10px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.page-tin-tuc__hero-image {
  margin: 0 0 20px;
  max-width: 1020px;
  width: 100%;
  box-sizing: border-box;
}

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

.page-tin-tuc__hero-content {
  max-width: 1020px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 0 16px;
}

.page-tin-tuc__main-title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #F3C54D;
  max-width: 850px;
  margin: 0 auto 12px;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.page-tin-tuc__hero-desc {
  color: #FFF1E8;
  max-width: 850px;
  margin: 0 auto 24px;
  opacity: 0.85;
}

.page-tin-tuc__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-tin-tuc__btn-register,
.page-tin-tuc__btn-promo {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
}

.page-tin-tuc__btn-register {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border: 2px solid #F3C54D;
}

.page-tin-tuc__btn-register:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(243, 197, 77, 0.3);
}

.page-tin-tuc__btn-promo {
  background: transparent;
  color: #FFF1E8;
  border: 2px solid #6A1E1E;
}

.page-tin-tuc__btn-promo:hover {
  border-color: #F3C54D;
  color: #F3C54D;
}

/* ===== Latest News Section ===== */
.page-tin-tuc__latest-news {
  padding: 30px 16px;
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-tin-tuc__section-header {
  text-align: center;
  margin-bottom: 28px;
}

.page-tin-tuc__section-title {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-tin-tuc__section-subtitle {
  color: #FFF1E8;
  opacity: 0.8;
  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-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.page-tin-tuc__news-card:hover {
  border-color: #F3C54D;
}

.page-tin-tuc__news-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid #7E0D0D;
}

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

.page-tin-tuc__news-date {
  font-size: 0.85rem;
  color: #F3C54D;
  margin-bottom: 8px;
  opacity: 0.9;
}

.page-tin-tuc__news-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #FFF1E8;
}

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

.page-tin-tuc__news-title a:hover {
  color: #F3C54D;
  text-decoration: underline;
}

.page-tin-tuc__news-excerpt {
  font-size: 0.9rem;
  color: #FFF1E8;
  opacity: 0.75;
  line-height: 1.5;
  margin-top: auto;
}

.page-tin-tuc__news-actions {
  text-align: center;
}

.page-tin-tuc__btn-viewall {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: transform 0.2s ease;
}

.page-tin-tuc__btn-viewall:hover {
  transform: scale(1.02);
}

/* ===== Guide Section ===== */
.page-tin-tuc__guide-section {
  background-color: #2A1212;
  padding: 30px 0;
  border-top: 2px solid #6A1E1E;
  border-bottom: 2px solid #6A1E1E;
}

.page-tin-tuc__guide-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-tin-tuc__guide-title {
  text-align: center;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 8px;
}

.page-tin-tuc__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.page-tin-tuc__guide-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background-color: #1F0F0F;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  padding: 16px;
  box-sizing: border-box;
}

.page-tin-tuc__guide-figure {
  margin: 0;
  flex-shrink: 0;
  width: 45%;
  box-sizing: border-box;
}

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

.page-tin-tuc__guide-content {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.page-tin-tuc__guide-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  font-size: 1.2rem;
  font-weight: 800;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 8px;
  border: 2px solid #F3C54D;
}

.page-tin-tuc__guide-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFF1E8;
  margin-bottom: 8px;
}

.page-tin-tuc__guide-text {
  font-size: 0.95rem;
  color: #FFF1E8;
  opacity: 0.8;
  margin-bottom: 12px;
}

.page-tin-tuc__btn-guide {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: transform 0.2s ease;
}

.page-tin-tuc__btn-guide:hover {
  transform: scale(1.02);
}

/* ===== Partner Section ===== */
.page-tin-tuc__partner-section {
  padding: 30px 16px 40px;
  max-width: 1020px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-tin-tuc__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  box-sizing: border-box;
}

.page-tin-tuc__logo-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 8px;
  background-color: #1F0F0F;
  border: 1px solid #6A1E1E;
  padding: 8px;
  box-sizing: border-box;
}

.page-tin-tuc__logo-cta {
  padding: 10px 22px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: transform 0.2s ease;
}

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

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

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

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .page-tin-tuc {
    overflow-x: hidden;
  }

  .page-tin-tuc__hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .page-tin-tuc__hero-image {
    margin-bottom: 16px;
  }

  .page-tin-tuc__hero-image img {
    aspect-ratio: 2 / 1;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .page-tin-tuc__main-title {
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  }

  .page-tin-tuc__hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    overflow: hidden;
  }

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

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

  .page-tin-tuc__guide-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-tin-tuc__guide-figure {
    width: 100%;
    max-width: 100%;
  }

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

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

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

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