/* Image Shield Pro — Frontend Protection CSS */

/* ── Image base protection ── */
img[data-isp-wrapped],
.isp-img-wrap img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    /* pointer-events ON — keeps clicks/lightboxes working */
}

/* ── Wrapper div ── */
.isp-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    line-height: 0;
    -webkit-user-drag: none;
}

figure .isp-img-wrap,
p .isp-img-wrap,
.wp-block-image .isp-img-wrap,
.wp-block-media-text .isp-img-wrap {
    display: block;
}

/* ── Transparent event overlay ── */
.isp-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    background: transparent;
}

/* ── Global selection block ── */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Re-enable on form fields */
input, textarea, select, [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

/* ── Print / Save as PDF — complete block ── */
@media print {
    body * {
        visibility: hidden !important;
        display: none !important;
    }
    body::after {
        visibility: visible !important;
        display: block !important;
        content: "Printing and saving is not permitted on this website.";
        text-align: center;
        font-size: 22px;
        font-family: sans-serif;
        color: #333;
        padding: 80px 40px;
    }
}
