/*
Theme Name:     Kadence Child Theme (Kadence)
Theme URI:      https://bytegold.com
Template:       kadence
Author:         Bytegold
Author URI:     https://bytegold.com
Description:    Bytegold Theme based on Kadence WP Theme
Version:        1.0.0
*/


@media screen and (max-width: 1024px) {
  body.has-left-sidebar .content-area .site-container {
    display: flex;
    flex-direction: column-reverse;
  }
  body.has-left-sidebar .content-area .site-container #secondary {
    width: 100%;
  }
}

.wp-block-image.drop-shadow img,
.wp-block-kadence-image.drop-shadow img {
  filter: drop-shadow(3px 3px 15px rgba(0, 0, 0, 1));
}


/* Header language switch ([ncs_language_switch]) */
.ncs-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: var(--global-palette3);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.ncs-language-switch:hover,
.ncs-language-switch:focus {
  color: var(--global-palette1);
}

/* Long German words in headings: hyphenate instead of breaking mid-word on small screens.
   Needs the page language (lang attribute), which WordPress/WPML set per page. */
h1, h2, h3, h4, h5, h6 {
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  overflow-wrap: break-word;
}

/* Kadence puts a column's background and padding on its inner wrapper, which does not
   stretch with the column. Let it fill the column, so columns used as cards in one row
   get the same height. Rows with vertical alignment set do not stretch their columns,
   so they are not affected. */
.wp-block-kadence-column > .kt-inside-inner-col {
  flex-grow: 1;
}
