/*
Theme Name: OEB-CMS
Description:
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 999
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}


/* Styling the H1 Headline */

h1 span {
	color: #492e98;
	margin-left: 0rem;
	font-weight: 900;
}

h2 span {
	color: #492e98;
	font-weight: 900;
}

h1.title-main span {
	color: #492e98;
	margin-left: 4rem;
	font-weight: 900;
}

@media screen and (max-width: 468px){
	h1.title-main span {
		margin-left: 2rem;
	}
}

/* Position der Overlay Bilder */

.image-offset-top {
	position: absolute;
	top: -60px;
	left: -10px;
}

.image-offset-bottom {
	position: absolute;
	bottom: -120px;
	right: 150px;
	z-index: 1;
}
/*
.image-offset-bottom-1.alignfull img {
	position: absolute;
	top: 150px;
	right: 0;
	margin:0;
    height: auto;
    width: 20vw !important;
}

@media screen and (max-width: 640px){
	.image-offset-bottom-1.alignfull img  {
		width: 15vw !important;
		height: auto;
		right: 0;
		top: 280px;
	}
}

@media screen and (max-width: 468px){
	.image-offset-bottom-1.alignfull img  {
		position: absolute;
		width: 100px !important;
		height: auto;
		bottom: -10px;
		top: auto;
}
}
*/
.image-on-top {
	position: relative;
	z-index:1;

}

.background-element-0 {
	background-image: url('https://oeb-cms-api.matrix-gruppe.de/wp-content/uploads/2025/04/sun.png');
	background-position: top 40px right 100px;
    background-size: 20% auto;
	background-origin: border-box;
	background-repeat: no-repeat no-repeat;
}

.background-element-1 {
	background-image: url('https://oeb-cms-api.matrix-gruppe.de/wp-content/uploads/2025/04/greensixhalf.png');
	background-position:  -150px -80px;
    background-size: 15% auto;
	background-origin: border-box;
	background-repeat: no-repeat no-repeat;
}

.is-style-bg-purple {
	background-color: #EBEAF6;
	z-index: -1;
}

.is-style-center {
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
}


.background-element-2 {
	background-image: url('https://oeb-cms-api.matrix-gruppe.de/wp-content/uploads/2025/04/badgegroup-desktop.png');
	background-position: top right -80px;
    background-size: 22% auto;
	background-origin: border-box;
	background-repeat: no-repeat no-repeat;
}

@media only screen and (max-width: 600px) {



	.background-element-2 {
		background-image: url('https://oeb-cms-api.matrix-gruppe.de/wp-content/uploads/2025/04/badgegroup-desktop.png');
		background-position: top 15% right;
		background-size: 100px auto;
		background-origin: border-box;
		background-repeat: no-repeat no-repeat;
	}
}



.textbackground-hex-1 {
  background-image: url(https://oeb-cms-api.matrix-gruppe.de/wp-content/uploads/2025/04/whiteHexagon.png);
  background-position: left 0 top 0px;
  background-size: 10vw auto;
  background-origin: border-box;
  background-repeat: no-repeat no-repeat;
}

.textbackground-hex-2 {
  background-image: url(https://oeb-cms-api.matrix-gruppe.de/wp-content/uploads/2025/04/whiteHexagon.png);
  background-position: left 0px top 80px;
  background-size: 10vw auto;
  background-origin: border-box;
  background-repeat: no-repeat no-repeat;
}

.textbackground-hex-3 {
  background-image: url(https://oeb-cms-api.matrix-gruppe.de/wp-content/uploads/2025/04/whiteHexagon.png);
  background-position: left 0 top 40px;
  background-size: 10vw auto;
  background-origin: border-box;
  background-repeat: no-repeat no-repeat;
}

/* Styling Swiper JS Slider */

.swiper-button-next, .swiper-button-prev {
	color: #492e98;
	position: absolute;
}
.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 20px;
}


/* Fix for Inline Center Text not working */

.has-text-align-center {
	text-align: center;
}

/* Fix for Kategorie Variation is Pill */

:root :where(.is-style-post-terms-1 a:where(:not(.wp-element-button))) {
border-radius: 20px;
border-color: var(--wp--preset--color--accent-6);
border-width: 0.8px;
border-style: solid;
font-weight: 400;
line-height: 2.8;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
text-decoration: none;
}

/* Fix Block Start Gap */

div.tw-pt-24 {
    padding-top:0 !important;
}


/* Icon Searchbar*/

.wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--accent-3);
	border-radius: .4em;
}
/*
button.wp-block-search__button.has-small-font-size.has-icon.wp-element-button {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}
*/
/* Styling the Details-Block */


/* Add a custom transition when opening/closing. */
.wp-block-details {
	transition: all 0.5s ease-in-out;
}

/* Add horizontal margin to nested blocks/elements. */
.wp-block-details > :where( :not( summary ) ) {
	margin-left: 1rem;
	margin-right: 2rem;
}

/* If open, add some bottom padding to avoid content butting against the bottom. */
.wp-block-details[open] {
	padding-bottom: 2rem;
}

/* Base `summary` element styling. */
.wp-block-details summary {
	transition: all 0.5s ease-in-out;
	box-sizing: border-box;
	padding: 1rem 2rem 1rem 2rem;
}

/* Change the background of the `summary` element based on state. */
/*
.wp-block-details[open] summary,
.wp-block-details summary:hover,
.wp-block-details summary:focus {
	background: #e2e8f0;
}
*/




/* Parent Details-Block */
.is-style-details-parent summary {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--x-large);
	text-transform: uppercase;
	font-weight: 800;
	display:flex;
	justify-content: space-between;
	&::marker {
		content: "";
	}
	&::after {
		content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='currentColor' viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm45.66-109.66a8,8,0,0,1,0,11.32l-40,40a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L128,140.69l34.34-34.35A8,8,0,0,1,173.66,106.34Z'%3E%3C/path%3E%3C/svg%3E");
		}
	[open] &::after {
		content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%23000000' viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm45.66-77.66a8,8,0,0,1-11.32,11.32L128,115.31,93.66,149.66a8,8,0,0,1-11.32-11.32l40-40a8,8,0,0,1,11.32,0Z'%3E%3C/path%3E%3C/svg%3E");
	}

	&:hover {
		color: var(--wp--preset--color--contrast);
	}

}


/* Child Details-Block */
	.is-style-details-parent .is-style-details-child > summary {
		color: var(--wp--preset--color--base-2);
		font-size: var(--wp--preset--font-size--large);
		text-transform: none;
		font-weight: 700;
		display:flex;
		justify-content: space-between;
		&::marker {
			content: "";
	}
		&::after {
			content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%23000000' viewBox='0 0 256 256'%3E%3Cpath d='M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z'%3E%3C/path%3E%3C/svg%3E");
	}
		[open] > &::after {
			content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%23000000' viewBox='0 0 256 256'%3E%3Cpath d='M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z'%3E%3C/path%3E%3C/svg%3E");
	}
		&:hover {
			color: var(--wp--preset--color--base-2);
	}
		&:focus {
			border-bottom: 2px solid var(--wp--preset--color--base-2);
	} }

	.is-style-details-child p {
		font-style: normal;
	}

.wp-block-details .is-style-details-child p {
	font-weight: 400;
}




/* Styling Cards */

.is-style-bottom {
	margin-top: auto;
}

/* Post Template Grid CSS FIX */

/* Sample Page (Create a new one or change the generic class names to specific ones like auto-16rem) */

.wp-container-core-post-template-is-layout-1224e06b {
	grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
	container-type: inline-size;
}

.has-base-2-border-color {
	border-style: solid;
}


