/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


@media (min-width: 992px) {
  .ct-header .ct-toggle-dropdown-desktop {
    display: none !important;
  }

  .ct-toggle-dropdown-desktop svg {
    display: none !important;
  }
}

.custom-language-switcher {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #3A4F66;
  cursor: pointer;
}

.custom-language-switcher .lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.custom-language-switcher .lang-icon {
  transition: transform 0.2s ease;
}

.custom-language-switcher:hover .lang-icon {
  transform: rotate(180deg);
}

.custom-language-switcher .lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  min-width: 60px;
  padding: 5px 0;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.custom-language-switcher:hover .lang-dropdown {
  display: block;
}

.custom-language-switcher .lang-dropdown li {
  text-align: left;
  padding: 0;
}

.custom-language-switcher .lang-dropdown li a {
  display: block;
  padding: 6px 12px;
  color: #3A4F66;
  text-decoration: none;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.custom-language-switcher .lang-dropdown li a:hover {
  background-color: #f0f0f0;
  color: #1e76ea;
}


/* Haupt-Content begrenzen */
article .entry-content, 
article .ct-title-block {
    max-width: 930px !important;
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
}

/* Falls Blocksy Container verwendet */
.ct-container article {
    max-width: 930px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

input[type="search"]:focus {
  outline: none;
  box-shadow: 0 0 0 0px #7aa6ff; /* zarter blauer Schimmer */
  border-radius: 0px; /* schön abgerundet */
  transition: box-shadow 0.2s ease;
}

/* Container */
.werte-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px; /* Abstand zwischen Kacheln */
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding-left: 20px;  /* Abstand links */
  padding-right: 20px; /* Abstand rechts */
}

/* Mobil: mehr Rand */
@media (max-width: 1024px) {
  .werte-container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .werte-container > * {
    flex: 0 0 300px;
  }
}



