/* Container for all ecosystem cards */
.ecosystem-container {
    display: flex;
    flex-direction: column;
    background-color: #101217e8;
    padding: 50px;
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    min-width: 300px;
    box-sizing: border-box;
    z-index: 100;
    align-items: flex-start;
  }
  
  /* Reset margins/paddings for inner divs */
  .ecosystem-container > div,
  .ecocard > *,
  div *,
  p {
    margin: 0;
    padding: 0;
  }
  
  /* Eco card layout */
  .ecocard {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    overflow: hidden;
  }
  
  /* Image block with tags below */
  .image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  
  .eco-img {
    width: auto;
    height: 100%;
    max-height: 200px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .fallback-img {
    background-color: #56DE93;
    width: 150px;
    height: 150px;
    border-radius: 12px;
  }
  
  /* Tag styling */
  .tag-list {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    max-width: 200px;
  }
  
  .tag {
    background-color: #263238;
    color: #56DE93;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
  }
  
  /* Info block (text and metadata) */
  .info-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 15px;
  }
  
  /* Summary styling */
  .summary {
    font-size: 1.1rem;
    line-height: 1.5rem;
    color: #ccc;
  }
  
  /* Metadata (word count, etc.) */
  .metadata {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 20px;
    font-size: 0.95rem;
  }
  
  .metadata strong {
    color: white;
    font-weight: bold;
  }
  
  .metadata span,
  .metadata a {
    color: #56DE93;
    text-decoration: none;
  }
  
  .metadata a:hover {
    text-decoration: underline;
  }
  
  /* Tabs */
  .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
  }
  
  .tab {
    background-color: #56DE93;
    color: #101217;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
  }
  
  .tab:hover {
    background-color: #2c3b50;
    color: white;
  }
  
  /* Paragraph general */
  p {
    line-height: 1.5rem;
    color: #ccc;
  }
  