{% if project.collaborators %}
{# Add custom class #} Collaborateur·ice·s: {% for person in project.collaborators %} {{ person }}{% unless forloop.last %}, {% endunless %}{# Display names with commas #} {% endfor %}
{% endif %} {% if project.supervision %}
{# Add custom class #} Superviseur·e·s: {% for supervisor in project.supervision %} {{ supervisor | strip }}{% unless forloop.last %}, {% endunless %}{# Display names with commas #} {% endfor %}
{% endif %} {% if project.duration %}
{# Add custom class #} Durée: {{ project.duration }}
{% endif %} {% if project.funding %}
{# Add custom class #} Financement: {{ project.funding }}
{% endif %} .project-metadata .metadata-item { /* Revert to standard block layout and use indentation */ display: block; /* Ensure it behaves like a block */ text-indent: -3em; /* Negative indent to pull first line left - adjust as needed */ padding-left: 3em; /* Corresponding padding for subsequent lines - adjust as needed */ } .project-metadata i { margin-right: 0.7rem; /* Space after icon */ /* Removed flex-shrink */ text-indent: 0; /* Reset text-indent for icon */ } .project-metadata strong { margin-right: 0.5rem; /* Space after label */ /* Removed flex-shrink */ text-indent: 0; /* Reset text-indent for label */ } /* Remove specific flexbox alignment rules */ .project-metadata .metadata-label-icon, .project-metadata .metadata-values { all: unset; /* Remove all custom styles */ display: inline; /* Ensure they are inline again */ } /* Remove leftover list styles */ .project-metadata .metadata-list, .project-metadata .metadata-list li { all: unset; /* Remove all inherited and user agent styles */ }