.page-resources-mu9-fun-platform-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background */
}

/* Hero Section */
.page-resources-mu9-fun-platform-advantages__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #017439, #FFFFFF); /* Brand colors */
  overflow: hidden; /* Prevent image overflow */
}

.page-resources-mu9-fun-platform-advantages__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-resources-mu9-fun-platform-advantages__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-mu9-fun-platform-advantages__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-mu9-fun-platform-advantages__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff; /* White text on hero for contrast with green gradient */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-mu9-fun-platform-advantages__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-mu9-fun-platform-advantages__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-resources-mu9-fun-platform-advantages__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Red for CTA - Register/Login */
  color: #FFFF00; /* Yellow text for CTA */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-mu9-fun-platform-advantages__cta-button:hover {
  background: #a30606; /* Darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-mu9-fun-platform-advantages__cta-button--secondary {
  background: #017439; /* Green for secondary CTA */
  color: #FFFFFF;
  margin-left: 20px;
}

.page-resources-mu9-fun-platform-advantages__cta-button--secondary:hover {
  background: #005f2c;
}


/* General Section Styles */
.page-resources-mu9-fun-platform-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-resources-mu9-fun-platform-advantages__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand green for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources-mu9-fun-platform-advantages__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-resources-mu9-fun-platform-advantages__section-title--white {
  color: #ffffff;
}

.page-resources-mu9-fun-platform-advantages__section-title--white::after {
  background-color: #ffffff;
}

.page-resources-mu9-fun-platform-advantages__section-paragraph {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-mu9-fun-platform-advantages__introduction-section {
  padding: 80px 0;
}

.page-resources-mu9-fun-platform-advantages__advantages-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background for this section */
  color: #ffffff;
}

.page-resources-mu9-fun-platform-advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-mu9-fun-platform-advantages__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards have equal height */
}

.page-resources-mu9-fun-platform-advantages__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-mu9-fun-platform-advantages__card-image {
  width: 100%;
  max-width: 400px; /* Constrain image width within card */
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-mu9-fun-platform-advantages__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources-mu9-fun-platform-advantages__card-paragraph {
  font-size: 1em;
  color: #333333;
  text-align: justify;
  flex-grow: 1; /* Allow paragraph to take up available space */
}

.page-resources-mu9-fun-platform-advantages__call-to-action {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.page-resources-mu9-fun-platform-advantages__text-center {
  text-align: center;
}

/* FAQ Section */
.page-resources-mu9-fun-platform-advantages__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-resources-mu9-fun-platform-advantages__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-mu9-fun-platform-advantages__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-mu9-fun-platform-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: #f9f9f9;
  color: #333333;
}

.page-resources-mu9-fun-platform-advantages__faq-item.active .page-resources-mu9-fun-platform-advantages__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-resources-mu9-fun-platform-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-mu9-fun-platform-advantages__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-mu9-fun-platform-advantages__faq-question:active {
  background: #eeeeee;
}

.page-resources-mu9-fun-platform-advantages__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #017439; /* Brand green for FAQ questions */
  pointer-events: none;
}