/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://nistkasten.ch
 Description:  Child Theme für Hello Elementor – nistkasten.ch
 Author:       Lukas
 Author URI:   https://nistkasten.ch
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* === Custom Styles für nistkasten.ch === */

/* Grundlegende Resets & Defaults */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Hello Elementor Default Header & Footer ausblenden
   ======================================== */
header.site-header,
.site-header,
#site-header,
.ehf-header,
.hfe-header-content,
header#masthead,
.elementor-location-header:not(.elementor-edit-mode) {
    display: none !important;
}

footer.site-footer,
.site-footer,
#site-footer,
.ehf-footer,
.hfe-footer-content,
footer#colophon,
.elementor-location-footer:not(.elementor-edit-mode) {
    display: none !important;
}

/* WP Admin Bar Abstand korrigieren */
body.admin-bar .nk-topbar {
    top: 32px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #4a7c59;
    border-radius: 4px;
}

/* Elementor Overrides – volle Breite */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

/* HTML-Widget Overrides */
.elementor-widget-html {
    padding: 0 !important;
    margin: 0 !important;
}