/*
 Theme Name:   FÖRM
 Theme URI:    https://bricksbuilder.io/
 Description:  FÖRM THEME
 Author:       froodmat @ förm
 Author URI:   https://froodmat.com/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root {
  --primary: #05083E;
  --signal: #FF1A1A;
  --bright: #554FF1;
}

::selection {
    background: var(--bright) !important;
    color: #ffffff !important;
}

p.interview {
  font-size: var(--h-2);
  color: var(--bright);
  font-weight: 800;
  text-transform: uppercase;

}

figure.wp-block-image:not(:has(figcaption)) {
  padding-bottom: 20px;
}

.wp-block-image img {
  padding-top: 20px;
}


/* Menüanimation */

  
@media (min-width:600px) {
.grow-line::after {
    content: "";
    position: absolute;
    left: -10%;
    bottom: 20%;
    z-index:-1;
    width: 0%;
    height: 25px;
    background-image: url('/graphics/menumarker.svg');
    background-size: cover;
    transition: width 0.2s ease-in-out;
}

.grow-line:hover::after {
    width: 120%;
}

.grow-line-language::after {
    content: "";
    position: absolute;
    left: 25px;
    bottom: 10%;
    z-index:-1;
    width: 0%;
    height: 25px;
    background-image: url('/graphics/menumarker.svg');
    background-size: cover;
    transition: width 0.2s ease-in-out;
}

.grow-line-language:hover::after {
    width: 120%;
}

/* Marker hinter Kollektiven auf der Kollektivübersicht */

.kollektiv-marker::after {
    content: "";
    position: absolute;
    left: -10%;
    bottom: 20%;
    z-index:-1;
    width: 0%;
    height: 90%;
    background-image: url('/graphics/marker-kollektive.svg');
    background-size: cover;
    transition: width 0.3s ease-in-out;
}

.kollektiv-marker:hover::after {
    width: 120%;
}

}

.wp-block-embed::after {
    content: "";
    height: 200px;
    position: relative;
    background: red;
}

strong {
    font-family: 'GT-Walsheim-Condensed';
    font-weight: 700;
}

/* Breite des Scrollbalkens */
::-webkit-scrollbar {
  width: 1rem;
}

/* Hintergrund des Scrollbereichs */
::-webkit-scrollbar-track {
  background: #fff; /* Heller Hintergrund */
}

/* Farbe des Scrollbalkens */
::-webkit-scrollbar-thumb {
  background: var(--signal); /* Roter Balken */
  border-radius: 0px; /* Abgerundete Ecken */
}

/* Beim Hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary); /* Dunkelroter Balken beim Überfahren */
}

/* Für Lightbox */
#baguetteBox-overlay.visible {
opacity: 1;
background: rgba(85,79,241,0.8) !important;
}
.baguetteBox-button {
  background: transparent !important;
}

.baguetteBox-button g,
.baguetteBox-button polyline {
  stroke: rgb(255,255,255) !important;
}

#baguetteBox-overlay .full-image figcaption {
  color: white;
  font-size: var(--h-4) !important;
  font-family: 'GT-Walsheim-Condensed';
  font-weight: 700;
  line-height: 1.2;
  background: var(--bright) !important;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pswp.brx .pswp__top-bar .pswp__button svg {
    position: fixed !important;
    right: 15px;
}

.pswp.brx .pswp__counter {
position: fixed;
bottom: 10px;
right:25px;
text-shadow: none !important;
}

.pswp.brx .pswp__icn {
stroke-opacity: 0;
}



/* RESET */
html, body {
overscroll-behavior: none;
max-width: 100%;
transition: all .5s ease-in-out;
}

/* makes sizing simpler */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    backdrop-filter: none !important;
    
  }
  
/* für Sprachumschalter */
.trp-language-switcher > div {
  background: transparent;
  border: none;
}
.trp-language-switcher > div > a {
  color: var(--bright);
  font-size: 3rem;
  font-weight: 800;
}

.trp-language-switcher > div > a:hover {
  background: transparent !important;
  border: none;
}


@media (max-width:1201px) {
.trp-language-switcher > div > a {
  color: white;
  font-size: 10dvw;
  font-weight: 800;
}

}

:where(.brxe-image) .bricks-image-caption,
.wp-block-image :where(figcaption) { 
text-align: left !important;
font-size: var(--h-3) !important;
font-family: 'GT-Walsheim-Condensed';
font-weight: 700;
line-height: 1.2;
padding-left: 0px !important;
color: var(--bright) !important;
padding-bottom: 20px;
top: -5px !important;
text-shadow: none !important;
background: transparent !important;
position: relative !important;
}

.brxe-image-gallery .bricks-image-caption,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption  {
    display: none !important;
}
/* improves punctuation in supported browsers */
html {
  hanging-punctuation: first last;
}

/* min body height */
body {
  min-height: 100svh;
}

/* responsive images/videos */
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

/* Improved heading in supported browsers */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* improve readability with max-width on paragraphs and lists */
/* prevent orphans in supported browsers */
p,
li {
  max-width: 70ch;
  text-wrap: balance;
  letter-spacing: 0.1px;
}

input[type="checkbox"] {
  width: 15px;
  height: 17px;
  accent-color: var(--bright); /* Standardfarbe für Checkbox */
  cursor: pointer;
}

.filter-checkboxen li {
  padding-bottom: 5px;
}

.wp-block-details summary {
cursor: pointer;
padding-bottom: 2rem;
font-weight: 700;
font-size: var(--h-2);
}

.wp-block-details summary::marker {
content: "";
}

.wp-block-details summary {
  list-style: none;  }

.wp-block-details summary::-webkit-details-marker {
  display: none; 
}

.wp-block-details summary::marker {
  display: none;              
}

.wp-block-details summary::after {
content: " +";
color : var(--signal);
}


.brxe-image-gallery .image:hover {
    transition: transform .5s ease-in-out;
    transform:scale(1.05);
}

.content-container a {
  text-decoration: underline;
  color: black !important;
  text-decoration-skip-ink: auto;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
}

.content-container a:hover {
text-decoration-color: var(--signal);
}

.brxe-filter-checkbox .brx-option-text {
  font-weight: 700; /* für Filterauswahl
}

