/*
Theme Name: Hybrid
Theme URI: http://werbestudio-hild.de
Author: Werbestudio Hild
Description: Hybrid FSE Theme
Version: 1.0
*/

/* WP Gallery Block Fix: Display all Images same height */
.wp-block-gallery.has-nested-images figure.wp-block-image img {
  aspect-ratio: 1; /* squared size thumbnails */ 
  object-fit: cover;
  }
  .wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-grow: 0; /* width fix */ 
  }
  
  @media(max-width:1200px){
      .wp-block-columns.is-layout-flex {
          padding: 20px;
      }
  }

 .wp-block-image, 
 .wp-block-image img{
    transition: all 1s;
    height: 150px;
  }

html, body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    overflow-wrap: unset;
    word-break: unset;
    hyphens: auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: #111;
}

p{hyphens:auto;}

strong {
    font-weight: bolder;
}

p,ul,li{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: #111;
    -webkit-font-smoothing: antialiased;
}

li{
    padding-bottom: 20px;
}

a{
    text-decoration: none;
    color:#111;
}

.scrolloffset {scroll-margin-top: 200px;}
.wp-block-button{transition: all 1s;}

.wp-block-button .wp-block-button__link:where(.is-style-outline), .wp-block-button:where(.is-style-outline)>.wp-block-button__link {
    border: 1px solid;
    padding: 0.667em 1.333em;
}

.wp-block-button:hover{letter-spacing:2px;}

.alignwide{
    /* width:1400px; */
    margin: 0 auto;
}

.gap0{gap: 0;}

/* @media(max-width:1399px){
    .alignwide{width:100vw; padding: 0 40px;}
} */


.hero-headline {
    font-size: 45px;
    font-weight: 800;
    line-height: 1em;
    letter-spacing: 1.5px;
    color: #444;
}

.hero-headline-small {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #7d7d7d;
    display: block;
}

.hero-headline-small strong {
    font-weight: 600;
    letter-spacing: 1.5px;
}

#content{
  background-color: rgba(158, 158, 158, 0.1);
  padding: 50px 0 115px 0;
  min-height: calc(100vh - 550px);
}

#content:before {
    content: " ";
    position: absolute;
    z-index: 0;
    left: 0;
    width: 100%;
    height: 200px;
    margin-top: -150px;
    background: #fff;
    transform-origin: 0 0;
    transform: skewY(-3deg);
}

h1,h2,h3{
    line-height: 1.5;
    font-weight: 300;
    font-size: 30px;
    letter-spacing: 1px;
    padding-bottom: 20px;
    color: #333;
}

#content a{
  text-decoration: underline;
}

/* Tab Plugin */
.wp-block-easy-tabs-block-tab-contents {
    background-color: transparent;
    border: none;
    padding: 0;
}

.wp-block-easy-tabs-block-tab-button {
    border: none;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    padding: 1rem;
    position: relative;
    text-decoration: none;
    width: 32.7%;
    text-align:center;
}

.wp-block-gallery img{
    filter: grayscale(100%);
}

#return-to-top{
    position: fixed;
    right: 20px;
    bottom: 50px;
    background-color: #fff;
    z-index: 999;
    padding: 20px 25px;
    cursor:pointer;
}

footer {
    height: 250px;
    position: relative;
    z-index: 10;
}

.border-left-right{
  border-left: 1px solid #dee2e6 !important;
  border-right: 1px solid #dee2e6 !important;
}

footer:before {
    content: " ";
    position: absolute;
    z-index: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: #fff;
    transform-origin: 0 0;
    transform: skewY(-3deg);
}

/* Book Card */

/* .book-card .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    object-fit: contain;
}

#book-galerie a{
  display: none!important;
} */

/* #book-galerie a:first-child {
  display: block!important;
} */

.box{
    background: #fdfdfd;
    border: 15px solid #fdfdfd;
    height: 250px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, .05);
    transition: all 0.5s;
    position: relative;
}

.box:hover {
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.40);
}

.book-headline h3{
    margin-top: 20px;
    font-size: 18px;
    font-style: normal;
    hyphens:none;
    padding:0;
    font-weight: 600;
    margin-bottom: 2px;
}

.book-text p{
    font-size: 14px;
    hyphens: auto;
    text-align: justify;
}

#book-galerie a{
  display: none!important;
}

.readbtn{
    text-decoration: none!important;
    background: #f3f3f3;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    padding: 15px 20px;
    box-shadow: none;
    letter-spacing: 0.5px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.book-previmg{
    width: 150px;
    overflow: hidden;
    float: left;
    margin-right: 20px;
}

.book-previmg img{
    height: 200px;
    overflow: hidden;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: .7;
    transition: all 1s;
    float: left;
    margin-right: 20px;
    border: 1px solid #ccc;
}


/* Kontaktformular */
input{
    font-family: 'Montserrat', sans-serif;
    height: 50px;
    border: none;
    border-radius: 0;
    margin-bottom: 30px;
    width:100%;
    text-indent: 10px;
}

textarea{
    font-family: 'Montserrat', sans-serif;
    text-indent: 10px;
    height: 170px;
    padding-top: 15px;
    border: none;
    border-radius: 0;
    width:100%;
}

input[type="submit"]{
    background: #333;
    color: #fff;
    border: none;
    width: 150px;
    height: 50px;
}

input[type="checkbox"]{
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
}

.wpcf7-list-item {
    margin: 0;
}