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

/* Base styles for the page */
.page-resources-k8ccc-latest-promotions-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Hero Section */
.page-resources-k8ccc-latest-promotions-analysis__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #26A9E0;
  color: #ffffff;
  overflow: hidden;
}

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

.page-resources-k8ccc-latest-promotions-analysis__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-resources-k8ccc-latest-promotions-analysis__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-k8ccc-latest-promotions-analysis__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

/* General Content Area */
.page-resources-k8ccc-latest-promotions-analysis__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 2;
}

.page-resources-k8ccc-latest-promotions-analysis__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-resources-k8ccc-latest-promotions-analysis__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

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

.page-resources-k8ccc-latest-promotions-analysis__card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-k8ccc-latest-promotions-analysis__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-k8ccc-latest-promotions-analysis__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-resources-k8ccc-latest-promotions-analysis__card-text {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Buttons */
.page-resources-k8ccc-latest-promotions-analysis__cta-button,
.page-resources-k8ccc-latest-promotions-analysis__btn-primary,
.page-resources-k8ccc-latest-promotions-analysis__btn-secondary,
.page-resources-k8ccc-latest-promotions-analysis__card-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin: 5px;
}

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

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

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

.page-resources-k8ccc-latest-promotions-analysis__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-resources-k8ccc-latest-promotions-analysis__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

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

.page-resources-k8ccc-latest-promotions-analysis__step-item {
  background-color: #f0f8ff; /* Light blue background for steps */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-resources-k8ccc-latest-promotions-analysis__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-k8ccc-latest-promotions-analysis__step-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-resources-k8ccc-latest-promotions-analysis__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-k8ccc-latest-promotions-analysis__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-k8ccc-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #eaf6ff; /* Lighter blue for question background */
  border-bottom: 1px solid #e0e0e0;
}

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

.page-resources-k8ccc-latest-promotions-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

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

.page-resources-k8ccc-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-k8ccc-latest-promotions-analysis__faq-item.active .page-resources-k8ccc-latest-promotions-analysis__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 25px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-k8ccc-latest-promotions-analysis__main-title {
    font-size: 2.8em;
  }

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

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

@media (max-width: 768px) {
  .page-resources-k8ccc-latest-promotions-analysis__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-k8ccc-latest-promotions-analysis__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources-k8ccc-latest-promotions-analysis__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-resources-k8ccc-latest-promotions-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-resources-k8ccc-latest-promotions-analysis__paragraph,
  .page-resources-k8ccc-latest-promotions-analysis__card-text,
  .page-resources-k8ccc-latest-promotions-analysis__step-text,
  .page-resources-k8ccc-latest-promotions-analysis__faq-answer p {
    font-size: 0.95em;
  }

  .page-resources-k8ccc-latest-promotions-analysis__card-title,
  .page-resources-k8ccc-latest-promotions-analysis__step-title {
    font-size: 1.3em;
  }

  .page-resources-k8ccc-latest-promotions-analysis__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-resources-k8ccc-latest-promotions-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-k8ccc-latest-promotions-analysis__cta-button,
  .page-resources-k8ccc-latest-promotions-analysis__btn-primary,
  .page-resources-k8ccc-latest-promotions-analysis__btn-secondary,
  .page-resources-k8ccc-latest-promotions-analysis__card-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 0.95em;
    margin: 0;
  }

  /* Image responsiveness */
  .page-resources-k8ccc-latest-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Containers for image/content responsiveness */
  .page-resources-k8ccc-latest-promotions-analysis__section,
  .page-resources-k8ccc-latest-promotions-analysis__card,
  .page-resources-k8ccc-latest-promotions-analysis__container,
  .page-resources-k8ccc-latest-promotions-analysis__hero-section,
  .page-resources-k8ccc-latest-promotions-analysis__content-area,
  .page-resources-k8ccc-latest-promotions-analysis__promo-grid,
  .page-resources-k8ccc-latest-promotions-analysis__steps,
  .page-resources-k8ccc-latest-promotions-analysis__faq-list,
  .page-resources-k8ccc-latest-promotions-analysis__cta-buttons,
  .page-resources-k8ccc-latest-promotions-analysis__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Ensure padding for containers on mobile */
  .page-resources-k8ccc-latest-promotions-analysis__content-area,
  .page-resources-k8ccc-latest-promotions-analysis__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-k8ccc-latest-promotions-analysis__card,
  .page-resources-k8ccc-latest-promotions-analysis__step-item,
  .page-resources-k8ccc-latest-promotions-analysis__faq-item {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-k8ccc-latest-promotions-analysis__main-title {
    font-size: 1.8em;
  }

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

/* Color contrast fixes based on body background #0a0a0a (dark) */
.page-resources-k8ccc-latest-promotions-analysis__dark-bg {
  color: #ffffff;
}

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

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

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

.page-resources-k8ccc-latest-promotions-analysis__card {
  background: #f9f9f9;
  color: #333333;
}

.page-resources-k8ccc-latest-promotions-analysis__faq-item {
  background-color: #f9f9f9;
  color: #333333;
}

.page-resources-k8ccc-latest-promotions-analysis__faq-question {
  background-color: #eaf6ff;
  color: #333333;
}

.page-resources-k8ccc-latest-promotions-analysis__faq-answer p {
  color: #555555;
}