/*

Theme Name: X – Child Theme
Theme URI: https://theme.co/x/
Author: Themeco
Author URI: https://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

/* XTHEME FLEXSLIDER - GOLF-ZECHE-STYLE */
body.single-portfolio .flexslider,
body.single-portfolio .gallery.flexslider {
    max-width: 100vw !important;
    margin: 0 calc(-50vw + 50%) 2rem !important;
    padding: 2rem calc(50vw - 50%) !important;
}

body.single-portfolio .flexslider .slides img {
    height: 75vh !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: 8px;
}

body.single-portfolio .flex-direction-nav a {
    background: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(10px);
    width: 45px !important;
    height: 45px !important;
}

/* NAVBAR ANIMATION AUS */
.x-navbar {
  transition: none !important;
}

/* SCROLLBAR AUSBLENDEN – REFERENZEN */
body.page-id-311 {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}

body.page-id-311::-webkit-scrollbar {
  display: none;             /* Chrome/Safari */
}
@media (max-width: 979px) {
.x-recent-posts.square.x-recent-posts.cf {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
gap: 1rem !important;
width: 100% !important;
padding: 0 !important;
margin: 0 !important;
}

.x-recent-posts .x-recent-posts-date {
display: none !important;
}

.x-recent-posts.square.x-recent-posts.cf > a {
position: static !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
float: none !important;
flex: none !important;
transform: none !important;
left: auto !important;
top: auto !important;
}
}
@media (max-width: 767px) {
.x-recent-posts.square.x-recent-posts.cf {
justify-content: space-between !important;
display: flex !important;
flex-wrap: wrap !important;
width: 100% !important;
padding: 0 !important;
margin: 0 !important;
}

.x-recent-posts.square .x-recent-post {
flex: 0 0 calc(50% - 1rem) !important;
max-width: calc(50% - 1rem) !important;
margin: 0 0 1rem 0 !important;
width: calc(50% - 1rem) !important;
}
 .x-recent-posts.square.cf {
    display: block !important;
  }

  .x-recent-posts.square.cf::after {
    content: "";
    display: table;
    clear: both;
  }

  .x-recent-posts a[class^="x-recent-post"] {
    width: calc(50% - 0.5rem) !important;
    float: left !important;
    margin-right: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .x-recent-posts a[class^="x-recent-post"]:nth-child(2n) {
    margin-right: 0 !important;
  }
}
.x-framework-icon:only-child, .x-btn-navbar>.x-framework-icon {
  display: none !important;
}