/* ── Technology ribbon ──────────────────────────────────────────
   Restrained, technical presentation of a Project's technology stack -
   icon-only, no visible name (the name is still the accessible name,
   via alt text / aria-label, and a title attribute for a hover
   tooltip). Wraps naturally at every breakpoint - no fixed-height box,
   no horizontal scroll, no JS required.
*/
.technology-ribbon {
    margin: var(--space-5) 0;
}

.technology-ribbon-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-4);
    list-style: none;
    margin: 0;
    padding: 0;
}

.technology-ribbon-item {
    flex: 0 0 auto;
}

.technology-ribbon-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
    color: inherit;
    text-decoration: none;
}

a.technology-ribbon-link:hover,
a.technology-ribbon-link:focus-visible {
    opacity: 0.75;
}

.technology-ribbon-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.technology-ribbon-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.technology-ribbon-fallback {
    font-size: var(--type-small-size, 0.875rem);
    font-weight: var(--type-label-weight, 600);
    color: var(--color-text-muted);
}
