/* style/blog-why-may88-official-is-top.css */

/* Base styles for the page content */
.page-blog-why-may88-official-is-top {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

/* Sections */
.page-blog-why-may88-official-is-top__hero-section,
.page-blog-why-may88-official-is-top__conclusion-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

.page-blog-why-may88-official-is-top__dark-bg {
  background-color: #0a0a0a; /* Ensure dark background for sections on dark body */
  color: #ffffff; /* Light text for dark background */
}

.page-blog-why-may88-official-is-top__light-bg {
  background-color: #ffffff; /* White background for content area */
  color: #333333; /* Dark text for light background */
  padding: 40px 20px;
}

.page-blog-why-may88-official-is-top__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-why-may88-official-is-top__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-why-may88-official-is-top__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above image if any positioning issues */
}

.page-blog-why-may88-official-is-top__main-title {
  font-size: clamp(2.2em, 4vw, 3em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0; /* Brand color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-why-may88-official-is-top__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-why-may88-official-is-top__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-blog-why-may88-official-is-top__btn-primary,
.page-blog-why-may88-official-is-top__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-blog-why-may88-official-is-top__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-why-may88-official-is-top__btn-primary:hover {
  background-color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-blog-why-may88-official-is-top__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-why-may88-official-is-top__btn-secondary:hover {
  background-color: #e0e0e0;
}

.page-blog-why-may88-official-is-top__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-blog-why-may88-official-is-top__section-title {
  font-size: 2em;
  font-weight: 700;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-blog-why-may88-official-is-top__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #333333; /* Dark text on light background */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-why-may88-official-is-top__content-area p {
  margin-bottom: 15px;
  color: #333333; /* Dark text on light background */
}

.page-blog-why-may88-official-is-top__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-why-may88-official-is-top__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333; /* Dark text on light background */
}

.page-blog-why-may88-official-is-top__list li {
  margin-bottom: 10px;
}

.page-blog-why-may88-official-is-top__btn-text-link {
  color: #26A9E0;
  text-decoration: underline;
  margin-top: 10px;
  display: inline-block;
}

.page-blog-why-may88-official-is-top__btn-text-link:hover {
  color: #1a8cc2;
}

/* FAQ styles */
.page-blog-why-may88-official-is-top__faq-list {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-why-may88-official-is-top__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-blog-why-may88-official-is-top__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #333333;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-blog-why-may88-official-is-top__faq-question:hover {
  background-color: #e5e5e5;
}

.page-blog-why-may88-official-is-top__faq-qtext {
  flex-grow: 1;
}

.page-blog-why-may88-official-is-top__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-blog-why-may88-official-is-top__faq-item[open] .page-blog-why-may88-official-is-top__faq-toggle {
  content: "−"; /* Unicode minus sign */
}

.page-blog-why-may88-official-is-top__faq-answer {
  padding: 15px 20px;
  color: #555555;
  font-size: 0.95em;
}

/* Ensure summary marker is hidden for details tag */
.page-blog-why-may88-official-is-top__faq-item summary {
  list-style: none;
}
.page-blog-why-may88-official-is-top__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-blog-why-may88-official-is-top__hero-section,
  .page-blog-why-may88-official-is-top__conclusion-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-blog-why-may88-official-is-top__main-title {
    font-size: 1.8em;
  }

  .page-blog-why-may88-official-is-top__hero-description {
    font-size: 1em;
  }

  .page-blog-why-may88-official-is-top__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-blog-why-may88-official-is-top__btn-primary,
  .page-blog-why-may88-official-is-top__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px; /* Adjust padding for smaller screens */
  }

  .page-blog-why-may88-official-is-top__content-area {
    padding: 30px 15px;
  }

  .page-blog-why-may88-official-is-top__section-title {
    font-size: 1.6em;
  }

  .page-blog-why-may88-official-is-top__sub-title {
    font-size: 1.3em;
  }

  /* Images responsive */
  .page-blog-why-may88-official-is-top img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-blog-why-may88-official-is-top__hero-image-wrapper,
  .page-blog-why-may88-official-is-top__content-area,
  .page-blog-why-may88-official-is-top__faq-list,
  .page-blog-why-may88-official-is-top__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific image classes if needed */
  .page-blog-why-may88-official-is-top__content-image {
    margin-left: 0;
    margin-right: 0;
  }
}

/* No CSS filter on images */
.page-blog-why-may88-official-is-top img {
  filter: none;
}