/* style/blog-may88-latest-link.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-may88-latest-link {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
}

.page-blog-may88-latest-link__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
}

.page-blog-may88-latest-link__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-blog-may88-latest-link__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-may88-latest-link__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 8px;
}

.page-blog-may88-latest-link__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-blog-may88-latest-link__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-may88-latest-link__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-blog-may88-latest-link__btn-primary,
.page-blog-may88-latest-link__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-may88-latest-link__btn-primary {
  background-color: #EA7C07; /* Custom color for Login */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog-may88-latest-link__btn-primary:hover {
  background-color: #d46c00;
  border-color: #d46c00;
}

.page-blog-may88-latest-link__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-may88-latest-link__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog-may88-latest-link__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0a0a0a; /* Ensure content area uses body's dark background */
  color: #ffffff; /* Light text for readability */
  box-sizing: border-box;
}

.page-blog-may88-latest-link__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
  font-weight: bold;
  line-height: 1.3;
}

.page-blog-may88-latest-link p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-blog-may88-latest-link a {
  color: #26A9E0;
  text-decoration: none;
}

.page-blog-may88-latest-link a:hover {
  text-decoration: underline;
}

.page-blog-may88-latest-link__list,
.page-blog-may88-latest-link__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-may88-latest-link__numbered-list {
  list-style-type: decimal;
}

.page-blog-may88-latest-link__list li,
.page-blog-may88-latest-link__numbered-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-blog-may88-latest-link__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-blog-may88-latest-link__cta-block {
  background-color: rgba(38, 169, 224, 0.1); /* Light transparent blue background */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-blog-may88-latest-link__cta-block p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog-may88-latest-link__keyword {
  color: #26A9E0;
  font-weight: bold;
}

.page-blog-may88-latest-link__faq-list {
  margin-top: 30px;
}

.page-blog-may88-latest-link__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-may88-latest-link__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For <summary> tag */
}

.page-blog-may88-latest-link__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <summary> */
}

.page-blog-may88-latest-link__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-blog-may88-latest-link__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-blog-may88-latest-link__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-blog-may88-latest-link__faq-item[open] .page-blog-may88-latest-link__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
  padding-bottom: 25px;
}

.page-blog-may88-latest-link__faq-item.active .page-blog-may88-latest-link__faq-answer {
  max-height: 2000px !important; /* For JS fallback */
  padding-top: 15px;
  padding-bottom: 25px;
}

.page-blog-may88-latest-link__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Slightly different dark background */
  color: #ffffff;
  box-sizing: border-box;
}

/* Ensure color contrast for dark backgrounds */
.page-blog-may88-latest-link__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-blog-may88-latest-link__light-bg {
  background-color: #0a0a0a; /* All content area uses body background */
  color: #ffffff;
}

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

  .page-blog-may88-latest-link__hero-section {
    min-height: 400px;
    padding: 10px 15px 40px 15px;
  }

  .page-blog-may88-latest-link__hero-content {
    padding: 20px;
  }

  .page-blog-may88-latest-link__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-may88-latest-link__hero-description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

  .page-blog-may88-latest-link__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-may88-latest-link__btn-primary,
  .page-blog-may88-latest-link__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-may88-latest-link__content-area,
  .page-blog-may88-latest-link__conclusion-section {
    padding: 25px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-may88-latest-link__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  /* Mobile image and video responsiveness */
  .page-blog-may88-latest-link img,
  .page-blog-may88-latest-link video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-may88-latest-link__video-section,
  .page-blog-may88-latest-link__video-container,
  .page-blog-may88-latest-link__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-may88-latest-link__video-section {
    padding-top: 10px !important;
  }

  .page-blog-may88-latest-link__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-may88-latest-link__faq-answer {
    padding: 0 20px;
  }

  .page-blog-may88-latest-link__faq-item[open] .page-blog-may88-latest-link__faq-answer {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .page-blog-may88-latest-link__faq-item.active .page-blog-may88-latest-link__faq-answer {
    padding-top: 10px;
    padding-bottom: 20px;
  }
}