.columns {
    display: flex;
    align-items: start;
    margin-top: 12px;
    gap: 24px;
}

.columns.center {
    justify-content: space-evenly;
}

.columns.bottom {
    align-items: baseline;
}

.columns.small-img img {
    max-height: 300px !important;
}

.columns .text {
    flex: 0 3 auto;
    margin-top: -12px;
}

.image:has(.caption) {
    padding: 4px;
    border: 2px solid rgb(from var(--border-color) r g b / 0.4);
    border-radius: 12px;
}

.image {
    position: relative;
    flex: 0 1 auto;
    min-width: 15%;
    height: 100%;
    margin: 4px;
    justify-items: center;
    width: fit-content;
}

.image .caption {
    font-size: 13px;
    padding: 2px 8px;
    text-align: center;
    color: var(--title-color);
    border: 1px solid rgba(from var(--border-color) r g b / 0.5);
    border-radius: 6px;
    background-color: rgba(from var(--border-color) r g b / 0.6);
    z-index: 12;
}

.image.center {
    flex-direction: column;
    align-self: center;
    gap: 4px;
}

.columns img {
    width: auto;
    max-width: 100% !important;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

.columns .quarter {
    width: 33%;
}

@media (max-width: 1067px) {
    .columns.wrap {
        flex-wrap: wrap;
    }

    .columns .quarter {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .columns {
        align-content: space-evenly;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 24px;
    }
}