/* ============================================================
   Elementor Image Copyright — v0.6.0
   ============================================================ */

/* Wrapper passt sich der natürlichen Bildgröße an — kein Strecken */
.cri-wrapper {
    position: relative;
    display: inline-block; 
    line-height: 0;
    max-width: 100%;   
}

.cri-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- Overlay-Container, an einer der 4 Ecken --- */
.cri-overlay {
    position: absolute;
    z-index: 10;
}

.cri-overlay.pos-bottom-right { bottom: 8px; right: 8px; text-align: right; }
.cri-overlay.pos-bottom-left  { bottom: 8px; left:  8px; text-align: left;  }
.cri-overlay.pos-top-right    { top:    8px; right: 8px; text-align: right; }
.cri-overlay.pos-top-left     { top:    8px; left:  8px; text-align: left;  }

/* --- Toggle-Button © --- */
.cri-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    transition: background 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
}

.cri-btn:hover {
    background: rgba(0, 0, 0, 0.65);
}

.cri-btn:focus {
    outline: none;
    box-shadow: none;
}

.cri-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* --- Info-Panel --- */
.cri-info {
    margin-top: 4px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 3px;
    font-size: 11px;
    line-height: 1.4;
    color: #fff;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pos-bottom-left .cri-info,
.pos-top-left    .cri-info {
    text-align: left;
}
