.page-khuyen-mai-chao-mung {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5; /* Light background for the overall page */
}

/* Color Contrast Safeguards */
.page-khuyen-mai-chao-mung__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-khuyen-mai-chao-mung__dark-bg {
  background-color: #017439; /* Main brand color */
  color: #ffffff;
}

.page-khuyen-mai-chao-mung__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-khuyen-mai-chao-mung__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  margin-bottom: 40px;
  background-color: #017439; /* Ensure hero background is dark */
  color: #ffffff;
  overflow: hidden;
}

.page-khuyen-mai-chao-mung__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-khuyen-mai-chao-mung__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px;
  min-width: 200px;
}

.page-khuyen-mai-chao-mung__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-khuyen-mai-chao-mung__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-khuyen-mai-chao-mung__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-khuyen-mai-chao-mung__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-khuyen-mai-chao-mung__btn-primary,
.page-khuyen-mai-chao-mung__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai-chao-mung__btn-primary {
  background-color: #C30808; /* Custom color for register/login type buttons */
  color: #FFFF00; /* Custom font color for register/login type buttons */
  border: 2px solid #C30808;
}

.page-khuyen-mai-chao-mung__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-khuyen-mai-chao-mung__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Main brand color */
  border: 2px solid #017439;
}

.page-khuyen-mai-chao-mung__btn-secondary:hover {
  background-color: #e0e0e0;
}