.glide__arrows {
     display: block;
}
 .glide__slides .lg\:grid-cols-2 img {
     height: auto !important;
}
.border article.carousel-list-page .glide__thumbs {
  padding-right: 1rem;
}
#gallery-sections section.mb-24 {
  margin-bottom: 2rem;
}
#gallery-sections h2,
#gallery-sections h3, 
#gallery-sections h4,
#gallery-sections h5,
.lead {
 font-size: 22px;
 margin: 0 0 25px !important;
 font-weight: 700 !important;
}
#gallery-sections h4,
#gallery-sections h5 {
 font-size: 19px;
}
#content-ausstattung {
 padding: 48px 25px 0;
}
#content-gallery section.pt-24 {
 padding-top: 3rem;
 padding-bottom: 3rem;
}

#beschreibung #content-beschreibung .md\:col-span-3.pp-collapsed > p:nth-of-type(n+5) {
  display: none;
}

#beschreibung #content-beschreibung .readmore {
  margin: 30px 0;
}

#offer-details-sticky-menu {
  z-index: 14;
}

#content-lage .cmppreviewroot {
 width: 100% !important;
 height: 100% !important;
}

main #beschreibung ul li,
main #content-ausstattung ul li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  line-height: 1.3rem;
}

main #beschreibung a,
main #content-ausstattung a {
  color: rgb(216 31 38);
  text-decoration: none;
}

main #beschreibung a:hover,
main #content-ausstattung a:hover {
  text-decoration: underline;
}

main header h1 +h2, 
main header h2 +h3 {
  font-size: 24px;
  margin: 20px 0 5px;
}

#mobileMenu a +ul li a {
 display: block;
 padding-left: 1.5em;   
 text-indent: -1.3em; 
}

#customModal .justify-end {
 justify-content: flex-start;
}

#customModal .justify-end a {
 margin-top: 0;
}


 @media (max-width: 1024px) {
     header.fixed a.items-center {
         margin-bottom: 1rem;
    }
     .pt-24, .py-24 {
         padding-top: 3rem;
    }
    .pb-24 {
      padding-bottom: 3rem;
    }
     .pt-32  {
         padding-top: 4rem;
    }
    .pb-32 {
        padding-bottom: 4rem;
    }
    #gallery-sections {
      margin-bottom: 20px !important;
    }
    #gallery-sections section.mb-24 {
      margin-bottom: 0rem;
    }
    .glide__slide div.container {
      padding: 0 60px;
    }

   .glide .container .glide__arrows .glide__arrow--left {
      margin: 0 0 0 25px;
    }

    .glide .container .glide__arrows .glide__arrow--right {
      margin: 0 25px 0 0;
    }

   .bg-white .glide__arrow svg {
     stroke: white;
   }

   article.carousel-list-page {
     margin: 0 0 10px;
   }

   article.carousel-list-page + div.pl-4 {
       padding-right: 1rem;
   }

   article.carousel-list-page + div .rounded-full {
       display: block;
       margin: 0 0 5px;
   }

  .detail-page button.border-b {
    font-size: 26px;
  }
   
  #beschreibung #content-beschreibung .md\:col-span-3.pp-collapsed > p:nth-of-type(n+3) {
    display: none !important;
  }
   
  #beschreibung #content-beschreibung .md\:col-span-3.pp-collapsed > p:nth-of-type(2).lead {
    display: none !important;
  }

   #beschreibung #content-beschreibung .grid-cols-1 p.text-primary {
     margin: 5px 0 50px;
   }

  #customModal p,
  #customModal h1,
  #customModal h2,
  #customModal h3,
  #customModal h4,
  #customModal h5 {
     margin: 0;
  }

   main header h1 +h2, 
   main header h2 +h3 {
    font-size: 18px; 
  }
}

 @media (max-width: 768px) {
  .bg-white .glide__arrow {
    border-color: rgb(255 255 255 / var(--tw-border-opacity, 1)) !important;
  } 
 }

 @media (max-width: 600px) {
  #customModal img {
     height: 200px;
  }

  #scrollToTopBtn {
    right: 20px;
    bottom: 20px;
   }

   .col-span-2 {
      grid-column: span 4 / span 4;
   }
 }

 @media (max-width: 450px) {
  .glide__slide .h-full .h-\[360px\] img.h-full,
  .glide__slide .h-full .h-\[360px\] {
    max-height: 238px;
  }

   article.carousel-list-page .md\:h-\[80vh\].with-thumbs {
     height: 300px;
   }

  article.carousel-list-page .h-\[335px\],
  article.carousel-list-page .glide__slide img.h-full,
  article.carousel-list-page .glide__slide {
    max-height: 238px;
  }

  .detail-page .h-\[55vh\],
  .detail-page .glide__slide img.h-full,
  .detail-page .glide__slide {
    max-height: 270px;
  }

  .grid .col-span-1 .border .aspect-video img {
    height: 238px;
  }

  .grid .col-span-1 .border .aspect-video {
    height: 238px;
    margin: 0 0 10px !important
  }
 }
