#cont_hero.hero_elem_content {
	background-color: transparent;
	background-image: none !important;
	padding: 0;
	overflow: hidden;
}

#cont_hero.hero_elem_content .row_hero_content {
	position: relative;
	align-items: stretch;
	min-height: clamp(34rem, 78vh, 54rem);
	margin: 0;
	padding: clamp(4rem, 7vw, 6rem) 0 clamp(8rem, 14vh, 10rem);
}

#cont_hero.hero_elem_content .row_hero_content > .container {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 100%;
}

#cont_hero.hero_elem_content .row_hero_content .col_hero {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 100%;
}

#cont_hero.hero_elem_content .wrap_hero_text {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 0;
	overflow: visible;
}

#cont_hero.hero_elem_content .hero_content_inner {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: none;
	overflow: visible;
}

#cont_hero.hero_elem_content .hero_content_inner > :last-child {
	margin-bottom: 0;
}

#cont_hero.hero_elem_content .hero_content_inner .wp-block-cover,
#cont_hero.hero_elem_content .hero_content_inner .wp-block-group,
#cont_hero.hero_elem_content .hero_content_inner .wp-block-columns {
	align-items: center;
	margin-bottom: 1.5rem;
}

#cont_hero.hero_elem_content:after {
	position: absolute;
	bottom: 0;
	content: '';
	width: 100%;
	height: 0;
	border-bottom: 37.5vh solid #fff;
	border-left: 240vw solid transparent;
	z-index: 2;
	pointer-events: none;
}

#cont_hero.hero_elem_content #wrap_chevrondown {
	position: relative;
	z-index: 3;
}

@media (max-width: 767.98px) {
	#cont_hero.hero_elem_content {
		padding: 0;
	}
}

@media (max-width: 1024px) {
	#cont_hero.hero_elem_content .row_hero_content {
		min-height: clamp(30rem, 70vh, 44rem);
		padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(6.5rem, 13vw, 8rem);
	}

	#cont_hero.hero_elem_content .row_hero_content > .container {
		padding-right: 1.75rem;
		padding-left: 1.75rem;
	}

	#cont_hero.hero_elem_content .hero_content_inner .wp-block-cover,
	#cont_hero.hero_elem_content .hero_content_inner .wp-block-group,
	#cont_hero.hero_elem_content .hero_content_inner .wp-block-columns {
		margin-bottom: 1.25rem;
	}

	#cont_hero.hero_elem_content:after {
		left: auto;
		right: 0;
		width: 0;
		border-bottom: 26vh solid #fff;
		border-left: 100vw solid transparent;
	}
}

@media (min-width: 1200px) and (max-width: 1849.98px) {
	#nav_primary {
		background-color: white !important;
	}

	.h_col_head_navbar #nav_primary {
		position: absolute;
		top: 100px !important;
		left: 0;
		width: 100%;
		margin: 0 !important;
		z-index: 1000;
	}
}

.tams-combo {
	--tams-combo-card-size: clamp(15.75rem, 27vw, 21rem);
	align-items: stretch;
	justify-content: center;
	gap: 4.5rem;
}

.tams-combo .wp-block-column {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 0;
}

.tams-combo .wp-block-column:nth-child(-n+2)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -2.25rem;
	width: 3rem;
	height: 4.8rem;
	transform: translateY(-50%);
	background-image: url('/wp-content/themes/tams_master/images/tams/TAMS-list-element.svg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

.tams-combo.is-beating-rauten .wp-block-column:nth-child(-n+2)::after {
	animation: tams-combo-heartbeat 0.8s ease-in-out 1;
}

@keyframes tams-combo-heartbeat {
	0% {
		transform: translateY(-50%) scale(1);
	}

	22% {
		transform: translateY(-50%) scale(1.16);
	}

	40% {
		transform: translateY(-50%) scale(0.94);
	}

	62% {
		transform: translateY(-50%) scale(1.08);
	}

	100% {
		transform: translateY(-50%) scale(1);
	}
}

.tams-combo .wp-block-image,
.tams-combo .wp-block-gallery {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
}

.tams-combo .tams-combo-flip-link {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, var(--tams-combo-card-size));
	margin: 0 auto;
	aspect-ratio: 1 / 1;
	perspective: 1200px;
	text-decoration: none;
}

.tams-combo .tams-combo-flip-back {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.96);
	color: #bb2821;
	font-size: var(--fs-display-5);
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: break-word;
	backface-visibility: hidden;
	transform: rotateY(-180deg);
	opacity: 0;
	transition: transform 0.6s ease, opacity 0.6s ease;
	box-shadow: 0 0.75rem 1.5rem rgba(15, 60, 76, 0.12);
}

.tams-combo .tams-combo-flip-image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
	object-position: center;
	backface-visibility: hidden;
	transform: rotateY(0deg);
	transition: transform 0.6s ease, opacity 0.6s ease;
}

.nav-link.c2-menu-item-link-has-icon,
.dropdown-item.c2-menu-item-link-has-icon {
	display: flex;
	align-items: center;
}

.nav-link .c2-menu-item-icon,
.dropdown-item .c2-menu-item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: var(--c2-menu-item-icon-size, 1.35em);
	height: var(--c2-menu-item-icon-size, 1.35em);
	margin-right: 0.45em;
	vertical-align: -0.25em;
}

.nav-link .c2-menu-item-icon__image,
.dropdown-item .c2-menu-item-icon__image {
	display: block;
	background-color: white;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nav-link .c2-menu-item-title-text,
.dropdown-item .c2-menu-item-title-text {
	display: inline-block;
	vertical-align: middle;
}

.c2-tams-extra-logos {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 1.4vw, 1.5rem);
	max-width: 100%;
	position: relative;
	z-index: 2;
}

.c2-tams-extra-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	text-decoration: none;
}

.c2-tams-extra-logo__image {
	display: block;
	width: auto;
	height: var(--c2-extra-logo-height-desktop, auto);
	max-width: min(9rem, 100%);
	max-height: var(--c2-extra-logo-height-desktop, clamp(2.25rem, 3.5vw, 3.5rem));
	object-fit: contain;
}

.c2-tams-extra-logo__image--svg {
	height: var(--c2-extra-logo-height-desktop, clamp(2.25rem, 3.5vw, 3.5rem));
	min-width: min(100%, var(--c2-extra-logo-height-desktop, clamp(2.25rem, 3.5vw, 3.5rem)));
	max-width: min(9rem, 100%);
	max-height: var(--c2-extra-logo-height-desktop, clamp(2.25rem, 3.5vw, 3.5rem));
}

#h_col_head_navbar_left.c2-tams-extra-logos-host,
#h_col_head_navbar_side.c2-tams-extra-logos-host,
#h_col_head_navbar.c2-tams-extra-logos-host {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.75rem, 1.4vw, 1.5rem);
	overflow: visible;
}

#h_col_head_navbar_left.c2-tams-extra-logos-host > #elem_navbar,
#h_col_head_navbar_side.c2-tams-extra-logos-host > #elem_navbar,
#h_col_head_navbar.c2-tams-extra-logos-host > #elem_navbar {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

#h_col_head_navbar_left.c2-tams-extra-logos-host > .c2-tams-extra-logos--split-desktop,
#h_col_head_navbar_side.c2-tams-extra-logos-host > .c2-tams-extra-logos--split-desktop,
#h_col_head_navbar.c2-tams-extra-logos-host > .c2-tams-extra-logos--split-desktop {
	flex: 0 0 auto;
	justify-content: flex-end;
	margin-left: clamp(1rem, 1.8vw, 2rem);
	opacity: 1;
	visibility: visible;
}

#nav_primary > .c2-tams-extra-logos--split-mobile-below,
#h_col_head_brand.c2-tams-extra-logos-brand-host > .c2-tams-extra-logos--split-mobile-brand,
#h_col_head_brand.c2-tams-extra-logos-brand-host > .c2-tams-extra-logos--row-mobile-brand {
	display: none;
}

#h_col_head_navbar_left.c2-tams-extra-logos-host > .c2-tams-extra-logos--row,
#h_col_head_navbar_side.c2-tams-extra-logos-host > .c2-tams-extra-logos--row,
#h_col_head_navbar.c2-tams-extra-logos-host > .c2-tams-extra-logos--row {
	flex: 0 0 auto;
	justify-content: flex-end;
}

#h_col_head_brand.c2-tams-extra-logos-brand-host {
	overflow: visible;
}

@media (max-width: 1399.98px) {
	.c2-tams-extra-logo__image {
		height: var(--c2-extra-logo-height-mobile, auto);
		max-width: 7rem;
		max-height: var(--c2-extra-logo-height-mobile, 2.75rem);
	}

	.c2-tams-extra-logo__image--svg {
		height: var(--c2-extra-logo-height-mobile, 2.75rem);
		min-width: min(100%, var(--c2-extra-logo-height-mobile, 2.75rem));
		max-width: 7rem;
		max-height: var(--c2-extra-logo-height-mobile, 2.75rem);
	}

	#h_col_head_navbar_left.c2-tams-extra-logos-host,
	#h_col_head_navbar_side.c2-tams-extra-logos-host,
	#h_col_head_navbar.c2-tams-extra-logos-host {
		height: auto !important;
		flex-wrap: wrap;
		align-content: center;
	}

	#h_col_head_navbar_left.c2-tams-extra-logos-host > #elem_navbar,
	#h_col_head_navbar_side.c2-tams-extra-logos-host > #elem_navbar,
	#h_col_head_navbar.c2-tams-extra-logos-host > #elem_navbar {
		order: 1;
		flex: 1 1 100%;
		width: 100%;
	}

	#h_col_head_navbar_left.c2-tams-extra-logos-host > .c2-tams-extra-logos--split-desktop,
	#h_col_head_navbar_side.c2-tams-extra-logos-host > .c2-tams-extra-logos--split-desktop,
	#h_col_head_navbar.c2-tams-extra-logos-host > .c2-tams-extra-logos--split-desktop {
		display: none;
	}

	#h_col_head_navbar_left.c2-tams-extra-logos-host > .c2-tams-extra-logos--hide-on-mobile-brand,
	#h_col_head_navbar_side.c2-tams-extra-logos-host > .c2-tams-extra-logos--hide-on-mobile-brand,
	#h_col_head_navbar.c2-tams-extra-logos-host > .c2-tams-extra-logos--hide-on-mobile-brand {
		display: none;
	}

	#nav_primary > .c2-tams-extra-logos--split-mobile-below {
		display: flex;
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
		margin-top: 1rem;
		padding: 0 12px 1rem;
	}

	#h_col_head_navbar_left.c2-tams-extra-logos-host > .c2-tams-extra-logos--row,
	#h_col_head_navbar_side.c2-tams-extra-logos-host > .c2-tams-extra-logos--row,
	#h_col_head_navbar.c2-tams-extra-logos-host > .c2-tams-extra-logos--row {
		order: 2;
		width: 100%;
		justify-content: center;
		margin-left: 0;
		margin-top: 1rem;
	}

	#h_col_head_brand.c2-tams-extra-logos-brand-host {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		/*justify-content: space-between;*/
		gap: clamp(0.5rem, 1.4vw, 1rem);
	}

	#h_col_head_brand.c2-tams-extra-logos-brand-host > .site-branding {
		flex: 0 1 auto;
		min-width: 0;
	}

	#h_col_head_brand.c2-tams-extra-logos-brand-host > .c2-tams-extra-logos--split-mobile-brand,
	#h_col_head_brand.c2-tams-extra-logos-brand-host > .c2-tams-extra-logos--row-mobile-brand {
		display: flex;
		flex: auto;
		align-items: center;
		justify-content: flex-start;
		gap: clamp(0.35rem, 1vw, 0.75rem);
		margin-left: 0;
		/*margin-left: auto;*/
		max-width: 60%;
	}

	#h_col_head_brand.c2-tams-extra-logos-brand-host > .c2-tams-extra-logos--split-mobile-brand .c2-tams-extra-logo__image,
	#h_col_head_brand.c2-tams-extra-logos-brand-host > .c2-tams-extra-logos--row-mobile-brand .c2-tams-extra-logo__image {
		width: auto;
		height: var(--c2-extra-logo-mobile-brand-height, var(--c2-extra-logo-height-mobile, auto));
		max-width: min(10rem, 100%);
		max-height: var(--c2-extra-logo-mobile-brand-height, var(--c2-extra-logo-height-mobile, 2.25rem));
	}

	#h_col_head_brand.c2-tams-extra-logos-brand-host > .c2-tams-extra-logos--split-mobile-brand .c2-tams-extra-logo__image--svg,
	#h_col_head_brand.c2-tams-extra-logos-brand-host > .c2-tams-extra-logos--row-mobile-brand .c2-tams-extra-logo__image--svg {
		height: var(--c2-extra-logo-mobile-brand-height, var(--c2-extra-logo-height-mobile, 2.25rem));
		min-width: 0;
		max-width: min(10rem, 100%);
		max-height: var(--c2-extra-logo-mobile-brand-height, var(--c2-extra-logo-height-mobile, 2.25rem));
	}
}

.tams-combo .tams-combo-flip-link:hover .tams-combo-flip-image,
.tams-combo .tams-combo-flip-link:focus-visible .tams-combo-flip-image {
	transform: rotateY(180deg);
	opacity: 0;
}

.tams-combo .tams-combo-flip-link.has-flip-text:hover .tams-combo-flip-back,
.tams-combo .tams-combo-flip-link.has-flip-text:focus-visible .tams-combo-flip-back {
	transform: rotateY(0deg);
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.tams-combo.is-beating-rauten .wp-block-column:nth-child(-n+2)::after {
		animation: none;
	}

	.tams-combo .tams-combo-flip-back,
	.tams-combo .tams-combo-flip-image {
		transform: none;
		transition: opacity 0.2s ease;
	}
}

@media (max-width: 1024px) {
	#cont_hero.hero_elem_content .row_hero_content {
		box-sizing: border-box;
	}

	.tams-combo {
		--tams-combo-card-size: clamp(9.5rem, 24vw, 12rem);
		gap: 3rem;
	}

	.tams-combo .wp-block-column:nth-child(-n+2)::after {
		right: -1.65rem;
		width: 2.25rem;
		height: 3.6rem;
	}

}

@media (max-width: 781px) {
	#cont_hero.hero_elem_content .row_hero_content {
		min-height: auto;
		padding: 2.75rem 0 5.5rem;
	}

	#cont_hero.hero_elem_content .row_hero_content > .container {
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}

	#cont_hero.hero_elem_content:after {
		left: auto;
		right: 0;
		width: 0;
		border-bottom: 18vh solid #fff;
		border-left: 100vw solid transparent;
	}

	.tams-combo {
		--tams-combo-card-size: clamp(8.75rem, 48vw, 13rem);
		gap: 1.5rem;
	}

	.tams-combo .wp-block-column:nth-child(-n+2)::after {
		display: none;
	}

	.tams-combo .tams-combo-flip-back {
		padding: 0.85rem;
		font-size: clamp(0.8rem, 3.2vw, 0.95rem);
	}
}

@media (min-width: 1025px) {
	#cont_hero.hero_elem_content .row_hero_content {
		box-sizing: border-box;
		height: 100%;
		min-height: 100%;
	}

	#cont_hero.hero_elem_content .row_hero_content > .container,
	#cont_hero.hero_elem_content .row_hero_content .col_hero,
	#cont_hero.hero_elem_content .wrap_hero_text {
		height: 100%;
	}
}

figure.wp-block-gallery.has-nested-images.columns-5 {
	--c2-gallery-columns: 5;
	display: grid !important;
	grid-template-columns: repeat(var(--c2-gallery-columns), minmax(0, 1fr));
	gap: var(--wp--style--unstable-gallery-gap, var(--gallery-block--gutter-size, 16px));
	align-items: stretch;
}

figure.wp-block-gallery.has-nested-images.columns-5 > figure.wp-block-image:not(#individual-image) {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

figure.wp-block-gallery.has-nested-images.columns-5.is-cropped > figure.wp-block-image img {
	object-fit: cover;
}

@media (max-width: 1199.98px) {
	figure.wp-block-gallery.has-nested-images.columns-5 {
		--c2-gallery-columns: 4;
	}
}

@media (max-width: 991.98px) {
	figure.wp-block-gallery.has-nested-images.columns-5 {
		--c2-gallery-columns: 3;
	}
}

@media (max-width: 575.98px) {
	figure.wp-block-gallery.has-nested-images.columns-5 {
		--c2-gallery-columns: 2;
	}
}

@media (max-width: 359.98px) {
	figure.wp-block-gallery.has-nested-images.columns-5 {
		--c2-gallery-columns: 1;
	}
}
