
.trainer-card {
    aspect-ratio: 3 / 2;
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 0.5rem;
}

.trainer-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.trainer-card:hover img {
    transform: scale(1.03);
}

.trainer-hover-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trainer-card:hover .trainer-hover-caption {
    opacity: 1;
}


/*  
    Trainer Profilseiten 
    ====================
*/

    html,
    body {
        margin: 0;
        padding: 0;
        height: 100%;
    }

    .uli-layout {
        display: flex;
        min-height: 100vh;
        gap: 0;
    }

    @media (min-width: 1600px) {
        .uli-layout {
            gap: 1rem;
        }
    }

    .uli-left-fixed {
        position: sticky;
        top: 0;
        width: 38%;
        max-width: 500px;
        height: 100vh;
        background-color: #e7e7e7;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        overflow-y: auto;
        z-index: 1;
    }

    .uli-left-fixed img {
        max-width: 100%;
        height: auto;
        border-radius: 1rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .uli-left-fixed h1 {
        font-size: 1.5rem;
        margin-top: 1rem;
        text-align: center;
    }

    .blockquote-footer {
        margin-top: 1.5rem;
    }

    .uli-right-scroll {
        margin-left: clamp(2rem, 4vw, 6rem);
        margin-right: 2rem;
        max-width: 95ch;
        background-color: #fefefe;
    }

    .uli-highlight {
        background-color: #f1f8ff;
        border-left: 5px solid #0d6efd;
    }

    @media (max-width: 991px) {
        .uli-layout {
            flex-direction: column;
        }

        .uli-left-fixed {
            position: relative;
            width: 100%;
            height: auto;
            max-width: none;
            padding: 1.5rem;
            background-color: #f5f5f5;
        }

        .uli-right-scroll {
            margin: 2rem 1rem;
            max-width: 100%;
        }

        .uli-left-fixed h1 {
            font-size: 1.3rem;
        }

        .uli-left-fixed blockquote {
            margin-top: 1.5rem;
            font-size: 0.95rem;
            padding: 0 0.5rem;
        }

        .uli-left-fixed img {
            width: 100%;
            height: 60vh;
            object-fit: cover;
            object-position: center;
        }

    }

    .modal-dialog.modal-xl {
        max-width: 95vw;
        margin: auto;
    }

    .modal-content img {
        max-height: 90vh;
        width: auto;
    }