.mainProjectHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.0rem;
  padding: 0rem 0;
}

.mainProjectLogo {
  width: 550px;
  height: 220px;
  object-fit: contain;
}

.mainProjectLogoText {
  font-size: 5rem;
  line-height: 1;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mainProjectCol .ecosystemCardDescription {
  text-align: center;
  font-size: 1.2rem;
}

.ecosystem {
  background-color: transparent;
}

.wideContainer {
  margin: 0 auto;
  padding: 0 var(--ifm-spacing-horizontal);
  width: 100%;
  max-width: 1400px;
}

.ecosystemCards {
  display: flex;
  flex-wrap: wrap;
}

.ecosystemCardCol {
  margin-bottom: 2rem;
}

.mainProjectCol {
  margin-bottom: 2rem;
}

.mainProjectCol .ecosystemCardHeader h3 {
  font-size: 1.8rem;
}

.mainProjectCol .ecosystemCardIcon {
  width: 50px;
  height: 50px;
}

.mainProjectCol .ecosystemCardIcon img {
  width: 100%;
  height: 100%;
}

.ecosystemCard {
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.ecosystemCardHeader {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.ecosystemCardIcon {
  font-size: 2rem;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ecosystemCardIcon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ecosystemCardHeader h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ifm-color-primary);
}

.ecosystemCardDescription {
  margin-bottom: 1.5rem;
  color: var(--ifm-color-emphasis-700);
  flex-grow: 0;
}

.ecosystemCardFeatures {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  flex-grow: 1;
}

.ecosystemCardFeatures li {
  margin-bottom: 0.5rem;
  color: var(--ifm-color-emphasis-800);
}

/* Two-column layout for main project features */
.mainProjectCol .ecosystemCardFeatures {
  column-count: 2;
  column-gap: 2rem;
}

@media (max-width: 768px) {
  .mainProjectCol .ecosystemCardFeatures {
    column-count: 1; /* Revert to single column on mobile */
  }
}

.ecosystemCardFooter {
  margin-top: auto;
  text-align: right;
}

.ecosystemCardButton {
  font-weight: 500;
}

/* Responsive styles */
@media (max-width: 996px) {
  .ecosystemCardCol,
  .mainProjectCol {
    width: 100%;
  }

  .ecosystem {
    padding: 3rem 0;
  }

  .ecosystemCard {
    padding: 1.5rem;
  }

  .mainProjectCol {
    margin-left: 0;
  }
}