.node.node--type-promotion.clearfix::after { display: none; }

/*============================== VIEW BLOCK 1 ==============================*/
.view.view-promotions.view-id-promotions.view-display-id-block_1 { position: relative; overflow: hidden; border-radius: 24px; padding-left: 2px; }
.view.view-promotions.view-id-promotions.view-display-id-block_1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(/sites/all/themes/vesta_theme/image/bg-promotions.png) center / cover no-repeat;
    width: 741px;
    height: 642px;
}
.view.view-promotions.view-id-promotions.view-display-id-block_1 .view-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    position: relative;
    z-index: 1;
    padding: 24px 0;
}
.view.view-promotions.view-id-promotions.view-display-id-block_1 .view-content .views-row .node.node--type-promotion.node--view-mode-teaser {
    min-height: 287px;
}
@media screen and (max-width: 991px) {
    .view.view-promotions.view-id-promotions.view-display-id-block_1 { padding: 0; border-radius: 0; overflow: inherit; }
    .view.view-promotions.view-id-promotions.view-display-id-block_1::after { display: none; }
    .view.view-promotions.view-id-promotions.view-display-id-block_1 .view-content { max-width: none; }
    .view.view-promotions.view-id-promotions.view-display-id-block_1 .view-content .views-row .node.node--type-promotion.node--view-mode-teaser { min-height: auto; }
}
@media screen and (max-width: 767px) {

}
/*==========================================================================*/

/*============================== VIEW PAGE 1 ==============================*/
.view.view-promotions.view-id-promotions.view-display-id-page_1 .view-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.view.view-promotions.view-id-promotions.view-display-id-page_1 .view-content .node.node--type-promotion.node--view-mode-teaser { box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1), 0 2px 6px 0 rgba(0, 0, 0, 0.15); }

@media screen and (max-width: 767px) {
    .view.view-promotions.view-id-promotions.view-display-id-page_1 .view-content { gap: 16px; }
}
/*=========================================================================*/


/*============================== TEASER ==============================*/
.node.node--type-promotion.node--view-mode-teaser {
    display: flex;
    flex-direction: row;
    gap: 28px;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    background: #fff;
}
.node.node--type-promotion.node--view-mode-teaser::before {
    content: "";
    background: url(/sites/all/themes/vesta_theme/image/icons/promotion.svg) center / cover no-repeat;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
}

.node.node--type-promotion.node--view-mode-teaser .group-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.node.node--type-promotion.node--view-mode-teaser .group-container .group-top { display: flex; flex-direction: column; gap: 24px; }
.node.node--type-promotion.node--view-mode-teaser .group-container .group-top .field.field--name-field-field-promotion-name { font: 700 26px / 1.5 var(--third-family); color: #000; text-transform: uppercase; }
.node.node--type-promotion.node--view-mode-teaser .group-container .group-top .field.field--name-field-field-promotion-name span { color: #ff3535; }
.node.node--type-promotion.node--view-mode-teaser .group-container .group-top .field.field--name-body  { font: 400 14px / 1.5 var(--third-family); color: #353535; }
.node.node--type-promotion.node--view-mode-teaser .group-container .field.field--name-node-link a { font: 600 14px / 1.3 var(--font-family); color: #5834b4; display: flex; align-items: center;  }
.node.node--type-promotion.node--view-mode-teaser .group-container .field.field--name-node-link a::after { 
    content: '';
    background-color: #5834b4;
    -webkit-mask: url(/sites/all/themes/vesta_theme/image/icons/arrow-link.svg) no-repeat center;
    mask: url(/sites/all/themes/vesta_theme/image/icons/arrow-link.svg) no-repeat center;
    mask-size: 8px;
    width: 8px;
    height: 8px;
    margin-left: 12px;
    transition: all 0.3s ease;
}
.node.node--type-promotion.node--view-mode-teaser .group-container .field.field--name-node-link a:hover { color: var(--primary-color); }
.node.node--type-promotion.node--view-mode-teaser .group-container .field.field--name-node-link a:hover::after { background-color: var(--primary-color); }

@media screen and (max-width: 1199px) {
}
@media screen and (max-width: 991px) {
    .node.node--type-promotion.node--view-mode-teaser { box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1), 0 2px 6px 0 rgba(0, 0, 0, 0.15); }
    
}
@media screen and (max-width: 767px) {
    .node.node--type-promotion.node--view-mode-teaser { padding: 16px 16px 20px 16px; }
    .node.node--type-promotion.node--view-mode-teaser .group-container,
    .node.node--type-promotion.node--view-mode-teaser .group-container .group-top { gap: 16px; }
    .node.node--type-promotion.node--view-mode-teaser .group-container .group-top .field.field--name-field-field-promotion-name { font: 700 24px / 1.4 var(--third-family); }
    .node.node--type-promotion.node--view-mode-teaser .group-container .field.field--name-node-link a { justify-content: center; font-size: 16px; }
}
@media screen and (max-width: 575px) {
    .node.node--type-promotion.node--view-mode-teaser { flex-direction: column; gap: 16px;}
    .node.node--type-promotion.node--view-mode-teaser::before { width: 40px; height: 40px; }
}
/*====================================================================*/
