/*
Theme Name:   GeneratePress Child
Theme URI:    https://de.wordpress.org/themes/generatepress/
Description:  Child Theme für GeneratePress
Author:       Dein Name
Author URI:   Deine Website
Template:     generatepress
Version:      1.0
*/

/* Grundlayout */
body {
    background-color: #242121;
	font-size: 1em !important;
}

/* Footer */
.site-info {
	background-color: #242121;
	color: #ffffff;
}

.entry-title {
    font-size: 2em;
}

.wp-block-heading {
	font-weight: bold;
}

.wp-block-image {
	margin-bottom: 1em;
}

.site-content .content-area {
    width: 100%;
	height: 100%;
}

.separate-containers .site-main {
	margin: 2px;
}

.inside-header {
	gap: 0em !important;
}

.site-logo {
	padding: 0.2em 0;
}

/* Weißer Inhaltsbereich breiter und zentriert */
.separate-containers .inside-article,
.separate-containers .page-header,
.one-container .site-content,
.one-container .inside-article {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.entry-content {
	margin-top: 1.5em !important;
}


/* Sidebars */
.is-left-sidebar {
	width: 12%;
}
.is-right-sidebar {
	width: 12%;
}

/* Header */

.inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25em;
	padding: 0px 40px;
}

.site-branding-container {
    display: flex;
    align-items: center;
    gap: 1em;
}

.site-logo img {
    display: block;
    max-width: 16em;
    height: auto;
}

.site-branding .main-title {
    margin: 0;
    font-size: 2.3em;
    line-height: 1.15;
}

.site-branding .site-description {
    margin: 0.375em 0 0 0;
    font-size: 1.5em;
    line-height: 1.35;
}

/* Hamburger-Button */

.main-navigation .menu-toggle {
 	color: #fff;
	background-color: #242121;
}

.menu-toggle {
	display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 4em;
    min-height: 4.4em;
    padding: 1.2em 1em 0.7em 1em;
    line-height: 1;
	font-size: 1.2em;
}

/* sichtbare Beschriftung über dem Icon */
.menu-toggle::before {
    content: "Menu";
    position: absolute;
    top: 0.7em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* eingeblendeten Text aus dem Theme ausblenden,
   damit nichts doppelt erscheint */
.menu-toggle .mobile-menu {
    display: none;
}

/* Screenreader-Text unsichtbar, aber zugänglich lassen */
.menu-toggle .screen-reader-text {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

/* Icon größer */
.menu-toggle .gp-icon,
.menu-toggle svg {
    width: 1.9em;
    height: 1.9em;
	
}

#site-navigation.toggled .main-nav ul li a,
#site-navigation.toggled .main-nav ul li > a {
    display: block;
    font-size: 1.2em;
    line-height: 1.4;
    font-weight: 600;
    text-align: right;
   padding: 0.25em 0.875em 0.4em 1em;
}

/* Navigation geöffnet */
.has-inline-mobile-toggle #site-navigation.toggled {
	margin: 0.2em 0;
}
/* Galerie */
.fancybox-title-inside {
    font-size: 1.5em;
    font-weight: bold;
}


/* Mobile */
@media (max-width: 48em) {
    .inside-header {
        align-items: flex-start;
    }

    .site-branding-container {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0.3em;
    }

    .site-logo img {
        max-width: 12em;
    }

    .site-branding .main-title {
        font-size: 1.5em;
        line-height: 0.8;

    }

    .site-branding .site-description {
        margin: 0 0 1em 0 ;
        font-size: 0.8125em;
    }

    .copyright {
        --accent: #ffffff;
    }
    .copyright a {
        color: #ffffff !important;
    }
	
	.main-navigation {
		margin-top: 1em;
	}

    .menu-toggle {
        min-width: 3.625em;
        min-height: 3.9em;
        padding: 1em 0.875em 0.625em 0.875em;
		font-size: 1.4em;
    }

    .menu-toggle::before {
        font-size: 0.6875em;
        top: 0.3em;
    }

    .menu-toggle .gp-icon,
    .menu-toggle svg {
        width: 1.75em;
        height: 1.75em;
    }

    #site-navigation.toggled .main-nav ul li a,
    #site-navigation.toggled .main-nav ul li > a {
        font-size: 0.9em;
        padding: 0.625em 0.75em;
    }

    .entry-title {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1.5em;
    }
}


@media (max-width: 30em) {
    .site-branding .site-description {
        display: none;
    }
	.mobile-menu-control-wrapper{
		margintop: 1em;
	}
	
	.main-title{
		padding-bottom: 0.2em;
	}

    .entry-title {
        font-size: 1.2em;
    }

    h2 {
        font-size: 1.35em;
    }
	
	 #site-navigation.toggled .main-nav {
        top: calc(100% - 7em);  /* oder einfach 100%, je nach Optik */
        width: 13.75em;
    }
	
	.menu-toggle {
	font-size: 1.2em;
    }


}