/*
 Theme Name:   WP-8 Webdesign Theme
 Theme URI:    https://wp-8.de
 Description:  WordPress Child-Theme from WP-8 Webdesign
 Author:       Manuel Wilms
 Author URI:   https://wp-8.de/
 Template:     generatepress
 Version:      2.5.8
*/

:root {
	--inline-padding-default: 30px;
	--nav-item-padding: 1.5em;
	--gp-logo-width: 15em;
	--space-xs: clamp(0.75rem, 0.65rem + 0.4vi, 1rem);
	--space-sm: clamp(1rem, 0.85rem + 0.6vi, 1.4rem);
	--space-s: clamp(1.5rem, 1.1rem + 1.2vi, 2.5rem);
	--space-m: clamp(2.5rem, 1.8rem + 2.2vi, 4.25rem);
	--space-l: clamp(4rem, 2.6rem + 4.2vi, 8rem);
	--space-xl: clamp(6rem, 3.8rem + 6.5vi, 12rem);
}

html {
	scroll-behavior: smooth;
	scroll-padding: 1.5em;
}

/* Helper */
.mw-hidden {
	display: none!important;
	visibility: hidden!important;
	pointer-events: none!important;
}

/* Hyphens break word */
.mw-hyphens-auto {
    word-wrap: break-word;
    overflow-wrap: break-word;
	  -webkit-hyphens: auto;
	    -ms-hyphens: auto;
	      hyphens: auto;
}

@media (max-width: 768px) {
    .mw-hyphens-auto-mobile {
        word-wrap: break-word;
        overflow-wrap: break-word;
          -webkit-hyphens: auto;
            -ms-hyphens: auto;
              hyphens: auto;
    }
}

@media (max-width: 660px) {
    .hyphens-mobile-auto {
        word-wrap: break-word;
        overflow-wrap: break-word;
          -webkit-hyphens: auto;
            -ms-hyphens: auto;
              hyphens: auto;
    }
}