/* style/promotions-daily-rebate.css */

/* Base styles for the page content area */
.page-promotions-daily-rebate {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

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

.page-promotions-daily-rebate__text-center {
  text-align: center;
}

/* Hero Section */
.page-promotions-daily-rebate__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Enforce image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #f0f8ff; /* Light background for the section */
}

.page-promotions-daily-rebate__hero-image {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-promotions-daily-rebate__hero-content {
  max-width: 800px;
  text-align: center;
  padding: 0 20px 40px;
  box-sizing: border-box;
}

.page-promotions-daily-rebate__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive H1 font size */
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promotions-daily-rebate__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

/* Buttons */
.page-promotions-daily-rebate__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.page-promotions-daily-rebate__btn-primary,
.page-promotions-daily-rebate__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-promotions-daily-rebate__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions-daily-rebate__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-promotions-daily-rebate__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions-daily-rebate__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

/* Section common styles */
.page-promotions-daily-rebate__introduction-section,
.page-promotions-daily-rebate__how-it-works,
.page-promotions-daily-rebate__eligibility,
.page-promotions-daily-rebate__rates-calculation,
.page-promotions-daily-rebate__how-to-claim,
.page-promotions-daily-rebate__terms,
.page-promotions-daily-rebate__faq-section,
.page-promotions-daily-rebate__cta-bottom {
  padding: 60px 0;
}

.page-promotions-daily-rebate__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions-daily-rebate__text-block {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: #333333;
}

.page-promotions-daily-rebate__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Background colors for sections */
.page-promotions-daily-rebate__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-daily-rebate__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions-daily-rebate__dark-bg .page-promotions-daily-rebate__section-title {
  color: #ffffff;
}

.page-promotions-daily-rebate__dark-bg .page-promotions-daily-rebate__text-block {
  color: #f0f0f0;
}

/* Feature List (How it Works) */
.page-promotions-daily-rebate__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-daily-rebate__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-promotions-daily-rebate__feature-item .page-promotions-daily-rebate__feature-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-daily-rebate__feature-item p {
  color: #f0f0f0;
}

/* Lists */
.page-promotions-daily-rebate__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  font-size: 1.05em;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 25px;
}

.page-promotions-daily-rebate__list li {
  margin-bottom: 10px;
}

.page-promotions-daily-rebate__list--terms {
  list-style: decimal;
  color: #f0f0f0;
}

/* Steps */
.page-promotions-daily-rebate__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-daily-rebate__step-item {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-promotions-daily-rebate__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions-daily-rebate__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-daily-rebate__step-item p {
  color: #555555;
}

/* FAQ Section */
.page-promotions-daily-rebate__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-promotions-daily-rebate__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-promotions-daily-rebate__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid #eee;
}

.page-promotions-daily-rebate__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-daily-rebate__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-promotions-daily-rebate__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-promotions-daily-rebate__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  color: #26A9E0;
}

.page-promotions-daily-rebate__faq-answer {
  padding: 20px 25px;
  background-color: #f0f8ff;
  color: #555555;
  font-size: 1em;
  line-height: 1.5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promotions-daily-rebate {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-daily-rebate__container,
  .page-promotions-daily-rebate__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-daily-rebate__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-promotions-daily-rebate__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-promotions-daily-rebate__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions-daily-rebate__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-daily-rebate__btn-primary,
  .page-promotions-daily-rebate__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  /* Ensure all images are responsive */
  .page-promotions-daily-rebate img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-daily-rebate__section,
  .page-promotions-daily-rebate__card,
  .page-promotions-daily-rebate__container,
  .page-promotions-daily-rebate__hero-section,
  .page-promotions-daily-rebate__introduction-section,
  .page-promotions-daily-rebate__how-it-works,
  .page-promotions-daily-rebate__eligibility,
  .page-promotions-daily-rebate__rates-calculation,
  .page-promotions-daily-rebate__how-to-claim,
  .page-promotions-daily-rebate__terms,
  .page-promotions-daily-rebate__faq-section,
  .page-promotions-daily-rebate__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-daily-rebate__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions-daily-rebate__feature-list,
  .page-promotions-daily-rebate__steps {
    grid-template-columns: 1fr;
  }

  .page-promotions-daily-rebate__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-promotions-daily-rebate__faq-answer {
    padding: 15px 20px;
  }
}

/* Ensure no filter on images */
.page-promotions-daily-rebate img {
  filter: none !important;
}

/* CSS for contrast fix, if needed */
.page-promotions-daily-rebate__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-promotions-daily-rebate__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}