.card.card--small-image p,
.card-new .card-new__summary,
.card .card-new__summary {
    font-size: 1.2rem;
    font-family: "Roboto", sans-serif;
    color: var(--font-color);
    line-height: 1.2;
    padding: 1rem 0.5rem 0;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.card-image-wrap {
    position: relative;
}

.card-image-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(229, 218, 218, 0.6)
    );
    pointer-events: none;
}

.card--small-image .card-new-image {
    width: 100%;
    height: 40%;
    object-fit: cover;
    display: block;
}

/*
.homepage-article__meta {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
*/

.card--small-image .card-new__meta {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    top: 2rem;
    padding: 1rem 1rem;
    right: 0;
    text-transform: uppercase;
}

.card--middle-image .card-new__meta {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    top: 2rem;
    padding: 1rem 0.5rem 0;
    right: 0;
    text-transform: uppercase;
}

.card-new__title {
    z-index: 9999;
    bottom: 1rem;
    padding: 0.5rem 1rem;
    left: 0;
    right: 0;
}

.card-new-title {
    line-height: 1;

    @media only screen and (min-width: 301px) and (max-width: 1200px) {
        line-height: 0.8;
    }
}

.card-new__more {
    display: inline-block;
    padding: 0.4rem 1rem;
    text-decoration: none;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--primary-color);
    margin-top: 0.5rem;
}

.card-new__more:hover {
    background: var(--primary-color);
    color: white;
}

.card-new-title a {
    font-family: "Roboto", sans-serif;
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--font-color);
    font-weight: 600;
    text-transform: uppercase;
}
.card-new-title a:hover {
    color: var(--link-color);
}
/* CARD STYLES*/
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 3rem;
    border-bottom: 8px solid var(--primary-color);
    padding-bottom: 2rem;
}

.card.card--middle-image .card-image__container {
    position: relative;
}

.card.card--middle-image .card__title {
    bottom: 0;
    display: flex;
    align-items: center;
    min-height: 4rem;
    font-weight: bold;
    padding: 0 0.5rem;
    margin-top: 1rem;
}

.card.card--middle-image .card-image__container .card-new__meta {
    top: 0;
    display: flex;
    align-items: center;
    min-height: 4rem;
    font-weight: bold;
    padding: 1rem;
}

.card--middle-image .card__title .card__link {
    color: var(--font-color);
    text-transform: uppercase;

    font-size: 1.6rem;

    @media only screen and (min-width: 301px) and (max-width: 1200px) {
        margin-top: 1rem;
    }
}

.card--middle-image .card__title .card__link:hover {
    color: var(--link-color);
}

.card__title {
    display: flex;
    align-items: center;
    min-height: 4rem;
    font-size: 1.6rem;
    font-weight: bold;
}

.card__link {
    display: flex;
    align-items: center;
    font-family: "Roboto";
    color: black;
    min-height: 4rem;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
}

.card__link:hover {
    color: var(--focus-color);
}

.card-image__container {
    height: 50%;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-author__container {
    margin-top: 1rem;
    margin-left: 0.5rem;
}

.card__summary {
    margin: 1rem 0;
    font-style: none;
}

.card__summary p {
    font-size: 1rem;
}

.card__meta {
    line-height: 2rem;
}

.card__meta span:first-child {
    font-weight: bold;
}
