 
/* Gutenberg Überschriften in CF - typography*/
.gutenberg {} /* Klasse befindet sich im Single Page Template auf der Gutenberg-Section */

/* Body strecken und damit Footer nach unten */
.brx-body {
  min-height: calc(100vh - var(--wp-admin--admin-bar--height,0px));
}

/* links visuell kennzeichnen --- CF - typography */
.visual-link {}

/* Standardmäßig bei Grid Klasse auch die Grid-Gap anwenden */
:where(.brxe-container[class*="grid-"]), :where(.brxe-block[class*="grid-"]) {
  gap:var(--grid-gap);
}

/* wenn wir sauberes HTML machen, dann verwenden wir den container als ul und die grid-elemente als li => Styles resetten */
ul.brx-grid, ul.brxe-container, ul.brxe-block {
  list-style:none;
  padding-left:0;
}

/* Accordion Tweaks */
.accordion-title-wrapper {
  flex-wrap:nowrap;
}
.brxe-accordion-nested .brx-open > .accordion-title-wrapper > .brxe-icon {
  transform: rotate(90deg);
  transition: transform 0.5s ease;
}

:where(.brxe-text, .brxe-text-basic, .brxe-woocommerce-account-page) a {
  border-bottom:2px solid var(--primary-20);
}
:where(.brxe-text, .brxe-text-basic, .brxe-woocommerce-account-page) a:hover {
  border-bottom-color: var(--primary);
}

/* aspect ratio - cover fit */
[class*="aspect-"], [class*="aspect-"] img {
  object-fit:cover
}

.input, input:not([type=submit]), select, textarea {
  border-radius: var(--radius);
}

/* Complianz für Recaptcha */
.cmplz-placeholder-1 form {
  display:none!important;
  height:0;
  width:0;
  overflow:hidden;
  overflow:clip;
}

/* Bricksforge Form */
.brxe-brf-pro-forms .input-icon-wrapper.icon-left .input-icon {
border: 1px solid currentcolor;
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  border-color: var(--border-primary);
}

.brxe-brf-pro-forms .input-icon-wrapper.icon-left input {
	border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left:0;
  border-color: var(--border-primary);
}

/* Link auf Parent erweitern */
.link-extension {
  position:relative;
}

.link-extension a[href]::before {
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
}

.link-extension:focus-within {
  outline: 2px solid var(--primary-50);
  outline-offset:0.5rem;
}


/* bild als absolute hintergrundbild einstellen */
.img-bg {
  height:100%;
  width:100%;
  position:absolute;
  object-fit: cover;
}
/* parent relativ machen */
*:has(>.img-bg) {
  position:relative;
}
img.img-bg ~ div {
  z-index:1;
}


/* Focus für Accessibility */
body.bricks-is-frontend :focus-visible,
.link-extension:focus-within
{
  outline-offset:0.2em;
  outline: 2px dashed var(--primary-30);
}
.link-extension *:focus {
  outline:none !important;
}

::selection {
  color:white;
  background-color: var(--primary-d-2, #333);
}

/* Scrollbar */
* {
  scrollbar-width: auto;
  scrollbar-color: var(--primary) #ffffff;
}
*::-webkit-scrollbar {
  width: 16px;
}
*::-webkit-scrollbar-track {
  background: #ffffff;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px;
  border: 3px solid #ffffff;
}