/* style/blog-gi8-promotions-guide.css */

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

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

.page-blog-gi8-promotions-guide__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: 40px;
  overflow: hidden;
}

.page-blog-gi8-promotions-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-blog-gi8-promotions-guide__hero-content {
  position: relative;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
  background: var(--gi8-card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.page-blog-gi8-promotions-guide__main-title {
  color: var(--gi8-gold-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  /* Use clamp for responsive font size, avoiding fixed large values */
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-blog-gi8-promotions-guide__hero-description {
  color: var(--gi8-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-blog-gi8-promotions-guide__section {
  padding: 60px 20px;
  background-color: var(--gi8-background);
  color: var(--gi8-text-main);
}

.page-blog-gi8-promotions-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog-gi8-promotions-guide__section-title {
  color: var(--gi8-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 600;
}

.page-blog-gi8-promotions-guide__subsection-title {
  color: var(--gi8-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
}

.page-blog-gi8-promotions-guide__text-block {
  color: var(--gi8-text-main);
  margin-bottom: 20px;
  font-size: 1rem;
}

.page-blog-gi8-promotions-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-blog-gi8-promotions-guide__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-blog-gi8-promotions-guide__btn-primary,
.page-blog-gi8-promotions-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-gi8-promotions-guide__btn-primary {
  background: var(--gi8-button-gradient);
  color: var(--gi8-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-blog-gi8-promotions-guide__btn-secondary:hover {
  background: var(--gi8-primary-color);
  color: var(--gi8-text-main);
}

.page-blog-gi8-promotions-guide__btn-primary--inline,
.page-blog-gi8-promotions-guide__btn-secondary--inline {
  margin-top: 15px;
  margin-right: 15px;
}

.page-blog-gi8-promotions-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-blog-gi8-promotions-guide__faq-section {
  background-color: var(--gi8-card-bg);
}

.page-blog-gi8-promotions-guide__faq-list {
  margin-top: 30px;
}

.page-blog-gi8-promotions-guide__faq-item {
  background-color: var(--gi8-background);
  border: 1px solid var(--gi8-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-gi8-promotions-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--gi8-text-main);
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none; /* Remove default marker for summary */
}

.page-blog-gi8-promotions-guide__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-blog-gi8-promotions-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-gi8-promotions-guide__faq-item[open] .page-blog-gi8-promotions-guide__faq-toggle {
  transform: rotate(45deg); /* Change + to x or - */
}

.page-blog-gi8-promotions-guide__faq-answer {
  padding: 0 25px 18px;
  color: var(--gi8-text-secondary);
  font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-gi8-promotions-guide__hero-content {
    margin-top: -80px;
  }
}

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

  .page-blog-gi8-promotions-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-blog-gi8-promotions-guide__hero-image {
    max-height: 400px;
  }

  .page-blog-gi8-promotions-guide__hero-content {
    margin-top: -60px;
    padding: 15px;
    max-width: 95%;
  }

  .page-blog-gi8-promotions-guide__main-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-blog-gi8-promotions-guide__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-blog-gi8-promotions-guide__section {
    padding: 40px 15px;
  }

  .page-blog-gi8-promotions-guide__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-gi8-promotions-guide__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-blog-gi8-promotions-guide__subsection-title {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-gi8-promotions-guide__text-block {
    font-size: 0.95rem;
  }

  .page-blog-gi8-promotions-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog-gi8-promotions-guide__cta-button,
  .page-blog-gi8-promotions-guide__btn-primary,
  .page-blog-gi8-promotions-guide__btn-secondary,
  .page-blog-gi8-promotions-guide a[class*="button"],
  .page-blog-gi8-promotions-guide 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-top: 10px; /* Adjust margin for stacked buttons */
    margin-right: 0; /* Remove right margin for inline buttons */
  }

  .page-blog-gi8-promotions-guide__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-blog-gi8-promotions-guide__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-gi8-promotions-guide__hero-content {
    margin-top: -40px;
  }
  .page-blog-gi8-promotions-guide__main-title {
    font-size: clamp(1.2rem, 8vw, 1.8rem);
  }
  .page-blog-gi8-promotions-guide__hero-description {
    font-size: 0.9rem;
  }
}