/* Minimal CSS for clickable images fullscreen */
/* Preserves existing blog.css styles */

/* Clickable image wrapper - Safari style */
.usage-clickable-image {
    position: relative;
    display: block;
}

.usage-clickable-image img {
    border-radius: 8px !important;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.usage-clickable-image img:hover {
    transform: scale(1.01);
}

/* Open icon (expand) on images */
.usage-open-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 1;
}

.usage-open-icon svg {
    width: 18px;
    height: 18px;
    color: #3f51b5;
    stroke: #3f51b5;
}

.usage-clickable-image:hover .usage-open-icon {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

/* Fullscreen modal for Safari-style images */
.usage-fullscreen-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.usage-fullscreen-modal.active {
    opacity: 1;
    visibility: visible;
}

.usage-fullscreen-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    display: block;
}

/* Close button - using Lucide icon */
.usage-fullscreen-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    border: none;
}

.usage-fullscreen-close:hover {
    background: rgba(255, 255, 255, 1);
}

.usage-fullscreen-close svg {
    width: 22px;
    height: 22px;
    color: #1a1d2e;
    stroke: #1a1d2e;
}


