/* style/blog-latest-promotions-analysis.css */
:root {
  --jb88-primary-color: #11A84E;
  --jb88-accent-color: #22C768;
  --jb88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --jb88-card-bg: #11271B;
  --jb88-background: #08160F;
  --jb88-text-main: #F2FFF6;
  --jb88-text-secondary: #A7D9B8;
  --jb88-border-color: #2E7A4E;
  --jb88-glow-color: #57E38D;
  --jb88-gold-color: #F2C14E;
  --jb88-divider-color: #1E3A2A;
  --jb88-deep-green: #0A4B2C;
}

.page-blog-latest-promotions-analysis {
  background-color: var(--jb88-background);
  color: var(--jb88-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-latest-promotions-analysis__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--jb88-deep-green);
}

.page-blog-latest-promotions-analysis__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-blog-latest-promotions-analysis__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-latest-promotions-analysis__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text on hero */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
}

.page-blog-latest-promotions-analysis__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--jb88-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-latest-promotions-analysis__hero-description {
  font-size: 1.15rem;
  color: var(--jb88-text-main);
  margin-bottom: 30px;
}

.page-blog-latest-promotions-analysis__cta-button {
  display: inline-block;
  background: var(--jb88-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-blog-latest-promotions-analysis__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions-analysis__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--jb88-divider-color);
}

.page-blog-latest-promotions-analysis__section:last-of-type {
  border-bottom: none;
}

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

.page-blog-latest-promotions-analysis__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--jb88-gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-blog-latest-promotions-analysis__sub-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--jb88-accent-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-blog-latest-promotions-analysis__text-block {
  font-size: 1rem;
  color: var(--jb88-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-latest-promotions-analysis__text-block strong {
  color: var(--jb88-accent-color);
}

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

.page-blog-latest-promotions-analysis__feature-card {
  background-color: var(--jb88-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--jb88-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-blog-latest-promotions-analysis__feature-title {
  font-size: 1.5rem;
  color: var(--jb88-gold-color);
  margin-bottom: 15px;
}

.page-blog-latest-promotions-analysis__feature-description {
  font-size: 0.95rem;
  color: var(--jb88-text-secondary);
}

.page-blog-latest-promotions-analysis__promotions-analysis .page-blog-latest-promotions-analysis__promotion-card {
  display: flex;
  background-color: var(--jb88-card-bg);
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--jb88-border-color);
  overflow: hidden;
  flex-wrap: wrap;
}

.page-blog-latest-promotions-analysis__promotion-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-blog-latest-promotions-analysis__promotion-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-latest-promotions-analysis__promotion-content {
  width: 60%;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-blog-latest-promotions-analysis__promotion-title {
  font-size: 1.8rem;
  color: var(--jb88-gold-color);
  margin-bottom: 20px;
}

.page-blog-latest-promotions-analysis__promotion-description {
  font-size: 1rem;
  color: var(--jb88-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-latest-promotions-analysis__promotion-details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-blog-latest-promotions-analysis__promotion-details li {
  color: var(--jb88-text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
}

.page-blog-latest-promotions-analysis__detail-label {
  font-weight: bold;
  color: var(--jb88-accent-color);
  min-width: 80px;
  margin-right: 10px;
}

.page-blog-latest-promotions-analysis__btn-primary,
.page-blog-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;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-latest-promotions-analysis__btn-primary {
  background: var(--jb88-button-gradient);
  color: #ffffff;
  border: none;
  margin-top: 20px;
}

.page-blog-latest-promotions-analysis__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-latest-promotions-analysis__btn-secondary {
  background: none;
  color: var(--jb88-accent-color);
  border: 2px solid var(--jb88-accent-color);
  margin-top: 15px;
}

.page-blog-latest-promotions-analysis__btn-secondary:hover {
  background: var(--jb88-accent-color);
  color: var(--jb88-text-main);
}

.page-blog-latest-promotions-analysis__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-blog-latest-promotions-analysis__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--jb88-text-main);
  font-size: 1rem;
}

.page-blog-latest-promotions-analysis__list li::before {
  content: '✓';
  color: var(--jb88-accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

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

.page-blog-latest-promotions-analysis__step-item {
  background-color: var(--jb88-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--jb88-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-latest-promotions-analysis__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--jb88-gold-color);
  background: var(--jb88-deep-green);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid var(--jb88-gold-color);
}

.page-blog-latest-promotions-analysis__step-title {
  font-size: 1.6rem;
  color: var(--jb88-accent-color);
  margin-bottom: 15px;
}

.page-blog-latest-promotions-analysis__step-description {
  font-size: 0.95rem;
  color: var(--jb88-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-blog-latest-promotions-analysis__faq-item {
  background-color: var(--jb88-card-bg);
  border: 1px solid var(--jb88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--jb88-text-main);
  background-color: var(--jb88-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-blog-latest-promotions-analysis__faq-item[open] > .page-blog-latest-promotions-analysis__faq-question {
  background-color: var(--jb88-accent-color);
  color: var(--jb88-text-main);
}

.page-blog-latest-promotions-analysis__faq-qtext {
  flex-grow: 1;
  color: var(--jb88-gold-color);
}

.page-blog-latest-promotions-analysis__faq-item[open] .page-blog-latest-promotions-analysis__faq-qtext {
  color: var(--jb88-text-main);
}

.page-blog-latest-promotions-analysis__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  color: var(--jb88-gold-color);
}

.page-blog-latest-promotions-analysis__faq-item[open] .page-blog-latest-promotions-analysis__faq-toggle {
  color: var(--jb88-text-main);
}

.page-blog-latest-promotions-analysis__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--jb88-text-secondary);
  border-top: 1px solid var(--jb88-border-color);
}

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

.page-blog-latest-promotions-analysis__faq-more-btn {
  display: block;
  margin-top: 40px;
  text-align: center;
}

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

.page-blog-latest-promotions-analysis__cta-button--secondary {
  background: none;
  border: 2px solid var(--jb88-accent-color);
  color: var(--jb88-accent-color);
}

.page-blog-latest-promotions-analysis__cta-button--secondary:hover {
  background: var(--jb88-accent-color);
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-blog-latest-promotions-analysis__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-blog-latest-promotions-analysis__promotion-card {
    flex-direction: column;
  }

  .page-blog-latest-promotions-analysis__promotion-card:nth-child(even) {
    flex-direction: column;
  }

  .page-blog-latest-promotions-analysis__promotion-image,
  .page-blog-latest-promotions-analysis__promotion-content {
    width: 100%;
  }

  .page-blog-latest-promotions-analysis__promotion-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-promotions-analysis__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-latest-promotions-analysis__hero-content {
    margin-top: -40px;
    padding: 20px 10px;
  }

  .page-blog-latest-promotions-analysis__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-latest-promotions-analysis__hero-description {
    font-size: 1rem;
  }

  .page-blog-latest-promotions-analysis__section {
    padding: 40px 0;
  }

  .page-blog-latest-promotions-analysis__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-blog-latest-promotions-analysis__sub-section-title {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }

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

  .page-blog-latest-promotions-analysis__section,
  .page-blog-latest-promotions-analysis__card,
  .page-blog-latest-promotions-analysis__container,
  .page-blog-latest-promotions-analysis__video-section,
  .page-blog-latest-promotions-analysis__video-container,
  .page-blog-latest-promotions-analysis__video-wrapper,
  .page-blog-latest-promotions-analysis__cta-buttons,
  .page-blog-latest-promotions-analysis__button-group,
  .page-blog-latest-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; /* Ensure no overflow */
  }

  .page-blog-latest-promotions-analysis__cta-button,
  .page-blog-latest-promotions-analysis__btn-primary,
  .page-blog-latest-promotions-analysis__btn-secondary,
  .page-blog-latest-promotions-analysis a[class*="button"],
  .page-blog-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;
  }

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

  .page-blog-latest-promotions-analysis__promotion-image {
    height: 200px;
  }

  .page-blog-latest-promotions-analysis__promotion-title {
    font-size: 1.4rem;
  }

  .page-blog-latest-promotions-analysis__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-latest-promotions-analysis__faq-toggle {
    font-size: 1.5rem;
  }

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

@media (max-width: 480px) {
  .page-blog-latest-promotions-analysis__hero-content {
    margin-top: -30px;
    padding: 15px 10px;
  }

  .page-blog-latest-promotions-analysis__hero-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .page-blog-latest-promotions-analysis__cta-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .page-blog-latest-promotions-analysis__feature-card {
    padding: 20px;
  }

  .page-blog-latest-promotions-analysis__promotion-content {
    padding: 20px;
  }

  .page-blog-latest-promotions-analysis__step-item {
    padding: 20px;
  }

  .page-blog-latest-promotions-analysis__step-number {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
}