/*======================================
Theme Name: Child-Theme
Theme URI: http://www.leadohm.de/wp-content/themes/generatepress-child/
Description: GeneratePress Child Theme
Version: 1.0
Author: Manuel Zink
Template: generatepress
======================================*/

/*========================*/
/*        General         */
/*========================*/
h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #1d1d1d;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1d;
}

a svg {
  fill: #551a8b;
  transition: transform 0.2s ease-in-out, fill 0.2s ease-in-out;
}

a:hover svg {
  transform: scale(1.1);
  fill: #1d1d1d;
}

/*========================*/
/*       Navigation       */
/*========================*/
nav#generate-slideout-menu.main-navigation.offside {
  width: 300px;
}

.offside-js--is-left.slide-opened .slideout-overlay button.slideout-exit {
  left: 300px;
}

.main-navigation ul ul {
  box-shadow: none !important;
}

#generate-slideout-menu ul {
  display: block;
}

.slideout-navigation.main-navigation .main-nav ul ul {
  padding: 0 20px;
}

.slideout-navigation .dropdown-menu-toggle {
  opacity: 0;
  margin-left: -0.8em;
  visibility: hidden;
}

/*========================*/
/*  Social Media Icons    */
/*========================*/
.custom-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.custom-social-icons a {
  color: #551a8b;
  transition: color 0.3s ease, transform 0.2s ease;
}

.custom-social-icons a:hover {
  color: #7946c1;
  transform: scale(1.1);
}

.custom-social-icons svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 480px) {
  .custom-social-icons {
    gap: 12px;
  }

  .custom-social-icons svg {
    width: 28px;
    height: 28px;
  }
}

/*========================*/
/*     Abstandshalter     */
/*========================*/

.gap-between {
  padding-top: 40px;
  padding-bottom: 40px;
}

/*========================*/
/*      MasterSlider      */
/*========================*/
.masterslider-outer-wrapper {
  padding-left: 5vw;
  padding-right: 5vw;
  box-sizing: border-box;
}

.masterslider-wrapper {
  max-width: 850px;
  width: 100%;
  margin: 20px auto 150px;
  padding: 10px;
  background-color: #fff;
  box-sizing: border-box;
}

.masterslider-wrapper .master-slider {
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
}

/*========================*/
/*         Zitat          */
/*========================*/
.zitat {
  padding: 40px 20px 20px 70px;
  position: relative;
  font-size: 1.5em;
  color: #1d1d1d;
  border: none;
}

.zitat:before {
  content: '\FF02';
  font-size: 55px;
  width: 60px;
  line-height: 100px;
  font-weight: 550;
  text-align: left;
  color: #551a8b;
  position: absolute;
  top: 0;
  left: 0;
}

/*========================*/
/*     Book Section       */
/*========================*/
.books-scroll-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  padding: 0;
  box-sizing: border-box;
  gap: 0.5rem;
}

.books-scroll-buttons-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  background: transparent;
}

.books-scroll-button {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #1d1d1d;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.books-scroll-button:hover,
.books-scroll-button:focus {
  color: #551a8b;
  background: #fff;
  outline: none;
  transform: scale(1.1);
}

.books-scroll-hints {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  opacity: 0.6;
  font-style: italic;
  font-weight: bold;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.books-horizontal-scroll {
  display: flex;
  overflow-x: scroll !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.books-horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.books-horizontal-scroll > * {
  flex: 0 0 auto;
  width: clamp(250px, 30vw, 400px);
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.books-horizontal-scroll img {
  height: 400px;
  width: auto;
  object-fit: cover;
}

.gb-element-762c6e87 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/*========================*/
/*        Accordion        */
/*========================*/
.aab__accordion_title,
.aab__accordion_subheading,
.aab__accordion_body,
.aab__accordion_component,
.aab__accordion_component p {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

#aab_accordion_aae844a6_0 {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

#aab_accordion_aae844a6_0 .aab__accordion_title {
  text-align: center !important;
  justify-content: center !important;
  width: 100%;
}

#aab_accordion_aae844a6_0 .aab__accordion_heading {
  display: flex;
  justify-content: center;
}

/*========================*/
/*     Video Section      */
/*========================*/
.video-scroll-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  padding: 0;
  box-sizing: border-box;
  gap: 0.5rem;
}

.video-scroll-buttons-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  background: transparent;
}

.video-scroll-button {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #1d1d1d;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.video-scroll-button:hover,
.video-scroll-button:focus {
  color: #551a8b;
  background: #fff;
  outline: none;
  transform: scale(1.1);
}

.video-scroll-hints {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  opacity: 0.6;
  font-style: italic;
  font-weight: bold;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-horizontal-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.video-horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.video-horizontal-scroll > * {
  flex: 0 0 auto;
  width: 650px;
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.video-horizontal-scroll img {
  height: auto;
  width: 100%;
  object-fit: cover;
}

/*========================*/
/*      Pressefotos       */
/*========================*/
.pressefoto-gallery {
  margin-top: 2rem;
}

.pressefoto-gallery-a,
.pressefoto-gallery-b {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  justify-items: center;
  margin-bottom: 2rem;
}


.pressefoto-gallery img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.pressefoto-gallery img:hover {
  transform: scale(1.04);
}

.pressefoto-gallery p {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/*========================*/
/*    Download Button     */
/*========================*/
.slb_download-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9999;
  background: none;
  border: none;
  padding: 0.25em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slb_download-button svg {
  width: 28px;
  height: 28px;
  fill: #551a8b;
  transition: fill 0.2s ease;
}

.slb_download-button:hover svg {
  fill: #551a8b;
}


/*========================*/
/*     Media Queries      */
/*========================*/
@media (max-width: 768px) {
  .books-mobile-hint,
  .video-mobile-hint {
    display: inline;
  }

  .books-desktop-hint,
  .books-scroll-buttons-container .books-scroll-button,
  .video-desktop-hint,
  .video-scroll-buttons-container .video-scroll-button {
    display: none;
  }

  .video-horizontal-scroll > * {
    width: 350px;
  }
}


@media (min-width: 1025px) {
  .books-mobile-hint,
  .video-mobile-hint {
    display: none;
  }

  .books-desktop-hint,
  .books-scroll-buttons-container .books-scroll-button,
  .video-desktop-hint,
  .video-scroll-buttons-container .video-scroll-button {
    display: inline;
  }

  .video-horizontal-scroll > * {
    width: 650px;
  }
}

@media (max-width: 767px) {
  .pressefoto-gallery-a,
  .pressefoto-gallery-b {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .pressefoto-gallery img {
    max-width: 100%;
    border-radius: 4px;
  }
}

@media (pointer: coarse) {
  .books-desktop-hint,
  .video-desktop-hint,
  .books-scroll-buttons-container .books-scroll-button,
  .video-scroll-buttons-container .video-scroll-button {
    display: none !important;
  }

  .books-mobile-hint,
  .video-mobile-hint {
    display: inline !important;
  }
}

@media (pointer: fine) {
  .books-desktop-hint,
  .video-desktop-hint,
  .books-scroll-buttons-container .books-scroll-button,
  .video-scroll-buttons-container .video-scroll-button {
    display: inline !important;
  }

  .books-mobile-hint,
  .video-mobile-hint {
    display: none !important;
  }
}
