/* Übernommen aus dem alten EOS-Theme: Stile, die bestehende Core-Inhalte (Blog, Academy, Schulungen) nutzen. */
:root {
	--icon-arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23000' d='M24.7582 15.8297C24.7582 15.8297 24.7582 15.8297 24.7652 15.8227C24.8356 15.6537 24.8356 15.4565 24.7651 15.2874C24.7651 15.2874 24.7651 15.2874 24.758 15.2804C24.7228 15.2029 24.6805 15.1324 24.6171 15.069L18.2905 8.74237C18.0227 8.47465 17.5861 8.47453 17.3185 8.7421C17.0509 9.00967 17.051 9.44636 17.3188 9.71408L22.4688 14.8642L6.97355 14.8599C6.59321 14.8598 6.28339 15.1696 6.28349 15.5499C6.28354 15.7331 6.36107 15.9092 6.48788 16.036C6.6147 16.1628 6.78376 16.2333 6.97393 16.2404L22.4622 16.2376L17.3149 21.3849C17.0474 21.6524 17.0475 22.0891 17.3152 22.3568C17.5829 22.6246 18.0196 22.6247 18.2872 22.3571L24.6103 16.034C24.6737 15.9706 24.7159 15.9002 24.7511 15.8227L24.7582 15.8297Z'/%3E%3C/svg%3E");
	--wpforms-button-background-color: #111318!important;
}

/* Form */
.form-container label,
.form-container legend {
	color: #fff !important;
}

.form-container input {
	border: none !important;
}

.form-container ul input::before {
	border-radius: 5px !important;
	border: none !important;
	box-shadow: none !important;
} 

.form-container input[type=checkbox]:checked:after {
	border-color: #111318 !important;
}

.form-container textarea {
	border: none !important;
	box-shadow: none !important;
}


.form-container button {
	border-radius: 5px;
		background: var(--Verlauf-2, linear-gradient(238deg, #111318 12.7%, #182346 92.5%))!important;
		padding: 20px 25px!important;
		height: auto!important;
}

.wpforms-submit-container {
	display: flex;
	justify-content: flex-end;
}

/* Spacer */



.wp-block-spacer.is-style-xxs {
	height: 8px !important;
}

.wp-block-spacer.is-style-xs {
	height: 16px !important;
}

.wp-block-spacer.is-style-s {
	height: 50px !important;
}

.wp-block-spacer.is-style-m {
	height: 80px !important;
}

.wp-block-spacer.is-style-l {
	height: 120px !important;
}

.wp-block-spacer.is-style-xl {
	height: 180px !important;
}

.wp-block-spacer.is-style-xxl {
	height: 240px !important;
}

@media (max-width: 767px) {
	.wp-block-spacer.is-style-xxs {
		height: 6px !important;
	}

	.wp-block-spacer.is-style-xs {
		height: 12px !important;
	}

	.wp-block-spacer.is-style-s {
		height: 30px !important;
	}

	.wp-block-spacer.is-style-m {
		height: 50px !important;
	}

	.wp-block-spacer.is-style-l {
		height: 70px !important;
	}

	.wp-block-spacer.is-style-xl {
		height: 100px !important;
	}

	.wp-block-spacer.is-style-xxl {
		height: 140px !important;
	}
}


/* Checklist */

.wp-block-list.is-style-is-check-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}

.wp-block-list.is-style-is-check-list li {
	position: relative;
	padding-left: 1.5em;
}

.wp-block-list.is-style-is-check-list li::before {
	content: '';
	position: absolute;
	width: 1em;
	height: 1em;
	left: 0;
	top: 0.3em;
	background-image: url('../svg/check-icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

/* Checklist White */

.wp-block-list.is-style-is-check-list-white {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}

.wp-block-list.is-style-is-check-list-white li {
	position: relative;
	padding-left: 1.5em;
}

.wp-block-list.is-style-is-check-list-white li::before {
	content: '';
	position: absolute;
	width: 1em;
	height: 1em;
	left: 0;
	top: 0.3em;
	background-image: url('../svg/check-icon-white.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

/* Hero Section */


.hero-section {
	padding-top: 120px;
	margin-top: -120px;
}

@media(max-width:900px) {
	.hero-section .content-wrapper {
		flex-wrap: wrap;

	}

		.hero-section .content-wrapper-left {

			order: 3;
		}
}

/* Arrow Button */


.is-style-is-circle-arrow-button .wp-block-button__link::before {
	content: "";
	width: 2em;
	height: 2em;

	background-color: inherit;
	/* DAS ist der „dynamisch aus Gutenberg“-Teil */

	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	transition: all cubic-bezier(0.23, 1, 0.32, 1) .3s;
	transform-origin: center;
	-webkit-mask-image: var(--icon-arrow-mask);
	mask-image: var(--icon-arrow-mask);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
}

.is-style-is-circle-arrow-button .wp-block-button__link:hover::before {
	transform: translateY(-50%) rotate(-25deg);
}

.is-style-is-arrow-button .wp-block-button__link {
	position: relative;
	padding-right: 3em !important;
	/* Platz für Icon */
}


.wp-block-button.is-style-is-arrow-button .wp-block-button__link::before {
	content: "";
	width: 2em;
	height: 2em;

	background-color: currentColor;
	transition: all cubic-bezier(0.23, 1, 0.32, 1) .3s;
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);

	-webkit-mask-image: var(--icon-arrow-mask);
	mask-image: var(--icon-arrow-mask);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
}

.wp-block-button.is-style-is-arrow-button .wp-block-button__link:hover::before {
	transform: translateY(-50%) rotate(-25deg);
}



/* Unfold Items */

.explore-title {
	cursor: pointer;
}

.explore-icon {
	transition: transform .3s cubic-bezier(.76, 0, .24, 1);
	min-width: 15px;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
}

.rotate-explore {
	transform: rotate(-180deg);
}

.deep-content {
	width: 100% !important;
	flex-basis: 100% !important;
}

.explore-content {
	overflow: hidden;
	height: 0;
	opacity: 0;
	transition:
		height .45s cubic-bezier(.76, 0, .24, 1),
		opacity .25s ease;
	will-change: height;
}

.explore-element.is-open .explore-content {
	opacity: 1;
}

.block-editor-block-list__block .explore-content {
	height: auto !important;
	opacity: 1 !important;
}


.block-editor-block-list__block.acf-block-component.acf-block-body {
	width: 100%;
}


/* Course Details Grid */


.course-details-grid {
	align-items: flex-start;
}

@media(max-width:900px) {
	.course-details-grid > div {
		grid-column: span 12;
	}
}

@media(min-width:900px) {
	.course-details-cta-wrapper {
		position: sticky;
		top: 0;
	}
}


/* Course Dates Overview */


.wb-termine {
	width: 100%
}

.wb-termine *,
.wb-modal *,
.wb-modal *::before,
.wb-modal *::after {
	box-sizing: border-box
}

.wb-termine__header {
	display: grid;
	grid-template-columns: 1.2fr 1.6fr .8fr .8fr .9fr .9fr;
	gap: 24px;
	padding: 12px 8px;
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
	font-size: 16px;
}

.wb-termine__rows {
	display: flex;
	flex-direction: column;
	gap: 24px
}

.wb-termine__row {
	display: grid;
	grid-template-columns: 1.2fr 1.6fr .8fr .8fr .9fr .9fr;
	gap: 24px;
	align-items: center;
	background: var(--wp--preset--color--lightgrey);
	color: var(--wp--preset--color--primary);
	border-radius: 5px;
	padding: 30px;
	box-shadow: none;
}



.wb-col {
	min-width: 0
}

.wb-ref {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0
}

.wb-ref__avatar img {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	object-fit: cover
}

.wb-ref__name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.wb-iconbtn {
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center
}

.wb-col--verf {
	display: flex;
	align-items: center;
	gap: 10px
}

.wb-verftext {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.wb-dot {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	display: inline-block
}

.wb-dot.is-green {
	background: #7CFF65
}

.wb-dot.is-yellow {
	background: #F4B64A
}

.wb-dot.is-red {
	background: #FF3B30
}

.wb-cta {
	border: 0;
	cursor: pointer;
	background: var(--wp--preset--color--primary);
	color: #fff;
	padding: 10px 18px;
	border-radius: 5px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.wb-col--referent {
display: flex;
gap: 8px;
}

/* Modal: animierbar */
.wb-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .18s ease, visibility 0s linear .18s;
}

.wb-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity .18s ease, visibility 0s linear 0s;
}

.wb-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(12, 18, 32, .65);
	opacity: 0;
	transition: opacity .18s ease;
}

.wb-modal.is-open .wb-modal__overlay {
	opacity: 1
}

.wb-modal__panel {
	position: relative;
	width: min(920px, calc(100% - 40px));
	max-height: 88vh;
	overflow: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;

	background: #fff;
	border-radius: 14px;
	box-shadow: 0 20px 80px rgba(0, 0, 0, .35);
	padding: 34px 36px;
	padding-top: 56px;

	opacity: 0;
	transform: scale(.985);
	transition: opacity .18s ease, transform .18s ease;
	will-change: opacity, transform;
}

.wb-modal.is-open .wb-modal__panel {
	opacity: 1;
	transform: scale(1)
}

.wb-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
	line-height: 0;
}

.wb-modal__content--ref .wb-modal__refhead {
	display: flex;
	gap: 22px;
	align-items: center;
	margin-bottom: 18px
}

.wb-modal__refimg img {
	width: 110px;
	height: 110px;
	border-radius: 999px;
	object-fit: cover
}

.wb-modal__title {
	margin: 0;
	font-size: 28px
}

.wb-modal__body {
	font-size: 16px;
	line-height: 1.6;
	color: #243042;
	overflow-wrap: anywhere;
	word-break: break-word
}

/* Signup Head */
.wb-signuphead {
	margin-bottom: 18px
}

.wb-signuphead__title {
	margin: 0 0 6px 0;
	font-size: 34px;
	color: var(--wp--preset--color--primary);
}

.wb-signuphead__range {
	color: var(--wp--preset--color--contrast);
	font-weight: 500
}

@media (max-width: 900px) {
	.wb-termine__header {
		display: none
	}

	.wb-termine__row {
		grid-template-columns: 1fr;
		gap: 10px
	}

	.wb-col--cta {
		margin-top: 6px
	}

	.wb-cta {
		width: 100%;
		justify-content: center;
		margin-top: 20px;
	}

	.wb-col[data-label]::before {
		content: attr(data-label) " ";
		color: #7B88D4;
		font-weight: 500;
	}

	.wb-ref__avatar {
		display: none
	}

	.wb-ref {
		gap: 10px
	}

	.wb-modal {
		padding: 12px
	}

	.wb-modal__panel {
		width: 100%;
		max-height: 90vh;
		padding: 24px;
		padding-top: 54px
	}

	.wb-modal__refimg img {
		width: 84px;
		height: 84px
	}

	.wb-modal__title {
		font-size: 22px
	}

	.wb-signuphead__title {
		font-size: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.wb-modal,
	.wb-modal__overlay,
	.wb-modal__panel {
		transition: none !important
	}
}


/* Next Date Link */

.wb-next-termin {
	text-decoration: underline;
	color: #fff;
}

.course-details-cta-wrapper .wb-next-termin {
	text-align: center;
	width: 100%;
}


/* CTA Box */

@media(max-width:800px) {
	.cta-box-wrapper {
		padding: 40px!important;
	}

	.responive-img {
		width: 200px;
	}
}



/* Logo Grid */

.logo-grid {
	align-items: center!important;
}

@media(max-width:800px) {
	.logo-grid {
		justify-content: center!important;
	}

/* Aus dem alten Tailwind-Input: Blogbeiträge, Formularfelder mobil, Cookie-Banner */
.blogcontent h2, .blogcontent h3, .blogcontent h4, .blogcontent h5 {
    margin-bottom: 15px;

}

.blogcontent ul {
    list-style: disc;
    margin-top: 20px;
    padding-left: 1.1em;
}

.blogcontent table tr > td:nth-child(1) {
    width: 50px!important;
}


.blogcontent a {
    font-weight: 800;
    text-decoration: underline;
}

.blogcontent p {
    margin-top: 20px;
}


@media(max-width: 550px) {
    .wpforms-field {
        width: 100%!important;
        margin-left: 0!important;
    }
}


/* Cookie-Banner: siehe cookie-eos.css */


