.hero {
    min-height: min(50vh, 400px);
}

.services {
    position: relative;
}

.services > .background.image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100vw;
    z-index: -1;
}

.card > .image {
    width: 100%;
    /* background-image is in HTML */
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid var(--Gray-300, #d0d5dd);
    aspect-ratio: 10/4.5;
    border-radius: 8px;
}

.card {
    padding-inline: 24px;
    padding-block-start: 24px;
    padding-block-end: 32px;
    background-color: var(--white);
    border-radius: 8px;
    font-size: 16px;
    color: var(--gray-500);
    line-height: var(--line-height);
}

.card > .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.card .subheading {
    font-size: 16px;
}

.card .heading {
    font-size: 24px;
}

.card-section > .body.shortened-content {
  --max-lines: 5;
}

@media screen and (max-width: 400px) {

    .card .heading {
        font-size: 20px;
    }
}
