/* VOLTESS European Deployment Network */

.voltess-deployment-hero {
    isolation: isolate;
}

.voltess-deployment-hero > .max-w-7xl {
    position: relative;
    z-index: 2;
}

.voltess-deployment-layer {
    position: absolute;
    z-index: 1;
    top: -5%;
    right: 5%;
    width: 49%;
    height: 85%;
    display: flex;
    align-items: center;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        90deg, transparent, #000 40%,
        #000 85%, transparent
    );
    mask-image: linear-gradient(
        90deg, transparent, #000 40%,
        #000 85%, transparent
    );
}

.voltess-deployment-layer canvas {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1023px) {
    .voltess-deployment-layer {
        right: 2%;
        width: 55%;
        opacity: 0.45;
    }
}

/* Preserve desktop positioning and text layering */
.voltess-deployment-hero > .max-w-7xl {
    position: static;
    z-index: auto;
}

.voltess-deployment-hero > .max-w-7xl > :not(.voltess-deployment-layer) {
    position: relative;
    z-index: 2;
}

/* Mobile deployment layout */
@media (max-width: 767px) {
    .voltess-deployment-layer {
        display: flex;
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 240px;
        margin: 12px auto 0;
        justify-content: center;
        align-items: center;
        opacity: 1;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .voltess-deployment-layer canvas {
        width: 100%;
        max-width: 350px;
        height: auto;
        max-height: 240px;
        object-fit: contain;
    }

    .voltess-deployment-layer + div {
        margin-top: 16px;
    }
}

/* Mobile map clarity refinement */
@media (max-width: 767px) {
    .voltess-deployment-layer canvas {
        max-width: 100%;
        max-height: none;
        transform: scale(1.15);
        transform-origin: center;
    }
}
