/* --- Präsentation Galerien --- */
.grid-container {
	columns: 4 200px;
	column-gap: .5rem;
	width: 90%;
	margin: 0 auto;
}
.grid-container div {
	width: 150px;
	margin: 0 .5rem .5rem 0;
	display: inline-block;
	width: 100%;
	transition: all 0.25s ease-in-out;
}
.grid-container div:hover img {
	filter: grayscale(0);
    transform: scale(1.12);
}
.grid-container div:hover {
	xborder-color: coral;
}
.grid-container div img {
	width: 100%;
	xfilter: grayscale(100%);
	transition: all 0.25s ease-in-out;
}
.grid-container div p {
	margin: 5px 0;
	padding: 0;
	text-align: center;
	font-style: italic;
}

/* --- Gallery/Event Presentation --- */
.content-wrapper {
	xmargin: 0 auto;
	display: flex;
	flex-flow: row wrap;
	row-gap: 10px;
	column-gap: 10px;
	justify-content: center;
}


.news-card {
	xmargin: 0.5rem;
	position: relative;
	height: 17rem;
	overflow: hidden;
	flex: 1;
	min-width: 320px;
	-webkit-: hidden;
	-moz-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
}

.news-card.event {
	min-width: 320px;
}

@media (min-width: 900px) {
	.news-card {
		height: 17rem
	}
}

.news-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 80%);;
	z-index: 0;
}

.news-card__card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.news-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
	filter: grayscale(0%) brightness(1.0);
    position: relative;
    z-index: -1;
}

.news-card__text-wrapper {
    position: absolute;
    bottom: 0rem;
    padding: 1.6rem 1.7rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 1.5s ease;
  	color: #fff !important;
	width: 100%;
    height: 100%;
}

.news-card__title {
	transition: color 1s ease;
	margin-bottom: .3rem;
	margin-top: 0 !important;
	color: #fff !important;
}

.news-card .event_cat {
    left: 0;
}

.news-card__post-date {
    font-size: .7rem;
    margin-bottom: .5rem;
    color: #CCC;
}

.news-card__details-wrapper {
    /*max-height: 0;*/
    opacity: 1;
    /*transition: max-height 1.5s ease, opacity 1s ease;*/
}

.news-card__details-wrapper ul {
    margin-left: 32px;
}

.news-card__details-wrapper p {
    margin-bottom: 0;
}

/*@media (min-width: 900px) {*/
    .news-card:hover .news-card__details-wrapper {
		/*max-height: 20rem;*/
		opacity: 1;
	}
    .news-card:hover .news-card__text-wrapper {
      	background-color: rgba(0, 0, 0, 0.3);
    }
    .news-card:hover .news-card__title {
      	color: yellow;
    }
    .news-card:hover .news-card__image {
		transform: scale(1.2);
		filter: grayscale(0%);
		z-index: -1;
	}
/*}*/

.news-card__excerpt {
    font-weight: 300;
	font-size: 90%;
}

.news-card__excerpt p {
    margin-bottom: 12px;
}

.news-card__read-more {
    background: black;
    color: #bbb;
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: 0.3rem;
    margin-top: 1rem;
    border: 1px solid #444;
    font-size: 0.8rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-decoration: none;
    width: 7rem;
    margin-left: auto;
    position: relative;
    z-index: 5;
}

.news-card__read-more i {
	position: relative;
	left: 0.2rem;
	color: #888;
	transition: left 0.5s ease, color 0.6s ease;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.news-card__read-more:hover i {
	left: 0.5rem;
	color: yellow;
}