/* 
 * Hover Image Block Styles
 */

/* Editor styles */
.editor-styles-wrapper .hover-image-block {
    margin-bottom: 20px;
}

.editor-styles-wrapper .hover-image-container {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px dashed #ddd;
    background: #f9f9f9;
}

.editor-styles-wrapper .image-placeholder {
    background: #eee;
    padding: 30px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.editor-styles-wrapper .hover-image-caption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

/* Frontend styles */
.hover-image-block {
    position: relative;
    max-width: 100%;
    margin: 0 auto 20px;
}

.hover-image-wrapper {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    max-width: 180px;
    margin: 50px auto 0;
}

.hover-image-wrapper:hover {
    transform: scale(1.02);
}

.hover-image {
    width: 100%;
    height: auto;
    display: block;
}

.missing-image {
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    color: #666;
    text-align: center;
}

.hover-image-block figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
    font-style: italic;
}