/**
 * GreaseDesk Job Cards — Portal "clean chrome" stylesheet
 * File: assets/css/gd-portal-clean.css
 * Last edited: 2026-06-02 Europe/London
 *
 * Hides the theme's site header (logo + nav) and the blue page-title hero on
 * the staff portal page ONLY. Every rule is scoped under body.gd-portal-clean,
 * which the plugin adds just to the portal page — so the rest of the site is
 * untouched even though this file loads site-wide.
 *
 * Themes name these elements differently. The rules below cover the common
 * patterns (and the autodealer theme's likely ones). If the banner or logo
 * still show, inspect the element, note its class, and add a line here, e.g.:
 *     body.gd-portal-clean .your-theme-banner { display: none !important; }
 */

/* ── Site header / logo / primary nav ── */
body.gd-portal-clean header.site-header,
body.gd-portal-clean #masthead,
body.gd-portal-clean .site-header,
body.gd-portal-clean .main-header,
body.gd-portal-clean .header-main,
body.gd-portal-clean .site-branding,
body.gd-portal-clean #site-header,
body.gd-portal-clean .td-header-wrap,
body.gd-portal-clean .autodealer-header,
body.gd-portal-clean .header-area {
    display: none !important;
}

/* ── Blue page-title hero / banner / breadcrumb ── */
body.gd-portal-clean .page-header,
body.gd-portal-clean .entry-header,
body.gd-portal-clean .page-title,
body.gd-portal-clean .page-title-bar,
body.gd-portal-clean .page-banner,
body.gd-portal-clean .page-hero,
body.gd-portal-clean .hero,
body.gd-portal-clean .title-bar,
body.gd-portal-clean .breadcrumb,
body.gd-portal-clean .breadcrumbs,
body.gd-portal-clean .rank-math-breadcrumb,
body.gd-portal-clean .autodealer-page-header,
body.gd-portal-clean .page-header-bar {
    display: none !important;
}

/* Reclaim the space the hidden chrome left behind */
body.gd-portal-clean .site-content,
body.gd-portal-clean #content,
body.gd-portal-clean .content-area,
body.gd-portal-clean main {
    margin-top: 0 !important;
    padding-top: 1.5rem !important;
}
