/**
 * Snippet styles
 */

[class*='highlightArticle--small'] .c-card {
    max-width: 888px;
    margin-left: auto;

    & .c-card__imageWrapper {
        aspect-ratio: 592/444; /** 4/3 */
    }

    & .c-card__contentWrapper {
        padding: var(--marginLarge) !important;
    }
}

.highlightArticle--small-imageLeft .c-card {
    margin-left: 0;
    margin-right: auto;

    & .c-card {
        flex-direction: row;
    }
}

@media (min-width: 512px) {
    [class*='highlightArticle--small'] .c-card {
        flex-direction: row;
    }

    .highlightArticle--small-imageLeft .c-card {
        flex-direction: row-reverse;
    }

    [class*='highlightArticle--small'] .c-card__contentWrapper {
        flex-basis: 55% !important;
    }

    [class*='highlightArticle--small'] .c-card__imageWrapper {
        flex-basis: 45% !important;
        aspect-ratio: 137/103;
    }
}
