.section--split-visual {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: stretch;
}

.tool-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-content: center;
    padding: clamp(24px, 4vw, 56px);
    background: #111111;
    border-right: 1px solid rgba(245, 124, 0, .38);
    min-width: 0;
}

.tool-copy {
    min-width: 0;
}

.tool-copy h2 {
    overflow-wrap: anywhere;
}

.tool-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: #f57c00;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}

.tool-card__media {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
}

.tool-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-card figcaption {
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 12px;
    border-top: 1px solid #ededed;
}

.tool-card figcaption strong,
.tool-card figcaption span {
    overflow-wrap: anywhere;
}

.tool-card figcaption strong {
    font-size: 15px;
    line-height: 1.2;
}

.tool-card figcaption span {
    color: #5d5d5d;
    font-size: 13px;
    line-height: 1.35;
}

.tool-gallery > .tool-photo {
    grid-column: 1 / -1;
    min-height: 460px;
}

@media (max-width: 1180px) {
    .tool-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .section--split-visual {
        grid-template-columns: 1fr;
    }

    .tool-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid rgba(245, 124, 0, .38);
    }
}

@media (max-width: 640px) {
    .tool-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 16px;
    }

    .tool-card figcaption {
        min-height: 70px;
        padding: 10px;
    }

    .tool-card figcaption strong {
        font-size: 14px;
    }

    .tool-card figcaption span {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tool-card {
        transition: none;
    }
}
