/* style/blog-lucky888-latest-link-guide.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-color-dark: #0a0a0a; /* From shared.css */
  --btn-login-color: #EA7C07;
}

.page-blog-lucky888-latest-link-guide {
  color: var(--text-color-light); /* All text in main content should be light for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--bg-color-dark); /* Ensure consistency, though body handles it */
}

.page-blog-lucky888-latest-link-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Enforce image on top, text below */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

.page-blog-lucky888-latest-link-guide__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for large screens */
  margin-bottom: 30px; /* Space between image and text */
}

.page-blog-lucky888-latest-link-guide__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  filter: none; /* Ensure no filter */
}

.page-blog-lucky888-latest-link-guide__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-blog-lucky888-latest-link-guide__hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: var(--secondary-color); /* White text for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-blog-lucky888-latest-link-guide__hero-content p {
  font-size: 1.15rem;
  color: var(--text-color-light); /* White text for paragraphs */
  margin-bottom: 30px;
}

.page-blog-lucky888-latest-link-guide__cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: 2px solid var(--primary-color);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-lucky888-latest-link-guide__cta-button:hover {
  background-color: #1e87c0; /* Slightly darker primary color */
}

.page-blog-lucky888-latest-link-guide__btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color); /* Button text always white */
  border: 2px solid transparent;
}

.page-blog-lucky888-latest-link-guide__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color); /* Use brand color for contrast */
  border: 2px solid var(--primary-color);
}

.page-blog-lucky888-latest-link-guide__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General section styling */
.page-blog-lucky888-latest-link-guide__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog-lucky888-latest-link-guide__content-block {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-lucky888-latest-link-guide__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-blog-lucky888-latest-link-guide__section-subtitle {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 500;
}

.page-blog-lucky888-latest-link-guide__content-text {
  font-size: 1rem;
  color: var(--text-color-light);
  margin-bottom: 20px;
}

.page-blog-lucky888-latest-link-guide__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-blog-lucky888-latest-link-guide__list-item {
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.page-blog-lucky888-latest-link-guide__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-blog-lucky888-latest-link-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no filter */
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-blog-lucky888-latest-link-guide__faq-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog-lucky888-latest-link-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog-lucky888-latest-link-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--secondary-color); /* White text for question */
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for question header */
  transition: background-color 0.3s ease;
}

.page-blog-lucky888-latest-link-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-blog-lucky888-latest-link-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-blog-lucky888-latest-link-guide__faq-answer {
  padding: 0 25px 15px;
  color: var(--text-color-light); /* White text for answer */
  font-size: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-blog-lucky888-latest-link-guide__faq-item.active .page-blog-lucky888-latest-link-guide__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 10px;
}

/* Video Section (if present, currently not explicitly in content but included for robustness) */
.page-blog-lucky888-latest-link-guide__video-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
}

.page-blog-lucky888-latest-link-guide__video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  width: 100%; /* Desktop width */
  max-width: 100%; /* Desktop max width */
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-lucky888-latest-link-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer; /* Indicate clickable video */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-blog-lucky888-latest-link-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-lucky888-latest-link-guide__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog-lucky888-latest-link-guide__hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-blog-lucky888-latest-link-guide__hero-content p {
    font-size: 1rem;
  }

  .page-blog-lucky888-latest-link-guide__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-lucky888-latest-link-guide__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .page-blog-lucky888-latest-link-guide__section,
  .page-blog-lucky888-latest-link-guide__faq-section,
  .page-blog-lucky888-latest-link-guide__video-section,
  .page-blog-lucky888-latest-link-guide__content-block {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-lucky888-latest-link-guide__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-blog-lucky888-latest-link-guide__section-subtitle {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  /* Images responsive */
  .page-blog-lucky888-latest-link-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Video responsive */
  .page-blog-lucky888-latest-link-guide video,
  .page-blog-lucky888-latest-link-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-lucky888-latest-link-guide__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

  .page-blog-lucky888-latest-link-guide__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-lucky888-latest-link-guide__faq-answer {
    padding: 0 20px 10px;
    font-size: 0.95rem;
  }
}

/* Ensure no filter on images */
.page-blog-lucky888-latest-link-guide img {
  filter: none;
}