/* your custom style goes in this file */
/* if you're overriding style blocks from genstyle.css, you only need to include the attributes you're overriding, not the whole block */

/* =========================================================
   1. Header-Text zentrieren (Template 9)
   ========================================================= */
.art-logo {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    text-align: center !important;
}

.art-logo-name,
.art-logo-name a {
    text-align: center !important;
    display: block !important;
    white-space: nowrap !important;
}

.art-logo-text {
    text-align: center !important;
    display: block !important;
    white-space: normal !important;
}

/* =========================================================
   2. Banner-Überschrift (Etwas kleiner, weniger fett, fließend)
   ========================================================= */
.art-header h1.art-logo-name,
.art-header h1.art-logo-name a,
.art-header h1.art-logo-name a:link,
.art-header h1.art-logo-name a:visited {
    color: #b08d57 !important; 
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-style: normal !important; 
    font-weight: 600 !important;       
    letter-spacing: 3.0px !important;  
    
    /* Die neue, etwas kleinere Größe */
    font-size: clamp(20px, 3.8vw, 46px) !important; 
}

/* =========================================================
   3. Untertitel in gedecktem Taupe
   ========================================================= */
#slogan-text,
#slogan-text *,
.art-logo-text,
.art-logo-text *,
h2.art-logo-text {
    color: #ab9c8a !important;
    text-shadow: none !important;
}

/* =========================================================
   4. Mittlere Spalte in warmem Altweiß
   ========================================================= */
.art-layout-cell.art-content,
.art-content,
.art-content-wide,
.art-post,
.art-post-body,
.art-post-inner,
.art-postcontent {
    background-color: rgba(252, 250, 245, 0.95) !important; 
}

/* =========================================================
   5. Header für iPad hochkant / schmale Ansicht
   ========================================================= */
@media (max-width: 900px) {

    .art-header {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .art-logo {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        padding: 30px 10px 30px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    .art-logo-name,
    .art-logo-name a {
        white-space: normal !important;
        line-height: 1.2 !important;
    }

    .art-logo-text,
    #slogan-text {
        font-size: 0.95em !important;
        white-space: normal !important;
    }
}

/* =========================================================
   6. iPhone / sehr schmale Bildschirme
   ========================================================= */
@media (max-width: 600px) {

    .art-logo-name,
    .art-logo-name a {
        white-space: normal !important;
        line-height: 1.2 !important;
    }

    .art-logo-text,
    #slogan-text {
        font-size: 0.85em !important;
    }

    .art-logo {
        padding-left: 8px !important;
        padding-right: 8px !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================
   7. Seitenhintergrund (Helles Pergament)
   ========================================================= */
body {
	background-color: #F7F5EF !important; 
	background-image: none !important;
}

/* =========================================================
   8. Schatten und Ränder entfernen
   ========================================================= */
#art-main,
.art-sheet,
.art-sheet-body,
.art-layout-wrapper,
.art-content-layout,
.art-content-layout-row,
.art-layout-cell,
.art-footer {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.art-sheet,
.art-sheet-body {
    background-color: transparent !important;
    background-image: none !important;
}

/* =========================================================
   9. Ruckeln beim Hover verhindern
   ========================================================= */
.art-sidebar1 a, 
.art-sidebar2 a, 
.art-menu a {
    -webkit-transition: none !important;
    transition: none !important;
}

.art-logo {
    will-change: transform !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
}

.art-sheet, .art-sheet-body {
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
}

/* =========================================================
   10. Moderne Schrift für das LINKE Menü (Der perfekte Abstand)
   ========================================================= */
.art-sidebar1, 
.art-sidebar1 *,
.art-sidebar1 a,
.art-sidebar1 li,
.art-sidebar1 span,
.art-sidebar1 div {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 600 !important; 
    font-style: normal !important;
    
    text-transform: uppercase !important; 
    font-size: 13.5px !important;        
    letter-spacing: 0px !important;      
    color: #5c4a3d !important;            
    text-align: left !important; 
}

/* Die Rettung für die Links */
.art-sidebar1 a,
.art-vmenu a {
    display: block !important; 
    width: 100% !important;
    box-sizing: border-box !important;
    
    padding-top: 0px !important;
    padding-right: 5px !important;       
    padding-bottom: 8px !important;
    
    /* HIER DIE ÄNDERUNG: Von 12px auf 8px reduziert */
    padding-left: 8px !important;        
    
    line-height: 1.4 !important; 
    white-space: normal !important;
    
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
    overflow: hidden !important;         
}

/* Die Listenpunkte flach machen */
.art-sidebar1 li,
.art-vmenu li {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

