.branches_overview-layout {
	--inactive-bg: var(--white);
    --active-bg: var(--off-white);
	
    --foldout-duration: 300ms;
}
.branches_overview-layout .pk-grid-container {
	padding: max(1rem, calc(3 * var(--su)));
	row-gap: max(1.5rem, calc(2.5 * var(--su)));
	background-color: #ffffff;
}

.branches_overview-layout .items-col {
    display: flex;
    flex-direction: column;
	justify-content: space-between;
	height: 100%;
    gap: max(1rem, calc(1 * var(--su)));
}

.branches_overview-layout .items-col .item {
	display: flex;
	flex-direction: column;
	gap: 0;
    cursor: pointer;
    padding: max(1.5rem, calc(2 * var(--su)));
    background-color: var(--inactive-bg);
    border: 1px solid rgba(0, 0, 0, 0.10);
    transition: background-color var(--foldout-duration) ease, opacity 0.2s ease;
}
.branches_overview-layout .item.active {
	background-color: var(--active-bg);
}
.branches_overview-layout .items-col:has(.item:hover) .item:not(:hover) {
	opacity: 0.5;
}

.branches_overview-layout .item .item-title {
    display: flex;
    align-items: center;
    gap: max(0.75rem, calc(1 * var(--su)));
    color: inherit;
    margin-bottom: 0;
	font-weight: 700;
}
/* .branches_overview-layout .item .item-title::before {
	content: '';
	display: block;
	width: 0.675em;
	aspect-ratio: 1;
	background-color: var(--primary-color);
} */

.branches_overview-layout .item .content {
	flex-grow: 1;
    display: grid;
    grid-template-rows: 0fr;
    transition:
        grid-template-rows var(--foldout-duration) ease-in-out,
        margin-top var(--foldout-duration) ease-in-out;
}

.branches_overview-layout .item .content-wrapper {
	display: flex;
	flex-direction: column;
    overflow: hidden;
    transition: margin-bottom var(--foldout-duration) ease-in-out;
}

.branches_overview-layout .images-col {
    display: grid;
    grid-template-areas: "stack";
    height: 100%;
    overflow: clip;
}

.branches_overview-layout .images-col .image-wrapper {
	position: relative;
	display: block;
	grid-area: stack;
    transition: opacity var(--foldout-duration) ease-in-out;
	background-color: var(--off-white);
}
.branches_overview-layout .images-col .image-wrapper .content-wrapper {
	position: absolute;
	bottom: 0; 
	left: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	padding: max(1.5rem, calc(2.5 * var(--su)));
	height: 100%;
	width: 100%;
}
.branches_overview-layout .images-col .image-wrapper .pk-heading {
	color: inherit;
}
.branches_overview-layout .images-col .pk-button-group {
    margin-block: max(1.5rem, calc(2 * var(--su)));
}
.branches_overview-layout .images-col .gallery-title {
	margin-top: auto;
}
.branches_overview-layout .images-col .partner-swiper {
	background-color: #ffffff;
	overflow: hidden;
	padding-block: max(1.5rem, calc(1.5 * var(--su)));
}
.branches_overview-layout .images-col .partner-swiper .swiper-wrapper {
	align-items: center;
	transition-timing-function: linear !important;
}
.branches_overview-layout .images-col .partner-swiper .swiper-slide {
	display: flex;
	align-items: center;
	width: fit-content;
}
.branches_overview-layout .images-col .partner-swiper img {
	width: 100%;
	max-width: 150px;
	max-height: 150px;
}


@media screen and (min-width: 993px) {

}

@media screen and (max-width: 992px) {
	.branches_overview-layout .content-col .pk-heading {
		font-size: var(--scaling-h4);
	}
	.branches_overview-layout .buttons-col {
		margin-top: 1.5rem;
	}
	.branches_overview-layout .images-col .image-wrapper .content-wrapper {
		position: static;
	}
	.branches_overview-layout .images-col .gallery-title {
		margin-top: 2rem;
	}
	.branches_overview-layout .images-col .partner-swiper img {
		max-width: 75px;
		max-height: 50px;
	}

	.branches_overview-layout .images-col {
		grid-column: none;
	}
	.branches_overview-layout .images-col .gallery-title,
	.branches_overview-layout .images-col .partner-swiper {
		display: none;
	}
}