.card.card__minratio .card-body:before {
    /*
    Using pseudo element to enforce a minimum width:height of a 4:3 ratio.
    BONUS: Padding-top factors in the paddings and card-footer height because it 
    can't be applied to the main card without breaking the flex.

    Measurements stem from navigation variant; use on other variants at your own risk.

    w = 22 + x + 29
    h = 29 + y + 35 + 25
    h = w * 0.75
    solve for y in terms of x and get 0.75x - 50.75
    */
    content: "";
    display: block;
    padding-top: calc(75% - 50.75px);
    float: left;
}

/** Navigation Variant **/

.card.card--rsfnav {
    border-radius: 0;
    border: none;
    max-width: 280px;
    width: 100%;
}

.card.card--rsfnav .card-img-top {
    width: 100%;
    height: 190.54px;
    border: 1px solid var(--rsf-neutral);
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}
  
.card.card--rsfnav .card-body {
    padding: 29px 22px 0 29px;
}

.card.card--rsfnav .card-body p {
    font-size: 1rem;
}
  
.card.card--rsfnav .card-title {
    font-size: 19px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: var(--font-family-sans-serif);
    font-weight: 600;
    line-height: 1em;
}
  
.card.card--rsfnav a {
    display: block;
    width: 100%;
    font-family: var(--font-family-compressed);
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold-highlight);
    border-right: 1px solid var(--gold-highlight);
    text-align: right;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 23px 5px 0;
}

.card.card--rsfnav a::before {
    content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 8.5 14.1' width='6' height='10'%3E%3Cpath d='M0,1.4L1.4,0l7.1,7.1L1.4,14.1l-1.4-1.4,5.7-5.7L0,1.4Z' fill='currentColor' /%3E%3C/svg%3E");
    position: absolute;
    right: 35px;
    bottom: 31px;
}
  
.card.card--rsfnav.bg-card-blue a,
.card.card--rsfnav.bg-card-gold a,
.card.card--rsfnav.bg-yellow a,
.card.card--rsfnav.bg-orange a {
    border-color: var(--rsf-neutral-2);
}

.card.card--rsfnav .card-footer {
    border-top: none;
    background-color: inherit;
    padding: 0 22px 25px 29px;
}

/** News Variant **/

.card.card--rsfnews {
    border-radius: 0;
    border: none;
    max-width: 290px;
    width: 100%;
}

.card.card--rsfnews .card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card.card--rsfnews .card-subtitle {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--orange-highlight);
    color: white;
    font-size: 1rem;
    font-family: var(--font-family-compressed);
    text-transform: uppercase;
    font-weight: 600;
    width: fit-content;
    margin: 0;
    padding: 4px 1rem;
}

.card.card--rsfnews .card-title {
    font-size: 19px;
    color: var(--nav-blue);
    font-family: var(--font-family-serif);
}

.card.card--rsfnews .card-text {
    font-size: 1rem;
    color: var(--rsf-neutral-2);
}

.grid-to-list-view .card.card--rsfnews {
    background-color: transparent;
    color: var(--rsf-blue);
    flex-direction: row;
    column-gap: 43px;
    max-width: auto;
}

.grid-to-list-view .card.card--rsfnews img {
    width: 189px;
}

.grid-to-list-view .card.card--rsfnews .card-body {
    padding: 0;
}

.grid-to-list-view .card.card--rsfnews .card-subtitle {
    position: relative;
    margin-bottom: 0.85rem;
}

.grid-to-list-view .card.card--rsfnews .card-title {
    color: inherit;
    margin-bottom: 0.85rem;
}

.grid-to-list-view .card.card--rsfnews .card-text {
    color: inherit;
}

/* Temporary image handling via blocks */
.card.card--rsfnav .field--name-field-media-image,
.card.card--rsfnav .field--type-image,
.card.card--rsfnav .field--type-image img {
    margin: 0;
}
.card.card--rsfnav.bg-lt-blue img {
    border: 1px solid white;
}
