
body,
html {
  overflow: auto;
  margin: 0;
  padding: 0;
  height: 100vh;
  height: auto;
  width: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  overscroll-behavior: none;
  overscroll-behavior-x: none;
  -ms-overflow-style: none;
  scrollbar-width: none;  
  overflow-y: scroll;
  display: table;
  background-color: black;
  scroll-padding-top: 140px; /* Add this to adjust scroll position */
  scroll-behavior: smooth; /* Optional: adds smooth scrolling */
}

::-webkit-scrollbar {
  display: none;
}

.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 1600px;
  margin: 0 auto;

}

.gradient-background-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust the height to match the header */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 
  );
  z-index: 2; /* Ensure it is behind the header but above other content */
  pointer-events: none; 
}

.gradient-background-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh; /* Adjust the height to match the header */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8) 5%,
    rgba(0, 0, 0, 0.05) 80%
  );
  z-index: 2; /* Ensure it is behind the header but above other content */
  pointer-events: none; 
}

.gradient-background-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50vh; /* Adjust the height to match the header */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.05) 80%
  );
  z-index: 2; /* Ensure it is behind the header but above other content */
  pointer-events: none; 
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  color: white;
  z-index: 11;
  box-sizing: border-box; /* Ensure padding is included in the width */
}

.logo-container {
  display: flex;
  align-items: center;
  user-select: none;
}
.logo img {
  height: 30px; /* Adjust the height to make the logo smaller */
}
.site-name {
  color: white;
  text-decoration: none;
  font-size: 24px;
  margin-left: 10px;
  letter-spacing: 4px;
}
.site-name .grey {
  font-weight: 100;
  color: rgb(180, 179, 179);
}
.hamburger {
  cursor: pointer;
}
.hamburger img {
  height: 30px; /* Adjust the height to fit the header */
  width: 30px; /* Adjust the width to fit the header */
  /* margin-right: 20px; */
}
.overlay-background {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0) 300%
  ); 
  height: 100svh; /* Full viewport height */
  width: 100vw; /* Full viewport width */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s;
  pointer-events: none;
}

.single .overlay-background, .category .overlay-background {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.overlay-background.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: fixed;
  margin: 0 auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
  padding-left: 10px;
  pointer-events: none;
}

.overlay-content {
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: auto;
  width: 100%;
  text-align: left;
  margin-left: 20px;
  margin-top: 50px; /* Adjust padding to align items to the left */
  max-width: 1600px;
}
@media (max-width: 1600px) {
  .overlay-content {
    width: calc(100% - 10px);
  }
}

.overlay a {
  padding: 8px 0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 200;
  color: white;
  display: block;
}
.overlay a:hover {
  color: #f1f1f1;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.tab-bar {
  display: flex;
  position: absolute;
  z-index: 2;
  justify-content: flex-start;
  width: calc(
    100% - 40px
  ); 
  padding-top: 30px;
  height: 35px;
  margin-top: -12px; 
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0) 90%
  );
  padding-bottom: 30px;
  
}

.tab-bar-container {
  display: flex;
  justify-content: space-between;
  margin-right: 30px;
  width: 100%;
  max-width: 600px;
}
.tab-bar .button-container button {
  border: none;
  background: transparent;
  color: grey;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 0px;
  font-family: "Helvetica Neue", Arial, sans-serif; /* Explicitly set the font-family */
  font-weight: 200;
  margin-bottom: -2px;
  /* border-bottom: 3px solid transparent; */
}
.tab-bar button:hover {
  color: #f1f1f1;
}

.tab-content {
  position: absolute;
  top: 60px;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: scroll;
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  user-select: none;
  align-items: flex-start;
  box-sizing: border-box;
}

.tab-bar .button-container.active button {
  border: none;
  color: white;
  font-weight: 500;
  /* border-bottom: 3px solid white; */
  margin-bottom: -2px;
}

.square {
  width: 32px;
  height: 32px;
  border: 1px solid white;
  display: inline-block;
  margin-right: 10px; /* Space between the square and the link */
}

.square-right {
  width: 32px;
  height: 32px;
  border: 1px solid white;
  border-right: 4px solid white;
  display: inline-block;
  margin-right: 10px; /* Space between the square and the link */
  box-sizing: border-box;
}

.category-nav-image {
  width: 100%; 
  height: 100%;
  object-fit: cover;  
}
.sub-tab-content a {
  display: flex;
  align-items: center; /* Vertically center the text */
  /* min-width: 718px; */
}
.hamburger {
  display: inline-block;
  vertical-align: top;
}

.sub-tab-content.active {
  left: 0;
  visibility: visible;  
  opacity: 1;
}

.sub-tab-content {
  position: absolute;
  background-color: transparent;
  top: 0;
  width: calc(100% - 40px);
  height: 100%;
  color: white; 
  vertical-align: top;
  align-items: flex-start; /* Vertically center the text */
  transition: opacity 0.6s ease;
  flex-direction: column;
  visibility: collapse;
  opacity: 0;
  display: flex;
  overflow-y: auto;

}

.sub-tab-content.fade-out {
  a,img{
    pointer-events: none;
    opacity: 0;
  }
}

.back-button-container {
  width: calc(100vw - 60px);
  display: flex ;
}


@media (min-width: 768px) { /* Adjust the breakpoint as needed */
  .sub-tab-content {
    right: auto;
    width: calc(50vw - 30px);
  }

  .back-button-container {
    width: calc(50vw - 30px);
  }
  

  .sub-tab-content a{
    width: 100%;
  }

  .sub-tab-content.active {
    position: relative;
    left: 0;
    /* visibility: visible;  */
    opacity: 1; 
  }

  .sub-tab-content.fade-out {
    a, img 
    {
      pointer-events: auto;
      opacity: 1;
    }  
    a {
      opacity: 0.5;
    }
    a.active {
      opacity: 1;
    }
  }  

  .sub-tab-content.removed{
    visibility: collapse !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -100vw !important;
  }  
}


@media (min-width: 1024px) { /* Big screens */
  .sub-tab-content {
    right: auto;
    width: 507px;
    max-width: calc(33vw - 23px);
  }  

  .back-button-container {
    width: 507px;
    max-width: calc(33vw - 23px);
  }

  .sub-tab-content a{
    width: 100%;
  }


  .sub-tab-content.active {
    position: relative;
    left: 0;
    /* visibility: visible; */
    opacity: 1;
  }

  .sub-tab-content.fade-out a {
    pointer-events: auto;
    opacity: 0.5;
  }
  .sub-tab-content.fade-out a.active {
    opacity: 1;
  }
}

.categorie1 {
  margin-top: 80px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 0px;
  margin: 0 auto; /* Center the breadcrumbs */
  max-width: 1600px; /* Match container max-width */
  padding-left: 40px;
  /* background: rgba(0, 0, 0, 0.7); */
  font-weight: 200;
  font-size: 18px;
  color: white;
}
.breadcrumb > a {
  margin: 0 5px;
  text-decoration: none;
  white-space: nowrap;
}
.breadcrumb > a:first-of-type {
  margin: 0 5px 0 0;
}
.breadcrumb > span {
  margin: 0 5px;
  text-decoration: none;
}

.category-container > .breadcrumb {
  margin: 0;
  padding-left: 0;

  /* max-width: 1600px; */
}

@media (max-width: 1680px) {
  .breadcrumb {
    padding-left: max((100vw - 1600px) /2, 0px);
  }
}

.title {
  font-size: 20px;
  color: white;
  margin: 20px 20px;
  font-weight: 200;
}
.columns-container {
  display: flex;
  margin: 20px 10px;
  height: 100%; /* Ensure the container takes the full height */
}

.column {
  display: flex;
  flex-direction: column;
  padding: 10px;
  color: white;
  font-size: 12px;
  margin-right: 10px;
  flex-grow: 1; /* Ensure columns take the full height */
}

.column-1 {
  flex: 2.6; /* 2.6 parts of the available space */
}

.column-2 {
  flex: 1; /* 1 part of the available space */
}

.column-3 {
  flex: 1.6; /* 1.6 parts of the available space */
}

.column-3 img {
  width: 100%;
  object-fit: cover; /* Ensures the image covers the entire column while maintaining aspect ratio */
}

/* Optional: Remove margin from the last column */
.column:last-child {
  margin-right: 0;
}

.rows-container {
  display: grid;
  grid-template-rows: 55vh 45vh; /* Two equal rows */
  height: calc(
    100svh - 60px
  ); /* Adjust height to fit within the viewport, accounting for margins */
  margin: 20px 15px;
}

.row {
  padding: 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  margin-bottom: 10px;
}

.row-1 {
  overflow-y: auto; /* Add scroll if content overflows */
}

.row-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.row img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire row while maintaining aspect ratio */
}

/* Optional: Remove margin from the last row */
.row:last-child {
  margin-bottom: 0;
}

.background-images {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.background-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.glide__slides {
  width: 100%;
  height: 100%;
}

#back-button-icon{ 
  margin-bottom: -5px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  justify-content: center;
  width: 30px;
}

#back-button-icon img{ 
  height: 20px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

#back-button-icon img + img{ 
  margin-left: -6px;
}

#catalogTab {
  margin-left: 40px;
}

article {
  margin: 100px auto;
  /* max-width: 1600px; */
  min-height: 100svh;
  padding: 0 20px;
  box-sizing: border-box;
}

#main {
  margin: 100px auto;
  max-width: 1600px;
  padding: 0 20px;
  box-sizing: border-box;
  color: white;
  min-height: 100svh;
}

.post-template-default {
  background-color: black;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  color: white;
}

.category-nav-header-image {
  width: 100%;
  aspect-ratio: 2;
  margin-left: 0;
  object-fit: cover;
}

@media (max-width: 1600px) {
  .category-nav-header-image {
    margin-left: 0px;
  }
}

.category-nav-header {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
}
.category-nav-header-image {
  display: block;
  width: 100%;
  height: auto;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.category-name {
  color: white;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  font-weight: 200;
  mix-blend-mode: difference;
  padding-left: 40px;
  padding-bottom: 3px;

}

.back-button-bar {
  display: flex;
  user-select: none;
  cursor: pointer;
}


.back-button {
  display: flex;  
  color: white;
  font-weight: 500;
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 0px;
  font-family: "Helvetica Neue", Arial, sans-serif; /* Explicitly set the font-family */
  margin-bottom: -2px;
  left: 40px;
  position: absolute;
}

#backButton2, #backButton3 {
  padding-left: 20px;
  box-sizing: border-box;
  margin-left: 20px;
}

.spacing {
  margin: 16px; /* Adjust the value as needed */
}

.blur {
  filter: blur(6px);
  transition: filter 0.5s;
}

.imprint-link {
  display: block;
  color: white;
  font-size: 12px;
  font-weight: 200;
  min-width: none;
}

#content {
  height: 100svh;
  width: 100vw;
}

#site-footer {
  z-index: 10;
  background-color: black;
  color: white;
  text-align: left; /* Change text alignment to left */
  padding: 20px 0;
  width: 100%;
  min-height: 100px;
}

.footer-content {
  box-sizing: border-box;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Allow wrapping */
}

.footer-column {
  flex: 1;
  /* padding: 10px; */
}

.footer-column:nth-child(2) {
  flex: 2; /* Make the middle column wider */
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 15px;
  padding: 0 40px;
}

.footer-column ul li a {
  text-decoration: none;
  color: white;
  font-weight: 200; /* Set font weight to 200 */
}

.footer-center {
  text-align: center;
  margin-top: 20px;
}

.footer-logo-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.footer-link-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px; /* Add space between links */
}

.footer-copyright {
  margin-top: 10px;
  font-size: 0.9em;
  font-weight: 200; /* Set font weight to 200 */
  color: white;
}

.footer-widgets-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px; /* Optional: Add some padding for better spacing */
    box-sizing: border-box;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-widgets .widget {
    flex: 1 1 300px; /* Adjust the minimum width of widgets */
}

.lang-item {
  list-style: none;
  margin-right: 50px;
}

.lang-item a {
  padding: 10px;
}

.widget_polylang ul{
  display: flex;
  padding-inline-start: 0;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Stack columns vertically */
    align-items: center; /* Center align columns */
  }

  .footer-column {
    max-width: 100%; /* Allow columns to take full width */
    text-align: center; /* Center align text */
  }

  .lang-item {
    display: inline-block;
  }
}

.alignleft {
  float: left;
  margin-right: 1em;
}

.alignRight {
  float: right;
  margin-left: 1em;
}

#ez-toc-container {
  position: fixed;
  z-index: 8;
  border: none;
  background: transparent !important;
  left: max((100vw - 1600px) / 2, 0px);
  font-size: 0.9em;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
#ez-toc-container ul li {
  font-weight: 400 !important;
}


@media (max-width: 1024px) {
  #ez-toc-container{
    display: none;
  }
}

.small-gap {
  gap: 10px;
}

footer#site-footer {
  position: relative; /* Ensure the pseudo-element is positioned relative to the footer */
  z-index: 0;
}

body:not(.home)::before{
  background-image: linear-gradient( top, 
    rgba( 0, 0, 0, 0 ) 80%, 
    rgba( 0, 0, 0, 1 ) 100% );
  background-image: -moz-linear-gradient( top, 
    rgba( 0, 0, 0, 0 ) 80%, 
    rgba( 0, 0, 0, 1 ) 100% );
  background-image: -ms-linear-gradient( top, 
    rgba( 0, 0, 0, 0 ) 80%, 
    rgba( 0, 0, 0, 1 ) 100% );
  background-image: -o-linear-gradient( top, 
    rgba( 0, 0, 0, 0 ) 80%, 
    rgba( 0, 0, 0, 1 ) 100% );
  background-image: -webkit-linear-gradient( top, 
    rgba( 0, 0, 0, 0 ) 80%, 
    rgba( 0, 0, 0, 1 ) 100% );
  content: "\00a0";
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 99999;
  pointer-events: none;
}
