/* -------------------------------------------------- locations -------------------------------------------------- */

.main-content{
    position: relative;
    width: 780px;
    margin: 5rem auto;
}
.main-content h2{
    font-size: calc(var(--font-size) + (var(--ratio) / 2));
    line-height: 1;
    margin: 1rem 0;
}
.main-content p{
    font-size: calc(var(--font-size) - (var(--ratio) / 2));
    line-height: 1.2;
    margin: 1rem 0;
}
.main-content p:has(img){
    text-align: center;
}
.main-content p:has(img) img{
    width: 50%;
}
.all-locations{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: stretch;
    justify-content: space-between;
    align-items: stretch;
    gap: 4vw 2vw;
}
.card, .card a{
    width: 45%;
    text-align: center;
}
.card figure{
    width: 100%;
    height: 60svh;
    line-height: 0;
    overflow: hidden;
}
.card .image-container{
    width: 100%;
    height: 60svh;
    line-height: 0;
    overflow: hidden;
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
}
.card .image-container img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}
.card p{
    margin-top: 0;
    margin-bottom: 0;
}
.card a:hover{
    color: var(--locationsClr);
}