/* style/promotions-cashback-rules.css */
.page-promotions-cashback-rules {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa; /* Light background for general content */
}

.page-promotions-cashback-rules .highlight {
  color: #0A2342;
  font-weight: bold;
}

/* Hero Section */
.page-promotions-cashback-rules__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  background-color: #0A2342;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.page-promotions-cashback-rules__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-promotions-cashback-rules__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-promotions-cashback-rules__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis on dark background */
  line-height: 1.2;
}

.page-promotions-cashback-rules__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #e0e0e0; /* Light text for readability */
}

.page-promotions-cashback-rules__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-promotions-cashback-rules__btn--primary {
  background-color: #FFD700;
  color: #0A2342; /* Dark text on gold */
  border: 2px solid #FFD700;
}

.page-promotions-cashback-rules__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-promotions-cashback-rules__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on dark background */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-promotions-cashback-rules__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2342; /* Dark text on gold */
}

/* General Section Styling */
.page-promotions-cashback-rules__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.page-promotions-cashback-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions-cashback-rules__section-title {
  font-size: 2.5em;
  color: #0A2342; /* Deep Navy for main titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-promotions-cashback-rules__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-promotions-cashback-rules__intro p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333;
  text-align: justify;
}

/* Types Section */
.page-promotions-cashback-rules__types {
  background-color: #f0f2f5;
}

.page-promotions-cashback-rules__type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-promotions-cashback-rules__type-item:hover {
  transform: translateY(-5px);
}

.page-promotions-cashback-rules__type-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-cashback-rules__type-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-promotions-cashback-rules__type-item p {
  font-size: 1.05em;
  color: #555;
  margin-bottom: 15px;
}

.page-promotions-cashback-rules__type-item ul {
  list-style: disc inside;
  text-align: left;
  width: 100%;
  max-width: 400px;
  color: #666;
}

.page-promotions-cashback-rules__type-item ul li {
  margin-bottom: 8px;
}

/* Rules Section */
.page-promotions-cashback-rules__rules {
  background-color: #fff;
}

.page-promotions-cashback-rules__rules p {
  margin-bottom: 15px;
  color: #333;
  text-align: justify;
}

.page-promotions-cashback-rules__rules ul {
  list-style: disc outside;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #444;
}

.page-promotions-cashback-rules__rules ul li {
  margin-bottom: 10px;
}

.page-promotions-cashback-rules__rules-subtitle {
  font-size: 1.6em;
  color: #0A2342;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* How-to Section */
.page-promotions-cashback-rules__how-to {
  background-color: #0A2342;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-promotions-cashback-rules__how-to .page-promotions-cashback-rules__section-title {
  color: #FFD700;
}

.page-promotions-cashback-rules__how-to .page-promotions-cashback-rules__section-title::after {
  background-color: #FFD700;
}

.page-promotions-cashback-rules__how-to p {
  color: #c0c0c0;
  margin-bottom: 20px;
}

.page-promotions-cashback-rules__steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-promotions-cashback-rules__steps li {
  counter-increment: step-counter;
  position: relative;
  background-color: #1a3a5e; /* Darker navy for step items */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  max-width: 350px;
  color: #fff;
}

.page-promotions-cashback-rules__steps li::before {
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #0A2342;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions-cashback-rules__steps li strong {
  display: block;
  font-size: 1.2em;
  margin-bottom: 10px;
  margin-top: 15px;
  color: #FFD700;
}

.page-promotions-cashback-rules__how-to-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-cashback-rules__link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promotions-cashback-rules__link:hover {
  color: #e6c200;
}

/* FAQ Section */
.page-promotions-cashback-rules__faq {
  background-color: #f8f9fa;
}

.page-promotions-cashback-rules__accordion-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-cashback-rules__accordion-header {
  font-size: 1.3em;
  color: #0A2342;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-promotions-cashback-rules__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-promotions-cashback-rules__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promotions-cashback-rules__accordion-content {
  padding: 0 20px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions-cashback-rules__accordion-content p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.page-promotions-cashback-rules__accordion-header.active + .page-promotions-cashback-rules__accordion-content {
  max-height: 500px; /* Adjust as needed for content length */
  padding-top: 10px;
}

/* CTA Section */
.page-promotions-cashback-rules__cta {
  background-color: #0A2342;
  color: #fff;
  text-align: center;
}

.page-promotions-cashback-rules__cta .page-promotions-cashback-rules__section-title {
  color: #FFD700;
}

.page-promotions-cashback-rules__cta .page-promotions-cashback-rules__section-title::after {
  background-color: #FFD700;
}

.page-promotions-cashback-rules__cta p {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-promotions-cashback-rules__btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions-cashback-rules__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-cashback-rules__hero-subtitle {
    font-size: 1.3em;
  }
  .page-promotions-cashback-rules__section-title {
    font-size: 2em;
  }
  .page-promotions-cashback-rules__type-item {
    padding: 25px;
  }
  .page-promotions-cashback-rules__type-title {
    font-size: 1.6em;
  }
  .page-promotions-cashback-rules__steps li {
    flex: 1 1 calc(50% - 20px);
  }
  .page-promotions-cashback-rules__btn-group {
    flex-direction: column;
    align-items: center;
  }
  .page-promotions-cashback-rules__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions-cashback-rules__hero {
    min-height: 400px;
  }
  .page-promotions-cashback-rules__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-cashback-rules__hero-subtitle {
    font-size: 1.1em;
  }
  .page-promotions-cashback-rules__btn {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-promotions-cashback-rules__section {
    padding: 40px 0;
  }
  .page-promotions-cashback-rules__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-cashback-rules__type-item {
    padding: 20px;
  }
  .page-promotions-cashback-rules__type-title {
    font-size: 1.4em;
  }
  .page-promotions-cashback-rules__rules-subtitle {
    font-size: 1.4em;
  }
  .page-promotions-cashback-rules__steps li {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-promotions-cashback-rules__accordion-header {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-promotions-cashback-rules__accordion-content {
    padding: 0 15px 15px;
  }
  .page-promotions-cashback-rules__cta p {
    font-size: 1em;
  }
}