/* ==========================================================================
   EME "WHAT WE DO" — service visuals now carry real illustrations
   Must load AFTER style3447 and eme-brand-theme.css.
   ========================================================================== */

.eme-service-visual--photo {
    position: relative;
    display: block;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #F4F9FD;
    border: 1px solid #E2ECF5;
}

/* the icon-era decorations are not needed behind an illustration */
.eme-service-visual--photo::before,
.eme-service-visual--photo::after {
    content: none;
}

.eme-service-visual--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

.eme-service-feature:hover .eme-service-visual--photo img {
    transform: scale(1.03);
}

/* keep the big number readable on a light illustration */
.eme-service-visual--photo .large-number {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 6px;
    padding: 0;
    color: rgba(15, 78, 129, .20);
    font-size: 96px;
    font-weight: 800;
    line-height: .82;
    pointer-events: none;
}

@media (max-width: 991px) {
    .eme-service-visual--photo .large-number {
        font-size: 76px;
        right: 14px;
    }
}

@media (max-width: 575px) {
    .eme-service-visual--photo {
        border-radius: 8px;
    }

    .eme-service-visual--photo .large-number {
        font-size: 60px;
    }
}