/* News (events) List Query
--------------------*/
@media screen {
    .mod_newslist.newsevents .first {
        border-top: 1px solid #000;
    }

    .mod_newslist.newsevents .layout_simple {
        margin: 0 !important;
        border-bottom: 1px solid #000;
    }   

    .mod_newslist.newsevents .layout_simple:before,
    .mod_newslist.newsevents .layout_simple:after {
        display: none;
    }

    .mod_newslist.newsevents a {
        border: none;
    }

    .mod_newslist.newsevents p.info {
        background-color: rgba(0, 144, 221, 0.08);
        font-size: 90%;
        margin-bottom: 0.15rem;
    }

    .mod_newslist.newsevents p.title {
        margin-bottom: 0.15rem;
    }
    .mod_newslist.newsevents p.more {
        font-weight: 700;
        text-align: right;
    }
}

/* Mobile-landscape (and larger) lansacape */
@media only screen and (min-width: 480px) {
}


/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
    .mod_newslist.newsevents .layout_simple {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }   

    .mod_newslist.newsevents p {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .mod_newslist.newsevents p.info {
        width: 20%;
        font-size: 100%;
        background-color: transparent;
    }

    .mod_newslist.newsevents p.title {
        width: 70%;
    }
    .mod_newslist.newsevents p.more {
        width:  10%;
        font-weight: 700;
    }  
}

/* News (events) List ends
--------------------*/





/* News List Box
--------------------*/
@media screen {
    .mod_newslist .pagination {
        width: 100%;
    }

    .layout_latest_box {
        position: relative;
    }

    .layout_latest_box .image_container {
        margin: 0;
        position: relative;
        overflow: hidden;
    }

    .layout_latest_box .image_container > a,
    .layout_latest_box .image_container img {
        width: 100%;
        height: 60vw;
        object-fit: cover;
        object-position: 50% 50%;
    }

    .layout_latest_box .content_div {
        padding-top: 1rem;
    }

    .layout_latest_box a {
        border: none;
        color: var(--profricktal-blue);
    }

    .layout_latest_box a:hover {
        color: var(--profricktal-red);
    }
}

@media screen {  /* for green box */
    .layout_latest_box {
        color: var(--profricktal-black);
    }

    .layout_latest_box a {
        text-decoration: none;
        border: none;
    }

    .layout_latest_box .content_div {
        padding: 1rem;
        overflow: hidden;
        background: var(--profricktal-lightgrey);
    }
}

/* Mobile-landscape (and larger) lansacape */
@media only screen and (min-width: 480px) {
}


/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
    .mod_newslist.news .inside_ce {
        display: flex;
        flex-wrap: wrap;
        --gap: 0rem;
        --columns: 3;
        gap: var(--gap);
    }    

    .mod_newslist.news.block {
        padding: 0;
    }

    .layout_latest_box {
        width: calc((100% / var(--columns)) - var(--gap) + (var(--gap) / var(--columns)));
        display: flex;
        flex-flow: column;
    }

    .layout_latest_box.block {        
		padding-left: calc(var(--block-padding) * 1rem);
		padding-right: calc(var(--block-padding) * 1rem);
	}

    .layout_latest_box .content_div {
        display: flex;
        flex-flow: column;
        flex-grow: 1;
        padding: 1.5rem;
    }

    .layout_latest_box .image_container > a,
    .layout_latest_box .image_container img {
        height: 260px;
    }
    
    .layout_latest_box .ce_text {
        max-height: 7.25rem;
        overflow: hidden;
        line-clamp: 4;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .layout_latest_box .ce_text p {
        margin-bottom: 0;
    }    

    .mod_newslist .link-button {
        padding-top: 1rem;
        margin-top: auto;
    }
}


@media only screen and (min-width: 768px) { /* for green box */

}


/* Tablet-landscape (and larger) for width 992px */
@media only screen and (min-width: 992px) {

}

/* min-width:1100 */
@media only screen and (min-width:1100px) {
    .mod_newslist.news .inside_ce {
        --gap: 0.75rem;
    }    
}

/* min-width:1300 Laptops (and larger) for width 1300px */
@media only screen and (min-width:1300px) {
}
/* News List Box ends
--------------------*/




/* News Reader Query
--------------------*/
@media screen {

}

/* Mobile-landscape (and larger) lansacape */
@media only screen and (min-width: 480px) {
}


/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
}


/* Tablet-landscape (and larger) for width 992px */
@media only screen and (min-width: 992px) {
}

/* min-width:1100 */
@media only screen and (min-width:1100px) {
}

/* min-width:1300 Laptops (and larger) for width 1300px */
@media only screen and (min-width:1300px) {
}
/* News Reader ends
--------------------*/





/* mod_ContentNewsTeaser Query
--------------------*/
@media screen {
    .mod_ContentNewsTeaser {
        display: flex;
        align-items: flex-start;
    }

    .mod_ContentNewsTeaser .inside_ce{
        background-color: var(--vsp-cream);
        padding: 1.5rem;
        border-radius: 0.75rem;
        display: flex;
        flex-flow: column;
        flex-grow: 1;
        height: 100%;
        box-sizing: border-box;
        font-family: 'Space Grotesk';
        font-style: normal;
        font-weight: 500;
    }

    .mod_ContentNewsTeaser .content-div {
        display: flex;
        flex-flow: column;
        flex-grow: 1;
    }

    .mod_ContentNewsTeaser .more {
        margin-top: auto;
        align-self: flex-end;
    }

    .mod_ContentNewsTeaser .img-div {
        margin-top: auto;
    }

    .mod_ContentNewsTeaser .inside_ce img {
        border-radius: 0.75rem;
    }

    .mod_ContentNewsTeaser .text-sideline {
        text-transform: uppercase;
        font-size: 0.875rem;
    }

    .mod_ContentNewsTeaser .text-sideline p:before {
        content: "";
        display: inline-block;
        background-image: url(../images/icons/dot.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position:  bottom center;
        width: 0.8rem;
        height: 0.8rem;
        margin-right: 0.35rem;
    }
}


/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
    .mod_ContentNewsTeaser .inside_ce{
        padding: 1rem .75rem;
    }
}


/* Tablet-landscape (and larger) for width 992px */
@media only screen and (min-width: 992px) {
}

/* min-width:1100 */
@media only screen and (min-width:1100px) {
    .mod_ContentNewsTeaser .inside_ce{
        padding: 1.5rem;
    }
}


/* mod_ContentNewsTeaser ends
--------------------*/
