/* News */
.news-list-view * {hyphens: auto;}
.news-list-view .article > .news-img-wrap {grid-area: image;}
.news-list-view .article > .news-list-date {grid-area: date;}
.news-list-view .article > .header {grid-area: title;}
.news-list-view .article > .teaser-text {grid-area: teaser;}

.news-list-view .news-list-items {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 4%;
}
.news-list-view .page-navigation {
    width: 100%;
}
.news-list-view .page-navigation p {
    display: none;
}
.news-list-view .page-navigation a {
    display: inline-block;
    padding: 0.8rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    text-decoration: none;
    min-width: 15px;
    text-align: center;
    max-width: 15px;
}
.news-list-view .page-navigation ul, 
.news-list-view .page-navigation li {
    display: inline-block;
    margin: 0 0 4px;
    padding: 0;
    list-style-type: none;
}

.news-list-view .page-navigation ul {
	margin-top: 1rem;
    margin-bottom: 3rem;
}


.news-list-view .page-navigation li {
    font-family: var(--main-font);
    background-color: var(--pagebrowser-background-color);
    font-size: 1.2rem;
	box-sizing: content-box;
}
.news-list-view .page-navigation li::before {
    content: none;
}
.news-list-view .page-navigation li a {
    color: var(--pagebrowser-font-color);
	transition: var(--button-link-animation);
	box-sizing: content-box;
}

.news-list-view .page-navigation li.next a,
.news-list-view .page-navigation li.last a,
.news-list-view .page-navigation li.previous a,
.news-list-view .page-navigation li.first a {
    text-indent: -10000px;
    width: 14px;
	position:relative;
	background-color:var(--pagebrowser-background-color);	
} 


.news-list-view .page-navigation li.next a:after,
.news-list-view .page-navigation li.last a:after,
.news-list-view .page-navigation li.previous a:after,
.news-list-view .page-navigation li.first a:after {
	content:'';
	position:absolute;
	top:0px;
	bottom:0px;
	left:0px;
	right:0px;	
	
	mask-repeat: no-repeat;
    mask-image: url('../Images/arrow_right.svg');
    mask-position: center center;	
	mask-size:17px 17px;
	background-color:var(--pagebrowser-font-color);		
}


.news-list-view .page-navigation li.previous a:after {
	mask-image: url('../Images/arrow_left.svg');
}

.news-list-view .page-navigation li.last a:after {
	mask-image: url('../Images/arrow_double_right.svg');
}

.news-list-view .page-navigation li.first a:after {
	mask-image: url('../Images/arrow_double_left.svg');
}

.news-list-view .page-navigation li.next a:hover,
.news-list-view .page-navigation li.last a:hover,
.news-list-view .page-navigation li.previous a:hover,
.news-list-view .page-navigation li.first a:hover {
	background-color:var(--pagebrowser-active-background-color);
}

.news-list-view .page-navigation li.next a:hover:after,
.news-list-view .page-navigation li.last a:hover:after,
.news-list-view .page-navigation li.previous a:hover:after,
.news-list-view .page-navigation li.first a:hover:after {
	background-color:var(--pagebrowser-active-font-color);
}


.news-list-view .page-navigation a:hover,
.news-list-view .page-navigation li.current {
    padding: 0.8rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    background-color: var(--pagebrowser-active-background-color);
    color: var(--pagebrowser-active-font-color);
    text-decoration: none;
    width: 15px;
    text-align: center;
}

.news-list-view .article {
    width: 22%;
    position: relative;
    height: auto;
    min-height: 100px;
    margin-bottom: 40px;
}
.news-list-view .news-img-wrap {
    margin-bottom: 0.5rem;	
}

.news-list-view.news-list-layout- .news-img-wrap,
.news-list-view.news-list-layout-1 .news-img-wrap {
    margin-bottom: 1rem !important;
}

.news-list-view .news-img-wrap img {
    width: 100%;
    height: auto;
	
	/*
    outline: 1px solid #e5ebef;
    outline-offset: -1px;
	*/
}
.news-list-view h3 {
    margin: 0.5rem auto;
}
.news-list-view p.read-more a {
    margin-top: 0.5rem;
    display: block;
}
.news-list-view a {
    text-decoration: none;
}

.news-list-view .news-img-wrap a {
	position:relative;
	line-height:0;
	display:block;
}

.news-list-view a:hover {
    text-decoration: underline;
}

.news-list-view p.read-more a {
    text-decoration: underline;
}
.news-list-view p.read-more a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
	.news-list-view .article {
		width: 48%;
	}
}
@media (max-width: 520px) {
	.news-list-view .article {
		width: 100%;
	}
}

.news-text-wrap p:first-of-type {
	/*
    margin-top: -1rem;
	*/
}
.news-backlink-wrap a.back-button {
	margin-top: 42px;
}

.news-single .news-backlink-wrap a,
.news-list-view.news-list-layout-1 .news-list-items .article .read-more a,
.news-list-view.news-list-layout-2 .news-list-items .article .read-more a,
.news-list-view.news-list-layout-4 .news-list-items .article .read-more a {
	display: inline-block;
    width: fit-content;
    margin: 25px auto 0;
    padding: 10px;
    background-color: var(--style-color-1);
	color: var(--background-color);
    text-decoration: none;
    border: 1px solid var(--style-color-1);
	transition: var(--button-link-animation);
}
.news-list-view.news-list-layout-2 .news-list-items .article .read-more a {
    margin: 25px 0;
}
.news-single .news-backlink-wrap a:hover, 
.news-list-view.news-list-layout-1 .news-list-items .article .read-more a:hover, 
.news-list-view.news-list-layout-2 .news-list-items .article .read-more a:hover, 
.news-list-view.news-list-layout-4 .news-list-items .article .read-more a:hover {
    background-color: var(--button-hover-background-color);
    color: var(--button-hover-font-color);
}

/* Alternative Teaser - Listen Layout 1 */

.news-list-view.news-list-layout-1 .news-list-items {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 3.5%;
}

.news-list-view.news-list-layout-1 .news-list-items > .article {
    width: 31%;
    position: relative;
    height: auto;
    min-height: 100px;
    margin-bottom: 40px;
	background-color:var(--style-color-3);
}


@media (max-width: 800px) {
	.news-list-view.news-list-layout-1 .news-list-items > .article {
		width: 100%;
	}
}

.news-list-view.news-list-layout-1 .article > .news-img-wrap {
	width:100%;
	height:auto;
	background-color:#fff;
}

.news-list-view.news-list-layout-1 .article > .news-list-date,
.news-list-view.news-list-layout-1 .article > .teaser-text,
.news-list-view.news-list-layout-1 .article > .header {
	padding-left:1rem;
	padding-right:1rem;	
}


.news-list-view.news-list-layout-1 .article > .title {
    font-size:1.5rem;
	margin-bottom:1rem;
	margin-top:1rem;	
}

.news-list-view.news-list-layout-1 .article > .teaser {
	margin-bottom:1rem;	
}

.news-list-view.news-list-layout-1 .article > .title a {
    text-decoration:none;
}

.news-list-view.news-list-layout-1 .article > .link {
	margin-bottom:1rem;	
	text-align:right;
}

.news-list-view.news-list-layout-1 .article .read-more {
	margin-bottom:1rem;
}

/* Alternative Teaser - Listen Layout 2 */

.news-list-view.news-list-layout-2 .news-list-items > .article {
    width: 100%;
	display:grid;	
	grid-template-areas:
		'image date'
		'image title'
		'image teaser';
	
	gap: 5px 10px;	
	align-items: start;
	grid-template-columns:auto 2fr;
	grid-template-rows: auto auto 1fr;
}

.news-list-view.news-list-layout-2 .news-list-items .teaser-text {
    padding: 0 1rem;
}
.news-list-view.news-list-layout-2 .news-list-items .article .header {
    padding: 0 1rem;
}
.news-list-view.news-list-layout-2 .news-list-items .news-list-date {
    padding: 0 1rem;
    font-size: 1.3rem;
}
.news-list-view.news-list-layout-2 .news-list-items .article .news-img-wrap a,
.news-list-view.news-list-layout-2 .news-list-items .article .news-img-wrap {
    margin-bottom: 0;
    block-size: 100%;
}
.news-list-view.news-list-layout-2 .news-list-items .article .news-img-wrap img {
    width: 320px;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
	.news-list-view.news-list-layout-2 .news-list-items > .article {
	  grid-template-areas:
		'image'
		'date'
		'title'
		'teaser';
	  grid-template-columns: 100%;
	  grid-template-rows: auto;		
	}
	.news-list-view.news-list-layout-2 .news-list-items .article .news-img-wrap img {
    	width: 100%;
		height: auto;
	}
	.news-list-view.news-list-layout-2 .news-list-items .article .header,
	.news-list-view.news-list-layout-2 .news-list-items .teaser-text {
		padding: 0;
	}
	.news-list-view.news-list-layout-2 .news-list-items .news-list-date {
		padding: 1rem 0 0;
		font-size: 1.3rem;
	}
}

/* Alternative Teaser - Listen Layout 3 */

.news-list-view.news-list-layout-3 .news-list-items {
    display: flex;
    flex-flow: column wrap;
    gap: 30px 0;
    min-width: 100%;
}

.news-list-view.news-list-layout-3 .article h3 {
    font-size: 23px;
}

.news-list-view.news-list-layout-3 .article {
    display: flex;
    flex-direction: column-reverse;
    width: 100% !important;
    /* max-width: 70%; */
    margin: 0 auto;
} 
.news-list-view.news-list-layout-3 .article .teaser-text,
.news-list-view.news-list-layout-3 .page-navigation:first-of-type {
    display: none;
} 
.news-list-view.news-list-layout-3 .article .news-img-wrap a::after {
    display: block;
    position: relative;
    content: '';
    height: 200px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .0), rgba(1, 1, 1, .9));
    margin-top: -200px;
}
.news-list-view.news-list-layout-3 .article .news-list-date {
    position: absolute;
    width: fit-content;
    bottom: 45px;
    padding: 0 40px;
    font-size: 24px !important;
	color: var(--background-color);
}
.news-list-view.news-list-layout-3 .article .header {
    position: absolute;
    padding: 0 40px;
    bottom: 80px;
}
.news-list-view.news-list-layout-3 .article .header h3 {
    font-size: 2.5rem;
	line-height: 1.2;
    color: var(--background-color);
}
.news-list-view.news-list-layout-3 .article .header h3 a {
    color: var(--background-color);
}

/* Alternative Teaser - Listen Layout 4 */

.news-list-view.news-list-layout-4 .news-list-items > .article {
    width: 48%;
	display:grid;	
	grid-template-areas:
		'image date'
		'image title'
		'image teaser';
	
	gap: 5px 10px;	
	align-items: start;
	grid-template-columns:40% auto;
	grid-template-rows: auto auto 1fr;
}

.news-list-view.news-list-layout-4 .news-list-items .teaser-text {
    padding: 0 1rem;
}
.news-list-view.news-list-layout-4 .news-list-items .article .header {
    padding: 0 1rem;
}
.news-list-view.news-list-layout-4 .news-list-items .news-list-date {
    padding: 0 1rem;
    font-size: 1rem;
}
.news-list-view.news-list-layout-4 .news-list-items .article .news-img-wrap a,
.news-list-view.news-list-layout-4 .news-list-items .article .news-img-wrap {
    margin-bottom: 0;
    block-size: 100%;
}
.news-list-view.news-list-layout-4 .news-list-items .article .news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-view.news-list-layout-4 h3 {
	font-size:1.3rem;
	font-weight:bold;
}

.news-list-view.news-list-layout-4 p {
	font-size:1rem;
}


@media (max-width: 1000px) {
	.news-list-view.news-list-layout-4 .news-list-items > .article {
	  grid-template-areas:
		'image'
		'date'
		'title'
		'teaser';
	  grid-template-columns: 100%;
	  grid-template-rows: auto;		
	}
	.news-list-view.news-list-layout-4 .news-list-items .article .news-img-wrap img {
    	width: 100%;
		height: auto;
	}
	.news-list-view.news-list-layout-4 .news-list-items .article .header,
	.news-list-view.news-list-layout-4 .news-list-items .teaser-text {
		padding: 0;
	}
	.news-list-view.news-list-layout-4 .news-list-items .news-list-date {
		padding: 1rem 0 0;
		font-size: 1.3rem;
	}
}

@media (max-width: 550px) {
	.news-list-view.news-list-layout-4 .news-list-items > .article {
    	width: 100%;
	}
}


/* News Detailansicht */

.news-single h1 {
    text-align: center;
	margin-bottom:0.5rem;
}

.news-single.news-single-layout- .tns-outer .tns-controls {
    margin: 0 0 -30px;
}	
.news-single.news-single-layout- .tns-outer .tns-controls button {
    margin: 0;
}
.news-single.news-single-layout- .tns-outer p.news-img-caption {
    display: none;
}

.news-single.news-single-layout- .news-img-wrap {
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
	width:30%;
}
.news-single.news-single-layout- .news-img-wrap img {
    width: 100%;
    height: auto;
}
.news-single .news-list-date {
    padding-bottom: 55px;
	text-align:center;
}
.news-single .ce-textpic img {
    width: 100%;
    height: auto;
    padding: 0.65rem 0 1rem;
}

.news-single .news-list-date {
    font-size: 22px;
}



/* Alternative Detailansicht 1 */

.news-single-layout-1 {
    max-width: 1200px;
    margin: 0 auto;
}
.news-single-layout-1 .tns-outer {
    position: relative;
}
.news-single-layout-1 .news-img-wrap .tns-controls {
    position: static;
    display: block;
}
.news-single-layout-1 .news-img-wrap .tns-controls button[data-controls="prev"], 
.news-single-layout-1 .news-img-wrap .tns-controls button[data-controls="next"] {
    position: absolute;
    bottom: calc(50% - 30px);
    margin: 0 auto;
    left: 0;
    right: 0;
    height: 60px;
    width: 60px;
    mask-size: 60px 60px;
    background-color: var(--background-color);
    color: transparent !important;
    border: none;
	opacity: .85;
}
.news-single-layout-1 .news-img-wrap .tns-controls button[data-controls="prev"] {margin-left:0;mask-image: url(../Images/arrow_left_box.svg);}
.news-single-layout-1 .news-img-wrap .tns-controls button[data-controls="next"] {margin-right:0;mask-image: url(../Images/arrow_right_box.svg);}
.news-single-layout-1 .news-img-wrap .tns-controls button[data-controls="prev"]:hover , 
.news-single-layout-1 .news-img-wrap .tns-controls button[data-controls="next"]:hover {
	opacity: 1;
}
.news-single-layout-1 .news-img-wrap p.news-img-caption {
    position: absolute;
    width: fit-content;
    padding: 0.8rem 1rem 0.8rem;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    background: var(--background-color);
    color: var(--style-color-1);
}

.news-single-layout-1 p.news-img-caption {
	display:none;
}

.news-single-layout-1 .tns-slide-cloned + .tns-item p.news-img-caption {
	margin: -16.2vw auto;
	position: relative;
}

.news-single-layout-1:not(:has(.tns-slide-cloned)) 
.tns-item p.news-img-caption {
	left:25%;
	right:25%;
}

.news-single-layout-1 .article,
.news-single-layout-1 .article > div {
    display: flex;
    flex-direction: column;
}
.news-single-layout-1 .article .news-img-wrap {order: 1; margin: 0 auto 1rem; width: 100%;}
.news-single-layout-1 .article .header {order: 2; margin-top: 3rem;}
.news-single-layout-1 .article .news-list-date {
    order: 3;
    width: 70%;
    margin: 0 auto 2rem;
	padding: 0 2rem 1rem;
    text-align: center;
    z-index: 2;
}
.news-single-layout-1 .article .news-text-wrap {order: 4; margin: 0 auto 1rem; max-width: 70%;}
.news-single-layout-1 .article > div[id^="c"] {
    order: 5;
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
    width: 100%; /* wichtig für divider */
}
.news-single-layout-1 .article .footer {order: 6;	margin: 0 auto; max-width: 70%;}
.news-single-layout-1 .article .news-related-wrap {order: 7; margin: 0 auto; width: 70%;}
.news-single-layout-1 .article .news-backlink-wrap {order: 8; margin: 0 auto; width: 70%;}
.news-single-layout-1 .article .news-backlink-wrap a {width: fit-content;}

.news-single-layout-1 .article .header {
    min-height: 6rem;
    justify-content: center;
}
.news-single-layout-1 .article .header h1 {margin-bottom: 1rem;}
.news-single-layout-1 .article .news-img-wrap img {
    width: 100%;
    height: auto;
}
.news-single-layout-1 .article .ce-div {
    margin: 2rem 0;
}

.news-single-layout-1 .article .ce-gallery .ce-row {
    display: flex;
    /* flex-direction: column; */
}
.news-single-layout-1 .ce-textpic img {padding: 0;}

@media (min-width: 1200px) {
	.news-single-layout-1.with-image .article .header {
		margin-top: -163px !important;
	}
	.news-single-layout-1 .news-img-wrap p.news-img-caption {
		margin-top: -190px !important;
	}
}

@media (max-width: 1000px) {
	.news-single-layout-1 .news-img-wrap p.news-img-caption {
		margin: -16.8vw auto;
	}
}
@media (min-width: 801px) {
	
	.col .news-list-view.news-list-layout-3 .article * {
		font-size: 80%;
		line-height: 0.8 !important;
	}
	.col .news-list-view.news-list-layout-3 .article .header {
		bottom: 70px;
	}
	.news-single-layout-1 .article .header {
		width: 70%;
		margin: -13.7vw auto 0;
		padding: 2rem 2rem 0;
		background: var(--background-color);
		z-index: 2;
	}
	
	.news-single-layout-1.no-image .article .header {
		margin-top:0;
	}
	
	.news-single-layout-1 .article .ce-gallery .ce-row {
		flex-direction: row;
	}
	.news-single-layout-1 .article .news-list-date {
		background: var(--background-color);
    }
}
@media (max-width: 800px) {

	.news-list-view.news-list-layout-3 .article .header {
		bottom: 16%;
	}	
	.news-list-view.news-list-layout-3 .article .header h3 {
		font-size: 4vw;
	}
	.news-list-view.news-list-layout-3 .article .news-list-date{
		font-size: 2.5vw !important;
		bottom: 10%;
	}
	.news-list-view.news-list-layout-3 .article .news-img-wrap::after {
		height: 150px;
		margin-top: -150px;
	}
	
	.news-single.news-single-layout- .news-img-wrap {
		width:50%;
	}

	.news-single-layout-1 .article > div[id^="c"],
	.news-single-layout-1 .article .news-text-wrap,
	.news-single-layout-1 .article .footer,
	.news-single-layout-1 .article .news-related-wrap,
	.news-single-layout-1 .article .news-backlink-wrap {
		width: 100% !important; 
		max-width: 100% !important;
	}
	.news-single-layout-1 .article h1 {
		font-size: 5vw !important;
		line-height: 1.3;
	}
	.news-single-layout-1 .article h2 {
		font-size: 4.7vw !important;
		line-height: 1.3;
	}
	.news-single-layout-1 .article h3 {
		font-size: 4.2vw !important;
		line-height: 1.3;
	}
	.news-single-layout-1 .article h4 {
		font-size: 3.5vw !important;
		line-height: 1.3;
	}
	.news-single-layout-1 .article .header {
		min-height: inherit;
	}
	.news-single-layout-1 .news-img-wrap p.news-img-caption {
		margin: 5px auto;
		padding: 0;
		font-size: .9rem;
		background: transparent;
	}
	.news-single-layout-1 .news-img-wrap .tns-controls button {
		bottom: calc(53% - 30px);
	}
}
@media (max-width: 550px) {
	
	.news-single.news-single-layout- .news-img-wrap {
		float: none;
		width:100%;
		margin: 0 0 30px;
	}
	
	.news-single-layout-1 .article h4 {
		font-size: 19px !important;
		font-family: var(--medium-font);
	}
}
@media (max-width: 500px) {

	.news-single-layout-1 .article h1 {
		font-size: 27px !important;
	}
	.news-single-layout-1 .article h2 {
		font-size: 23px !important;
	}
	.news-single-layout-1 .article h3 {
		font-size: 21px !important;
	}	
	.news-list-view.news-list-layout-3 .article .header {
		bottom: 20%;
		padding: 0 25px;
	}	
	.news-list-view.news-list-layout-3 .article .header h3 {
		font-size: 20px;
	}
	.news-list-view.news-list-layout-3 .article .news-list-date{
		font-size: 13px !important;
		bottom: 15%;
		padding: 0 25px;
	}
}