/* style/blog-g28-jackpot-bonuses.css */

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

.page-blog-g28-jackpot-bonuses {
  background-color: var(--g28-background);
  color: var(--g28-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom for content */
}

.page-blog-g28-jackpot-bonuses__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-g28-jackpot-bonuses__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for large screens */
  overflow: hidden;
  position: relative;
}

.page-blog-g28-jackpot-bonuses__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-blog-g28-jackpot-bonuses__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  text-align: center;
  color: var(--g28-text-main);
  z-index: 2; /* Ensure content is above image */
  padding: 20px;
  box-sizing: border-box;
}

/* Important: This layout is for text *over* image, but the prompt says "强制上图下文、禁止在主图上叠字". I will adjust this to be image above content block, not overlay. */
/* Re-adjusting hero section to be image above text content, as per "强制上图下文、禁止在主图上叠字" rule */
.page-blog-g28-jackpot-bonuses__hero-section {
  display: flex;
  flex-direction: column; /* Stacks image above text */
  align-items: center;
  padding-top: 10px;
  padding-bottom: 40px;
  background-color: var(--g28-background);
  overflow: hidden;
}

.page-blog-g28-jackpot-bonuses__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Adjust max height for main visual */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text */
}

.page-blog-g28-jackpot-bonuses__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Remove filter if text is not overlayed */
}

.page-blog-g28-jackpot-bonuses__hero-content {
  position: static; /* Remove absolute positioning */
  transform: none; /* Remove transform */
  max-width: 900px;
  text-align: center;
  color: var(--g28-text-main);
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-g28-jackpot-bonuses__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: var(--g28-gold);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2rem, 4vw, 3.5rem); /* H1 font size constraint */
}

.page-blog-g28-jackpot-bonuses__hero-description {
  font-size: 1.1rem;
  color: var(--g28-text-secondary);
  margin-bottom: 30px;
}

.page-blog-g28-jackpot-bonuses__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-g28-jackpot-bonuses__btn-primary,
.page-blog-g28-jackpot-bonuses__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-g28-jackpot-bonuses__btn-primary {
  background: var(--g28-btn-gradient);
  color: var(--g28-text-main);
  border: 2px solid var(--g28-glow);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-blog-g28-jackpot-bonuses__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.8);
}

.page-blog-g28-jackpot-bonuses__btn-secondary {
  background-color: transparent;
  color: var(--g28-glow);
  border: 2px solid var(--g28-glow);
}

.page-blog-g28-jackpot-bonuses__btn-secondary:hover {
  background-color: var(--g28-glow);
  color: var(--g28-background);
  transform: translateY(-3px);
}

.page-blog-g28-jackpot-bonuses__content-area,
.page-blog-g28-jackpot-bonuses__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-blog-g28-jackpot-bonuses__dark-section {
  background-color: var(--g28-card-bg);
  color: var(--g28-text-main);
  padding: 60px 20px;
}

.page-blog-g28-jackpot-bonuses__section-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-g28-jackpot-bonuses__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--g28-gold);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-blog-g28-jackpot-bonuses__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--g28-primary);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--g28-divider);
  padding-bottom: 5px;
}

.page-blog-g28-jackpot-bonuses__text-block p,
.page-blog-g28-jackpot-bonuses__text-block li {
  color: var(--g28-text-secondary);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-blog-g28-jackpot-bonuses__text-block ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-blog-g28-jackpot-bonuses__text-block a {
  color: var(--g28-glow);
  text-decoration: underline;
}

.page-blog-g28-jackpot-bonuses__text-block a:hover {
  color: var(--g28-gold);
}

.page-blog-g28-jackpot-bonuses__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Ensure content images are not excessively wide */
  min-width: 200px; /* Minimum size constraint */
  min-height: 200px; /* Minimum size constraint */
}

/* FAQ Section */
.page-blog-g28-jackpot-bonuses__faq-section {
  background-color: var(--g28-background);
  padding: 60px 20px;
}

.page-blog-g28-jackpot-bonuses__faq-list {
  margin-top: 30px;
}

.page-blog-g28-jackpot-bonuses__faq-item {
  background-color: var(--g28-card-bg);
  border: 1px solid var(--g28-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-g28-jackpot-bonuses__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--g28-text-main);
  background-color: var(--g28-deep-green);
  border-bottom: 1px solid var(--g28-border);
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-blog-g28-jackpot-bonuses__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-blog-g28-jackpot-bonuses__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

.page-blog-g28-jackpot-bonuses__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--g28-glow);
}

.page-blog-g28-jackpot-bonuses__faq-item[open] .page-blog-g28-jackpot-bonuses__faq-toggle {
  content: '−';
}

.page-blog-g28-jackpot-bonuses__faq-answer {
  padding: 20px 25px;
  color: var(--g28-text-secondary);
  font-size: 1rem;
  border-top: 1px solid var(--g28-divider);
}

.page-blog-g28-jackpot-bonuses__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-blog-g28-jackpot-bonuses__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--g28-card-bg);
}

.page-blog-g28-jackpot-bonuses__cta-group--center {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-g28-jackpot-bonuses__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog-g28-jackpot-bonuses__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .page-blog-g28-jackpot-bonuses__hero-content {
    padding: 0 15px;
  }
  .page-blog-g28-jackpot-bonuses__hero-image-wrapper {
    max-height: 300px;
  }
  .page-blog-g28-jackpot-bonuses__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-blog-g28-jackpot-bonuses__hero-description {
    font-size: 1rem;
  }
  .page-blog-g28-jackpot-bonuses__btn-primary,
  .page-blog-g28-jackpot-bonuses__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    margin: 5px 0;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog-g28-jackpot-bonuses__hero-cta-group,
  .page-blog-g28-jackpot-bonuses__cta-group--center {
    flex-direction: column;
    gap: 10px;
  }
  .page-blog-g28-jackpot-bonuses__content-area,
  .page-blog-g28-jackpot-bonuses__section,
  .page-blog-g28-jackpot-bonuses__faq-section,
  .page-blog-g28-jackpot-bonuses__conclusion-section {
    padding: 30px 15px;
  }
  .page-blog-g28-jackpot-bonuses__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }
  .page-blog-g28-jackpot-bonuses__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }
  .page-blog-g28-jackpot-bonuses__text-block p,
  .page-blog-g28-jackpot-bonuses__text-block li {
    font-size: 0.95rem;
  }
  .page-blog-g28-jackpot-bonuses img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-g28-jackpot-bonuses__section,
  .page-blog-g28-jackpot-bonuses__card,
  .page-blog-g28-jackpot-bonuses__container,
  .page-blog-g28-jackpot-bonuses__hero-section,
  .page-blog-g28-jackpot-bonuses__hero-image-wrapper,
  .page-blog-g28-jackpot-bonuses__hero-content,
  .page-blog-g28-jackpot-bonuses__text-block,
  .page-blog-g28-jackpot-bonuses__faq-list,
  .page-blog-g28-jackpot-bonuses__faq-item,
  .page-blog-g28-jackpot-bonuses__faq-question,
  .page-blog-g28-jackpot-bonuses__faq-answer,
  .page-blog-g28-jackpot-bonuses__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog-g28-jackpot-bonuses__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-g28-jackpot-bonuses__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-g28-jackpot-bonuses__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-g28-jackpot-bonuses__image-inline {
    min-width: unset;
    min-height: unset;
  }
}

/* Ensure content images are not excessively small on desktop */
.page-blog-g28-jackpot-bonuses__image-inline {
  min-width: 200px;
  min-height: 200px;
}