/* style/resources-gg88-latest-promotions-analysis.css */

/* Base styles for the page content */
.page-resources-gg88-latest-promotions-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Container for main content areas */
.page-resources-gg88-latest-promotions-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Dark background sections (e.g., hero, cards) */
.page-resources-gg88-latest-promotions-analysis__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  padding: 40px 0;
}

/* Light background sections for contrast within content */
.page-resources-gg88-latest-promotions-analysis__light-bg {
  background-color: #111111; /* Use body background for main content area to blend */
  color: #ffffff;
  padding: 40px 0;
}


/* Hero Section */
.page-resources-gg88-latest-promotions-analysis__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  background-color: #26A9E0; /* Ensure hero section has a background */
}

.page-resources-gg88-latest-promotions-analysis__hero-section .page-resources-gg88-latest-promotions-analysis__container {
  position: relative;
  z-index: 2; /* Ensure text is above image */
}

.page-resources-gg88-latest-promotions-analysis__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
}

.page-resources-gg88-latest-promotions-analysis__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-gg88-latest-promotions-analysis__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Headings */
.page-resources-gg88-latest-promotions-analysis__section-title {
  font-size: 2.5em;
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Use brand color for main section titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-gg88-latest-promotions-analysis__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff; /* Light text for sub-titles */
}

/* Paragraphs and Lists */
.page-resources-gg88-latest-promotions-analysis p {
  margin-bottom: 15px;
  color: #f0f0f0; /* Light text for paragraphs */
}

.page-resources-gg88-latest-promotions-analysis__list {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for lists */
}

.page-resources-gg88-latest-promotions-analysis__list li {
  margin-bottom: 10px;
}

/* Buttons */
.page-resources-gg88-latest-promotions-analysis__btn-primary,
.page-resources-gg88-latest-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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Ensure padding doesn't push width */
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-gg88-latest-promotions-analysis__btn-primary {
  background-color: #EA7C07; /* Login/Promotional button color */
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin-right: 15px;
}

.page-resources-gg88-latest-promotions-analysis__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-resources-gg88-latest-promotions-analysis__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand primary color for text */
  border: 2px solid #26A9E0;
}

.page-resources-gg88-latest-promotions-analysis__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

/* Promotions Grid (Cards) */
.page-resources-gg88-latest-promotions-analysis__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-gg88-latest-promotions-analysis__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark bg */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-gg88-latest-promotions-analysis__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves like a block element */
}

.page-resources-gg88-latest-promotions-analysis__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand primary for card titles */
}

.page-resources-gg88-latest-promotions-analysis__card p {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: #f0f0f0;
  flex-grow: 1; /* Allow paragraph to take available space */
}

.page-resources-gg88-latest-promotions-analysis__card .page-resources-gg88-latest-promotions-analysis__btn-secondary {
  align-self: center; /* Center button within the card */
  margin-top: auto; /* Push button to bottom if content varies */
}

/* FAQ Section */
.page-resources-gg88-latest-promotions-analysis__faq-list {
  margin-top: 40px;
}

.page-resources-gg88-latest-promotions-analysis__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark bg */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-gg88-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0; /* Brand primary for FAQ questions */
  list-style: none; /* For details/summary */
}

.page-resources-gg88-latest-promotions-analysis__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-resources-gg88-latest-promotions-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-resources-gg88-latest-promotions-analysis__faq-item[open] .page-resources-gg88-latest-promotions-analysis__faq-toggle {
  transform: rotate(45deg); /* Rotate + to X when open */
}

.page-resources-gg88-latest-promotions-analysis__faq-answer {
  padding: 0 25px 20px;
  color: #f0f0f0;
  font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-gg88-latest-promotions-analysis__main-title {
    font-size: 2.5em;
  }
  .page-resources-gg88-latest-promotions-analysis__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-gg88-latest-promotions-analysis__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-gg88-latest-promotions-analysis__main-title {
    font-size: 2em;
    padding: 0 10px;
  }

  .page-resources-gg88-latest-promotions-analysis__intro-text {
    font-size: 1em;
    padding: 0 10px;
  }

  .page-resources-gg88-latest-promotions-analysis__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-resources-gg88-latest-promotions-analysis__sub-title {
    font-size: 1.5em;
    padding: 0 10px;
  }

  .page-resources-gg88-latest-promotions-analysis__container {
    padding: 0 15px; /* Adjust padding for mobile */
  }

  /* Images responsive */
  .page-resources-gg88-latest-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containing elements for images and content */
  .page-resources-gg88-latest-promotions-analysis__section,
  .page-resources-gg88-latest-promotions-analysis__card,
  .page-resources-gg88-latest-promotions-analysis__container,
  .page-resources-gg88-latest-promotions-analysis__promotions-grid,
  .page-resources-gg88-latest-promotions-analysis__faq-list,
  .page-resources-gg88-latest-promotions-analysis__faq-item,
  .page-resources-gg88-latest-promotions-analysis__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons responsive */
  .page-resources-gg88-latest-promotions-analysis__btn-primary,
  .page-resources-gg88-latest-promotions-analysis__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0 !important; /* Remove right margin for stacking */
    margin-bottom: 15px; /* Add bottom margin for stacking */
  }

  .page-resources-gg88-latest-promotions-analysis__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-resources-gg88-latest-promotions-analysis__promotions-grid {
    grid-template-columns: 1fr; /* Single column for cards */
  }

  .page-resources-gg88-latest-promotions-analysis__card-image {
    height: auto; /* Allow image height to adjust */
  }

  .page-resources-gg88-latest-promotions-analysis__faq-question,
  .page-resources-gg88-latest-promotions-analysis__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure no filter on images */
.page-resources-gg88-latest-promotions-analysis img {
  filter: none !important;
}