/* Other-image gallery: consolidated desktop and responsive styles. */
.other-image-grid {
    columns: initial;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-auto-flow: row;
    row-gap: 12px;
    column-gap: 12px;
    align-items: stretch;
}

.other-image-card {
    padding-top: 9px;
    padding-right: 9px;
    padding-bottom: 9px;
    padding-left: 9px;
    background: rgba(246,247,239,.66);
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 8px;
    box-shadow: 0 7px 20px rgba(54,78,79,.06);
    width: auto;
    break-inside: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

.other-image-card a {
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    flex: 0 0 auto;
}

.other-image-card img {
    display: block;
    transition: transform .25s;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.other-image-card a:hover img {
    transform: scale(1.025);
}

.other-image-card figcaption {
    padding-top: 8px;
    padding-right: 3px;
    padding-bottom: 1px;
    padding-left: 3px;
    color: #52676d;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    flex: 1;
}

.other-image-date {
    display: block;
    margin-bottom: 2px;
    color: #000;
    font-size: 13px;
    letter-spacing: .06em;
}

@media (max-width:760px) {
    .other-image-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        row-gap: 10px;
        column-gap: 10px;
    }

    .other-image-card {
        padding-top: 7px;
        padding-right: 7px;
        padding-bottom: 7px;
        padding-left: 7px;
    }

    .other-image-card figcaption {
        font-size: 14px;
    }
}

@media (max-width:430px) {
    .other-image-grid {
        row-gap: 8px;
        column-gap: 8px;
    }
}

