/* Container for the banner image */
.msc_container_img {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 10px; /* Added spacing below image */

}

/* Responsive image */
.msc_img_responsive {
  max-width: 100%;
  height: auto;
  margin-right: 10px;
}

/* Flex container for text + cards */
.msc_flex_container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Main text column */
.msc_main_text {
  flex: 1 1 300px;
  min-width: 300px;
  padding-top: 10px;
  padding-left: 0;
  padding-right: 20px;
  font-size: 18px;
  text-align: justify;
}

/* Cards column wrapper */
.msc_cards_wrapper {
  flex: 1 1 200px;
  max-width: 350px;
  padding: 0;
  margin: 10px auto 0;
}

/* Card stack */
.msc_cards_container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Individual card */
.msc_card {
  background-color: #cf0a2c;
  color: white;
  padding: 20px;
  margin-bottom: 5px;
  height: 200px;
  font-size: 18px;
  text-align: justify;
  box-sizing: border-box;
  border-radius: 12px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* Optional: adds smooth interaction */
}



/* Card heading */
.msc_card b {
  color: white;
  font-size: 22px;
}

.msc_card a {
  color: white;
  text-decoration: underline;
}

.msc_card a:hover {
  font-weight: bold;
}

@media (max-width: 768px) {
  .msc_flex_container {
    flex-direction: column; /* Stack the text and cards vertically */
    font-size: 16px;
  }

  .msc_main_text,
  .msc_cards_wrapper {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .msc_cards_wrapper {
    margin-top: 20px;
  }

  .msc_card {
    height: auto; /* Allow cards to grow based on content */
  }
}