/* Shared production photo grid for the About sections. */
main .rc-about-passion {
    --rc-about-photo-gap: 12px;
}

main .rc-about-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rc-about-photo-gap);
    min-width: 0;
}
main .rc-about-photo-grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--rc-media-radius, 7px);
}

/* Align side-by-side images with the heading text below the theme marker. */
@media (width > 900px) {
    main .rc-about-passion > .rc-about-photo-grid {
        /* Keep side-by-side photos 10% smaller without changing the gap. */
        inline-size: calc(90% + var(--rc-about-photo-gap) / 10);
        margin-block-start: calc(var(--rc-marker-height) + var(--rc-marker-space));
    }
}

@media (max-width: 900px) {
    main .rc-about-passion:has(> .rc-about-photo-grid) {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }
}
