.postcard{
    margin-bottom: 30px;
    overflow: hidden;
}

.postcard .upper {
    position: relative;
    height: calc(130px + (220 - 130) * ((100vw - 320px) / (640 - 320)));
}

.postcard .upper.add-stamp {
    height: calc(200px + (315 - 200) * ((100vw - 320px) / (640 - 320)));
}

.postcard .stamp-cont {
    position: absolute;
    right: 0;
    top: 5%;
    max-width: 200px;
}

.postcard .cols{
    background-image: linear-gradient( to right, #788000, #a2ad00, #788000 );
}

.postcard .upper .inner{
    padding: 0 15px;
}

.postcard .slide .inner {
    position: relative;
    width: 100%;
}

.postcard .upper .inner .green-border{
    width: 100%;
    height: calc(98px + (185 - 98) * ((100vw - 320px) / (640 - 320)));
    border: 3px solid #a1ac00;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    position: absolute;
    border-bottom: none;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.postcard .upper.add-stamp .inner .green-border::after{
    content: "";
    background-image: url(/includes/public/assets/images/stamp-texas-hill-country2x.png);
    width: 150px;
    height: 150px;
    top: -75px;
    right: 0;
    background-size: contain;
    position: absolute;
    z-index: -1;
}

.postcard .cols .slide .inner .white-border{
    width: calc(100%);
    height: calc(98px + (185 - 98) * ((100vw - 320px) / (640 - 320)));
    border: 3px solid #FFF;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.postcard .inner .img-cont {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    overflow: hidden;
    z-index: 4;
    padding: 0 15px;
}

.postcard .inner .img-cont:after {
    content: "";
    position: absolute;
    height: 100%;
    width: calc(100% - 30px);
    background-color: rgba(0,0,0, 0.4);
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    border-radius: 20px;
}

.postcard .img-cont .shared-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
    cursor: pointer;
}

.postcard .img-cont .shared-play-button i {
    color: #fff;
    font-size: 60px;
}

.postcard .inner .img-cont img {
    border-radius: 20px;
    width: 100%;
}

.postcard .inner .content-section {
    position: relative;
    height: 100%;
    padding: 35% 15px 25px;
}

.postcard .inner .text-section {
    position: relative;
}

.postcard .text-section h4,
.postcard .text-section p,
.postcard .inner .text-section a {
    color: #fff;
    text-transform: none;
    text-decoration: none;
}

.postcard .text-section h4 {
    font-size: 35px;
    margin: 0 0 15px;
}

.postcard .text-section a {
    font-size: 18px;
    font-family: 'Frutiger LT W01_55 Roma1475738', sans-serif;
}

.postcard .inner .text-section a:hover {
    font-weight: normal;
    text-transform: none;
}

.postcard .text-section i {
    font-style: normal;
    transform: rotate(90deg);
}

@media (min-width: 641px) {
    .postcard{
        margin-bottom: 65px;
    }
    .postcard .upper {
        height: 220px;
    }
    .postcard .upper.add-stamp {
        height: 315px;
    }
    .postcard .inner .img-cont {
        width: 624px;
        padding: 0;
        max-width: 546px;
    }

    .postcard .inner .img-cont:after {
        width: 100%;
        left: 0;
        transform: none;
        border-radius: 0;
    }

    .postcard .inner .content-section {
        padding: 205px 15px 25px;
    }
    .postcard .upper .inner .green-border,
    .postcard .cols .slide .inner .white-border{
        width: 600px;
        height: 180px;
    }

    .postcard .upper.add-stamp .inner .green-border::after{
        width: 204px;
        height: 204px;
        top: -100px;
        right: 0px;
    }

    .postcard .cols .slide .inner .white-border{
        top: 0;
    }
}

@media (min-width: 1025px) {
    .postcard .upper,
    .postcard .upper.add-stamp {
        height: 240px;
    }

    .postcard .slide .inner {
        padding: 0;
    }
    .postcard .upper .inner,
    .postcard .cols .slide {
        max-width: 1200px;
        margin: 0 auto;
    }

    .postcard .cols .slide{
        padding: 0 15px;    
    }

    .postcard .upper .inner .green-border{
        width: calc(470px + (586 - 470) * ((100vw - 1025px) / (1230 - 1025)));
        height: calc(145px + (173.5 - 145) * ((100vw - 1025px) / (1230 - 1025)));
        left: inherit;
        transform: none;
        bottom: 0;
    }

    .postcard .upper.add-stamp .inner .green-border::after{
        top: 0;
        right: -186px;
    }

    .postcard .cols .slide .inner .white-border{
        width: calc(470px + (586 - 470) * ((100vw - 1025px) / (1230 - 1025)));
        height: calc(145px + (173.5 - 145) * ((100vw - 1025px) / (1230 - 1025)));
        left: inherit;
        transform: none;
    }

    .postcard .inner .img-cont {
        left: 20px;
        width: calc(430px + (546 - 430) * ((100vw - 1025px) / (1230 - 1025)));
        transform: translateY(-50%);
    }

    .postcard .inner .content-section {
        position: relative;
        height: 100%;
        width: 50%;
        margin-left: auto;
        padding: 50px 0;
    }

    .postcard .inner .text-section {
        bottom: initial;
        left: initial;
        padding-left: calc(26px + (52 - 26) * ((100vw - 1025px) / (1230 - 1025)));
    }

    .postcard .text-section h4 {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .postcard .text-section p {
        font-size: 21px;
        line-height: 28px;
    }

}


@media (min-width: 1230px) {
    .postcard .inner .img-cont {

        /*top: -153.5px;*/
        width: 546px;
    }
    .postcard .upper .inner .green-border {
        width: 586px;
        height: 173.5px;
        bottom: 0;
    }
    .postcard .cols .slide .inner .white-border {
        width: 586px;
        height: 173.5px;
        border: 3px solid #FFF;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
        border-top: none;
        position: absolute;
    }

    .postcard .inner .text-section {
        padding-left: 52px;
    }

}