/* Image overlay badges — project name (bottom-left) and studio logo (bottom-right)
   ------------------------------------------------------------------------ */
.overlay-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    pointer-events: none;
    box-sizing: border-box;
    width: auto;
    height: auto;
    max-width: calc(100% - 30px);
    flex-shrink: 0;
}

.overlay-badge--sm,
.studio-badge--sm,
.project-name-badge--sm {
    bottom: 15px;
}

.overlay-badge--lg,
.studio-badge--lg,
.project-name-badge--lg {
    bottom: 25px;
    padding: 8px 12px;
    border-radius: 12px;
}

/* Studio badge — bottom-right
   ------------------------------------------------------------------------ */
.studio-badge {
    gap: 7px;
}

.studio-badge--sm {
    right: 15px;
}

.studio-badge--lg {
    right: 25px;
    gap: 9px;
}

.studio-badge-logo {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.studio-badge--lg .studio-badge-logo {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
}

.studio-badge-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    flex-shrink: 0;
}

.studio-badge-line {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    color: #5E5873;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.studio-badge--lg .studio-badge-line {
    font-size: 12px;
    line-height: 1.15;
}

/* Project name badge — bottom-left
   ------------------------------------------------------------------------ */
.project-name-badge {
    background: #004B82;
    color: #fff;
}

.project-name-badge--sm {
    left: 15px;
}

.project-name-badge--lg {
    left: 25px;
}

.project-name-badge .project-name-badge-text {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-name-badge--lg .project-name-badge-text {
    font-size: 12px;
    line-height: 1.15;
}
