/*
Theme Name: SüperSummits Theme
Theme URI: https://supersummits.com
Author: SüperSummits
Author URI: https://supersummits.com
Description: Minimales Theme für SüperSummits Kongress-Seiten. Zeigt Seiten in voller Breite ohne WordPress-Header, Footer, Sidebar oder Margins an.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supersummits-theme
*/

/* ========================================
   RESET & GRUNDEINSTELLUNGEN
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
}

/* ========================================
   WORDPRESS STANDARD-ELEMENTE AUSBLENDEN
   ======================================== */

/* Header, Navigation, Footer ausblenden */
#masthead,
.site-header,
header.site-header,
.main-navigation,
#site-navigation,
.nav-menu,
.menu-toggle,
#colophon,
.site-footer,
footer.site-footer,
.footer-widgets,
.site-info,
#secondary,
.sidebar,
aside.widget-area,
.widget-area,
#comments,
.comments-area,
.entry-meta,
.entry-footer,
.post-navigation,
.posts-navigation,
.nav-links,
.breadcrumb,
.breadcrumbs,
.wp-block-navigation,
.admin-bar-placeholder {
    display: none !important;
}

/* Admin Bar Abstand entfernen wenn eingeloggt */
html.wp-toolbar {
    padding-top: 0 !important;
}

body.admin-bar {
    margin-top: 0 !important;
}

/* Admin Bar nur im Admin-Bereich zeigen, nicht auf Frontend */
body.admin-bar #wpadminbar {
    display: block !important;
}

/* ========================================
   HAUPTINHALT - VOLLE BREITE
   ======================================== */

#page,
.site,
#content,
.site-content,
#primary,
.content-area,
#main,
.site-main,
main,
article,
.entry-content,
.page-content,
.hentry,
.post,
.page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Container-Klassen */
.container,
.wrapper,
.inner,
.row,
.content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Artikel-Header ausblenden */
.entry-header,
.page-header,
.entry-title,
.page-title {
    display: none !important;
}

/* ========================================
   SHORTCODE-INHALTE
   ======================================== */

/* Sicherstellen dass Shortcode-Inhalte volle Breite haben */
.supersummits-content,
.ss-content,
[class^="summit-"],
[class*=" summit-"],
.summit-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media screen and (max-width: 1200px) {
    #page,
    .site,
    #content,
    .site-content,
    #primary,
    .content-area,
    #main,
    .site-main,
    article,
    .entry-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* ========================================
   DRUCK-STYLES
   ======================================== */

@media print {
    body {
        margin: 0;
        padding: 0;
    }
    
    #wpadminbar {
        display: none !important;
    }
}
