.page-resources-understanding-mm-live {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Assuming shared.css sets body background */
  padding-top: 0; /* Assuming shared.css handles body padding-top for fixed header */
}

.page-resources-understanding-mm-live__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-understanding-mm-live__hero-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #000080, #0d0d0d); /* Use auxiliary color as background for hero text section */
  color: #ffffff;
}

.page-resources-understanding-mm-live__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-resources-understanding-mm-live__main-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-understanding-mm-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-understanding-mm-live__btn-primary,
.page-resources-understanding-mm-live__btn-secondary,
.page-resources-understanding-mm-live__btn-text {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-understanding-mm-live__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Midnight blue text for contrast */
  border: 2px solid #FFD700;
}

.page-resources-understanding-mm-live__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #000050;
}

.page-resources-understanding-mm-live__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-understanding-mm-live__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-resources-understanding-mm-live__btn-text {
  color: #FFD700;
  padding: 0;
  border: none;
  background: transparent;
  text-decoration: underline;
  font-size: 1em;
}

.page-resources-understanding-mm-live__btn-text:hover {
  color: #e6c200;
}

.page-resources-understanding-mm-live__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-understanding-mm-live__section:last-of-type {
  border-bottom: none;
}

.page-resources-understanding-mm-live__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-resources-understanding-mm-live__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources-understanding-mm-live__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-understanding-mm-live__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-resources-understanding-mm-live__text-block {
  flex: 1;
}

.page-resources-understanding-mm-live__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources-understanding-mm-live__text-block ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources-understanding-mm-live__text-block ul li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-resources-understanding-mm-live__image-block {
  flex: 1;
  text-align: center;
}

.page-resources-understanding-mm-live__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-understanding-mm-live__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-resources-understanding-mm-live__features-grid,
.page-resources-understanding-mm-live__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-understanding-mm-live__feature-card,
.page-resources-understanding-mm-live__news-card {
  background-color: #000080; /* Midnight blue card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* White text on midnight blue */
}

.page-resources-understanding-mm-live__feature-card:hover,
.page-resources-understanding-mm-live__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-resources-understanding-mm-live__feature-card img,
.page-resources-understanding-mm-live__news-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency, object-fit will handle aspect ratio */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-understanding-mm-live__feature-card .page-resources-understanding-mm-live__card-title,
.page-resources-understanding-mm-live__news-card .page-resources-understanding-mm-live__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin: 15px 20px 10px;
  color: #FFD700; /* Gold for card titles */
}

.page-resources-understanding-mm-live__news-card .page-resources-understanding-mm-live__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources-understanding-mm-live__news-card .page-resources-understanding-mm-live__card-title a:hover {
  text-decoration: underline;
}

.page-resources-understanding-mm-live__card-description {
  font-size: 1em;
  margin: 0 20px 20px;
  color: #f0f0f0;
}

.page-resources-understanding-mm-live__feature-card .page-resources-understanding-mm-live__btn-text {
  display: block;
  text-align: right;
  margin: 0 20px 20px;
}

.page-resources-understanding-mm-live__news-date {
  display: block;
  font-size: 0.9em;
  color: #cccccc;
  margin: 0 20px 20px;
}

.page-resources-understanding-mm-live__cta-buttons--center {
  text-align: center;
  margin-top: 50px;
}

/* FAQ styles */
.page-resources-understanding-mm-live__faq-list {
  margin-top: 40px;
}

.page-resources-understanding-mm-live__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #000080; /* Midnight blue for FAQ item */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-understanding-mm-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #000080; /* Midnight blue */
  border: 1px solid #FFD700; /* Gold border */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-understanding-mm-live__faq-question:hover {
  background: #0000a0; /* Slightly lighter blue on hover */
  border-color: #e6c200; /* Slightly darker gold */
}

.page-resources-understanding-mm-live__faq-question:active {
  background: #0000c0;
}

.page-resources-understanding-mm-live__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold text for question */
  pointer-events: none;
}

.page-resources-understanding-mm-live__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-understanding-mm-live__faq-item.active .page-resources-understanding-mm-live__faq-toggle {
  color: #ffffff; /* White toggle when active */
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-resources-understanding-mm-live__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 20px;
  opacity: 0;
  background: #000050; /* Darker blue for answer background */
  color: #f0f0f0; /* Light text for answer */
  border-radius: 0 0 5px 5px;
}

.page-resources-understanding-mm-live__faq-item.active .page-resources-understanding-mm-live__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
}

.page-resources-understanding-mm-live__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-resources-understanding-mm-live__main-title {
    font-size: 2.5em;
  }
  .page-resources-understanding-mm-live__section-title {
    font-size: 2em;
  }
  .page-resources-understanding-mm-live__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-understanding-mm-live__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-resources-understanding-mm-live__image-block {
    order: -1; /* Image first on mobile for reversed layout */
  }
}

@media (max-width: 768px) {
  .page-resources-understanding-mm-live {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-understanding-mm-live__container {
    padding: 0 15px;
  }

  .page-resources-understanding-mm-live__hero-section {
    padding: 60px 0;
  }

  .page-resources-understanding-mm-live__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-understanding-mm-live__main-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-understanding-mm-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-understanding-mm-live__btn-primary,
  .page-resources-understanding-mm-live__btn-secondary,
  .page-resources-understanding-mm-live__btn-text {
    padding: 12px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-understanding-mm-live__section {
    padding: 40px 0;
  }

  .page-resources-understanding-mm-live__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-resources-understanding-mm-live__section-subtitle {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-resources-understanding-mm-live__content-wrapper {
    gap: 30px;
    margin-top: 30px;
  }

  .page-resources-understanding-mm-live__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-resources-understanding-mm-live__features-grid,
  .page-resources-understanding-mm-live__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-resources-understanding-mm-live__feature-card img,
  .page-resources-understanding-mm-live__news-card img {
    height: 200px; /* Adjust height for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important; /* Ensure images scale correctly */
  }
  .page-resources-understanding-mm-live__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
  }

  .page-resources-understanding-mm-live__feature-card .page-resources-understanding-mm-live__card-title,
  .page-resources-understanding-mm-live__news-card .page-resources-understanding-mm-live__card-title {
    font-size: 1.2em;
    margin: 15px 15px 10px;
  }

  .page-resources-understanding-mm-live__card-description,
  .page-resources-understanding-mm-live__news-date {
    margin: 0 15px 15px;
  }

  .page-resources-understanding-mm-live__feature-card .page-resources-understanding-mm-live__btn-text {
    margin: 0 15px 15px;
  }

  /* FAQ mobile */
  .page-resources-understanding-mm-live__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-understanding-mm-live__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-understanding-mm-live__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-understanding-mm-live__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-understanding-mm-live__faq-item.active .page-resources-understanding-mm-live__faq-answer {
    padding: 15px !important;
  }
}