/**
 * Theme Override Styles (Astra Theme Chrome Hiding)
 *
 * Extracted from: steinkamp-immobilien.php
 * Source: sk_hide_theme_chrome() – lines 1293–1312
 *
 * NOTE: Contains PHP variables for custom colors.
 * Original used: <?php echo esc_attr($cp) ?> and <?php echo esc_attr($ca) ?>
 * These are sk_get('color_primary', '#1a2e4a') and sk_get('color_accent', '#b8955a').
 * The CSS custom properties --navy and --gold must be set inline or via JS
 * when the plugin loads (they come from plugin settings).
 *
 * When enqueuing this file, also output an inline style:
 *   :root { --navy: {color_primary}; --gold: {color_accent}; }
 */

/* IMPORTANT: The following :root block must be generated dynamically via inline CSS:
   :root { --navy: #1a2e4a; --gold: #b8955a; }
   These values come from sk_get('color_primary') and sk_get('color_accent').
*/

/* Hide Astra header/footer */
body.sk-page #masthead,
body.sk-page .site-header,
body.sk-page header.site-header,
body.sk-page header[role="banner"],
body.sk-page .main-navigation,
body.sk-page #colophon,
body.sk-page .site-footer,
body.sk-page footer.site-footer,
body.sk-page footer[role="contentinfo"] {
    display: none !important;
}

/* Reset content containers */
body.sk-page #page,
body.sk-page #content,
body.sk-page .site-content,
body.sk-page .content-area,
body.sk-page main,
body.sk-page .entry-content,
body.sk-page article {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

body.sk-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
    overflow-x: hidden !important;
}

body.sk-page #primary,
body.sk-page .ast-article-single,
body.sk-page .entry-content,
body.sk-page #main,
body.sk-page #content,
body.sk-page .post-content,
body.sk-page #secondary,
body.sk-page .widget-area,
body.sk-page .ast-left-sidebar,
body.sk-page .ast-right-sidebar {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
}

body.sk-page .ast-container,
body.sk-page .ast-row {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

body.sk-page #secondary {
    display: none !important;
}

body.sk-page .site-content .ast-container {
    padding: 0 !important;
}

body.sk-page #primary,
body.sk-page #content,
body.sk-page .ast-article-single,
body.sk-page .entry-content,
body.sk-page .post-content,
body.sk-page #main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
}

body.sk-page .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Team Foto fix */
.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media (max-width: 768px) {
    .team-card-img {
        height: 220px !important;
    }
}
