/* General Styles for page-promotions */
.page-promotions {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* Light background for the main content area */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-promotions__section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__section:nth-child(even) {
  background-color: #fefefe;
}

.page-promotions__section-title {
  font-size: 32px;
  color: #017439; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions a[class*="button"],
.page-promotions a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #017439; /* Main brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-promotions__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__btn-secondary:hover {
  background-color: #e0f2e8;
  color: #017439;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  overflow: hidden;
  display: flex; /* Ensure content stacks vertically */
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  background-color: #000; /* Fallback background for hero */
  min-height: 500px;
  padding-top: 0; /* Handled by body padding-top, if any */
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  height: 100%; /* Occupy full height of the section */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative; /* For image positioning */
  max-height: 500px; /* Limit image height */
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the wrapper, may crop */
  display: block;
}

.page-promotions__hero-content {
  position: relative; /* Not absolute, to flow below image */
  background-color: #017439; /* Dark background for content block */
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  z-index: 1;
}

.page-promotions__hero-title {
  font-size: clamp(28px, 5vw, 44px); /* Clamp for responsive H1 */
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}

.page-promotions__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}

.page-promotions__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  max-width: 100%;
  box-sizing: border-box;
}

/* Why Choose Section */
.page-promotions__why-choose {
  background-color: #fefefe;
}

.page-promotions__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding-top: 20px;
}

.page-promotions__feature-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-promotions__feature-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__feature-item p {
  font-size: 15px;
  color: #666666;
}

/* Promo Types Section */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding-top: 20px;
}

.page-promotions__promo-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card-title {
  font-size: 20px;
  color: #017439;
  padding: 15px 20px 5px;
  font-weight: 600;
}

.page-promotions__promo-card-text {
  font-size: 15px;
  color: #666666;
  padding: 0 20px 15px;
  flex-grow: 1; /* Push button to bottom */
}

.page-promotions__promo-card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 15px;
  background-color: #C30808; /* Register/Login color for CTA */
  color: #FFFF00; /* Register/Login font color */
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__promo-card-button:hover {
  background-color: #a00606;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  background-color: #fefefe;
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding-top: 20px;
}

.page-promotions__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-promotions__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.page-promotions__step-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__step-item p {
  font-size: 15px;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions__step-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.page-promotions__step-button:hover {
  background-color: #a00606;
}

/* Latest Promos Section (Blog-like listing) */
.page-promotions__latest-promos {
  background-color: #ffffff;
}

.page-promotions__promo-list {
  display: grid;
  grid-template-columns: 1fr; /* Single column layout for blog-like list */
  gap: 30px;
  padding-top: 20px;
}