/*
Theme Name:   HSV
Author:       Glöcki
Description:  Child von Twenty Twenty-Five – zentriertes 1280px Layout mit grünem Rand
Version:      1.0.0
Template:     twentytwentyfive
Text Domain:  hsv
*/

/* Grünlicher Hintergrund für Bildschirme größer als 1280px */
body {
    margin: 0;
    padding: 0;
    background-color: #e8f5e9;
    font-family: system-ui, sans-serif;
    color: #333;
}

/* Zentrierter Container mit 1280px Breite */
.site-container {
    width: 1280px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
main {
    background-color: #ffffff;
    min-height: calc(100vh - 258px);
}

/* Header über gesamte 1280px */
header{
    width: 100%;
    background: #2e7d32;
    color: white;
    padding: 20px 30px;
    box-sizing: border-box;
    padding: 0;
    margin: 0 !important;
    max-width: 1280px !important;
}

/* Hauptbereich mit 2 Spalten */
.site-content-wrapper {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 258px);
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    align-items: start;
    background-color: #f1f8e9;
}

/* Linke Navigation - 200px */
.site-sidebar {
    width: 200px;
    flex: 0 0 200px;
    background: #f1f8e9;
    box-sizing: border-box;
    border-right: 1px solid #dcedc8;
}

.site-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight:bold;
    width:100%;
}
.site-sidebar nav ul li {
    width:100%;
    display:block;
}

.site-sidebar nav a {
    display: block;
    padding: 10px 0;
    color: #2e7d32;
    text-decoration: none;
    transition: all 0.3s ease;
    width:100%;
    padding-left: 10px;
}

.site-sidebar nav a:hover, .site-sidebar nav li.current-menu-item a{
    background: #dcedc8;
    padding-left: 30px;
}

/* Hauptinhalt rechts */
.site-main,
.wp-block-group.site-main {
    flex: 1;
    padding: 30px;
    box-sizing: border-box;
    width: 100%;
}

/* Footer über gesamte 1280px */
footer{
    width: 100%;
    background: #2e7d32;
    color: white;
    padding: 20px 30px;
    box-sizing: border-box;
    padding: 0;
    margin: 0 !important;
    max-width: 1280px !important;
}

/* Responsive für kleine Bildschirme */
@media (max-width: 1280px) {
    .site-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .site-content-wrapper {
        flex-direction: column;
    }
    
    .site-sidebar {
        width: 100%;
        flex: none;
        border-right: none;
        border-bottom: 1px solid #dcedc8;
    }
}
@media (min-width: 768px){
    .site-sidebar {
        min-height: inherit;
    }
    .site-sidebar nav {
        padding-top: 20px;
    }
}