/* ======================= Stacking Cards Start ======================= */
.stacking-cards-section{overflow: hidden;}
.card-stack-pin{display: flex; justify-content: center; align-items: center;}
.stacking-cards-container{display: grid;  margin-bottom: 64px;}
.stacking-cards-container > * {grid-area: 1/1/2/2;}
.card-item { height: 100%; min-height: auto;}
.stacking-cards-container .card-item .grid-item {z-index: 1;}
.stacking-cards-container .grid-thumb .boxed-container figure{background-image: url(../../assets/svg/assets/shape-1.svg); background-repeat: no-repeat; background-position: center; background-size: contain;}
.stacking-cards-container .grid-thumb .boxed-container img{max-height: 160px; object-fit: contain;}
.stacking-cards-container .grid-bg img{object-position: top;}

.stacking-cards-container .card-item{ position: relative;}
.stacking-cards-container .card-item:before{content:''; position: absolute; top: 0; left: 0;height: 100%; background-repeat: no-repeat;width: 100%; }
.stacking-cards-container .card-item:nth-child(3n+2):before{ background-image:url(../../assets/svg/assets/dots-stripes.svg); width: 100%; background-size: calc(100% - 32px); height: 46%;background-position: bottom;}
.stacking-cards-container .card-item:nth-child(3n+3):before{background-image:url(../../assets/svg/assets/BG-Star.svg) ; height: 63%; background-position: bottom;background-size: cover;}
.play-trigger svg{width: 96px; height:96px; object-fit: contain; -webkit-transition: all .4s ease-in-out; -moz-transition: all .4s ease-in-out; transition: all .4s ease-in-out;}
.play-trigger:hover svg{transform: scale(1.07);}
.play-trigger:after{content: ''; background-image: url(../../assets/svg/assets/play.svg); width: 100%;  height: 100%; background-size: 36.688px; background-repeat: no-repeat; background-position: center; left: 0; top: 0; position: absolute;}

.stacking-cards-container .video-container .grid-content h2{position: relative; z-index: 1;}
.stacking-cards-container .video-container .grid-content:before{content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;  z-index: 1; background-image: url(../../assets/svg/assets/video-bg.svg); background-repeat: no-repeat; background-size: cover; background-position: bottom;}
.stacking-cards-container .video-container .grid-item:last-child{margin-top: auto; margin-bottom: auto;}

@media only screen and (max-width: 767px) {
    .stacking-cards-container .video-container .grid-content{padding: 12px;}
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .stacking-cards-container .card-item:nth-child(2n+1):before{width: 100%; background-image: url(../../assets/svg/assets/dots-stripes-tablet.svg);height: 60%; background-size: calc(100% - 120px);}
    .stacking-cards-container .grid-thumb img{max-height: 420px;object-fit: contain;}
    .stacking-cards-container .grid-thumb .boxed-container img{max-height: 320px; }
    .stacking-cards-container .card-item:nth-child(3n+2):before{height: 60%;}
    .stacking-cards-container .card-item:nth-child(3n+3):before{width: 100%; background-size: calc(100% - 64px); width: 100%;}
    .play-trigger svg{width: 150px; height: 150px;}
    .play-trigger:after{background-size: 61px;}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .card-item.row-rev .grid-item:first-child{grid-column: 2;}
    .grid-bg{width: auto;}
    .card-item.row-rev:before{left: auto; right: 0;}
    .stacking-cards-container .card-item:nth-child(3n+2):before{width:48.152542%; background-position: right; height: 100%;}
    .stacking-cards-container .card-item:nth-child(3n+2):before{background-size: calc(151% - 32px);}
    .stacking-cards-container .card-item:nth-child(3n+3):before{width:63.152542%; height: 100%; background-position: left;}
    .card-item.row-rev:before{background-position: left;;}
    .stacking-cards-container .grid-thumb img{max-height: 420px;object-fit: contain;}
    .stacking-cards-container .grid-thumb .boxed-container{padding: 32px;}
    .stacking-cards-container .grid-thumb .boxed-container img{max-height: 360px; }

    .play-trigger svg{width: 150px; height: 150px;}
    .play-trigger:after{background-size: 61px;}
    .stacking-cards-container .video-container .grid-content:before{background-size: contain;}
    .stacking-cards-container .video-container .grid-content:after{content: ''; position: absolute; bottom: var(--space-m); right: var(--space-m); width: 106px; height: 72px;  z-index: 1; background-image: url(../../assets/svg/assets/arrow-right-brwn.svg); background-repeat: no-repeat; background-size: contain; background-position: center;}
    .video-container .grid-content{height: 100%;}
}

@media only screen and (min-width: 1200px) {
    .card-item.row-rev .grid-item:first-child{grid-column: 2;}
    .grid-bg{width: auto;}
    .card-item.row-rev:before{left: auto; right: 0;}
    .stacking-cards-container .card-item:nth-child(3n+2):before{width:48.152542%; background-position: right; height: 100%;}
    .stacking-cards-container .card-item:nth-child(3n+3):before{width:64.152542%; height: 100%;}
    .card-item.row-rev:before{background-position: left;;}
    .stacking-cards-container .grid-thumb img{max-height: 420px;object-fit: contain;}
    .stacking-cards-container .grid-thumb .boxed-container{padding: 62px;}
    .stacking-cards-container .grid-thumb .boxed-container img{max-height: 360px; }

    .play-trigger svg{width: 240px; height: 240px;}
    .play-trigger:after{background-size: 98px;}
    .stacking-cards-container .video-container .grid-content:before{background-size: contain;}
    .stacking-cards-container .video-container .grid-content:after{content: ''; position: absolute; bottom: var(--space-m); right: var(--space-m); width: 106px; height: 72px;  z-index: 1; background-image: url(../../assets/svg/assets/arrow-right-brwn.svg); background-repeat: no-repeat; background-size: contain; background-position: center;}
    .video-container .grid-content{height: 100%;}
}
/* ======================= Stacking Cards End ======================= */
