article{
    min-height: 100vh;
}
section{
    padding:1rem 2rem 1rem 2rem;
    position: relative;
}
section:before {
    content: '';
    position: absolute;
    top: 4%;
    right: 14%;
    background-image: url('/static/theme/img/logoicon.svg');
    -moz-background-size: contain;
      -o-background-size: contain;
         background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 10rem;
    height: 10rem;
    z-index: -1;
}
h1{
    text-align:center;
    line-height:7rem
}
.card{
    width: 23%;
    margin: 0 1% 5rem;
    text-align: center;
    position: relative;
    padding-bottom: 4rem;
}
.card a{
    width: 100%;
}
.card h5{
    padding: 0 1rem;
}
.card p{
    margin-bottom: 0;
    padding: 0 1rem;
}
.linkto{
    text-decoration: none;
    color: #2d160e;
    margin: 0;
    padding: 0 1rem;
    z-index: 1;
    position: relative;
}
.studiophone{
    margin: 2rem 0;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}
.studiophone svg {
    width: 2rem;
    vertical-align: middle;
    margin-right: .5rem;
}
.studiophone:hover svg .circle{
    fill: #c49c7e!important;
}
.studiophone:hover svg .alo{
    fill: #F9F6F7!important;
}
.image{
    aspect-ratio:16/11;
    -moz-background-size:cover;
    -o-background-size:cover;
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    -webkit-border-radius:.571rem;
    -moz-border-radius:.571rem;
    border-radius:.571rem;
    position:relative;
    overflow:hidden;
    margin-bottom: 1rem;
    width: -webkit-calc(100% + 2rem);
    width: -moz-calc(100% + 2rem);
    width: calc(100% + 2rem);
    margin-left: -1rem;
}
.image:before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    z-index:1;
    background:-webkit-gradient(linear,left top,left bottom,from(rgba(196,156,126,.6)),to(rgba(255,255,255,0)));
    background:-webkit-linear-gradient(top,rgba(196,156,126,.6) 0,rgba(255,255,255,0) 100%);
    background:-moz-linear-gradient(top,rgba(196,156,126,.6) 0,rgba(255,255,255,0) 100%);
    background:-o-linear-gradient(top,rgba(196,156,126,.6) 0,rgba(255,255,255,0) 100%);
    background:-webkit-gradient(linear,left top, left bottom,color-stop(0, rgba(196,156,126,.6)),to(rgba(255,255,255,0)));
    background:linear-gradient(180deg,rgba(196,156,126,.6) 0,rgba(255,255,255,0) 100%)
}
.card .btn {
    width: -webkit-calc(100% - 4rem);
    width: -moz-calc(100% - 4rem);
    width: calc(100% - 4rem);
    display: block;
    position: absolute;
    left: 2rem;
    bottom: 1rem;
    margin: 0 auto;
    z-index: 2;
    max-width: 14rem;
    right: 2rem;
}
.border {
    border: 1px solid #c49c7e;
    -webkit-border-radius: .571rem;
    -moz-border-radius: .571rem;
    border-radius: .571rem;
    position: absolute;
    width: -webkit-calc(100% - 2rem);
    width: -moz-calc(100% - 2rem);
    width: calc(100% - 2rem);
    height: 100%;
    z-index: 2;
    top: 1rem;
    right: 1rem;
    left: 1rem;
    overflow: hidden;
}
.border svg{
    float:right;
    margin:.5rem
}
.card:hover .border{
    z-index: -1;
}
.card:hover .border:before{
    background: rgba(246, 237, 232, 0.9);
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}
@media screen and (max-width: 1100px){
.card {
    width: 31%;
}
}
@media screen and (max-width: 1000px){
    .card {
        width: 48%;
    }
}
@media screen and (max-width: 700px){
    section {
        padding: 1rem;
    }
    .card {
        width: 98%;
    }
    h1 {
        line-height: 3rem;
        font-size: 1.8rem;
        }
      .linkto{
        z-index: 2;
      }
}