/* Base styles */
.page-promotions-new-user {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default background */
}

.page-promotions-new-user__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions-new-user__section-title {
  font-size: 32px;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions-new-user__section-description {
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions-new-user__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: #f5f5f5;
}

.page-promotions-new-user__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
}

.page-promotions-new-user__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions-new-user__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-new-user__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #017439;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-promotions-new-user__lead-paragraph {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
}

.page-promotions-new-user__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-promotions-new-user__btn-primary,
.page-promotions-new-user__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions-new-user__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-promotions-new-user__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
}

.page-promotions-new-user__btn-secondary {
  background: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-promotions-new-user__btn-secondary:hover {
  background: #e0e0e0;
  color: #017439;
}

.page-promotions-new-user__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Overview Section */
.page-promotions-new-user__overview-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user__overview-list li {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  font-size: 16px;
  text-align: left;
}

.page-promotions-new-user__overview-list li strong {
  color: #017439;
}

/* Offer Types Section */
.page-promotions-new-user__offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-user__offer-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}

.page-promotions-new-user__offer-card .page-promotions-new-user__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-promotions-new-user__offer-card .page-promotions-new-user__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  padding: 0 20px;
  color: #017439;
}

.page-promotions-new-user__offer-card .page-promotions-new-user__card-description {
  font-size: 15px;
  line-height: 1.5;
  color: #555555;
  flex-grow: 1;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-promotions-new-user__offer-card .page-promotions-new-user__btn-primary,
.page-promotions-new-user__offer-card .page-promotions-new-user__btn-secondary {
  margin: 0 20px;
}

.page-promotions-new-user__offer-card .page-promotions-new-user__card-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 20px;
}

/* Dark/Light Background for Cards */
.page-promotions-new-user__dark-bg {
  background: #017439;
  color: #ffffff;
}

.page-promotions-new-user__dark-bg .page-promotions-new-user__card-title {
  color: #ffffff;
}

.page-promotions-new-user__dark-bg .page-promotions-new-user__card-description {
  color: #f0f0f0;
}

.page-promotions-new-user__dark-bg .page-promotions-new-user__btn-primary {
  background: #FFFF00;
  color: #C30808;
  border-color: #FFFF00;
}

.page-promotions-new-user__dark-bg .page-promotions-new-user__btn-primary:hover {
  background: #e0e000;
  border-color: #e0e000;
}