/* style/blog-mlv88-introduction.css */

/* Base styles for the page content */
.page-blog-mlv88-introduction {
  background-color: #08160F; /* Background color from custom scheme */
  color: #F2FFF6; /* Main text color from custom scheme */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 18px; /* Base font size for desktop */
}

/* Ensure all images are responsive */
.page-blog-mlv88-introduction img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Headings */
.page-blog-mlv88-introduction h1,
.page-blog-mlv88-introduction h2,
.page-blog-mlv88-introduction h3 {
  color: #F2FFF6; /* Main text color for headings */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-blog-mlv88-introduction h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-mlv88-introduction h2 {
  font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive H2 font size */
  font-weight: 600;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-blog-mlv88-introduction h3 {
  font-size: clamp(1.5rem, 3vw, 2rem); /* Responsive H3 font size */
  font-weight: 500;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-blog-mlv88-introduction__paragraph {
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-blog-mlv88-introduction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-mlv88-introduction__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  background-color: #08160F; /* Background color for hero section */
}

.page-blog-mlv88-introduction__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog-mlv88-introduction__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 300px; /* Ensure image is not too small */
}

.page-blog-mlv88-introduction__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: #F2FFF6;
}

.page-blog-mlv88-introduction__lead-paragraph {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

/* CTA Buttons */
.page-blog-mlv88-introduction__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog-mlv88-introduction__cta-buttons--center {
  justify-content: center;
}

.page-blog-mlv88-introduction__btn-primary,
.page-blog-mlv88-introduction__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  text-align: center;
}

.page-blog-mlv88-introduction__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main color */
  border: 2px solid transparent;
}

.page-blog-mlv88-introduction__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-mlv88-introduction__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Green color for secondary button text */
  border: 2px solid #2AD16F;
}

.page-blog-mlv88-introduction__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.2);
}

/* Content Sections */
.page-blog-mlv88-introduction__content-section,
.page-blog-mlv88-introduction__features-section,
.page-blog-mlv88-introduction__advantages-section,
.page-blog-mlv88-introduction__promotions-section,
.page-blog-mlv88-introduction__guide-section,
.page-blog-mlv88-introduction__responsible-gaming-section,
.page-blog-mlv88-introduction__faq-section,
.page-blog-mlv88-introduction__conclusion-section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-blog-mlv88-introduction__content-section:last-of-type,
.page-blog-mlv88-introduction__conclusion-section {
  border-bottom: none;
}

.page-blog-mlv88-introduction__section-title {
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* Features Section */
.page-blog-mlv88-introduction__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-mlv88-introduction__feature-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards have equal height */
}

.page-blog-mlv88-introduction__feature-card:hover {
  transform: translateY(-5px);
}

.page-blog-mlv88-introduction__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for feature images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-mlv88-introduction__card-title {
  color: #F2FFF6;
  font-size: 1.4rem;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow title to take available space */
}

.page-blog-mlv88-introduction__card-description {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.page-blog-mlv88-introduction__card-link {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: auto; /* Push link to bottom */
}

.page-blog-mlv88-introduction__card-link:hover {
  text-decoration: underline;
}

/* Advantages Section */
.page-blog-mlv88-introduction__advantages-section {
  background-color: #0A4B2C; /* Deep Green for a darker section */
  color: #F2FFF6;
}

.page-blog-mlv88-introduction__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-mlv88-introduction__advantage-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark bg */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-mlv88-introduction__advantage-title {
  color: #F2C14E; /* Gold color for advantage titles */
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-blog-mlv88-introduction__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-blog-mlv88-introduction__promo-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog-mlv88-introduction__promo-title {
  color: #F2FFF6;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Guide Section */
.page-blog-mlv88-introduction__guide-section {
  background-color: #08160F; /* Ensure sections have distinct backgrounds */
}

.page-blog-mlv88-introduction__guide-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-blog-mlv88-introduction__guide-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-mlv88-introduction__guide-title {
  color: #F2FFF6;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* Responsible Gaming Section */
.page-blog-mlv88-introduction__responsible-gaming-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  text-align: center;
}

/* FAQ Section */
.page-blog-mlv88-introduction__faq-section {
  padding: 60px 0;
}

.page-blog-mlv88-introduction__faq-list {
  margin-top: 40px;
}

.page-blog-mlv88-introduction__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-blog-mlv88-introduction__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6;
  font-size: 1.1rem;
  user-select: none;
  list-style: none; /* For <summary> tag */
}

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

.page-blog-mlv88-introduction__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow color */
}

.page-blog-mlv88-introduction__faq-item[open] .page-blog-mlv88-introduction__faq-toggle {
  content: "−"; /* Change to minus when open, handled by JS for details */
}

.page-blog-mlv88-introduction__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8;
  font-size: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-blog-mlv88-introduction__faq-item[open] .page-blog-mlv88-introduction__faq-answer {
  max-height: 2000px; /* Arbitrarily large value for smooth transition */
  transition: max-height 0.5s ease-in;
}

/* Conclusion Section */
.page-blog-mlv88-introduction__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-blog-mlv88-introduction h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog-mlv88-introduction h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-blog-mlv88-introduction h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }
  .page-blog-mlv88-introduction__hero-image-wrapper {
    max-height: 450px;
  }
  .page-blog-mlv88-introduction__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog-mlv88-introduction {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  /* Universal image responsiveness for mobile */
  .page-blog-mlv88-introduction img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All content containers for mobile responsiveness */
  .page-blog-mlv88-introduction__container,
  .page-blog-mlv88-introduction__section,
  .page-blog-mlv88-introduction__card,
  .page-blog-mlv88-introduction__hero-section,
  .page-blog-mlv88-introduction__content-section,
  .page-blog-mlv88-introduction__features-section,
  .page-blog-mlv88-introduction__advantages-section,
  .page-blog-mlv88-introduction__promotions-section,
  .page-blog-mlv88-introduction__guide-section,
  .page-blog-mlv88-introduction__responsible-gaming-section,
  .page-blog-mlv88-introduction__faq-section,
  .page-blog-mlv88-introduction__conclusion-section,
  .page-blog-mlv88-introduction__hero-image-wrapper,
  .page-blog-mlv88-introduction__feature-grid,
  .page-blog-mlv88-introduction__advantage-grid,
  .page-blog-mlv88-introduction__promo-list,
  .page-blog-mlv88-introduction__guide-steps,
  .page-blog-mlv88-introduction__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-mlv88-introduction__hero-section {
    padding: 10px 0 40px 0 !important;
  }

  .page-blog-mlv88-introduction__hero-image-wrapper {
    max-height: 250px !important;
    margin-bottom: 20px !important;
  }

  .page-blog-mlv88-introduction__hero-content {
    padding: 0 15px !important;
  }

  .page-blog-mlv88-introduction__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-blog-mlv88-introduction__btn-primary,
  .page-blog-mlv88-introduction__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-blog-mlv88-introduction__feature-grid,
  .page-blog-mlv88-introduction__advantage-grid,
  .page-blog-mlv88-introduction__guide-steps {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-blog-mlv88-introduction__guide-card {
    max-width: 100% !important;
  }

  .page-blog-mlv88-introduction__feature-image {
    height: 180px !important; /* Adjust height for mobile */
  }

  .page-blog-mlv88-introduction__faq-question {
    padding: 15px 20px !important;
    font-size: 1rem !important;
  }

  .page-blog-mlv88-introduction__faq-answer {
    padding: 0 20px 15px 20px !important;
    font-size: 0.9rem !important;
  }
}