/* style/blog-how-to-register-m88-account.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-how-to-register-m88-account {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Section spacing and general layout */
.page-blog-how-to-register-m88-account__section {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-blog-how-to-register-m88-account__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

/* Hero Section */
.page-blog-how-to-register-m88-account__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  color: #ffffff;
  background: rgba(38, 169, 224, 0.2); /* Semi-transparent primary color for dark body */
}

.page-blog-how-to-register-m88-account__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-blog-how-to-register-m88-account__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-how-to-register-m88-account__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-blog-how-to-register-m88-account__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog-how-to-register-m88-account__lead-paragraph {
  font-size: clamp(1em, 1.2vw, 1.2em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Titles */
.page-blog-how-to-register-m88-account__section-title {
  font-size: clamp(1.8em, 2.5vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-blog-how-to-register-m88-account__sub-title {
  font-size: clamp(1.4em, 2vw, 2em);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

/* Paragraphs */
.page-blog-how-to-register-m88-account p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-blog-how-to-register-m88-account__text-block p {
  color: #f0f0f0;
}

/* Buttons */
.page-blog-how-to-register-m88-account__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-blog-how-to-register-m88-account__cta-buttons--center {
  margin-top: 40px;
}

.page-blog-how-to-register-m88-account__btn-primary,
.page-blog-how-to-register-m88-account__btn-secondary,
.page-blog-how-to-register-m88-account__btn-login {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-how-to-register-m88-account__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-how-to-register-m88-account__btn-primary:hover {
  background-color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-blog-how-to-register-m88-account__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-how-to-register-m88-account__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog-how-to-register-m88-account__btn-login {
  background-color: #EA7C07; /* Custom login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog-how-to-register-m88-account__btn-login:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.page-blog-how-to-register-m88-account__btn-full-width {
  width: 100%;
  max-width: 400px; /* Limit max width for aesthetic */
  margin: 20px auto;
}

.page-blog-how-to-register-m88-account__btn-margin-top {
  margin-top: 40px;
}

/* Lists */
.page-blog-how-to-register-m88-account__list {
  list-style: disc;
  margin: 20px 0 20px 20px;
  padding: 0;
  color: #f0f0f0;
  text-align: left;
}

.page-blog-how-to-register-m88-account__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Images */
.page-blog-how-to-register-m88-account__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-how-to-register-m88-account__image-margin {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Cards */
.page-blog-how-to-register-m88-account__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
}

.page-blog-how-to-register-m88-account__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark body */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 200px; /* Ensure minimum card height */
}

.page-blog-how-to-register-m88-account__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-blog-how-to-register-m88-account__card p {
  color: #f0f0f0;
}

/* FAQ Section */
.page-blog-how-to-register-m88-account__faq-list {
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
}

.page-blog-how-to-register-m88-account__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly darker transparent white */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-how-to-register-m88-account__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15em;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.1); /* Light blue tint for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-how-to-register-m88-account__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-blog-how-to-register-m88-account__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-blog-how-to-register-m88-account__faq-item[open] .page-blog-how-to-register-m88-account__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-how-to-register-m88-account__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  text-align: left;
}

.page-blog-how-to-register-m88-account__faq-answer p {
  margin-bottom: 0;
}

/* Dark and Light Backgrounds for sections */
.page-blog-how-to-register-m88-account__dark-bg {
  background-color: rgba(38, 169, 224, 0.2); /* Semi-transparent primary for dark body */
  color: #ffffff;
}

.page-blog-how-to-register-m88-account__dark-bg .page-blog-how-to-register-m88-account__section-title,
.page-blog-how-to-register-m88-account__dark-bg .page-blog-how-to-register-m88-account__sub-title {
  color: #ffffff;
}

.page-blog-how-to-register-m88-account__dark-bg .page-blog-how-to-register-m88-account__card {
  background: rgba(255, 255, 255, 0.1);
}

.page-blog-how-to-register-m88-account__light-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter transparent white for contrast */
  color: #ffffff;
}

.page-blog-how-to-register-m88-account__light-bg .page-blog-how-to-register-m88-account__section-title,
.page-blog-how-to-register-m88-account__light-bg .page-blog-how-to-register-m88-account__sub-title {
  color: #26A9E0;
}

.page-blog-how-to-register-m88-account__light-bg p,
.page-blog-how-to-register-m88-account__light-bg li {
  color: #f0f0f0;
}

/* Floating Action Buttons for Login/Register */
.page-blog-how-to-register-m88-account__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-blog-how-to-register-m88-account__floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.page-blog-how-to-register-m88-account__floating-button:hover {
  transform: translateY(-3px);
}

.page-blog-how-to-register-m88-account__floating-register {
  background-color: #26A9E0;
}

.page-blog-how-to-register-m88-account__floating-login {
  background-color: #EA7C07;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog-how-to-register-m88-account__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-blog-how-to-register-m88-account__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

  .page-blog-how-to-register-m88-account__lead-paragraph {
    font-size: 1em;
  }

  .page-blog-how-to-register-m88-account__section {
    padding: 40px 15px;
  }

  .page-blog-how-to-register-m88-account__content-area {
    padding: 20px 15px;
  }

  .page-blog-how-to-register-m88-account__section-title {
    font-size: 1.8em;
  }

  .page-blog-how-to-register-m88-account__sub-title {
    font-size: 1.5em;
  }

  .page-blog-how-to-register-m88-account p,
  .page-blog-how-to-register-m88-account li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-how-to-register-m88-account__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-how-to-register-m88-account__btn-primary,
  .page-blog-how-to-register-m88-account__btn-secondary,
  .page-blog-how-to-register-m88-account__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-how-to-register-m88-account__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog-how-to-register-m88-account__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-how-to-register-m88-account__card {
    padding: 20px;
    min-height: unset;
  }

  .page-blog-how-to-register-m88-account__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog-how-to-register-m88-account__faq-answer {
    padding: 15px 20px;
  }

  .page-blog-how-to-register-m88-account__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    right: 20px;
    bottom: 20px;
    justify-content: space-around;
  }

  .page-blog-how-to-register-m88-account__floating-button {
    width: 50px;
    height: 50px;
    font-size: 0.7em;
  }
}

/* Ensure all image containers are responsive for mobile */
.page-blog-how-to-register-m88-account__section,
.page-blog-how-to-register-m88-account__card,
.page-blog-how-to-register-m88-account__container,
.page-blog-how-to-register-m88-account__hero-image-wrapper {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-blog-how-to-register-m88-account__section,
  .page-blog-how-to-register-m88-account__card,
  .page-blog-how-to-register-m88-account__container,
  .page-blog-how-to-register-m88-account__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Add padding to prevent content from touching edges */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-how-to-register-m88-account__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-blog-how-to-register-m88-account__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-how-to-register-m88-account__image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-blog-how-to-register-m88-account__text-block,
  .page-blog-how-to-register-m88-account__list,
  .page-blog-how-to-register-m88-account__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-blog-how-to-register-m88-account__list {
    margin-left: 35px;
  }
}