/* =========================================================================
   SABI · CONTENT-OVERRIDES.CSS · Layer 3 (Chrome + Overrides)
   Kadence parent theme overrides — centralized.
   Bao gồm: hide default Kadence header, reset content-wrap, reset entry-hero.
   Pattern TCSK: tất cả Kadence overrides phải gom vào file này, KHÔNG scatter ở page CSS.
   Depends on: bien-thiet-ke.css
   Since: Phase T0 (v0.12.0)
   ========================================================================= */

/* ============================================================
   Hide Kadence default header (custom SABI header takes over)
   ============================================================ */
body.sabi-body #masthead,
body.sabi-body .site-header.kadence-header,
body.sabi-body .kadence-header-wrap {
    display: none !important;
}

/* ============================================================
   Reset Kadence site wrapper background + max-width
   ============================================================ */
body.sabi-body .site,
body.sabi-body .site-container {
    background: var(--sumi);
    max-width: none;
}

/* ============================================================
   Hide Kadence entry-hero default (SABI uses custom hero per page)
   ============================================================ */
body.sabi-body:not(.home) .entry-hero {
    display: none !important;
}

/* ============================================================
   Full-bleed content wrap (apply to ALL SABI pages — centralized)
   Trước Phase T0: 6 files khác nhau define duplicate rule này.
   Sau T0: 1 rule duy nhất apply qua body.sabi-body class.
   ============================================================ */
body.sabi-body #content,
body.sabi-body .content-area,
body.sabi-body .content-area-inner,
body.sabi-body .content-wrap,
body.sabi-body .entry,
body.sabi-body .entry-content,
body.sabi-body .entry-content-wrap {
    padding: 0;
    margin: 0;
    max-width: none;
    width: 100%;
    box-shadow: none;
    background: transparent;
}

/* ============================================================
   Reset Kadence site-main spacing
   ============================================================ */
body.sabi-body .site-main {
    margin: 0;
    padding: 0;
}
