/* style/blog-hello88-lottery-guide.css */

/* Base styles for the page content, ensuring text color contrast with body background */
/* Assuming body background is dark based on custom colors: #08160F */
.page-blog-hello88-lottery-guide {
  color: var(--text-main, #F2FFF6); /* Main text color */
  background-color: var(--bg, #08160F); /* Background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Section styling */
.page-blog-hello88-lottery-guide__hero-section,
.page-blog-hello88-lottery-guide__introduction-section,
.page-blog-hello88-lottery-guide__types-section,
.page-blog-hello88-lottery-guide__guide-section,
.page-blog-hello88-lottery-guide__tips-section,
.page-blog-hello88-lottery-guide__benefits-section,
.page-blog-hello88-lottery-guide__faq-section,
.page-blog-hello88-lottery-guide__cta-section {
  padding: 60px 20px;
  text-align: center;
}

/* Specific background colors from custom palette */
.page-blog-hello88-lottery-guide__dark-bg {
  background-color: var(--bg, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-blog-hello88-lottery-guide__light-bg {
  background-color: var(--card-bg, #11271B); /* Card BG color used for contrast section */
  color: var(--text-main, #F2FFF6);
}

/* Container for content width */
.page-blog-hello88-lottery-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added padding for smaller screens */
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-hello88-lottery-guide__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-blog-hello88-lottery-guide__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
}

.page-blog-hello88-lottery-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-hello88-lottery-guide__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-blog-hello88-lottery-guide__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

.page-blog-hello88-lottery-guide__description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-blog-hello88-lottery-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
  justify-content: center;
  gap: 20px;
}

.page-blog-hello88-lottery-guide__btn-primary,
.page-blog-hello88-lottery-guide__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
}

.page-blog-hello88-lottery-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-blog-hello88-lottery-guide__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-hello88-lottery-guide__btn-secondary {
  background-color: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-blog-hello88-lottery-guide__btn-secondary:hover {
  background-color: var(--border, #2E7A4E);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* General section titles */
.page-blog-hello88-lottery-guide__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  margin-bottom: 30px;
  line-height: 1.3;
}

/* General images in content */
.page-blog-hello88-lottery-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Card Grid for lottery types */
.page-blog-hello88-lottery-guide__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-hello88-lottery-guide__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-main, #F2FFF6);
}

.page-blog-hello88-lottery-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-hello88-lottery-guide__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-hello88-lottery-guide__card-title {
  font-size: 1.5em;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-hello88-lottery-guide__card p {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
  text-align: left;
}

/* Ordered/Unordered Lists */
.page-blog-hello88-lottery-guide__ordered-list,
.page-blog-hello88-lottery-guide__unordered-list {
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
  padding-left: 25px;
  list-style-position: inside;
}

.page-blog-hello88-lottery-guide__list-item {
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-blog-hello88-lottery-guide__list-item strong {
  color: var(--gold, #F2C14E);
}

.page-blog-hello88-lottery-guide__list-title {
  font-size: 1.3em;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-hello88-lottery-guide__list-item p {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
  margin-top: 5px;
}

/* Benefits Grid */
.page-blog-hello88-lottery-guide__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-blog-hello88-lottery-guide__benefit-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main, #F2FFF6);
}

.page-blog-hello88-lottery-guide__benefit-item:hover {
  transform: translateY(-3px);
}

.page-blog-hello88-lottery-guide__benefit-title {
  font-size: 1.4em;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-hello88-lottery-guide__benefit-item p {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* FAQ Section */
.page-blog-hello88-lottery-guide__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-blog-hello88-lottery-guide__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-blog-hello88-lottery-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: rgba(17, 168, 78, 0.1); /* Slightly lighter background for question */
  transition: background-color 0.3s ease;
}

.page-blog-hello88-lottery-guide__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

.page-blog-hello88-lottery-guide__faq-item[open] > .page-blog-hello88-lottery-guide__faq-question {
  background-color: rgba(17, 168, 78, 0.25);
}

.page-blog-hello88-lottery-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow, #57E38D);
  margin-left: 15px;
}

/* Hide default details marker */
.page-blog-hello88-lottery-guide__faq-item summary {
  list-style: none;
}
.page-blog-hello88-lottery-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-hello88-lottery-guide__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

.page-blog-hello88-lottery-guide__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
}

.page-blog-hello88-lottery-guide a {
  color: var(--glow, #57E38D); /* Links use a vibrant color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-hello88-lottery-guide a:hover {
  color: var(--gold, #F2C14E);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-hello88-lottery-guide__main-title {
    font-size: 2.5em;
  }
  .page-blog-hello88-lottery-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-hello88-lottery-guide__hero-section,
  .page-blog-hello88-lottery-guide__introduction-section,
  .page-blog-hello88-lottery-guide__types-section,
  .page-blog-hello88-lottery-guide__guide-section,
  .page-blog-hello88-lottery-guide__tips-section,
  .page-blog-hello88-lottery-guide__benefits-section,
  .page-blog-hello88-lottery-guide__faq-section,
  .page-blog-hello88-lottery-guide__cta-section {
    padding: 40px 15px;
  }

  .page-blog-hello88-lottery-guide__main-title {
    font-size: 1.8em; /* Adjusted for mobile */
    max-width: 100%;
  }

  .page-blog-hello88-lottery-guide__description {
    font-size: 1em;
    max-width: 100%;
  }

  .page-blog-hello88-lottery-guide__section-title {
    font-size: 1.7em;
  }

  .page-blog-hello88-lottery-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-hello88-lottery-guide__btn-primary,
  .page-blog-hello88-lottery-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images responsive */
  .page-blog-hello88-lottery-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Containers for images/videos/buttons */
  .page-blog-hello88-lottery-guide__section,
  .page-blog-hello88-lottery-guide__card,
  .page-blog-hello88-lottery-guide__container,
  .page-blog-hello88-lottery-guide__hero-section,
  .page-blog-hello88-lottery-guide__card-grid,
  .page-blog-hello88-lottery-guide__benefits-grid,
  .page-blog-hello88-lottery-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-hello88-lottery-guide__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-blog-hello88-lottery-guide__card-grid,
  .page-blog-hello88-lottery-guide__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-hello88-lottery-guide__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog-hello88-lottery-guide__faq-answer {
    padding: 10px 20px 20px;
  }

  .page-blog-hello88-lottery-guide__ordered-list,
  .page-blog-hello88-lottery-guide__unordered-list {
    padding-left: 20px;
  }
}

/* Ensure no filter is used on images */
.page-blog-hello88-lottery-guide img {
  filter: none;
}