.lm2 .section-header p {
    margin-bottom: var(--item-gap);
}

.lm-alternating {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.lm-alt-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;

    @media (min-width: 768px) {
        grid-template-columns: 1fr 1fr;

        &:nth-child(even) .lm-alt-image {
            order: 2;
        }

        &:nth-child(even) .lm-alt-content {
            order: 1;
        }
    }
}

.lm-alt-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    @media (min-width: 768px) {
        aspect-ratio: auto;
        min-height: calc(var(--item-gap) * 15);
    }
}

.lm-alt-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--item-gap);
    align-items: center;
    text-align: center;

    h3 {
        font-size: var(--text-md);
        margin: 0;
    }

    p {
        font-size: var(--text-sm);
        line-height: 1.6;
        margin: 0;
    }

    @media (max-width: 767px) {
        align-items: start;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
}