/**
Global styles for K2 Child Theme
 */

/**
FONTS
 */

/**
VARIABLES
 */
:root {
	/* --k2-child-gray: #eee; */
	--secondary-color: #002945;
	--secondary-color-hover: #011929;
	--k2-font: "corporate-s", sans-serif;
	--k2-serif-font: "corporate-a", serif;
	--k2-child-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.2);
	--k2-space-large: 100px;
	--k2-space-medium: 75px;
	--k2-space-small: 50px;
	--k2-font-h1: 4rem;
	--k2-font-h2: 2.6rem;
	--k2-font-h3: 1.8rem;
	--k2-font-h4: 1.4rem;
}

/**
TYPOGRAPHY
 */
.is-style-font-serif,
.font-serif {
	font-family: var(--k2-serif-font);
}

html,
body {
	line-height: 1.5;
	font-size: 18px;
	font-weight: 300;
}

.entry-content,
.wp-block-post-content {
	overflow-x: hidden;
}

a {
	color: var(--primary-color);
	text-decoration: none !important;
	transition: 200ms ease-in-out;
}

a:hover {
	color: var(--primary-color-hover);
}

b,
strong {
	font-weight: 700;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
	color: var(--primary-color);
	font-family: var(--k2-serif-font);
	font-weight: 300;
	text-transform: uppercase;
	position: relative;
	margin-top: 0;
	line-height: 1.2;
}

h1:after,
.h1:after,
h2:after,
.h2:after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 9rem;
	height: 1px;
	background: var(--primary-color);
}

h1,
.h1 {
	font-size: var(--k2-font-h2);
}

h2,
.h2 {
	font-size: var(--k2-font-h2);
}

h3,
.h3,
h1.wp-block-post-title {
	font-size: var(--k2-font-h3);
	margin-bottom: 0;
	color: #000;
	font-weight: 700;
	text-transform: none;
	font-family: var(--k2-font);
	line-height: 1.2;
}

h1.wp-block-post-title:after {
	display: none;
}

h4,
.h4 {
	font-size: var(--k2-font-h4);
	margin-bottom: 0;
	color: #000;
	font-weight: 700;
	text-transform: none;
	font-family: var(--k2-font);
	line-height: 1.2;
}


/**
FOOTER
 */
footer {
	background: var(--secondary-color);
	color: var(--primary-color-contrast);
}

/**
BUTTONS
 */

html .wp-block-button .wp-block-button__link,
html .wp-block-button .wp-element-button,
html .editor-styles-wrapper .wp-element-button,
html .editor-styles-wrapper .wp-block-button__link,
html .btn, html button.btn {
	color: var(--primary-color-contrast);
	background-color: var(--primary-color);
	border-radius: var(--roundness-button);
	padding: 0.3em 1em 0.5em;
	text-decoration: none;
	transition: 200ms ease-in-out;
	border: none;
	line-height: 1.35;
	cursor: pointer;
}

:is(
  html .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color),
  html .wp-block-button.is-style-outline .wp-block-button__link,
  html .wp-block-button.is-style-outline .wp-element-button,
  html .editor-styles-wrapper.is-style-outline .wp-element-button,
  html .editor-styles-wrapper.is-style-outline .wp-block-button__link,
  html .btn.is-style-outline
) {
	color: var(--primary-color-contrast);
	background-color: transparent;
	border: 1px solid var(--primary-color-contrast);
	padding: 0.3em 1em 0.5em;
}

:is(
  html .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color),
  html .wp-block-button.is-style-outline .wp-block-button__link,
  html .wp-block-button.is-style-outline .wp-element-button,
  html .editor-styles-wrapper.is-style-outline .wp-element-button,
  html .editor-styles-wrapper.is-style-outline .wp-block-button__link,
  html .btn.is-style-outline
):hover {
	background-color: var(--primary-color-hover);
}

:is(
  html .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color),
  html .wp-block-button.is-style-outline .wp-block-button__link,
  html .wp-block-button.is-style-outline .wp-element-button,
  html .editor-styles-wrapper.is-style-outline .wp-element-button,
  html .editor-styles-wrapper.is-style-outline .wp-block-button__link,
  html .btn.is-style-outline
):focus-visible {
	background-color: var(--primary-color-hover);
}

:is(
    html .wp-block-button .wp-block-button__link,
    html .wp-block-button .wp-element-button,
    html .editor-styles-wrapper .wp-element-button,
    html .editor-styles-wrapper .wp-block-button__link,
    html .btn, html button.btn
  ):hover {
	color: var(--primary-color-contrast);
	background-color: var(--primary-color-hover);
}

:is(
    html .wp-block-button .wp-block-button__link,
    html .wp-block-button .wp-element-button,
    html .editor-styles-wrapper .wp-element-button,
    html .editor-styles-wrapper .wp-block-button__link,
    html .btn, html button.btn
  ):focus-visible {
	color: var(--primary-color-contrast);
	background-color: var(--primary-color-hover);
}

.is-style-primary-bg :is(
    html .wp-block-button .wp-block-button__link,
    html .wp-block-button .wp-element-button,
    html .editor-styles-wrapper .wp-element-button,
    html .editor-styles-wrapper .wp-block-button__link,
    html .btn
  ) {
	color: var(--primary-color-contrast);
	background-color: transparent;
	border: 1px solid var(--primary-color-contrast);
}

.is-style-primary-bg :is(
    html .wp-block-button .wp-block-button__link,
    html .wp-block-button .wp-element-button,
    html .editor-styles-wrapper .wp-element-button,
    html .editor-styles-wrapper .wp-block-button__link,
    html .btn
  ):hover {
	background-color: var(--primary-color-hover);
}

.is-style-primary-bg :is(
    html .wp-block-button .wp-block-button__link,
    html .wp-block-button .wp-element-button,
    html .editor-styles-wrapper .wp-element-button,
    html .editor-styles-wrapper .wp-block-button__link,
    html .btn
  ):focus-visible {
	background-color: var(--primary-color-hover);
}



/**
GRID
 */

.grid__4c {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--layout-gap);
}


@media (max-width: 500px) {
	.sm-hidden {
		display: none;
	}
}

/**
BLOCK STYLES
 */

.is-style-secondary-bg {
	background: var(--secondary-color);
	color: var(--primary-color-contrast);
}

.is-style-primary-bg {
	background: var(--primary-color);
	color: var(--primary-color-contrast);
}

.is-style-primary-bg-light {
	background: rgba(179, 161, 110, .25);
}

.is-style-container-large,
.container-large,
footer .container-large:not(#id) {
	--_pagewidth: calc(100% - var(--k2-layout-system-container-padding-left) - var(--k2-layout-system-container-padding-right));
	max-width: min(1462px, var(--_pagewidth)); /* 1462px sind ehemals 81.25 rem (* 18 px) */
}

.is-style-space-large {
	height: var(--k2-space-large) !important;
}

.is-style-space-medium {
	height: var(--k2-space-medium) !important;
}

.is-style-space-small {
	height: var(--k2-space-small) !important;
}

.is-style-space-xsmall {
	height: calc(var(--k2-space-small) * 0.5) !important;
}


/*.is-style-light-button > a{*/
/*  border: 2px solid var(--primary-color) !important;*/
/*  background-color: var(--primary-color-contrast) !important;*/
/*  color: var(--primary-color) !important;*/
/*}*/

.btn.light-button,
.is-style-light-button {
	border: 2px solid var(--primary-color);
	background-color: var(--primary-color-contrast);
	color: var(--primary-color);
	transition: all 500ms ease-in-out;
	padding-top: 3.4px;
	padding-bottom: 7px;
}

.btn.light-button:hover,
.btn.light-button:focus,
.is-style-light-button:hover,
.is-style-light-button:focus {
	border: 2px solid transparent;
	background-color: var(--primary-color-hover) !important;
	color: var(--primary-color-contrast) !important;
	transition: all 500ms ease-in-out;
}

.is-style-back-button > a {
	border: transparent !important;
	background-color: var(--primary-color-contrast) !important;
	color: var(--primary-color) !important;
	position: relative;
	padding-left: 1.5rem !important;
}

.is-style-back-button > a:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background-color: var(--primary-color);
	color: white;
	border-radius: 50%;
	background-size: 12px 12px;
	background-image: url("../images/chevron-left-solid.svg");
	background-repeat: no-repeat;
	background-position: calc(50% - 1px);
}

.is-style-back-button > a:hover a:before {
	background-color: var(--primary-color-contrast);
	border: 1px solid var(--primary-color);
}

.wp-block-image.size-full img {
	width: 100% !important;
	margin: 0 auto;
	max-height: 1000px;
	object-fit: cover;
	min-height: 250px;
}

.is-style-image-fullwidth {
	height: 450px;
	margin-bottom: 0 !important;
}

.is-style-image-fullwidth img:not(.happyfocus),
.is-style-image-skinny img:not(.happyfocus),
.is-style-image-square img:not(.happyfocus),
.wp-block-image .components-resizable-box__container {
	object-fit: cover;
	object-position: center;
}

.is-style-image-fullwidth img,
.wp-block-image .components-resizable-box__container {
	width: 100% !important;
	height: 450px !important;

}

.is-style-image-skinny {
	height: 280px;
	margin-bottom: 0 !important;
}

.is-style-image-skinny img {
	width: 100% !important;
	height: 280px !important;
}

.is-style-image-square {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 0 !important;
}

.is-style-image-square img {
	width: 350px !important;
	height: 350px !important;
}

img.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

img.alignleft {
	margin-right: auto;
}

img.alignright {
	margin-left: auto;
}

.wp-block-image figcaption {
	font-weight: 700;
	color: #000;
	font-size: initial;
}

@media (max-width: 768px) {
	h1,
	.h1 {
		font-size: calc(var(--k2-font-h2) * 0.85);
	}

	h2,
	.h2 {
		font-size: calc(var(--k2-font-h2) * 0.85);
	}

	h3,
	.h3, h1.wp-block-post-title {
		font-size: calc(var(--k2-font-h3) * 0.85);
	}

	h4,
	.h4 {
		font-size: calc(var(--k2-font-h4) * 0.85);
	}

	.is-style-space-large {
		height: calc(var(--k2-space-large) * 0.7) !important;
	}

	.is-style-space-medium {
		height: calc(var(--k2-space-medium) * 0.7) !important;
	}

	.is-style-space-small {
		height: calc(var(--k2-space-small) * 0.7) !important;
	}

	.is-style-space-xsmall {
		height: calc(var(--k2-space-small) * 0.35) !important;
	}

	.is-style-image-fullwidth {
		height: 350px;
	}

	.is-style-image-fullwidth img,
	.wp-block-image .components-resizable-box__container {
		height: 350px !important;
	}
}

@media (max-width: 500px) {
	html,
	body {
		font-size: 16px;
	}

	html .wp-block-button .wp-block-button__link,
	html .wp-block-button .wp-element-button,
	html .editor-styles-wrapper .wp-element-button,
	html .editor-styles-wrapper .wp-block-button__link,
	html .btn {
		padding: 0.2em .8em 0.4em;
	}

	:is(
  html .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color),
  html .wp-block-button.is-style-outline .wp-block-button__link,
  html .wp-block-button.is-style-outline .wp-element-button,
  html .editor-styles-wrapper.is-style-outline .wp-element-button,
  html .editor-styles-wrapper.is-style-outline .wp-block-button__link,
  html .btn.is-style-outline
  ) {
		padding: 0.2em .8em 0.4em;
	}

	h1,
	.h1 {
		font-size: calc(var(--k2-font-h2) * 0.75);
	}

	h2,
	.h2 {
		font-size: calc(var(--k2-font-h2) * 0.75);
	}

	h3,
	.h3, h1.wp-block-post-title {
		font-size: calc(var(--k2-font-h3) * 0.75);
	}

	h4,
	.h4 {
		font-size: calc(var(--k2-font-h4) * 0.75);
	}

	.is-style-space-large {
		height: calc(var(--k2-space-large) * 0.5) !important;
	}

	.is-style-space-medium {
		height: calc(var(--k2-space-medium) * 0.5) !important;
	}

	.is-style-space-small {
		height: calc(var(--k2-space-small) * 0.5) !important;
	}

	.is-style-space-xsmall {
		height: calc(var(--k2-space-small) * 0.2) !important;
	}

	.is-style-image-fullwidth {
		height: 250px;
	}

	.is-style-image-fullwidth img,
	.wp-block-image .components-resizable-box__container {
		height: 250px !important;
	}

	.is-style-image-square {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-bottom: 0 !important;
	}

	.is-style-image-square img {
		width: 250px !important;
		height: 250px !important;
		object-fit: cover;
		object-position: center;
	}
}

/**
SLICK SLIDER
 */

.slick-dots {
	list-style-type: none;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
}

.slick-dots li.slick-active button {
	opacity: 1;
}

.slick-dots li button {
	color: transparent;
	background: var(--primary-color);
	opacity: .5;
	border: none;
	margin: 0 .3rem;
	cursor: pointer;
	width: .8rem;
	height: .8rem;
}

.slick-prev, .slick-next {
	width: 30px;
	height: 30px;
	border: none;
	background: transparent;
	color: transparent;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 10;
}

.slick-prev {
	left: 0;
}

.slick-next {
	right: 0;
}

.slick-prev:before {
	content: "\f053";
	font-family: "Font Awesome 5 Pro";
	font-weight: 300;
	color: var(--primary-color);
	font-size: 30px;
	position: absolute;
	top: 0;
	left: 0;
	line-height: 1;
	width: 30px;
}

.slick-next:before {
	content: "\f054";
	font-family: "Font Awesome 5 Pro";
	font-weight: 300;
	color: var(--primary-color);
	font-size: 30px;
	position: absolute;
	top: 0;
	right: 0;
	line-height: 1;
	width: 30px;
}

@media (max-width: 500px) {
	.slick-prev, .slick-next {
		width: 22px;
		height: 22px;
	}

	.slick-prev:before,
	.slick-next:before {
		font-size: 22px;
		width: 22px;
	}
}

/**
NEWS SINGLE
 */


.single .wp-block-post-date {
	font-size: var(--k2-font-h2);
}

@media (max-width: 768px) {
	.single .wp-block-post-date {
		font-size: calc(var(--k2-font-h2) * 0.85);
	}
}

@media (max-width: 500px) {
	.single .wp-block-post-date {
		font-size: calc(var(--k2-font-h2) * 0.75);
	}
}

/**
Separator
 */

.wp-block-separator {
	border: .5px solid var(--primary-color);
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 200px;
}

.wp-block-separator.is-style-dots::before {
	color: var(--primary-color);
}


/**
Footer
 */
footer .wp-block-columns > .wp-block-column {
	flex-basis: 0;
	flex-grow: 1;
}

@media (max-width: 781px) {
	footer .wp-block-columns:not(.is-not-stacked-on-mobile) {
		flex-wrap: wrap !important;
	}

	footer .wp-block-columns.is-not-stacked-on-mobile {
		flex-wrap: nowrap !important;
	}

	footer .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 100% !important;

	}
}

/*KONTRASTMODUS*/
body.kkcontrast footer a {
	color: #fff !important
}

body.kkcontrast .k2header__burger span{
	background: #fff !important;
}