/* style/blog-maximizing-rewards-with-m99-code.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-blog-maximizing-rewards-with-m99-code {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Hero Section */
.page-blog-maximizing-rewards-with-m99-code__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Ensure consistent background */
}

.page-blog-maximizing-rewards-with-m99-code__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px; /* Space between image and text content */
}

.page-blog-maximizing-rewards-with-m99-code__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-maximizing-rewards-with-m99-code__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1, no fixed large size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-maximizing-rewards-with-m99-code__subtitle {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Call to Action Button */
.page-blog-maximizing-rewards-with-m99-code__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-blog-maximizing-rewards-with-m99-code__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

/* Content Area */
.page-blog-maximizing-rewards-with-m99-code__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Ensure consistent background */
  color: #F2FFF6; /* Text Main */
}

.page-blog-maximizing-rewards-with-m99-code__article {
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog-maximizing-rewards-with-m99-code__section-title {
  font-size: 2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #2E7A4E; /* Divider */
  padding-bottom: 10px;
}

.page-blog-maximizing-rewards-with-m99-code__section-title:first-of-type {
  margin-top: 0;
}

.page-blog-maximizing-rewards-with-m99-code__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-blog-maximizing-rewards-with-m99-code__highlight {
  color: #57E38D; /* Glow */
  font-weight: 600;
}

.page-blog-maximizing-rewards-with-m99-code__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-blog-maximizing-rewards-with-m99-code__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-blog-maximizing-rewards-with-m99-code__list-item {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-maximizing-rewards-with-m99-code__list-item strong {
  color: #F2FFF6; /* Text Main */
}

.page-blog-maximizing-rewards-with-m99-code__article-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  object-fit: cover;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog-maximizing-rewards-with-m99-code__image-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.page-blog-maximizing-rewards-with-m99-code__image-caption {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 10px;
}

.page-blog-maximizing-rewards-with-m99-code__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog-maximizing-rewards-with-m99-code__cta-text {
  font-size: 1.3em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 25px;
}

/* FAQ Section */
.page-blog-maximizing-rewards-with-m99-code__faq-list {
  margin-top: 30px;
}

.page-blog-maximizing-rewards-with-m99-code__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-blog-maximizing-rewards-with-m99-code__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-blog-maximizing-rewards-with-m99-code__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-blog-maximizing-rewards-with-m99-code__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-blog-maximizing-rewards-with-m99-code__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-blog-maximizing-rewards-with-m99-code__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6; /* Text Main */
}

.page-blog-maximizing-rewards-with-m99-code__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 15px;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.page-blog-maximizing-rewards-with-m99-code__faq-item[open] .page-blog-maximizing-rewards-with-m99-code__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-blog-maximizing-rewards-with-m99-code__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog-maximizing-rewards-with-m99-code__faq-answer p {
  margin-bottom: 0;
  color: #A7D9B8; /* Text Secondary */
}

/* Links within content */
.page-blog-maximizing-rewards-with-m99-code a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-maximizing-rewards-with-m99-code a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-maximizing-rewards-with-m99-code__article {
    padding: 30px;
  }

  .page-blog-maximizing-rewards-with-m99-code__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-blog-maximizing-rewards-with-m99-code {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-maximizing-rewards-with-m99-code__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset, small top padding */
  }

  .page-blog-maximizing-rewards-with-m99-code__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-maximizing-rewards-with-m99-code__subtitle {
    font-size: 1em;
  }

  .page-blog-maximizing-rewards-with-m99-code__btn-primary {
    padding: 12px 25px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important; /* Allow text wrap */
    word-wrap: break-word !important; /* Allow text wrap */
  }
  
  /* Ensure images are responsive and don't overflow */
  .page-blog-maximizing-rewards-with-m99-code img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-blog-maximizing-rewards-with-m99-code__image-wrapper,
  .page-blog-maximizing-rewards-with-m99-code__article,
  .page-blog-maximizing-rewards-with-m99-code__cta-section,
  .page-blog-maximizing-rewards-with-m99-code__content-area,
  .page-blog-maximizing-rewards-with-m99-code__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-maximizing-rewards-with-m99-code__article {
    padding: 20px;
  }

  .page-blog-maximizing-rewards-with-m99-code__section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-maximizing-rewards-with-m99-code__paragraph,
  .page-blog-maximizing-rewards-with-m99-code__list-item {
    font-size: 1em;
  }

  .page-blog-maximizing-rewards-with-m99-code__list,
  .page-blog-maximizing-rewards-with-m99-code__ordered-list {
    margin-left: 20px;
  }

  .page-blog-maximizing-rewards-with-m99-code__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-maximizing-rewards-with-m99-code__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-blog-maximizing-rewards-with-m99-code__cta-text {
    font-size: 1.1em;
  }
}