/** Style for WMSM 2026 Banners **/


.sp-image {

    .attendee-info {
        line-height: 1.2;
        @media (max-width: 768px) {
            line-height: 1;
        }

        .photo {
            width: 44%;
            position: absolute;
            left: 28%;
            top: 30.8%;
            z-index: 10;
            background: white;
            aspect-ratio: 4.4 / 4.65;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
            }
        }

        .name, .label {
            width: 44%;
            position: absolute;
            left: 28%;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            background: white;

        }
        .name {
            z-index: 4;
            bottom: 13.2%;
            span {
                font-weight: bold;
                font-size: clamp(12px, 3.125vw, 210%);
            }
        }
        .label {
            z-index: 3;
            height: 4%;
            bottom: 17%;
            span {
                font-weight:normal;
                font-size: clamp(11px, 2.2vw, 180%);
            }
        }
    }

    &[data-ratio="4/5"] {
        .attendee-info {
            .photo {
                top: 37.8%;
            }
            .label {
                bottom: 20%;
            }
            .name {
                bottom: 17.2%;
            }
        }
    }

    &.bigger { /* for testing other sizes */
        width: 1600px;
        height: 1600px;

        .name {
            span {
                font-size: 310%;
            }
        }
        .label {
            span {
                font-size: 250%;
            }
        }
    }
}
