.image-action-options{min-width:0;display:grid;gap:.75rem;margin:1rem 0;padding:1rem;border:1px solid #ffffff30}.image-action-options label{display:grid;gap:.4rem}.image-action-options [hidden]{display:none}.image-action-options input,.image-action-options select{width:100%;min-width:0;box-sizing:border-box}.image-action-link,.image-action-none{display:inline-block;max-width:100%}.image-action-link img,.image-action-none img{max-width:100%;height:auto}.photo-grid .image-action-link,.photo-grid .image-action-none{display:block}.photo-grid .image-action-link img,.photo-grid .image-action-none img{width:100%;height:auto;object-fit:contain}
/* Auto dimensions retain the intrinsic aspect ratio and never enlarge a small photo. */
.image-display-width{display:inline-block;max-width:100%;vertical-align:top}.image-width-25{width:25%}.image-width-50{width:50%}.image-width-75{width:75%}.image-width-100{width:100%}.entry-content .image-display-width>a,.image-display-width>.image-action-none{display:block;width:100%}.entry-content .image-display-width img{width:100%;height:auto;max-width:100%}
#mx-lightbox{box-sizing:border-box;width:max-content;max-width:calc(100vw - 36px);padding:43px 16px 24px}
#mx-lightbox>img{display:block;width:auto!important;height:auto!important;max-width:calc(100vw - 70px)!important;max-height:min(65dvh,calc(100dvh - 210px))!important;object-fit:contain;margin-inline:auto}
#mx-lightbox .lightbox-controls button{
    position:absolute;top:45%;transform:translateY(-50%);
    min-width:44px;min-height:44px;border-radius:50%;padding:0;
    background:#0a121ad9;color:#fff;border-color:#fff8;font-size:1.2rem;
}
#mx-lightbox .lightbox-controls button:hover,
#mx-lightbox .lightbox-controls button:focus-visible{background:#101d2c;outline:2px solid #fff;outline-offset:2px}
#photo-prev{left:8px}
#photo-next{right:8px}
