/* style/blog-fun88-latest-promotions-deep-dive.css */

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

.page-blog-fun88-latest-promotions-deep-dive {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--fun88-text-main); /* Default text color for dark background */
  background-color: var(--fun88-background); /* Default background color for the page content */
}

/* HERO Section */
.page-blog-fun88-latest-promotions-deep-dive__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 40px; /* Small top padding, body handles header offset */
  background-color: var(--fun88-background);
  overflow: hidden;
}

.page-blog-fun88-latest-promotions-deep-dive__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-fun88-latest-promotions-deep-dive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-blog-fun88-latest-promotions-deep-dive__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  background-color: var(--fun88-background);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-fun88-latest-promotions-deep-dive__main-title {
  color: var(--fun88-gold-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-blog-fun88-latest-promotions-deep-dive__subtitle {
  color: var(--fun88-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-blog-fun88-latest-promotions-deep-dive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* General Section & Content Area */
.page-blog-fun88-latest-promotions-deep-dive__section-title {
  color: var(--fun88-gold-color);
  font-size: 2.2em;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-blog-fun88-latest-promotions-deep-dive__sub-section-title {
  color: var(--fun88-primary-color);
  font-size: 1.8em;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-fun88-latest-promotions-deep-section-title {
  color: var(--fun88-secondary-color);
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-fun88-latest-promotions-deep-dive__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--fun88-background); /* Default background for light-bg sections */
  color: var(--fun88-text-main); /* Default text color for light-bg sections */
}

.page-blog-fun88-latest-promotions-deep-dive__light-bg {
  background-color: var(--fun88-background);
  color: var(--fun88-text-main);
}

.page-blog-fun88-latest-promotions-deep-dive__dark-bg {
  background-color: var(--fun88-deep-green-color);
  color: var(--fun88-text-main);
}

.page-blog-fun88-latest-promotions-deep-dive__dark-section {
  background-color: var(--fun88-deep-green-color);
  color: var(--fun88-text-main);
  padding: 60px 20px;
  max-width: 100%;
}

.page-blog-fun88-latest-promotions-deep-dive__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--fun88-text-main);
}

.page-blog-fun88-latest-promotions-deep-dive__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog-fun88-latest-promotions-deep-dive__numbered-list {
  list-style: decimal inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog-fun88-latest-promotions-deep-dive__list-item {
  margin-bottom: 10px;
  color: var(--fun88-text-secondary);
}

.page-blog-fun88-latest-promotions-deep-dive__text-link {
  color: var(--fun88-gold-color);
  text-decoration: underline;
}

.page-blog-fun88-latest-promotions-deep-dive__text-link:hover {
  color: var(--fun88-glow-color);
}

/* Buttons */
.page-blog-fun88-latest-promotions-deep-dive__btn-primary,
.page-blog-fun88-latest-promotions-deep-dive__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-fun88-latest-promotions-deep-dive__btn-primary {
  background: var(--fun88-button-gradient);
  color: #ffffff; /* Always white text on dark button */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-fun88-latest-promotions-deep-dive__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-blog-fun88-latest-promotions-deep-dive__btn-secondary {
  background: none;
  color: var(--fun88-gold-color);
  border: 2px solid var(--fun88-gold-color);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.2);
}

.page-blog-fun88-latest-promotions-deep-dive__btn-secondary:hover {
  background: var(--fun88-gold-color);
  color: var(--fun88-background);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-fun88-latest-promotions-deep-dive__cta-bottom {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Card Grid */
.page-blog-fun88-latest-promotions-deep-dive__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-fun88-latest-promotions-deep-dive__card {
  background-color: var(--fun88-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--fun88-border-color);
  color: var(--fun88-text-main);
}

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

.page-blog-fun88-latest-promotions-deep-dive__card-title {
  color: var(--fun88-glow-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-fun88-latest-promotions-deep-dive__card-text {
  color: var(--fun88-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-blog-fun88-latest-promotions-deep-dive__card .page-blog-fun88-latest-promotions-deep-dive__btn-primary,
.page-blog-fun88-latest-promotions-deep-dive__card .page-blog-fun88-latest-promotions-deep-dive__btn-secondary {
  width: auto;
  align-self: center;
  padding: 12px 24px;
  font-size: 0.95em;
}

/* Content Image */
.page-blog-fun88-latest-promotions-deep-dive__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-height: 200px;
}

/* FAQ Section */
.page-blog-fun88-latest-promotions-deep-dive__faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--fun88-background);
  color: var(--fun88-text-main);
}

.page-blog-fun88-latest-promotions-deep-dive__faq-list {
  margin-top: 30px;
}

.page-blog-fun88-latest-promotions-deep-dive__faq-item {
  background-color: var(--fun88-card-bg);
  border: 1px solid var(--fun88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-blog-fun88-latest-promotions-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--fun88-deep-green-color);
  color: var(--fun88-text-main);
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid var(--fun88-divider-color);
  list-style: none; /* For details/summary */
}

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

.page-blog-fun88-latest-promotions-deep-dive__faq-question:hover {
  background-color: var(--fun88-primary-color);
}

.page-blog-fun88-latest-promotions-deep-dive__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--fun88-gold-color);
  transition: transform 0.3s ease;
}

.page-blog-fun88-latest-promotions-deep-dive__faq-item[open] .page-blog-fun88-latest-promotions-deep-dive__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-blog-fun88-latest-promotions-deep-dive__faq-answer {
  padding: 20px 25px;
  background-color: var(--fun88-card-bg);
  color: var(--fun88-text-secondary);
  font-size: 0.95em;
}

.page-blog-fun88-latest-promotions-deep-dive__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-fun88-latest-promotions-deep-dive__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }

  .page-blog-fun88-latest-promotions-deep-dive__main-title {
    font-size: 2.8em;
  }

  .page-blog-fun88-latest-promotions-deep-dive__section-title {
    font-size: 2em;
  }

  .page-blog-fun88-latest-promotions-deep-dive__sub-section-title {
    font-size: 1.6em;
  }
}

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

  .page-blog-fun88-latest-promotions-deep-dive__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog-fun88-latest-promotions-deep-dive__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    width: calc(100% - 30px); /* Account for padding */
  }

  .page-blog-fun88-latest-promotions-deep-dive__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-blog-fun88-latest-promotions-deep-dive__subtitle {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog-fun88-latest-promotions-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-blog-fun88-latest-promotions-deep-dive__btn-primary,
  .page-blog-fun88-latest-promotions-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
  }

  .page-blog-fun88-latest-promotions-deep-dive__section-title {
    font-size: 1.8em;
  }

  .page-blog-fun88-latest-promotions-deep-dive__sub-section-title {
    font-size: 1.4em;
  }

  .page-blog-fun88-latest-promotions-deep-dive__deep-section-title {
    font-size: 1.2em;
  }

  .page-blog-fun88-latest-promotions-deep-dive__content-area,
  .page-blog-fun88-latest-promotions-deep-dive__dark-section,
  .page-blog-fun88-latest-promotions-deep-dive__faq-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-fun88-latest-promotions-deep-dive__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-blog-fun88-latest-promotions-deep-dive__card {
    padding: 20px;
  }

  .page-blog-fun88-latest-promotions-deep-dive__card-image,
  .page-blog-fun88-latest-promotions-deep-dive__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important;
  }

  .page-blog-fun88-latest-promotions-deep-dive__cta-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-fun88-latest-promotions-deep-dive__main-title {
    font-size: 1.8em;
  }

  .page-blog-fun88-latest-promotions-deep-dive__section-title {
    font-size: 1.6em;
  }

  .page-blog-fun88-latest-promotions-deep-dive__sub-section-title {
    font-size: 1.2em;
  }
}