/**
 * @author: Yoann Le Crom <yoann.lecrom@abstractive.fr>
 * date:    2020-11-06 12:22:25
 */

.Card {
    display: flex;
    flex-direction: column;
    transition: background-color .5s ease;
    color: #565656;
    background: #fff;
    border-radius: 0 0 12px 12px;
}

.Card-imageContainer {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 67%;
    overflow: hidden;
    display: flex;
}

.Card-image {
    position: relative;
    display: block;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform .5s ease;
}
.Card-imageContainer .Card-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.Card-imageContainer .Card-image.EmbedVideo {
    padding-bottom: 0;
}

.Card:hover .Card-imageContainer .Card-image {
    transform: scale(1.05);
}

.Card-surtitle {
    display: block;
    line-height: 1;
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: #888;
}
.Card-title {
    display: block;
    font-size: 1.6rem;
    line-height: 1.2;
    margin: .5rem 0 0;
    padding: 0;
    font-weight: normal;
    color: #007a54;
}
.Card-title > a {
    color: inherit;
    text-decoration: none;
    transition: color .5s ease;
}
.Card-subtitle {
    display: block;
    margin: 0;
}
.Card-content {
    flex: 1;
    display: block;
    padding: 2rem;
}

.Card-text,
p.Card-text {
    margin: 1rem 0 0;
    padding: 0;
}

.Card-address {
    color: #999;
}

.Card[onclick]:hover {
    background: #fff;
}

.Card[onclick]:hover .Card-title,
.Card-title > a:hover {
    color: #00567a;
    text-decoration: none;
}

.Card-imageContainer--portrait {
    padding-bottom: 121%;
}
