.block-repeatable-highlight-cards {
    font-family: "Avenir Next", Avenir, sans-serif;
    font-weight: 400;
    --gap: 2em;
    padding-block: 4em;
}
.block-repeatable-highlight-cards .cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--gap);
}

.block-repeatable-highlight-cards .card {
    background-color: white;
    padding: 2em;
    border-radius: 0.5em;
    grid-column-end: span 6;
    display: grid;
    gap: 2em;
}

.block-repeatable-highlight-cards .card {
    grid-template-areas: "headline"
                         "body-copy"
                         "cta";
 }

 .block-repeatable-highlight-cards .card.with-image {
    grid-template-areas: "image"
                         "headline"
                         "body-copy"
                         "cta";
 }



.block-repeatable-highlight-cards .card-headline {
    margin: 0;
    grid-area: headline;
    font-family: "Avenir Next", Avenir, sans-serif;
    font-weight: 500;
    line-height: 1.2;
}

.block-repeatable-highlight-cards .card-body-copy {
    font-size: 1.25em;
    color: var(--color-glacier-gray-dark);
    grid-area: body-copy;

}

.block-repeatable-highlight-cards .card-width-half .card-body-copy {
    align-self: self-end;
}

.block-repeatable-highlight-cards .card-body-copy p:first-child {
    margin-top: 0;
}

.block-repeatable-highlight-cards .card-body-copy p:last-child {
    margin-bottom: 0;
}

.block-repeatable-highlight-cards .card-image {
    grid-area: image;
    width: 20em;
    border-radius: 0.5em;
    display: block;
}

.block-repeatable-highlight-cards .cta {
    grid-area: cta;
    align-self: self-end;
    justify-self: self-start;
}

.block-repeatable-highlight-cards .logo {
    margin-inline: auto;
}

@media screen and (min-width: 1000px) {
    .block-repeatable-highlight-cards .content-wrapper {
        display: block;
    }
    .block-repeatable-highlight-cards .card-body-copy {
        max-width: 35em;
    }

    .block-repeatable-highlight-cards .card-width-full {
        grid-template-areas: "headline body-copy"
                             "cta      body-copy";
        grid-template-columns: 1fr auto auto;
    }
    
    .block-repeatable-highlight-cards .card-width-full.with-image {
        grid-template-areas: "headline body-copy image"
                             "cta      body-copy image";
    }
    
    .block-repeatable-highlight-cards .card-width-half {
       grid-column-end: span 3;
       grid-template-areas: "headline headline"
                            "cta      body-copy";
    }
    
    .block-repeatable-highlight-cards .card-width-third {
        grid-column-end: span 2;
        grid-template-areas: "headline"
                             "body-copy"
                             "cta";
        grid-template-rows: min-content min-content 1fr;
     }
}