.page-tin-tuc-cap-nhat-moi-nhat {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background color */
}

.page-tin-tuc-cap-nhat-moi-nhat__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-tin-tuc-cap-nhat-moi-nhat__top-section {
  background: #ffffff;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  text-align: center;
  border-bottom: 1px solid #E0E0E0;
}

.page-tin-tuc-cap-nhat-moi-nhat__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc-cap-nhat-moi-nhat__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc-cap-nhat-moi-nhat__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-tin-tuc-cap-nhat-moi-nhat__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tin-tuc-cap-nhat-moi-nhat__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-tin-tuc-cap-nhat-moi-nhat__btn--primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
}

.page-tin-tuc-cap-nhat-moi-nhat__btn--secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-tin-tuc-cap-nhat-moi-nhat__btn--secondary:hover {
  background-color: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-tin-tuc-cap-nhat-moi-nhat__article-section {
  padding: 40px 0;
}

.page-tin-tuc-cap-nhat-moi-nhat__article-wrap {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.page-tin-tuc-cap-nhat-moi-nhat__main-article-content {
  flex: 3;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-tin-tuc-cap-nhat-moi-nhat__sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-tin-tuc-cap-nhat-moi-nhat__article-heading {
  font-size: 2em;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-tin-tuc-cap-nhat-moi-nhat__sub-heading {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tin-tuc-cap-nhat-moi-nhat__main-article-content p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333;
}

.page-tin-tuc-cap-nhat-moi-nhat__main-article-content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-tin-tuc-cap-nhat-moi-nhat__main-article-content li {
  line-height: 1.6;
  margin-bottom: 8px;
  color: #333333;
}

.page-tin-tuc-cap-nhat-moi-nhat__figure {
  margin: 25px 0;
  text-align: center;
}

.page-tin-tuc-cap-nhat-moi-nhat__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.page-tin-tuc-cap-nhat-moi-nhat__figcaption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
  line-height: 1.5;
}

.page-tin-tuc-cap-nhat-moi-nhat__promo-box {
  background-color: #FF5A4F;
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

.page-tin-tuc-cap-nhat-moi-nhat__promo-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-tin-tuc-cap-nhat-moi-nhat__promo-box p {
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-tin-tuc-cap-nhat-moi-nhat__btn--promo {
  background-color: #ffffff;
  color: #E53935;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
}

.page-tin-tuc-cap-nhat-moi-nhat__btn--promo:hover {
  background-color: #f0f0f0;
  color: #E53935;
}

.page-tin-tuc-cap-nhat-moi-nhat__cta-section {
  background-color: #F5F7FA;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
  border: 1px solid #E0E0E0;
}

.page-tin-tuc-cap-nhat-moi-nhat__cta-title {
  font-size: 1.8em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-tin-tuc-cap-nhat-moi-nhat__cta-section p {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-tin-tuc-cap-nhat-moi-nhat__recent-posts {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-tin-tuc-cap-nhat-moi-nhat__sidebar-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-tin-tuc-cap-nhat-moi-nhat__post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-tin-tuc-cap-nhat-moi-nhat__post-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #E0E0E0;
  padding-bottom: 20px;
}

.page-tin-tuc-cap-nhat-moi-nhat__post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-tin-tuc-cap-nhat-moi-nhat__post-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333333;
  transition: color 0.3s ease;
}

.page-tin-tuc-cap-nhat-moi-nhat__post-link:hover {
  color: #E53935;
}

.page-tin-tuc-cap-nhat-moi-nhat__post-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
  min-width: 80px; /* Ensure minimum size */
  min-height: 80px; /* Ensure minimum size */
}

.page-tin-tuc-cap-nhat-moi-nhat__post-info {
  flex-grow: 1;
}

.page-tin-tuc-cap-nhat-moi-nhat__post-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.4;
}

.page-tin-tuc-cap-nhat-moi-nhat__post-date {
  font-size: 0.85em;
  color: #777777;
}

.page-tin-tuc-cap-nhat-moi-nhat__view-all {
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta {
  background-color: #E53935;
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta p {
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta .page-tin-tuc-cap-nhat-moi-nhat__btn--primary {
  background: #ffffff;
  color: #E53935;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
}

.page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta .page-tin-tuc-cap-nhat-moi-nhat__btn--primary:hover {
  background-color: #f0f0f0;
  color: #E53935;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tin-tuc-cap-nhat-moi-nhat__article-wrap {
    flex-direction: column;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__main-article-content {
    flex: none;
    width: 100%;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__sidebar {
    flex: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .page-tin-tuc-cap-nhat-moi-nhat__recent-posts, 
  .page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta {
    flex: 1 1 calc(50% - 10px);
    min-width: 300px; /* Ensure cards don't get too small */
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + dual CTA */
  .page-tin-tuc-cap-nhat-moi-nhat__top-section {
    padding-top: 10px !important; /* Explicitly enforce small top padding */
    padding-bottom: 30px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single column long text container */
  .page-tin-tuc-cap-nhat-moi-nhat__container {
    padding: 0 15px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__article-section {
    padding: 30px 0;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__main-article-content {
    padding: 20px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__article-heading {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__sub-heading {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__main-article-content p,
  .page-tin-tuc-cap-nhat-moi-nhat__main-article-content li {
    font-size: 0.95em;
    line-height: 1.6;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__promo-box {
    padding: 20px;
    margin: 25px 0;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__promo-title {
    font-size: 1.4em;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__cta-section {
    padding: 30px;
    margin-top: 30px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__cta-title {
    font-size: 1.5em;
  }

  /* 3. General images and figure */
  .page-tin-tuc-cap-nhat-moi-nhat img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__figure {
    margin: 20px 0;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__figcaption {
    font-size: 0.8em;
  }

  /* 4. Buttons and button containers */
  .page-tin-tuc-cap-nhat-moi-nhat__sidebar {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__recent-posts,
  .page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta {
    flex: none;
    width: 100%;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__view-all {
    width: 100%;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__post-link {
    flex-direction: row;
    align-items: center;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__post-image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    margin-right: 10px;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__post-title {
    font-size: 1em;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__post-date {
    font-size: 0.75em;
  }

  /* 5. Registration tutorial and FAQ blocks (if present, general text sizing) */
  /* (No specific tutorial/FAQ blocks in this news page, applying general text sizing) */
  .page-tin-tuc-cap-nhat-moi-nhat__sidebar-title {
    font-size: 1.3em;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta-title {
    font-size: 1.4em;
  }

  .page-tin-tuc-cap-nhat-moi-nhat__sidebar-cta p {
    font-size: 0.95em;
  }
}