/* style/resources-latest-promotions-analysis.css */

/* Base styles for the page content */
.page-resources-latest-promotions-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default page background */
}

/* Header offset for fixed header */
.page-resources-latest-promotions-analysis__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Section spacing and general container */
.page-resources-latest-promotions-analysis__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-resources-latest-promotions-analysis__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-latest-promotions-analysis__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-resources-latest-promotions-analysis__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  flex-direction: column;
}

.page-resources-latest-promotions-analysis__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-resources-latest-promotions-analysis__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text contrast */
}

.page-resources-latest-promotions-analysis__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

.page-resources-latest-promotions-analysis__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-latest-promotions-analysis__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Call to Action Button */
.page-resources-latest-promotions-analysis__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-promotions-analysis__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-latest-promotions-analysis__btn-primary:hover {
  background-color: #d46c06;
  border-color: #d46c06;
}

.page-resources-latest-promotions-analysis__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-latest-promotions-analysis__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Section Titles and Intro Text */
.page-resources-latest-promotions-analysis__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-latest-promotions-analysis__section-intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Grid Container for Cards */
.page-resources-latest-promotions-analysis__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Card Styles */
.page-resources-latest-promotions-analysis__card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-resources-latest-promotions-analysis__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-latest-promotions-analysis__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-latest-promotions-analysis__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Steps Container */
.page-resources-latest-promotions-analysis__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-latest-promotions-analysis__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
}

.page-resources-latest-promotions-analysis__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #EA7C07;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-resources-latest-promotions-analysis__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-resources-latest-promotions-analysis__step-text {
  font-size: 1em;
  color: #ffffff;
}

.page-resources-latest-promotions-analysis__step-text a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-resources-latest-promotions-analysis__step-text a:hover {
  color: #d46c06;
}

/* Image with Text Block */
.page-resources-latest-promotions-analysis__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.page-resources-latest-promotions-analysis__content-image {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px;
}

.page-resources-latest-promotions-analysis__text-with-image {
  flex: 1 1 50%;
  font-size: 1.1em;
  color: #ffffff;
}

/* List Styles */
.page-resources-latest-promotions-analysis__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-latest-promotions-analysis__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #333333;
}

.page-resources-latest-promotions-analysis__list-item-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-latest-promotions-analysis__list-item-text {
  font-size: 1em;
  color: #555555;
}

.page-resources-latest-promotions-analysis__terms-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
  color: #555555;
}

.page-resources-latest-promotions-analysis__terms-note a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-latest-promotions-analysis__terms-note a:hover {
  color: #1a7bb0;
}

/* Advantages Grid */
.page-resources-latest-promotions-analysis__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-latest-promotions-analysis__advantage-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
}

.page-resources-latest-promotions-analysis__advantage-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-resources-latest-promotions-analysis__advantage-text {
  font-size: 1em;
  color: #ffffff;
}

/* FAQ Section */
.page-resources-latest-promotions-analysis__faq-section {
  padding: 60px 20px;
}

.page-resources-latest-promotions-analysis__faq-container {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

.page-resources-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

.page-resources-latest-promotions-analysis__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-latest-promotions-analysis__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
}

.page-resources-latest-promotions-analysis__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-latest-promotions-analysis__faq-item.active .page-resources-latest-promotions-analysis__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-latest-promotions-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-latest-promotions-analysis__faq-item.active .page-resources-latest-promotions-analysis__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 20px 25px;
}

.page-resources-latest-promotions-analysis__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section at the bottom */
.page-resources-latest-promotions-analysis__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-resources-latest-promotions-analysis__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-latest-promotions-analysis__hero-title {
    font-size: 3em;
  }
  .page-resources-latest-promotions-analysis__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-promotions-analysis {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-latest-promotions-analysis__hero-section {
    min-height: 400px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-latest-promotions-analysis__hero-title {
    font-size: 2.5em;
  }

  .page-resources-latest-promotions-analysis__hero-description {
    font-size: 1.1em;
  }

  .page-resources-latest-promotions-analysis__content-area {
    padding: 40px 15px;
  }

  .page-resources-latest-promotions-analysis__section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-promotions-analysis__section-intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-latest-promotions-analysis__grid-container,
  .page-resources-latest-promotions-analysis__steps-container,
  .page-resources-latest-promotions-analysis__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-latest-promotions-analysis__card {
    padding: 20px;
  }

  .page-resources-latest-promotions-analysis__card-image {
    height: 180px;
  }

  .page-resources-latest-promotions-analysis__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-latest-promotions-analysis__content-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-resources-latest-promotions-analysis__text-with-image {
    width: 100% !important;
  }

  .page-resources-latest-promotions-analysis__faq-question {
    padding: 15px 20px;
  }

  .page-resources-latest-promotions-analysis__faq-title {
    font-size: 1.1em;
  }

  .page-resources-latest-promotions-analysis__faq-answer {
    padding: 0 20px;
  }

  .page-resources-latest-promotions-analysis__faq-item.active .page-resources-latest-promotions-analysis__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  /* Ensure all images are responsive */
  .page-resources-latest-promotions-analysis img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all content containers are responsive */
  .page-resources-latest-promotions-analysis__section,
  .page-resources-latest-promotions-analysis__card,
  .page-resources-latest-promotions-analysis__container,
  .page-resources-latest-promotions-analysis__image-text-block,
  .page-resources-latest-promotions-analysis__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure buttons are responsive */
  .page-resources-latest-promotions-analysis__cta-button,
  .page-resources-latest-promotions-analysis__btn-primary,
  .page-resources-latest-promotions-analysis__btn-secondary,
  .page-resources-latest-promotions-analysis a[class*="button"],
  .page-resources-latest-promotions-analysis a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-resources-latest-promotions-analysis__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-latest-promotions-analysis__button-group a {
    width: 100%;
  }
}