/*--------------------KACHELN GRID --------------*/

:focus {
}

.kacheln-grid {
	margin: 0 !important;
	display: grid;
	gap: 20px;
	grid-auto-flow: dense;
	grid-template-columns: repeat(auto-fit, 31%);
	justify-content: left;
}

@media only screen and (max-width: 600px) {
	.kacheln-grid {	grid-template-columns: repeat(auto-fit, 47%); }
}

@media only screen and (max-width: 349px) {
	.kacheln-grid {	grid-template-columns: repeat(auto-fit, 100%); }
}

.kacheln-grid > * {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fullwidth {
	grid-column: 1 / -1;
}

.is-hidden {
	display: none;
}

.is-selected > .kachel-content {
	background: rgba(50, 122, 134, 0.85);
	color: white;
}

.is-selected > .kachel-content > h3 {
	color: white !important;
}

.kacheln-grid > li {
	padding: 0;
	margin: 0;
	transition: all .2s ease-in-out;
}

.fullwidth {
	border: 3px solid rgba(50, 122, 134, 0.2);
	background: #fff;
	padding: 20px !important;
	transition: all .2s ease-in-out;
}

.kacheln-grid > li:hover:not(.fullwidth) > .kachel-content {
	background: rgba(50, 122, 134, 0.85);
	color: white;
	transform: scale(1.03);
	transition: all .2s ease-in-out;
}

.kachel {
	min-height: 230px;
	width: 100%;
	padding: 10px;
	cursor: pointer;
	user-select: none; 
}

.kachel-content {
	min-height: 246px;
	background: rgba(50, 122, 134, 0.2);
	margin-top: -230px;
	z-index: -1;
	padding: 15px;
	transition: all .1s ease-in-out;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.kachel-content > p {
	margin-bottom: auto;
}

.kachel-content > img {
	align-self: end;
}

li > .kachel-content > h3 {
	transition: all .1s ease-in-out;
	margin: 0 !important;
	color: #327d87;
}

li > .kachel-content > p {
	font-size: 18px; 
}

li.fullwidth > h3 {
	margin: 0 0 20px 0;
}

li:hover:not(.fullwidth) > .kachel-content > h3 {
	color: white !important;
}

.fullwidth > button {
	background-color: #eee;
	color: #327d87;
	margin: 0 10px 0 auto;
	font-size: 13px;
	display: inline-block;
	display: none;
	transition: all .1s ease-in-out;
}

.fullwidth > button:hover {
	background-color: #327d87;
	color: #fff;
}
/*---------------------HIDE RESPONSIVE MENU ----------*/
.page-node-744 .responsive-menus, .page-node-745 .responsive-menus {
	display: none;
}
/* --------------------- custom Kachel -----------*/
.grid-kachel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  @media (max-width: 600px) {
    .grid-kachel {
      grid-template-columns: 1fr;
    }
}
.grid-kachel > a {
	background: rgba(50, 122, 134, 0.2);
	padding: 1rem;
	display: block;
	
	&:hover {
		background: #327d87;
		color: #fff;
		cursor: pointer;
		text-decoration: none !important;
	}
}