.no-margin {
    margin: 0rem !important;
}
.no-padding {
    padding: 0rem !important;
}

/* Tags styles */

.tag-block {
    padding: 0.6rem 2rem;
    font-size: 2.5rem !important;
    background: #e41b13 !important;
    display: inline-block;
    color: #fff !important;
    font-size: 1rem !important;
    /* position: relative; */
    position: absolute;
    top: 1.5rem;
    z-index: 2;
    left: 0px;
}
.tag-block p {
    position: relative;
}
.tag-block p::before {
    display: block;
    content: "";
    position: absolute;
    right: -3.4rem;
    top: -0.6rem;
    border-top: 2.4em solid #e41b13;
    border-right: 1.5em solid transparent;
    /* background: url(/assets/red-label-triangle.svg) no-repeat; */
    z-index: 1;
    height: 34px;
    width: 27px;
    left: inherit;
}

.tag-abverkauf {
    padding: 0.6rem 2rem;
    font-size: 2.5rem !important;
    background: #808080 !important;
    display: inline-block;
    color: #fff !important;
    font-size: 1rem !important;
    /* position: relative; */
    position: absolute;
    top: 1.5rem;
    z-index: 2;
    left: 0px;
}
.tag-abverkauf p {
    position: relative;
}
.tag-abverkauf p::before {
    display: block;
    content: "";
    position: absolute;
    right: -3.5rem;
    top: -0.6rem;
    border-top: 2.4em solid #808080;
    border-right: 1.5em solid transparent;
    /* background: url(/assets/red-label-triangle.svg) no-repeat; */
    z-index: 1;
    height: 34px;
    width: 27px;
    left: inherit;
}

/* Title section styles */

#new-products {
    position: relative;
    margin: 4rem 0rem 4rem 0rem;
}

#new-products .title-block-section {
    text-transform: uppercase;
    color: #fff;
    font-size: 8.75rem;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #e2e2e2;
    font-weight: bold;
    position: absolute;
    right: 0rem;
    top: 9.8rem;
    box-sizing: border-box;
    z-index: -1;
}
@media screen and (max-width: 1400px) {
    #new-products .new-products-content {
        padding-right: var(--wp--style--root--padding-right) !important;
        padding-left: var(--wp--style--root--padding-left) !important;
    }
}
@media screen and (max-width: 1280px) {
    #new-products .title-block-section {
        font-size: 5rem;
        top: 13rem;
    }
}
@media screen and (max-width: 980px) {
    #new-products .title-block-section {
        top: 23rem;
    }
    .news-carrousel {
        margin-top: 6rem !important;
    }
}
@media screen and (max-width: 700px) {
    #new-products .title-block-section {
        font-size: 4em;
        top: 24.2rem;
    }
}
@media screen and (max-width: 600px) {
    #new-products .title-block-section {
        font-size: 3rem;
        top: 24.1rem;
    }
    .news-carrousel {
        margin-top: 4rem;
    }
}

/*Red line on subheaders*/

.new-products-content .red-line-subtitle img {
    margin-bottom: 0.3rem;
}

/*Text content responsive*/

@media screen and (max-width: 992px) {
    .news-content {
        flex-wrap: wrap !important;
    }
    .news-content .wp-block-group {
        flex-basis: 48% !important;
    }
}

@media screen and (max-width: 769px) {
    .news-content .wp-block-group {
        flex-basis: 100% !important;
    }
}

@media screen and (max-width: 992px) {
    .new-products-content {
        flex-wrap: wrap !important;
    }
    .new-products-content .wp-block-group {
        flex-basis: 100% !important;
    }
    .new-products-content .wp-block-group .wp-block-group {
        width: 100%;
    }
    .new-products-content .wp-block-buttons {
        float: left;
    }
}

@media screen and (max-width: 992px) {
    .new-products-block > div > div {
        border-radius: 0px 0px 4px 4px;
    }
}

.new-products-block > div > div {
    width: 312px !important;
    display: block;
    float: left;
    flex: none;
    border-radius: 0px 0px 4px 4px;
    position: relative;
}
@media screen and (max-width: 769px) {
    .new-products-block > div > div {
        background-color: white;
        width: 312px !important;
    }
}

#new-products .card-items-container {
    align-content: start;
    justify-content: start;
}

@media screen and (max-width: 1380px) {
    #new-products .card-items-container {
        align-items: start;
        max-width: 984px;
    }
    #new-products .new-products-block {
        margin-left: 1.3rem !important;
        margin-right: 1.3rem !important;
    }
}
@media screen and (max-width: 1030px) {
    #new-products .card-items-container {
        max-width: 650px;
    }
}
@media screen and (max-width: 700px) {
    #new-products .card-items-container {
        max-width: 312px;
    }
}

@media screen and (max-width: 600px) {
    .image-full-width img {
        object-fit: cover;
        height: 240px;
    }
}

.card-items-container .card-item {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 0px 0px 4px 4px;
}

.new-products-block > div > div > figure > img {
    border-radius: 4px 4px 0px 0px;
}

.new-products-block p.new-products-block-3-lines {
    max-height: 73px;
    overflow: hidden;
}

@media screen and (max-width: 1280px) {
    #benefits > .wp-block-columns {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

.icon-category {
    background: #fff;
    border-radius: 80px;
    margin-top: -50px;
    z-index: 9;
    padding: 25px 22px 25px 28px !important;
    position: absolute !important;
    right: calc((100% - 1320px) / 2);
    box-shadow: rgba(149, 157, 165, 0.3) 0px 4px 12px;
}

@media screen and (max-width: 1360px) {
    .icon-category {
        right: 2rem;
    }
}
@media screen and (max-width: 700px) {
    .header-home .icon-category .wp-block-image img,
    .header-generic .icon-category .wp-block-image img {
        object-fit: none;
        height: auto;
    }
    .icon-category {
        margin-top: 0px;
        top: 5rem;
    }
}
