/*
Theme Name:     Blue Moon Custom
Theme URI:      https://www.bluemoon.de
Description:    Angepasste Version des Divi Themes durch die Agentur Blue Moon CC GmbH in Neuss. Bitte deinstallieren Sie nicht das Divi Theme, da dies hier nur ein Child-Theme ist wird das Main-Theme immer noch benötigt.
Author:         Blue Moon CC GmbH
Author URI:     https://www.bluemoon.de
Template:       Divi
Version:        1.34.6
*/

/* ------------------------------------------------------------
   Default Styles
------------------------------------------------------------ */

body {
  color: var(--text-color);
  font-family: var(--text-font);
  font-size: var(--p-fs) !important;
  font-weight: 300;
  line-height: var(--p-lh);

  &:not(.et-fb) p,
  &.et-fb .et-fb-post-content p,
  /*&:not(.et-fb) *:not(.et_pb_module_header) span,*/
  &.et-fb .et-fb-post-content span,
  &:not(.et-fb) li,
  &.et-fb .et-fb-post-content li {
    font-size: var(--p-fs);
    font-weight: 300;
    line-height: var(--p-lh);
  }

  a,
  a:focus,
  a:hover {
    color: var(--main-color);
  }

  h1 {
    font-family: var(--hl-font);
    font-size: var(--h1-fs);
    font-weight: 600;
    line-height: var(--h1-lh);
    padding-bottom: 15px !important;
  }

  h2 {
    color: var(--text-color);
    font-family: var(--hl-font);
    font-size: var(--h2-fs);
    font-weight: 700;
    line-height: var(--h1-lh);
    padding-bottom: 15px !important;
  }

  h3 {
    padding: 20px 0;
    font-weight: 700;
    font-size: var(--h3-fs);
    line-height: 1.3em;
  }

  h4 {
    padding: 20px 0 10px 0;
    font-weight: 700;
  }

  h1,
  h2,
  h3,
  h4 {
    word-wrap: normal;
    hyphens: auto;
  }

  /* Bessere Formatierung für nummerierte Listen in Divi */
  .et_pb_module ol {
    list-style-position: outside;
    margin-left: 1.4em;
    padding-left: 0;
    counter-reset: item;
  }
  .et_pb_module ol li {
    position: relative;
    margin-bottom: 0.6em; /* etwas Abstand zwischen Punkten */
    padding-left: 0.4em; /* etwas Abstand nach der Zahl */
  }
  .et_pb_module ol li::marker {
    font-weight: bold;
  }

  blockquote {
    border-color: var(--color__purple--300);
  }
}

.bm-user-category-nav a,
.blog-news .et_pb_ajax_pagination_container > div a, /* blog prev | next */
a.more-link, /* post read more  */
a.et_pb_button, 
#bm-dialog-buttons button,
button.et_pb_button,
.dipe-cf7 .wpcf7 input[type=submit] ,
.juicer-button {
  background: var(--color__purple--100) !important;
  border-color: var(--color__purple--100) !important;
  border-radius: 25px !important;
  color: var(--color__blue--900) !important;
  font-size: var(--btn-fs) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  line-height: 1.3 !important;

  &::after {
    font-size: calc(var(--btn-fs) + 10px);
    font-weight: 700;
    display: none !important;
  }

  &.active,
  &:hover {
    background: var(--color__purple--300) !important;
    border-color: var(--color__purple--300) !important;
    color: var(--color__blue--600) !important;
    padding: 9px 20px !important;
    /*padding: 8px 25px !important;*/
  }
  &[data-icon],
  &.more-link {
    padding-left: 40px !important;
  }

  &.sec_button {
    background: transparent;
    border-color: var(--color__blue--900);

    &:hover {
      background: var(--color__blue--900) !important;
      border-color: var(--color__blue--900);
      color: white;
    }
  }
}
@layer {
  a.et_pb_button:hover {
    /* padding: 8px 11px 8px 32px !important;*/
  }
}

.container,
.et_pb_row {
  width: 90%;
}

@media (max-width: 980px) {
  .et_pb_section {
    padding-top: 20px;
  }
}
@media (max-width: 980px) {
  .et_pb_column .et_pb_row_inner,
  .et_pb_row {
    padding-bottom: 40px;
  }
}
@media (max-width: 980px) {
  .et_pb_column {
    margin-bottom: 50px;
  }
}

.bm-user-category-nav {
  a {
    display: inline-block;
  }
  .bm-user-category-list {
    gap: 10px;
    display: flex;
    list-style-type: none;
    padding: 0;
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------------------
   Top Navigation
------------------------------------------------------------ */

#main-header {
  background: var(--color__blue--900);
  position: fixed !important;
  z-index: 999;
}
.et_pb_svg_logo #logo {
  height: 49%;
  margin-left: -3px;
}
#et-top-navigation {
  padding-top: 10px !important;
}
.et_header_style_left #et-top-navigation .mobile_menu_bar {
  padding-bottom: 6px;
  right: -2vw;
}
#top-menu > li > a,
.mobile_nav .mobile_menu_bar_toggle:before {
  color: white;
}
#mobile_menu {
  left: calc(((100vw - 100%) / 2) * -1);
  width: 100vw;
  border: none;
  padding: 20px 0;
  background-color: var(--color__blue--900);

  max-height: calc(100svh - 65px);
  overflow: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.mobile_nav.opened .mobile_menu_bar:before {
  content: 'M'; /* x when open */
}
.mobile_nav .mobile_menu_bar_toggle:before {
  font-size: 3.5em;
}
.et_mobile_menu li li a {
  font-size: 1.4em !important;
  font-weight: 300 !important;
  opacity: 0.7 !important;
}
/* remove animation */
#main-header .mobile_nav.opened .et_mobile_menu {
  display: block !important;
  border-bottom: 1px solid #ffffff24;
}
#main-header .et_mobile_menu li a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  /*color: var(--color__blue--900);*/
  color: #f2f2f2;
  font-size: var(--h2-fs);
  font-weight: 700;
  opacity: 1;
  background: none !important;
  border-bottom: none !important;
  padding: 10px 0;
  cursor: pointer !important;
}
#main-header .et_mobile_menu a:hover,
#main-header .et_mobile_menu .current-menu-item > a {
  opacity: 1 !important;
}
#main-header .et_mobile_menu .current-menu-item > a {
  color: var(--main-color);
}
@media (min-width: 981px) {
  /* Desktop-Layout soll wie Mobile aussehen */
  #et_mobile_nav_menu {
    display: block !important;
  }
  #top-menu,
  .et_pb_menu__menu {
    display: none !important;
  }
}

#mobile_menu li {
  position: relative !important;
}
#mobile_menu > li {
  padding-bottom: 8px;
}

/* bm-toggle wird über javascript (custom.js) erstellt 
#mobile_menu .menu-item-has-children > a {
  pointer-events: none;
}*/
.bm-toggle {
  display: none;
}
.bm-toggle + .bm-toggle-label {
  font-size: 3.6em;
  color: white;
  position: absolute;
  right: calc(2vw - 10px);
  z-index: 2;
  translate: -16px -4px;
  top: 0;
  /*background: #f0f8ff45;*/
} /*
.bm-toggle + .bm-toggle-label {
  position: absolute;
  top: 0;
  left: calc(2vw + 20px);
  right: calc(2vw - 10px);
  z-index: 2;
  translate: -16px -4px;
  text-align: right;
  transform-origin: center;
}*/
.bm-toggle + .bm-toggle-label .et-pb-icon {
  font-size: 1em;
  color: white;
}

.bm-toggle:checked + .bm-toggle-label .et-pb-icon {
  transform: rotate(90deg);
}
@layer {
  .bm-toggle:checked ~ ul.sub-menu {
    display: block !important;
  }
}
#main-header .et_mobile_menu li ul {
  display: none !important;
}

@media (min-width: 980px) {
  .et_header_style_left #et-top-navigation .mobile_menu_bar {
    right: 0;
  }
  .bm-toggle-label {
    display: none;
  }
  #main-header .mobile_nav.opened .et_mobile_menu {
    display: flex !important;
    justify-content: space-between;
    padding: 20px calc(((100vw - 100%) / 2)) 40px;
  }
  #mobile_menu .container {
    width: auto;
  }
  #main-header .et_mobile_menu li ul {
    display: block !important;
  }
  .et_mobile_menu ul,
  .et_mobile_menu li,
  #main-header .et_mobile_menu li a {
    padding-left: 0 !important;
    padding: 1px 0;
  }
  #main-header .et_mobile_menu > li > a {
    padding: 0px 0 20px 0 !important;

    font-size: var(--h3-fs) !important;
  }
  #main-header .et_mobile_menu li li a {
    font-size: 100% !important;
  }
}

/* ------------------------------------------------------------
   TOP Search Bar
------------------------------------------------------------ */

.et_search_outer {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  left: calc(10% + 70px);
  width: calc(80% - 114px);
  z-index: 100;
}
.container.et_search_form_container {
  opacity: 1;
  height: auto;
  width: 100%;
}
@media (max-width: 980px) {
  .et_header_style_left .et-search-form {
    width: auto !important;
    max-width: none !important;
  }
}
.et-search-form {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: relative;
  display: block;
}

.et-search-form:after {
  font-family: 'ETmodules';
  content: '\55';
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  font-size: 1.5em;
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: white;
  position: absolute;
  right: 10px;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
}

.et-search-form:focus-within::after {
  /*display: none;*/
}

.et-search-form input {
  width: 100%;
  color: white;
  position: relative;
  top: auto;
  bottom: auto;
  right: 0px;
  border: 1px solid white;
  border-radius: 50px;
  font-size: var(--p-fs);
  padding: 0px 30px 0px 15px;
  min-height: 34px;
}

#et_top_search,
.et_close_search_field {
  display: none !important;
}

@media (min-width: 980px) {
  .et_search_outer {
    right: calc(((100vw - 80%) / 2) + 20px);
    width: auto;
    left: auto;
  }
}
@media (min-width: 1200px) {
  .et_search_outer {
    right: calc(((100vw - 1080px) / 2) + 70px);
    max-width: 1080px;
  }
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */

#main-footer,
#footer-bottom {
  background-color: var(--color__blue--900);
}
#footer-widgets .footer-widget li:before {
  display: none;
}
#footer-widgets .footer-widget li {
  padding: 0;
  margin: 0;
  margin-bottom: 0.2em;
}

#footer-widgets
  .footer-widget
  .widget_nav_menu:not(:has(.title))
  .menu
  > li
  > a,
#main-footer h4,
#main-footer .menu-item-has-children > a {
  padding: 0px 0 20px 0 !important;
  font-weight: 300;
  font-size: var(--h3-fs);
  display: block;
}
#main-footer a:not(.wp-block-social-link-anchor),
#main-footer p,
#main-footer h4 {
  color: var(--footer-text-color) !important;
}

#main-footer h4,
#footer-widgets
  .footer-widget
  .widget_nav_menu:not(:has(.title))
  .menu
  > li
  > a,
#main-footer a:hover,
#main-footer .menu-item-has-children > a {
  color: white !important;
}
#main-footer .current_page_item > a {
  color: var(--main-color) !important;
}
@layer {
  #main-footer .current_page_item > a {
    color: var(--main-color) !important;
  }
}
#main-footer .widget_nav_menu {
  width: 100%;
}
#footer-info {
  text-align: left !important;
}

/* ------------------------------------------------------------
   Footer social Links
------------------------------------------------------------ */

.wp-block-social-links {
  li {
    padding-left: 0 !important;
    background: transparent;
  }
  li a {
    padding: 0 5px 0 0;
    font-size: 1.5em;
  }
  @media (max-width: 767px) {
    li a {
      font-size: 2em;
    }
  }
}

/* ------------------------------------------------------------
   Quick Links (Btns Seitenrand unter rechts)
------------------------------------------------------------ */

.quick-links {
  position: fixed;
  right: 5vw;
  z-index: 2;
  bottom: 119px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.quick-links span,
.quick-links a,
.et_pb_scroll_top {
  width: 45px;
  height: 45px;
  display: block;
  border-radius: 50px !important;
  background: color-mix(
    in srgb,
    var(--color__purple--100) 100%,
    transparent
  ) !important;
  position: relative;
  cursor: pointer;
  color: var(--text-color) !important;
}

.quick-links a:hover,
.quick-links a:active,
.quick-links span:hover,
.quick-links span:active,
.et_pb_scroll_top:hover,
.et_pb_scroll_top:active {
  background: var(--color__purple--100) !important;
}
.quick-links img {
  position: absolute;
  top: 7px;
  left: 7px;
  object-fit: contain;
  max-width: calc(100% - 14px);
  max-height: calc(100% - 14px);
}
/*@media (min-width: 981px) {
  .quick-links {
    display: none !important;
  }
}*/
.et_pb_scroll_top {
  right: 5% !important;
  bottom: 70px !important;
  font-size: 3em !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding-left: 2px !important;
}

.quick-links .search-btn {
  display: none;
}

.quick-links .notifications-btn.enabled .disabled,
.quick-links .notifications-btn.disabled .enabled {
  display: none;
}

/* ------------------------------------------------------------
   Custom Slider
------------------------------------------------------------ */

.bm-header-slider {
  .et_pb_slides .et_pb_slider_container_inner {
    vertical-align: top;
  }
  .et_pb_slide_image {
    position: relative;
    top: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    max-height: 600px;
  }
  &.et_pb_slider div.et_pb_slide {
    background: var(--text-color);
    padding: 0 !important;
  }

  .et_pb_slide_image img {
    width: 100vw;
    object-fit: cover;
  }
  .et_pb_slide_with_image .et_pb_slide_description {
    width: 90%;
    padding: 50px 0;
    max-width: 1080px;
    float: none;
    text-align: start;
  }
  @media (min-width: 1200px) {
    .et_pb_slide_with_image .et_pb_slide_description {
      width: 100%;
    }
  }
  .et_pb_slide_title {
    font-size: var(--h1-fs) !important;
    font-weight: 600 !important;
    line-height: var(--h1-lh) !important;
    padding-bottom: 15px !important;
  }
}

/* ------------------------------------------------------------
   DIVI Accordion Module
------------------------------------------------------------ */

.et_pb_accordion {
  .et_pb_accordion_item {
    border-bottom: 2px solid lightgrey !important;
    margin-bottom: 0 !important;
    padding: 20px 0px 20px 0 !important;
  }
  .et_pb_toggle_title,
  .et_pb_toggle_title::before {
    color: var(--text-color);
  }
  .et_pb_toggle_content {
    font-size: var(--p-fs);
    font-weight: 300;
    line-height: var(--p-lh);
  }
  .et_pb_toggle_title::before {
    right: 0 !important;
  }
}

/* ————————————————————————————————
   Divi Icons für tel: und mailto: Links
   In Divi Accordeon Module
   ———————————————————————————————— */

.et_pb_posts_nav,
.et_pb_toggle_content,
.et_pb_text {
  a {
    border: 2px solid;
    background: var(--color__purple--100);
    border-color: var(--color__purple--100);
    border-radius: 25px;
    color: var(--color__blue--900);
    font-size: var(--btn-fs);
    font-weight: 700 !important;
    display: inline-block;
    width: fit-content;
    padding: 5px 25px !important;
    margin: 7px 0 0 0;
    font-weight: 700;
    /*word-break: break-all;*/
    white-space: nowrap; /* Kein Zeilenumbruch */
    overflow: hidden; /* Überstehender Text ausblenden */
    text-overflow: ellipsis; /* "..." anzeigen */
    max-width: -moz-available;
    max-width: -webkit-fill-available;
    position: relative;
  }
  a:hover {
    background: var(--color__purple--300);
    border-color: var(--color__purple--300);
    color: var(--color__blue--600);
  }

  /* Icon */
  a::after,
  a::before {
    font-family: 'ETmodules' !important;
    font-size: 1em;
    line-height: 1;
    speak: none;
  }
  a::before {
    margin-left: -8px;
    margin-right: 8px;
    content: '\e02b'; /* Link-Icon */
  }

  /* Telefon-Icon */
  a[href^='tel:']::before {
    content: '\e090';
  }

  /* Mail-Icon */
  a[href^='mailto:']::before {
    content: '\e076';
  }

  /* prev & next */
  a[rel='next'] .meta-nav,
  a[rel='prev'] .meta-nav {
    display: none;
  }
  a[rel='next']::before {
    content: '';
  }
  a[rel='next']::after {
    content: '\35';
  }
  a[rel='prev']::before {
    content: '\34';
  }
}

/* ------------------------------------------------------------
   NIJA Tables
------------------------------------------------------------ */

.ninja_stacked_table th,
.ninja_stacked_table td {
  hyphens: auto;
  -webkit-hyphens: auto;
  white-space: normal;
  word-break: normal !important;
  a {
    hyphens: auto;
    -webkit-hyphens: auto;
    white-space: normal;
  }
}

/* ------------------------------------------------------------
   DIVI Tab Module
------------------------------------------------------------ */

.et_pb_tabs_controls {
  border: none;
  background-color: transparent !important;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;

  li {
    border: none !important;
    background-color: transparent !important;
    color: #f2f2f2;
  }
  li.et_pb_tab_active {
    color: inherit;
  }

  li a {
    background: transparent;
    border-radius: 25px;
    border: 2px solid var(--color__blue--900);
    color: var(--color__blue--900);
    font-size: var(--btn-fs);
    font-weight: 300;
    padding: 3.5px 25px;
    margin-right: 5px;

    &:hover {
      background: var(--color__blue--900);
      border-color: var(--color__blue--900);
      color: white;
      padding: 3.5px 25px !important;
    }
  }
  li.et_pb_tab_active {
    a,
    a:hover {
      background: var(--color__purple--100);
      border-color: var(--color__purple--100);
    }
  }
}

/* ------------------------------------------------------------
   Custom Elements - Default Header
------------------------------------------------------------ */

.bm-header-section {
  background-color: var(--color__blue--900) !important;
  padding-top: 0 !important;

  /*@media (min-width: 767px) {
    & {
      padding-bottom: 40px !important;
    }
  }*/
  /*
  .bm-header-image-row {
    height: 35vh;
    max-height: 350px;

    @media (min-width: 767px) {
      & {
        max-height: 450px;
      }
    }
  }*/

  .et_pb_image_wrap {
    display: inline;
  }

  .bm-header-image-row img {
    /*height: 35vh;
    max-height: 450px;
    object-fit: cover;
    object-position: 50% 15%;
    width: 100%;*/

    width: 100%;
    aspect-ratio: 200 / 100;
    object-fit: cover;
    object-position: 50% 20%;

    @media (max-width: 980px) {
      & {
        max-height: 450px;
        width: 100vw !important;
      }
    }
  }

  .bm-header-headline * {
    color: #fff;
    padding: 0 0 4px 0 !important;
  }
  .bm-header-text {
    color: #fff;
  }
  .bm-header-breadcrumbs {
    color: #fff;
    margin-bottom: 10px;

    .breadcrumb_last {
      background: var(--color__blue--900);
      color: var(--color__blue--900);
      translate: -15px 0;
      display: inline-block;
      width: 15px;
      height: 15px;
      overflow: hidden;
    }
  }
}

.bm-dark {
  background-color: var(--text-color);

  .et_pb_text *:not(a) {
    color: #e4e4e4;
  }

  ol li::marker {
    color: var(--main-color);
    font-weight: bold;
  }
}

/* ------------------------------------------------------------
   Custom Elements - Auch Interessant
------------------------------------------------------------ */
/*
.blog-auch-interessant .et_pb_ajax_pagination_container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  .et_pb_post {
    background: var(--color__blue--900);
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 0px;
  }
  .et_pb_post.et_pb_no_thumb {
    padding-top: 30px;
  }
  }
  .et_pb_post .entry-title {
    font-size: var(--h2-fs) !important;
    padding-bottom: 8px !important;
  }
  .et_pb_post .entry-title,
  .et_pb_post .post-content {
    padding: 0 20px;
  }
  .et_pb_post .entry-title a,
  .et_pb_post .post-content p {
    color: #fff !important;
  }
  .et_pb_post .entry-featured-image-url {
    margin-bottom: auto;
  }

  .et_pb_post .post-content-inner p {
    font-size: var(--p-fs) !important;
    font-weight: 300;
    line-height: var(--p-lh);
  }
  .et_pb_post.et_pb_no_thumb::before {
    margin-bottom: 20px !important;
  }
 
  .et_pb_post.et_pb_no_thumb::before {
    content: '';
    width: 100%;
    aspect-ratio: 200 / 100;
    display: block;
    background-color: #fff;
  }
  @media (max-width: 600px) {
    .et_pb_post.et_pb_no_thumb::before {
      aspect-ratio: unset;
    }
  }

  a img {
    aspect-ratio: 200 / 100;
    object-fit: cover;
  }
}*/

/*
*[id] {
  scroll-margin-top: 100px !important; 
}*/

/* ------------------------------------------------------------
   Custom Elements - Icon Sprungmarken
------------------------------------------------------------ */

.icon-sprungmarken {
  display: grid !important;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  .et_pb_column {
    margin: 0 !important;
    /* padding: 0 !important;*/
    width: auto !important;
  }

  &.et_pb_row:after {
    display: none !important;
  }

  /* Mobile (bis 767px) */
  @media (max-width: 767px) {
    & {
      grid-template-columns: repeat(auto-fit, minmax(43vw, 1fr));
    }
  }
  .et_pb_blurb:hover {
    background: var(--color__purple--100);

    .et_pb_blurb_content *,
    .et_pb_blurb_content *:active {
      color: var(--text-color);
    }
  }
  .et_pb_blurb_content {
    display: flex;
    flex-direction: column;
  }
  .et_pb_module {
    margin: 0 !important;
    height: 100%;
  }
  a,
  h2,
  h3,
  .et_pb_main_blurb_image {
    padding: 0 !important;
    margin: 0;
    width: 100% !important;
    cursor: pointer;
    display: block !important;
    color: inherit;
  }
  .et_pb_main_blurb_image img {
    width: 40px;
    margin-bottom: 5px;
  }
}

/* ------------------------------------------------------------
   Custom Elements - gallery
------------------------------------------------------------ */

.slider-gallery .et_pb_gallery_items {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: hidden;
  overflow-x: auto;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;

  .et_pb_grid_item,
  a {
    margin: 0;
    display: block;
    flex: 0 0 calc(25% - 10px); /* 4 Spalten */
    scroll-snap-align: start;
  }
  @media (max-width: 767px) {
    .et_pb_grid_item,
    a {
      flex: 0 0 calc(50% - 10px);
    }
  }

  .et_overlay {
    background: #ffffff63;

    &:before {
      color: var(--color__purple--300);
      font-size: 46px;
      background: radial-gradient(
        circle,
        var(--text-color) 50%,
        rgba(0, 0, 0, 0) 50%
      );
    }
  }

  @media (max-width: 767px) {
    .et_overlay {
      display: none;
    }
  }
}

/* Detail View - hide image title */
.mfp-image-holder .mfp-title {
  display: none;
}

/* ------------------------------------------------------------
   Custom Elements - collapsable-table
------------------------------------------------------------ */

.collapsable-table {
  & > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 2px solid #ccc;
    border-collapse: collapse;
    width: 100%;
  }
  & > div > div {
    padding: 20px 20px 20px 0;
  }
  & > div > div > span {
    display: none;
  }
  @media (max-width: 768px) {
    & > div:first-child {
      display: none;
    }
    & > div {
      display: block;
      padding: 20px 0;
    }
    & > div > div {
      padding: 0px;
    }
    div > div > span {
      display: inline;
      font-weight: bold;
    }
  }
}

/* ------------------------------------------------------------
   Custom Elements - search-results-list
------------------------------------------------------------ */

.search-results-list a,
.search-results-list a:hover {
  color: inherit;
}

mark.search-highlight {
  background: #ff8da3;
  font-weight: bold;
}

.search-results-list article {
  position: relative;
}
.search-results-list article h3 {
  padding: 8px 0 0 0;
}

.search-results-list .is-page .search-item-top {
  font-size: 0.8em;
  line-height: 1;
}

.search-results-list .is-post .search-item-top::before,
.search-results-list .is-page .search-item-top::before {
  content: 'News';
  display: inline-block;
  border-radius: 3px;
  padding: 2px 4px;
  top: 0px;
  font-size: 0.8em;
  font-weight: bold;
  margin-right: 6px;
  line-height: 1;
  color: #fff;
  background: var(--color__purple--600);
}
.search-results-list .is-page .search-item-top::before {
  content: 'Seite';
  background: transparent;
  color: var(--text-color);
  border: 1px solid #333;
  font-size: 100%;
}

/* ------------------------------------------------------------
   Custom Elements - blog-news
------------------------------------------------------------ */

.blog-auch-interessant .et_pb_ajax_pagination_container,
.blog-news .et_pb_ajax_pagination_container {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));

  .et_pb_post {
    background: var(--color__blue--900);
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 0px;
  }
  /*.et_pb_post.et_pb_no_thumb {
    padding-top: 30px;
  }*/
  .et_pb_post.et_pb_no_thumb::before {
    content: '';
    width: 100%;
    background-image: url(/wp-content/uploads/2025/11/download.png);
    background-size: cover;
  }
  .et_pb_post .entry-title {
    font-size: var(--h2-fs) !important;
    padding-bottom: 8px !important;
    margin-top: 40px;
  }
  .et_pb_post .post-meta,
  .et_pb_post .entry-title,
  .et_pb_post .post-content {
    padding: 0 20px;
  }
  .et_pb_post .entry-title a,
  .et_pb_post .post-content p {
    color: #fff !important;
  }
  .et_pb_post .post-meta * {
    color: var(--color__purple--300);
  }
  .et_pb_post .post-content-inner p {
    font-size: var(--p-fs) !important;
    font-weight: 300;
    line-height: var(--p-lh);
  }
  .et_pb_post .entry-featured-image-url,
  .et_pb_post.et_pb_no_thumb::before {
    margin-bottom: auto;
  }
  .more-link,
  .more-link:hover {
    margin-top: 20px;
    display: inline-block;
    position: relative;
    padding-left: 45px !important;

    &:before {
      content: '\e059';
      font-family: 'ETmodules';
      speak: none;
      font-weight: normal;
      font-variant: normal;
      text-transform: none;
      line-height: 1;
      -webkit-font-smoothing: antialiased;
      font-size: 1.2em;
      display: inline-block;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      color: var(--text-color);
      position: absolute;
      left: 15px;
      top: 50%;
      translate: 0 -50%;
      pointer-events: none;
    }
  }

  a img,
  .et_pb_post.et_pb_no_thumb::before {
    /*
    aspect-ratio: 200 / 100;
    object-fit: cover;
    */
    object-fit: contain;
    object-position: 50% 20%;
  }
  .et_pb_post.et_pb_no_thumb::before {
    aspect-ratio: 200 / 100;
    object-fit: cover;
  }

  & > div {
    grid-column: 1 / -1; /* <<< volle Breite */
  }
}

@media (max-width: 579px) {
  .blog-news .et_pb_ajax_pagination_container .et_pb_post {
    width: 100vw !important;
    margin-left: -5vw !important;
  }

  /* fallbck image ausblenden auf Mobile, da die posts eh untereinander sitzen */
  .et_pb_post.et_pb_no_thumb::before {
    display: none;
  }
}

/* ------------------------------------------------------------
   Fix PDF embedded Previewer 
------------------------------------------------------------ */

.wp-block-file__embed {
  position: relative !important;
}

/* ------------------------------------------------------------
   Jucier Social Media Wall
------------------------------------------------------------ */

.bm-social-media-wall {
  .juicer-feed p {
    color: var(--text-color);
    font-family: var(--text-font);
    font-size: var(--p-fs);
    font-weight: 300;
    line-height: var(--p-lh);
  }
  .j-stacker-wrapper {
    margin: 0 !important;
  }
  .juicer-feed .j-stacker {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  }
  .juicer-feed .j-stacker .galcolumn {
    width: auto !important;
    padding: 0 !important;
  }
  .juicer-feed .j-stacker li.feed-item {
    margin-bottom: 30px !important;
  }
  .juicer-feed .j-paginate {
    text-transform: none;
    width: fit-content;
    display: block;
    margin: auto;
  }

  @media (max-width: 579px) {
    .juicer-feed {
      width: 100vw !important;
      margin-left: -5vw !important;
    }
  }
}
.j-overlay .j-close {
  height: calc(70px / 2) !important;
  width: calc(70px / 2) !important;
  background-size: calc(50px / 2) calc(50px / 2) !important;
  background-color: transparent !important;
}
.j-overlay .j-overlay-text {
  color: var(--text-color);
  font-family: var(--text-font);
  font-size: var(--p-fs);
  font-weight: 300;
  line-height: var(--p-lh);
}

/* ------------------------------------------------------------
   CF7 Forms
------------------------------------------------------------ */

.wpcf7-form {
  label {
    margin-bottom: 20px;
  }
  .title {
    font-weight: bold;
  }
  .description {
    font-size: smaller;
    opacity: 0.5;
  }
  .wpcf7-not-valid-tip,
  .not-valid-tip {
    font-size: smaller;
    color: red;
  }
  .required {
    font-size: smaller;
    color: red;
    font-weight: normal;
  }
  .column-2 {
    display: grid;
    column-gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  }
  .wpcf7-form-control-wrap {
    display: block;
    .wpcf7-list-item {
      margin: 5px 0px 0;
      display: block;
    }
  }
  .wpcf7-form-control {
    border-radius: 5px;
  }
  .wpcf7-not-valid {
    border-color: red;
  }
  textarea,
  input[type='text'],
  input[type='email'] {
    font-size: var(--p-fs);
  }
  input:not([type='submit']):focus {
    border-color: #bbbbbb !important;
  }

  textarea,
  input[type='text'],
  input[type='email'],
  .wpcf7-list-item label {
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    margin: 0;
    background-color: #f5f5f5;
    width: 100%;
  }
  .wpcf7-list-item label:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
  }
}
.dipe-form-header {
  margin-bottom: 20px;
}

/* ------------------------------------------------------------
   Kommentare
------------------------------------------------------------ */

.et_pb_comments_module {
  ol {
    margin-left: 0 !important;
  }
  li {
    padding-left: 0 !important;
  }
  input,
  textarea {
    border-radius: 5px;
    color: var(--text-color) !important;
  }
}

/* ------------------------------------------------------------
   Boarlabs Cookie Banner
------------------------------------------------------------ */

.brlbs-cmpnt-container .brlbs-mr-2 {
  width: 50px;
}
.brlbs-cmpnt-dialog-box-entrance p {
  line-height: 1 !important;
}
.brlbs-cmpnt-container .brlbs-py-2 {
  padding-bottom: 8px !important;
  padding-top: 8px !important;
}
.brlbs-cmpnt-container .brlbs-text-sm {
  line-height: 100% !important;
}
.brlbs-cmpnt-container .brlbs-font-bold {
  line-height: 1;
}
.brlbs-cmpnt-container .brlbs-cmpnt-widget {
  padding: 10px;
  right: 5%;
  bottom: 21px;
  width: 45px;
  height: 45px;
  border-radius: 50px;
  background: color-mix(
    in srgb,
    var(--color__purple--100) 100%,
    transparent
  ) !important;
  color: var(--text-color) !important;
}
.brlbs-cmpnt-container .brlbs-cmpnt-widget svg {
  height: 25px;
  width: 25px;
}

/* ------------------------------------------------------------
   Overay
------------------------------------------------------------ */
/*
#bm-push-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  display: flex;
  visibility: hidden;
}

#bm-push-overlay.show {
  visibility: visible;
  pointer-events: auto;
}

#bm-push-dialog {
  background: white;
  padding: 20px;
  max-width: 90%;
  border-radius: 3px;
  text-align: center;
  font-weight: bold;
  opacity: 0.5;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#bm-push-overlay.show #bm-push-dialog {
  opacity: 1;
  transform: translateY(0);
}

#bm-dialog-buttons {
  margin-top: 20px;
  gap: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

#bm-dialog-buttons button {
  cursor: pointer;
  border: none;
}*/

.wonderpush-bell.wonderpush-right {
  right: 5% !important;
  bottom: 174px !important;
  transition: none !important;
  opacity: 1 !important;
}
.wonderpush-bell.wonderpush-discrete .wonderpush-icon-container {
  border-radius: 22px !important;
  opacity: 1 !important;
  height: 44px !important;
  width: 44px !important;
}
.wonderpush-bell.wonderpush-discrete:hover {
  width: auto !important;
}
.wonderpush-bell .wonderpush-paragraph {
  transition: none !important;
}
.wonderpush-bell .wonderpush-icon-container .wonderpush-icon {
  mask-image: url(/wp-content/uploads/2025/11/notification-dark-disabled.svg) !important;
  width: 76% !important;
  height: 74% !important;
  background: #011523 !important;
}
.wonderpush-bell.wonderpush-discrete
  .wonderpush-icon-container
  .wonderpush-icon {
  mask-image: url(/wp-content/uploads/2025/11/notification-navy-blue.svg) !important;
}
.wonderpush-dialog * {
  color: #011523 !important;
  text-transform: none !important;
}
.wonderpush-dialog-button {
  font-weight: bold !important;
  padding: 12px 10px !important;
  border-radius: 40px !important;
}
.wonderpush-bell .wonderpush-dialog,
.wonderpush-bell .wonderpush-dialog .wonderpush-dialog-title {
  border: none !important;
}

body.login .wonderpush-bell,
.wonderpush-dialog-advanced-settings-fineprint,
.wonderpush-bell .wonderpush-dialog .wonderpush-notification,
.wonderpush-bell.wonderpush-right .wonderpush-dialog:before {
  display: none !important;
}
.wonderpush-bell
  .wonderpush-dialog
  .wonderpush-dialog-advanced-settings
  .wonderpush-dialog-advanced-settings-button-container {
  margin: 10px 0 0 !important;
}
.wonderpush-bell .wonderpush-dialog .wonderpush-dialog-button-container {
  margin: 0 10px 10px !important;
}

/* wonderpush banner */
.superpwa-sticky-banner {
  .superpwa-stky-blk {
    margin-left: 0%;
    h2 {
      display: none !important;
    }
    span.superpwa-butn {
      padding: 13px 20px;
    }
  }
  a.superpwa_add_home_close {
    right: 5%;
    top: auto;
    width: 40px;
    height: 40px;
    font-size: 35px;
    line-height: 35px;
  }
}
.firefox-ios .superpwa-sticky-banner {
  display: none !important;
}

/* ------------------------------------------------------------
   Altcha Overay
------------------------------------------------------------ */
div.altcha-overlay-backdrop,
div.altcha-overlay {
  display: none !important;
  z-index: -2 !important;
}
@layer {
  div.altcha-overlay-backdrop,
  div.altcha-overlay {
    display: none !important;
    z-index: -2 !important;
  }
}
