/* ============================================
   n0-bdmf Custom Styles 1.1.0
   ============================================ */

/*
@import url("custom.css");
@import url("pages.css");
@import url("single.css");
@import url("footer.css");
@import url("evm_veranstaltungen.css");
@import url("evm_infobox.css");
@import url("footer.css");
*/

@import url("evm_veranstaltungen.css");
@import url("evm_termine.css");
@import url("evm_infobox.css");
@import url("single.css");
@import url("footer.css");

:root {
  --header-h: 120px;
}

:root :where(p) {
  font-size: var(--wp--preset--font-size--bdm-p-1);
  line-height: 1.2em;
}

html {
  scroll-padding-top: 10em;
  scroll-behavior: smooth;
}

.bildgalerie {
  --wp--style--unstable-gallery-gap: 0px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  white-space: normal;
  hyphens: auto;
  word-break: normal;
}

h2 {
  padding-bottom: var(--wp--preset--spacing--bdm-h-2);
  padding-top: var(--wp--preset--spacing--bdm-h-2);
}


h4 {
  border-bottom: 2px solid;
  width: fit-content;
  margin-bottom: 0.5em !important;
  padding-bottom: 0.1em !important;
}

a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}

a:hover {
  color: black;
  text-decoration-color: currentcolor;
  text-decoration-thickness: 3px;
}

/*
main p {
  font-size: var(--wp--preset--font-size--bdm-p-1) !important;
}
*/

/*
main > div:nth-child(1) {
  padding-top: 6em;
}
*/

.wp-block-details summary {
  font-size: var(--wp--preset--font-size--bdm-p-1) !important;
}

.wp-theme-n0-bdmf .wp-block-gallery {
  --wp--style--unstable-gallery-gap: unset !important;
}


/*
.wp-theme-n0-bdmf details[open].readmore > summary {
  display: none;
}
*/
.wp-theme-n0-bdmf .pagelink::after {
  content: "↘";
  padding-left: 5px;
  font-size: 1.5em;
  margin-top: 2px;
  position: absolute;
  font-weight: 200;
}


/*
.page-template.wp-theme-n0-bdmf details[open] > summary {
	display: none;
}



*/
.wp-theme-n0-bdmf .wp-block-details p {
  line-height: 1.2em;
  padding-bottom: 0.7em;
}



.wp-block-navigation-item a:hover {
  color: red;
  text-underline-offset: 5px;
  text-decoration: underline !important;
  text-decoration-thickness: auto;
  text-decoration-thickness: 3px !important;
}


/* --- Fixed Header --- */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
  height: 8em;
  max-width: 100vw;
}


/* --- Sticky Footer ---
   wp-site-blocks wird Flex-Container.
   !important nötig weil WP eigene margin-block Resets setzt.
   ============================================ */
.wp-site-blocks {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100svh;
}



/* Header fix oben */
div.wp-site-blocks>header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background-color: white;
}

.wp-block-site-tagline {
  /* padding-top: 1em;*/
}

/* Main normal im Flow, aber unter dem fixed Header */
div.wp-site-blocks>main {
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Footer sitzt initial unten, scrollt aber normal mit */
div.wp-site-blocks>footer {
  margin-top: auto;
}

/* --- Header Grid: 3 columns --- */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 80px;
}


.header-left {
  justify-self: start;
}

.header-center {
  justify-self: center;
  text-align: center;
}

.header-right {
  justify-self: end;
}

/* --- Navigation: always visible, no hamburger --- */


.header-right .wp-block-navigation__responsive-container {
  display: flex !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  padding: 0 !important;
}

.header-right .wp-block-navigation__responsive-container-open,
.header-right .wp-block-navigation__responsive-container-close {
  display: none !important;
}

.header-right .wp-block-navigation__responsive-container.is-menu-open,
.header-right .wp-block-navigation__responsive-container {
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  padding: 0 !important;
}

.header-right .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  display: flex !important;
  flex-direction: row !important;
  gap: 2rem;
  align-items: center;
}

/* Claim text in header center */
.header-center .wp-block-paragraph {
  margin: 0;
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}


.wp-block-site-logo.is-default-size img {
  height: auto;
  width: 160px;
  top: 7px;
  position: relative;
}

.evm-header-menu li {
  line-height: 1em;
  letter-spacing: unset;
}

.evm-header-menu ul {
  /*
  display: grid;
  grid-template-columns: 1fr 1fr;
  */
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 10px;
}

.evm-header-menu {
  margin-top: 5px !important;
}


/*
.evm-header-menu ul li {
  font-size: calc( var(--wp--preset--font-size--bdm-header) / 1.7);
  justify-content: end;
}

.evm-header-menu ul li:first-child {
  grid-column: 1 / -1;
  font-size: var(--wp--preset--font-size--bdm-header) !important;
}
*/

.evm-header-menu ul li {
  font-size: var(--wp--preset--font-size--bdm-header);
  justify-content: end;
}


/*
.evm-header-menu ul li.m3::before {
  content: "&";
  padding-right: 0.2em;
}
*/


.wp-block-site-tagline {
  line-height: 1.2em;
  font-weight: 400;
}


.has-bdm-h-2-font-size {
  font-weight: 300 !important;
}


.has-bdm-h-4-font-size {
  border-bottom: 2px solid;
  width: fit-content;
  margin-bottom: 0.5em;
  font-weight: 300 !important;
  padding-bottom: 0.2em;
}



/* ============================================
   Block Styles: Fullwidth & ContentWidth
   ============================================ */

/* --- Fullwidth ---
   Kein Rand. Hintergrund + Inhalt edge-to-edge.
   ============================================ */
.wp-block-group.is-style-fullwidth,
.wp-block-columns.is-style-fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* --- ContentWidth ---
   7vw Rand links/rechts per margin.
   Hintergrund endet am Rand.
   ============================================ */
.wp-block-group.is-style-contentwidth,
.wp-block-columns.is-style-contentwidth {
  margin-left: var(--wp--custom--spacing--edge);
  margin-right: var(--wp--custom--spacing--edge);
}

.claim {
  display: none;
  width: 100%;
}


.page-col2 {
  gap: 1em;
}


/* --- Responsive adjustments --- */


@media (max-width: 1100px) {
  .has-text-align-center.wp-block-site-tagline {
    max-width: 288px;
    font-size: 1.3em;
  }
}


@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    gap: 0.5rem;
  }

  .claim {
    display: inline-block;
    top: 126px;
    position: absolute;
  }

  .has-text-align-center.wp-block-site-tagline {
    max-width: 69vw;
    font-size: var(--wp--preset--font-size--bdm-header);
  }

  .header-inner {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner div:nth-child(2) {
    display: none;
  }

  /*
  body {
    padding-top: 60px;
  }
*/
  .home .wp-block-group.cover {
    padding-top: 6em;
  }


  .wp-block-site-logo.is-default-size img {
    width: 100px;
  }

  .header-center .wp-block-paragraph {
    font-size: 0.7rem;
  }

  .site-header {
    top: 0px;
    height: 8em;
    padding-top: 10px !important;
  }

  .header-right .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  .header-right .wp-block-navigation__container {
    gap: 0rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-nav {
    display: inline-block !important;
  }

  .page-col2.is-layout-flex {
    flex-direction: column-reverse;
  }



}


@media (max-width: 480px) {
  .header-center {
    display: none;
    /* claim ausblenden auf sehr kleinen screens */
  }

  .header-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    display: inline-block !important;
  }


}


.show-on-desktop {
  display: block !important;
}

.show-on-mobile {
  display: none !important;
}

@media (max-width: 600px) {
  .show-on-desktop {
    display: none !important;
  }

  .show-on-mobile {
    display: block !important;
  }


}


/*
p {
  padding-bottom: 1em;
}
*/
.wp-block-post-title {
  padding-top: 1em;
}


/* PAGE  */
.cover img {
  width: 100%;
}


/* 
←	8592	2190	LEFTWARDS ARROW	
↑	8593	2191	UPWARDS ARROW	
→	8594	2192	RIGHTWARDS ARROW	
↓	8595	2193	DOWNWARDS ARROW	
↔	8596	2194	LEFT RIGHT ARROW	
↕	8597	2195	UP DOWN ARROW	
↖	8598	2196	NORTH WEST ARROW	
↗	8599	2197	NORTH EAST ARROW	
↘	8600	2198	SOUTH EAST ARROW	
↙
*/
details.moreless summary::-webkit-details-marker {
  display: none;
}

details.moreless summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  line-height: 0.7em;
  padding-bottom: 1em;
}

details.moreless summary::after {
  font-weight: 200;
  top: 3px;
  position: relative;
  line-height: 1.5em;
}

details.moreless summary::after {
  content: "↘";
}

details.moreless[open] summary::after {
  content: "↗";
}

details.moreless[open] summary:after {
  line-height: 0;
}

details summary::after {
  padding-left: 5px;
}

details.moreless.summary-hidden>summary {
  display: none;
}

.wp-block-n0-slider .n0-cover-slide-overlay {
  background-color: unset !important;
}

.wp-block-n0-slider .n0-cover-slide-title {
  font-size: clamp(3rem, 8vw, 12rem);
  line-height: 1.1;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
}

.splide__arrow {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 0.2em;
  margin-bottom: 1rem;
}

.breadcrumb h2 {
  padding: 0;
}

.breadcrumb p,
.breadcrumb .wp-block-post-title {
  font-size: clamp(0.5rem, 1vw + 0.7rem, 1.575rem);
  text-transform: uppercase;
  font-weight: 500;
  line-height: 2em;
}

.breadcrumb p::after {
  content: "•";
  font-size: 3em;
  vertical-align: middle;
  transform: translateY(-3px);
  display: inline-block;
}


.contpage .wp-block-columns {
  gap: 2em;
}

.contpage h3 {
  margin-top: 2em;
  font-size: var(--wp--preset--font-size--medium) !important;
  font-weight: 600;
  margin-bottom: 0.5em;
}

.contpage p {
  font-size: 1em;
  font-weight: 300;
}

.contpage .wp-block-group {
  margin-bottom: 1em;
}

/*
@media (min-width: 1600px) {
  .evm-infobox-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
*/

.tickets {
  gap: 1.5em;
}