/* style/resources-ok9-promotions-analysis.css */
.page-resources-ok9-promotions-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

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

.page-resources-ok9-promotions-analysis__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust top padding for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439; /* Primary brand color for hero background */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-ok9-promotions-analysis__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Overlay to ensure text readability */
}

.page-resources-ok9-promotions-analysis__hero-section .page-resources-ok9-promotions-analysis__container {
  position: relative;
  z-index: 1;
}

.page-resources-ok9-promotions-analysis__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register and Login font color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-ok9-promotions-analysis__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-ok9-promotions-analysis__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-resources-ok9-promotions-analysis__btn-primary {
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
}

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

.page-resources-ok9-promotions-analysis__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-ok9-promotions-analysis__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFF00;
  border-color: #FFFF00;
}

.page-resources-ok9-promotions-analysis__content-area {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background from shared.css */
  color: #ffffff; /* Light text for contrast */
}

.page-resources-ok9-promotions-analysis__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Emphasis with accent color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-ok9-promotions-analysis__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808; /* Accent line */
  border-radius: 2px;
}

.page-resources-ok9-promotions-analysis__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-ok9-promotions-analysis__text-block a,
.page-resources-ok9-promotions-analysis__list a {
  color: #FFFF00; /* Links in content */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-ok9-promotions-analysis__text-block a:hover,
.page-resources-ok9-promotions-analysis__list a:hover {
  color: #C30808;
  text-decoration: underline;
}

.page-resources-ok9-promotions-analysis__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-ok9-promotions-analysis__card {
  background-color: rgba(1, 116, 57, 0.2); /* Semi-transparent primary color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-resources-ok9-promotions-analysis__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-ok9-promotions-analysis__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-ok9-promotions-analysis__card-title {
  font-size: 1.5em;
  color: #FFFF00; /* Accent color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-ok9-promotions-analysis__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-ok9-promotions-analysis__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-ok9-promotions-analysis__step-item {
  background-color: rgba(1, 116, 57, 0.1); /* Lighter primary color */
  border: 1px solid rgba(1, 116, 57, 0.3);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-ok9-promotions-analysis__step-icon {
  font-size: 2.5em;
  color: #C30808; /* Distinct color for steps */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-resources-ok9-promotions-analysis__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-ok9-promotions-analysis__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-ok9-promotions-analysis__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-ok9-promotions-analysis__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-ok9-promotions-analysis__video-wrapper .page-resources-ok9-promotions-analysis__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-resources-ok9-promotions-analysis__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-resources-ok9-promotions-analysis__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-ok9-promotions-analysis__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Lighter background for FAQ items */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-ok9-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00; /* FAQ question color */
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.3);
  transition: background-color 0.3s ease;
}

.page-resources-ok9-promotions-analysis__faq-question:hover {
  background-color: rgba(1, 116, 57, 0.5);
}

.page-resources-ok9-promotions-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-resources-ok9-promotions-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  font-size: 1em;
}

.page-resources-ok9-promotions-analysis__faq-item.active .page-resources-ok9-promotions-analysis__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px !important;
}

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

.page-resources-ok9-promotions-analysis__faq-answer a {
  color: #FFFF00; /* Links in FAQ answers */
  text-decoration: none;
}

.page-resources-ok9-promotions-analysis__faq-answer a:hover {
  color: #C30808;
  text-decoration: underline;
}

.page-resources-ok9-promotions-analysis__cta-buttons--bottom {
  margin-top: 60px;
  margin-bottom: 40px;
}

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

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

  .page-resources-ok9-promotions-analysis__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-ok9-promotions-analysis__hero-title {
    font-size: 2.2em;
  }

  .page-resources-ok9-promotions-analysis__hero-description {
    font-size: 1em;
  }

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

  .page-resources-ok9-promotions-analysis__btn-primary,
  .page-resources-ok9-promotions-analysis__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-ok9-promotions-analysis__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-resources-ok9-promotions-analysis__card-grid,
  .page-resources-ok9-promotions-analysis__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  .page-resources-ok9-promotions-analysis__faq-answer {
    padding: 10px 20px 20px !important;
  }

  /* Mobile image and video responsive adaptation */
  .page-resources-ok9-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-ok9-promotions-analysis video,
  .page-resources-ok9-promotions-analysis__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-ok9-promotions-analysis__section,
  .page-resources-ok9-promotions-analysis__card,
  .page-resources-ok9-promotions-analysis__container,
  .page-resources-ok9-promotions-analysis__video-section,
  .page-resources-ok9-promotions-analysis__video-container,
  .page-resources-ok9-promotions-analysis__video-wrapper,
  .page-resources-ok9-promotions-analysis__cta-buttons,
  .page-resources-ok9-promotions-analysis__button-group,
  .page-resources-ok9-promotions-analysis__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-ok9-promotions-analysis__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources-ok9-promotions-analysis__cta-buttons a {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure content images meet minimum size requirements */
.page-resources-ok9-promotions-analysis__content-area img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}