/* Keep project roles and dates readable within the existing image overlays. */
.portfolio-gallery .work .hb_back {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 16px;
}

.portfolio-gallery .work__title {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
}

.portfolio-gallery .work__role {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    color: inherit;
}

.portfolio-gallery .work__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    width: 100%;
}

.portfolio-gallery .work__year {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.portfolio-gallery .work__text {
    font-size: 12px;
    line-height: 1.4;
}
