<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* =============================================================================
   Wagtail Rich Text Images - Unique Styles (Non-duplicated)
   ============================================================================= */

/* Base styles for all rich text images */
.richtext-image {
    display: block;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    margin: 1.5rem 0;  /* Good vertical spacing */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

/* Clickable image cursor and hover effects with magnifying glass */
.clickable-image {
    cursor: pointer;
    position: relative;
}

.clickable-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 12px;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.clickable-image::after {
    content: '🔍';
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.clickable-image:hover::before {
    background: rgba(0, 0, 0, 0.05);
}

.clickable-image:hover::after {
    opacity: 1;
    transform: scale(1);
}

.clickable-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(148, 49, 107, 0.2);
}

/* Full width images */
.richtext-image.full-width {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
}

/* Responsive size variants */
.richtext-image.responsive {
    max-width: 100%;
}

.richtext-image.responsive.medium {
    max-width: 800px;
}

.richtext-image.responsive.small {
    max-width: 600px;
}

/* Clearfix for floated images */
.richtext::after,
.content-card .prose::after {
    content: "";
    display: table;
    clear: both;
}

/* Better text flow around floated images */
.richtext p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Handle empty paragraphs that might interfere with float */
.richtext p:empty {
    margin: 0;
    height: 0;
    line-height: 0;
}

/* Ensure proper spacing after floated images */
.richtext-image.left + *,
.richtext-image.right + * {
    margin-top: 0;
}

/* Force text to wrap around floated images */
.richtext-image.left ~ p,
.richtext-image.left ~ ul,
.richtext-image.left ~ ol,
.richtext-image.left ~ h1,
.richtext-image.left ~ h2,
.richtext-image.left ~ h3,
.richtext-image.left ~ h4 {
    margin-left: 0;
    clear: none !important;
    overflow: visible !important;
}

.richtext-image.right ~ p,
.richtext-image.right ~ ul,
.richtext-image.right ~ ol,
.richtext-image.right ~ h1,
.richtext-image.right ~ h2,
.richtext-image.right ~ h3,
.richtext-image.right ~ h4 {
    margin-right: 0;
    clear: none !important;
    overflow: visible !important;
}

/* Ensure rich text containers support floats */
.richtext, .content-card .prose {
    display: block !important;
    overflow: visible !important;
}

/* =============================================================================
   Responsive Design (Mobile-specific adjustments)
   ============================================================================= */

@media (max-width: 768px) {
    .richtext-image.responsive.small,
    .richtext-image.responsive.medium {
        max-width: 100%;
    }

    .clickable-image::after {
        width: 28px;
        height: 28px;
        font-size: 12px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .richtext-image {
        border-radius: 8px;
        margin: 1rem 0;
    }

    .clickable-image::after {
        width: 24px;
        height: 24px;
        font-size: 10px;
        top: 6px;
        right: 6px;
    }
}

/* =============================================================================
   High DPI/Retina Display Optimization
   ============================================================================= */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .richtext-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* =============================================================================
   Print Styles
   ============================================================================= */

@media print {
    .richtext-image {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .clickable-image::before,
    .clickable-image::after {
        display: none;
    }

    .richtext-image.left,
    .richtext-image.right {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }
}</pre></body></html>