/**
 * PikAI WordPress Overrides
 * Suppresses any residual Kadence header/footer chrome that may bleed through
 * even though header.php / footer.php fully override the templates.
 * Also provides minimal body-margin reset so the PikAI navbar sits at top:0.
 */

/* Hide Kadence's #masthead / site-header if it somehow renders (double-header guard). */
#masthead,
.site-header,
.site-footer,
#colophon {
    display: none !important;
}

/* Body margin/padding reset — Kadence adds admin-bar offset; keep that, remove others. */
body {
    margin: 0;
    padding: 0;
}

/* Skip link base style (matches PikAI legacy .skip-link). */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 0;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--color-bg, #fff);
    color: var(--color-text, #1a202c);
    text-decoration: none;
    font-size: 14px;
}
.skip-link:focus {
    top: 0;
}

/* Kadence adds padding-top to .site equal to header height — reset since we own the header. */
.site {
    padding-top: 0 !important;
}

/* Ensure the PikAI navbar z-index sits above WP admin bar (which is z-index 99999). */
.navbar {
    z-index: 99998;
}
body.admin-bar .navbar {
    top: var(--wp-admin--admin-bar--height, 32px);
}
