/* The photo framing shared by the front page and the kit (js/circle-crop.js).
 * Only the circle is woven, so the crop is shown as a circle and the rest of
 * the photo is washed out. The box around it is the same square card on both
 * pages, whatever shape the photo is. */
.circle-crop {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.circle-crop img {
    display: block;
    max-width: 100%;
}

.circle-crop .cropper-container,
.circle-crop .cropper-container img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

.circle-crop .cropper-view-box,
.circle-crop .cropper-face {
    border-radius: 50%;
}

.circle-crop .cropper-view-box {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.circle-crop .cropper-modal {
    background: rgba(255, 255, 255, 0.72);
    opacity: 1;
}

.circle-crop .cropper-dashed,
.circle-crop .cropper-center {
    display: none;
}

/* No square around the circle: the edges stay draggable but unseen, the
 * corner handles go, and the four handles that sit on the circle become dots. */
.circle-crop .cropper-line {
    background: transparent;
}

.circle-crop .point-nw,
.circle-crop .point-ne,
.circle-crop .point-sw,
.circle-crop .point-se {
    display: none;
}

.circle-crop .cropper-point.point-n,
.circle-crop .cropper-point.point-s,
.circle-crop .cropper-point.point-e,
.circle-crop .cropper-point.point-w {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    opacity: 1;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 1px 4px rgba(0, 0, 0, 0.25);
}

.circle-crop .cropper-point.point-n { top: -7px; margin-left: -7px; }
.circle-crop .cropper-point.point-s { bottom: -7px; margin-left: -7px; }
.circle-crop .cropper-point.point-e { right: -7px; margin-top: -7px; }
.circle-crop .cropper-point.point-w { left: -7px; margin-top: -7px; }
