.page-blog-mi88-platform-advantages-deep-dive {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Assuming body background is light */
}

/* Hero Section */
.page-blog-mi88-platform-advantages-deep-dive__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Enforce image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding for first block */
  padding-bottom: 60px;
  background-color: #f5f5f5; /* Light background for hero section */
}

.page-blog-mi88-platform-advantages-deep-dive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-blog-mi88-platform-advantages-deep-dive__hero-content {
  max-width: 1000px;
  width: 100%; /* Ensure content block takes full width within max-width */
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-mi88-platform-advantages-deep-dive__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* H1 font-size clamp */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-blog-mi88-platform-advantages-deep-dive__intro-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-blog-mi88-platform-advantages-deep-dive__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  width: 100%; /* Ensure container takes full width */
  max-width: 600px; /* Max width for button group */
  margin-left: auto;
  margin-right: auto;
}

.page-blog-mi88-platform-advantages-deep-dive__btn-primary,
.page-blog-mi88-platform-advantages-deep-dive__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Crucial for button responsiveness */
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  flex-grow: 1; /* Allow buttons to grow */
  text-align: center;
}

.page-blog-mi88-platform-advantages-deep-dive__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-mi88-platform-advantages-deep-dive__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-blog-mi88-platform-advantages-deep-dive__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-mi88-platform-advantages-deep-dive__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb3;
  border-color: #1a7fb3;
}

/* Content Area */
.page-blog-mi88-platform-advantages-deep-dive__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Ensure content area has a light background */
  box-sizing: border-box;
  color: #333333; /* Dark text for light background */
}

.page-blog-mi88-platform-advantages-deep-dive__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-mi88-platform-advantages-deep-dive__sub-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-mi88-platform-advantages-deep-dive__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555555;
}

.page-blog-mi88-platform-advantages-deep-dive__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-mi88-platform-advantages-deep-dive__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-blog-mi88-platform-advantages-deep-dive__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1em;
  color: #444444;
}

.page-blog-mi88-platform-advantages-deep-dive__list-item strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-blog-mi88-platform-advantages-deep-dive__faq-list {
  margin-top: 40px;
}

.page-blog-mi88-platform-advantages-deep-dive__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.page-blog-mi88-platform-advantages-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-blog-mi88-platform-advantages-deep-dive__faq-question:hover {
  background-color: #1a7fb3;
}

.page-blog-mi88-platform-advantages-deep-dive__faq-qtext {
  flex-grow: 1;
}

.page-blog-mi88-platform-advantages-deep-dive__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

/* Details specific styles */
.page-blog-mi88-platform-advantages-deep-dive__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-blog-mi88-platform-advantages-deep-dive__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-blog-mi88-platform-advantages-deep-dive__faq-answer {
  padding: 0 20px 15px 20px;
  background-color: #ffffff;
  color: #555555;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-mi88-platform-advantages-deep-dive__hero-content {
    padding: 15px;
  }
  .page-blog-mi88-platform-advantages-deep-dive__main-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }
  .page-blog-mi88-platform-advantages-deep-dive__section-title {
    font-size: 1.8em;
  }
}

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

  /* Images responsiveness */
  .page-blog-mi88-platform-advantages-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
  }

  /* Ensure containers containing images are responsive */
  .page-blog-mi88-platform-advantages-deep-dive__hero-section,
  .page-blog-mi88-platform-advantages-deep-dive__content-area,
  .page-blog-mi88-platform-advantages-deep-dive__card,
  .page-blog-mi88-platform-advantages-deep-dive__faq-item {
    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 */
  }

  /* Buttons responsiveness */
  .page-blog-mi88-platform-advantages-deep-dive__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-mi88-platform-advantages-deep-dive__btn-primary,
  .page-blog-mi88-platform-advantages-deep-dive__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-mi88-platform-advantages-deep-dive__hero-section {
    padding-top: 10px !important; /* Small top padding for first block */
  }

  .page-blog-mi88-platform-advantages-deep-dive__main-title {
    font-size: 1.8em;
  }
  .page-blog-mi88-platform-advantages-deep-dive__section-title {
    font-size: 1.5em;
  }
  .page-blog-mi88-platform-advantages-deep-dive__sub-title {
    font-size: 1.2em;
  }
}