.horizontal-card {
    margin: 30px 0;
    padding: 15px;
    background: lighten(black, 20%);
    width: 100%;
    display: grid;
    grid-template-columns: 500px 1fr;
    grid-gap: 30px;
    border-radius: 15px;

    .card__header {
        max-width: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 15px;

        .card__header__img {
            background: lighten(black, 15%);
            max-width: 500px;
            height: 220px;
            border-radius: 15px;

            img {
                width: 100%;
                height: 100%;
                border-radius: 15px;
            }
        }
    }

    .card__body {
        padding: 20px;

        .card__body__title {
            font-weight: 500;
            font-size: 1.5em;
            line-height: 1.2;
        }

        .card__body__author {
            margin-top: 3px;
            font-weight: 500;
            font-size: 1em;
            fill: $text-color;

            svg {
                width: 15px;
                margin-right: 5px;
            }
        }

        .card__body__content {
            margin-top: 15px;
            font-size: 0.9em;
            letter-spacing: 0.5px;
            line-height: 1.5;

            a, a:active, a:visited {
            	color: $brand-color;
                transition: 0.2s ease-out;

                &:hover {
                	color: lighten($brand-color, 40%);
            	}
            }
        }

        .card__body__cta {
            margin-top: 20px;
            
            a, a:visited, a:active {
                width: 150px;
                height: 50px;
                display: flex;
                justify-content: center;
                align-items: center;
                background: $brand-color;
                border-radius: 15px;
                color: $text-color;
                font-size: 0.9em;
                transition: .3s ease-out;

                &:hover {
                    color: $brand-color;
                    background: $text-color;
                }
            }
        }
    }
}

@media only screen and (max-width: 1200px) {
    .horizontal-card {
        display: flex;
        flex-direction: column;

        .card__header {
            max-width: 100%;
            
            .card__header__img {
                height: 200px;
                max-width: 100%;

                img {
                    width: 100%;
                }
            }
        }

        .card__body {
            padding-top: 10px;
        }
    }
}
