/* Aktuell slider */

.header-container {
    display: flex;
    align-items: center;
}

.header-text {
    color: #B30000; /* Red color similar to the one in the image */
    font-size: 24px; /* Adjust the font size as needed */
    margin: 0 10px; /* Space between text and lines */
}

.line {
    flex-grow: 1;
    height: 2px; /* Adjust the thickness of the line */
    background-color: #cccc00; /* Yellow color similar to the one in the image */
}


.mod-articlesnews__heading {
    margin-top: 50px;

}

.mod-articlesnews__content {
    padding-left: 30px;
}

.articles-container {
    display: flex;
    flex-direction: column;
}

.article-item {
    display: flex;
    margin-bottom: 20px;
    position: relative;
    padding: 20px;
    background: url('/media/templates/site/cassiopeia_cwhi/images/pill-background.png') no-repeat;
    background-position: right top;
    background-size: cover;
}


.article-item.mirrored {
    background: url('/media/templates/site/cassiopeia_cwhi/images/pill-background-mirrored.png') no-repeat;
    background-position: left bottom;
    background-size: cover;
    margin-left: -30px;
    padding-left: 50px;
}

.article-item:nth-child(odd) {
    flex-direction: row;
    /*  background: #d4d4d4;
      border-top-right-radius: 50%;
        border-bottom-right-radius: 50%;*/
}


.article-item:nth-child(odd)::after {
    position: absolute;
    top: 0px;
    right: 100%;
    bottom: 0px;
    content: '';
    width: 100vw;
    height: auto;
    background: #f3f3f3;
    border: solid 1px #fff;
    border-right: none;
}

.article-item.mirrored:nth-child(odd)::after {
    position: absolute;
    top: 0px;
    left: 100%;
    bottom: 0px;
    content: '';
    width: 50vw;
    height: auto;
    background: #f3f3f3;
    border: solid 1px #fff;
    border-left: none;
}



.article-item:nth-child(even) {
    flex-direction: row-reverse;
    background: #fff;
    margin-right: 270px;
}

.article-item:nth-child(even) .article-item__content {
    max-width: 480px;
}

.article-item:nth-child(even) .article-item__image {
    max-width: 500px;
    padding-left: 80px;

}

.article-item__image {
    flex: 1;
    padding: 40px;
    padding-left: 90px;
    align-self: center;
}

.article-item__content {
    flex: 2;
    padding: 50px;
    padding-left: 90px;
    padding-right: 10px;
}

.article-item__heading {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 100;
    line-height: 2rem;
    margin-bottom: 1rem;
    color: #B30000;
    max-width: 450px;
}

.article-item__text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5rem;
    max-width: 450px;
}

@media (max-width: 768.98px) {
    .article-item {
        display: block;
        padding: 20px 0px 40px 0px;
        background:#f3f3f3;
    }

    .article-item.mirrored {
        padding: 20px 0px 40px 30px;
        background:#f3f3f3;
    }

    .article-item:nth-child(2n+1)::after,.article-item:nth-child(2n+1)::before {
     border:none;
    }

    .article-item:nth-child(odd)::before {
        position: absolute;
        top: 0px;
        left: 100%;
        bottom: 0px;
        content: '';
        width: 100vw;
        height: auto;
        background: #f3f3f3;
        border: solid 1px #f3f3f3;
        border-right: none;
    }

    .article-item.mirrored:nth-child(odd)::before {
        position: absolute;
        top: 0px;
        right: 100%;
        bottom: 0px;
        content: '';
        width: 50vw;
        height: auto;
        background: #f3f3f3;
        border: solid 1px #fff;
        border-left: none;
    }



    .article-item:nth-child(even) {
        flex-direction: row-reverse;
        background: #fff;
        margin-top:40px;
        margin-right:0px;
    }

    .article-item:nth-child(even) .article-item__image {
        max-width: 360px;
        padding-left: 0px;
        margin: 0 auto;
        margin-bottom: 30px;
    }



    .article-item__image {
        padding: 0;
        padding-bottom: 20px;
    }

    .article-item__image img {
        width: 100%;
        height: auto;
    }


    .article-item__content {
        padding: 15px;
        padding-top: 0px;
    }

    .article-item__text p{
        width:100%!important;
        max-width:100%!important;
    }

    .btn {
        width:100%!important;
    }

    .article-item__heading {
        margin-bottom: 10px;
        font-size: 1.2rem;
        font-weight: 100;
        line-height: 1.5rem;
        margin-bottom: 1rem;
        color: #B30000;
        max-width: 450px;
    }

}

/*# sourceMappingURL=landing-slider.css.map */