/* Custom CSS variables for colors */
:root {
  --main-color: #113B7A;
  --auxiliary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  /* RGB values for transparency */
  --main-color-rgb: 17, 59, 122;
  --deep-navy-rgb: 8, 22, 43;
}

/* General styles for the page */
.page-blog-mk88-promotions-guide {
  color: var(--text-main);
  background-color: var(--deep-navy);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

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

.page-blog-mk88-promotions-guide__section {
  padding: 40px 0;
}

.page-blog-mk88-promotions-guide__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-mk88-promotions-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold-color);
}

.page-blog-mk88-promotions-guide__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-mk88-promotions-guide p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-blog-mk88-promotions-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-blog-mk88-promotions-guide__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small fixed padding-top as per instructions */
  padding-bottom: 60px;
  background-color: var(--deep-navy);
}

.page-blog-mk88-promotions-guide__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog-mk88-promotions-guide__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-blog-mk88-promotions-guide__hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-mk88-promotions-guide__main-title {
  font-size: clamp(32px, 4vw, 48px); /* Using clamp as requested */
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-mk88-promotions-guide__description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.page-blog-mk88-promotions-guide__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box; /* For responsiveness */
  white-space: normal; /* For responsiveness */
  word-wrap: break-word; /* For responsiveness */
}

.page-blog-mk88-promotions-guide__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-blog-mk88-promotions-guide__inline-button {
  margin-top: 20px;
}

.page-blog-mk88-promotions-guide__final-cta {
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-mk88-promotions-guide__faq-section {
  background-color: var(--card-bg);
  padding: 60px 0;
  border-radius: 10px;
  margin-top: 40px;
}

.page-blog-mk88-promotions-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-blog-mk88-promotions-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-blog-mk88-promotions-guide__faq-item summary.page-blog-mk88-promotions-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}
details.page-blog-mk88-promotions-guide__faq-item summary.page-blog-mk88-promotions-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-mk88-promotions-guide__faq-item summary.page-blog-mk88-promotions-guide__faq-question:hover {
  background: rgba(var(--main-color-rgb), 0.5);
}
.page-blog-mk88-promotions-guide__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}
.page-blog-mk88-promotions-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-blog-mk88-promotions-guide__faq-item .page-blog-mk88-promotions-guide__faq-answer {
  padding: 0 25px 20px;
  background: rgba(var(--deep-navy-rgb), 0.8);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
}
.page-blog-mk88-promotions-guide__faq-answer p {
  margin-bottom: 0;
}

/* Responsive styles for tablet (1024px) */
@media (max-width: 1024px) {
  .page-blog-mk88-promotions-guide__main-title {
    font-size: clamp(30px, 5vw, 42px);
  }
  .page-blog-mk88-promotions-guide__section-title {
    font-size: 32px;
  }
  .page-blog-mk88-promotions-guide__sub-title {
    font-size: 22px;
  }
  .page-blog-mk88-promotions-guide__hero-image-container {
    max-height: 400px;
  }
  .page-blog-mk88-promotions-guide__faq-qtext {
    font-size: 16px;
  }
}

/* Responsive styles for mobile (768px) */
@media (max-width: 768px) {
  .page-blog-mk88-promotions-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-mk88-promotions-guide__section {
    padding: 30px 0;
  }
  .page-blog-mk88-promotions-guide__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-blog-mk88-promotions-guide__sub-title {
    font-size: 20px;
    margin-top: 25px;
  }
  .page-blog-mk88-promotions-guide__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-mk88-promotions-guide__hero-image-container {
    max-height: 300px;
  }
  .page-blog-mk88-promotions-guide__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Ensure image fits well */
  }
  .page-blog-mk88-promotions-guide__main-title {
    font-size: clamp(26px, 6vw, 36px);
  }
  .page-blog-mk88-promotions-guide__description {
    font-size: 16px;
  }

  /* All images responsiveness */
  .page-blog-mk88-promotions-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-blog-mk88-promotions-guide__section,
  .page-blog-mk88-promotions-guide__intro-section,
  .page-blog-mk88-promotions-guide__promotion-types-section,
  .page-blog-mk88-promotions-guide__how-to-participate-section,
  .page-blog-mk88-promotions-guide__tips-section,
  .page-blog-mk88-promotions-guide__faq-section,
  .page-blog-mk88-promotions-guide__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* All buttons responsiveness */
  .page-blog-mk88-promotions-guide__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-blog-mk88-promotions-guide__cta-buttons,
  .page-blog-mk88-promotions-guide__button-group,
  .page-blog-mk88-promotions-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog-mk88-promotions-guide__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* FAQ specific mobile styles */
  details.page-blog-mk88-promotions-guide__faq-item summary.page-blog-mk88-promotions-guide__faq-question {
    padding: 15px 18px;
  }
  .page-blog-mk88-promotions-guide__faq-qtext {
    font-size: 15px;
  }
  .page-blog-mk88-promotions-guide__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-blog-mk88-promotions-guide__faq-item .page-blog-mk88-promotions-guide__faq-answer {
    padding: 0 18px 15px;
  }
}