/* style/blog-p88-latest-promotions-analysis.css */

:root {
  --p88-primary-color: #26A9E0;
  --p88-secondary-color: #FFFFFF;
  --p88-login-color: #EA7C07;
  --p88-background-color: #FFFFFF;
  --p88-black-color: #000000;
  --p88-text-dark: #333333;
  --p88-text-light: #ffffff;
}

/* Base styles for the page content */
.page-blog-p88-latest-promotions-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--p88-text-dark); /* Default text color for light backgrounds */
  background-color: var(--p88-background-color); /* Default light background for main content */
}

/* Dark background sections for contrast with body's var(--black-color) */
.page-blog-p88-latest-promotions-analysis__dark-bg {
  background-color: var(--p88-black-color);
  color: var(--p88-text-light);
}

.page-blog-p88-latest-promotions-analysis__light-bg {
  background-color: var(--p88-background-color);
  color: var(--p88-text-dark);
}

.page-blog-p88-latest-promotions-analysis__hero-section {
  position: relative;
  width: 100%;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-blog-p88-latest-promotions-analysis__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.page-blog-p88-latest-promotions-analysis__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for hero image */
}

.page-blog-p88-latest-promotions-analysis__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative; /* Ensure content is above any background elements */
  z-index: 1;
}

.page-blog-p88-latest-promotions-analysis__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--p88-text-light);
  margin-bottom: 20px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-p88-latest-promotions-analysis__subtitle {
  font-size: 1.15rem;
  color: var(--p88-text-light);
  margin-bottom: 30px;
}

.page-blog-p88-latest-promotions-analysis__content-area,
.page-blog-p88-latest-promotions-analysis__cta-section {
  padding: 60px 20px;
}

.page-blog-p88-latest-promotions-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog-p88-latest-promotions-analysis__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--p88-primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-blog-p88-latest-promotions-analysis__section-title--light {
  color: var(--p88-text-light);
}

.page-blog-p88-latest-promotions-analysis__sub-section-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--p88-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-blog-p88-latest-promotions-analysis__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--p88-text-dark);
}

.page-blog-p88-latest-promotions-analysis__text-block--light {
  color: var(--p88-text-light);
}

.page-blog-p88-latest-promotions-analysis__highlight {
  color: var(--p88-primary-color);
  font-weight: bold;
}

.page-blog-p88-latest-promotions-analysis__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-p88-latest-promotions-analysis__promotion-card {
  background-color: var(--p88-background-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--p88-text-dark);
}

.page-blog-p88-latest-promotions-analysis__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-blog-p88-latest-promotions-analysis__card-title {
  font-size: 1.4em;
  color: var(--p88-primary-color);
  margin-bottom: 10px;
}

.page-blog-p88-latest-promotions-analysis__card-description {
  font-size: 1em;
  color: var(--p88-text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-p88-latest-promotions-analysis__btn-primary,
.page-blog-p88-latest-promotions-analysis__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-p88-latest-promotions-analysis__btn-primary {
  background-color: var(--p88-primary-color);
  color: var(--p88-text-light);
  border: 2px solid var(--p88-primary-color);
}

.page-blog-p88-latest-promotions-analysis__btn-primary:hover {
  background-color: #1e87b6; /* Darken primary color */
  border-color: #1e87b6;
}

.page-blog-p88-latest-promotions-analysis__btn-primary--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-blog-p88-latest-promotions-analysis__btn-secondary {
  background-color: transparent;
  color: var(--p88-primary-color);
  border: 2px solid var(--p88-primary-color);
}

.page-blog-p88-latest-promotions-analysis__btn-secondary:hover {
  background-color: var(--p88-primary-color);
  color: var(--p88-text-light);
}

.page-blog-p88-latest-promotions-analysis__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 30px 0;
}

.page-blog-p88-latest-promotions-analysis__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--p88-text-dark);
}

.page-blog-p88-latest-promotions-analysis__list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

.page-blog-p88-latest-promotions-analysis__step-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: var(--p88-text-dark);
}

.page-blog-p88-latest-promotions-analysis__step-title {
  font-size: 1.3em;
  color: var(--p88-primary-color);
  margin-bottom: 15px;
}

.page-blog-p88-latest-promotions-analysis__step-description {
  font-size: 0.95em;
  color: var(--p88-text-dark);
}

.page-blog-p88-latest-promotions-analysis__faq-list {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-p88-latest-promotions-analysis__faq-item {
  background-color: var(--p88-background-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--p88-text-dark);
}

.page-blog-p88-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--p88-primary-color);
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-blog-p88-latest-promotions-analysis__faq-question:hover {
  background-color: #eaeaea;
}

.page-blog-p88-latest-promotions-analysis__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-blog-p88-latest-promotions-analysis__faq-item[open] .page-blog-p88-latest-promotions-analysis__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-p88-latest-promotions-analysis__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--p88-text-dark);
}

.page-blog-p88-latest-promotions-analysis__faq-answer p {
  margin-top: 15px;
}

.page-blog-p88-latest-promotions-analysis__cta-section {
  text-align: center;
  background-color: var(--p88-primary-color);
  color: var(--p88-text-light);
  padding: 80px 20px;
}

.page-blog-p88-latest-promotions-analysis__cta-section .page-blog-p88-latest-promotions-analysis__btn-primary {
  background-color: var(--p88-login-color);
  border-color: var(--p88-login-color);
}

.page-blog-p88-latest-promotions-analysis__cta-section .page-blog-p88-latest-promotions-analysis__btn-primary:hover {
  background-color: #b96306; /* Darken login color */
  border-color: #b96306;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-p88-latest-promotions-analysis__hero-content {
    max-width: 768px;
  }

  .page-blog-p88-latest-promotions-analysis__main-title {
    font-size: 2.8em;
  }

  .page-blog-p88-latest-promotions-analysis__section-title {
    font-size: 2em;
  }

  .page-blog-p88-latest-promotions-analysis__sub-section-title {
    font-size: 1.6em;
  }
}

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

  .page-blog-p88-latest-promotions-analysis__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-blog-p88-latest-promotions-analysis__subtitle {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog-p88-latest-promotions-analysis__content-area,
  .page-blog-p88-latest-promotions-analysis__cta-section {
    padding: 40px 15px;
  }

  .page-blog-p88-latest-promotions-analysis__container,
  .page-blog-p88-latest-promotions-analysis__hero-content,
  .page-blog-p88-latest-promotions-analysis__promotions-grid,
  .page-blog-p88-latest-promotions-analysis__steps-grid,
  .page-blog-p88-latest-promotions-analysis__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-p88-latest-promotions-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-blog-p88-latest-promotions-analysis__sub-section-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-p88-latest-promotions-analysis__text-block,
  .page-blog-p88-latest-promotions-analysis__list li,
  .page-blog-p88-latest-promotions-analysis__card-description,
  .page-blog-p88-latest-promotions-analysis__step-description,
  .page-blog-p88-latest-promotions-analysis__faq-answer p {
    font-size: 0.95em;
  }

  .page-blog-p88-latest-promotions-analysis__card-image,
  .page-blog-p88-latest-promotions-analysis__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-p88-latest-promotions-analysis__promotions-grid,
  .page-blog-p88-latest-promotions-analysis__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-p88-latest-promotions-analysis__btn-primary,
  .page-blog-p88-latest-promotions-analysis__btn-secondary,
  .page-blog-p88-latest-promotions-analysis a[class*="button"],
  .page-blog-p88-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-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add some spacing between stacked buttons */
  }

  .page-blog-p88-latest-promotions-analysis__hero-content .page-blog-p88-latest-promotions-analysis__btn-primary {
    margin-left: 0;
    margin-right: 0;
  }

  .page-blog-p88-latest-promotions-analysis__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }

  .page-blog-p88-latest-promotions-analysis__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-blog-p88-latest-promotions-analysis__cta-section {
    padding: 60px 15px;
  }
}