.direction-card {
    background: var(--gray);
    border-radius: var(--radius);
    padding: 30px;
    grid-column: span 2;
    min-width: 0;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.direction-card:nth-child(5n+4),
.direction-card:nth-child(5n+5) {
    grid-column: span 3;
}

.direction-card__title {
    font-size: 28px;
    letter-spacing: -.025em;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

.direction-card__copy {
    font-size: 17px;
    line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
    .direction-card:hover:not(:has(.disclosure[open])) {
        transform: scale(1.012);
        box-shadow: 0 6px 22px rgb(28 30 45 / 8%);
    }
}

@media (min-width: 761px) and (max-width: 1100px) {
    .direction-card {
        padding: 25px;
    }
}

@media (max-width: 760px) {
    .direction-card,
    .direction-card:nth-child(n) {
        grid-column: auto;
        padding: 25px;
    }

    .direction-card__title {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .direction-card:hover {
        transform: none;
    }
}
