/*
 Theme Name: HybridMag Child
 Theme URI: https://example.com
 Description: Child theme for HybridMag
 Author: Your Name
 Template: hybridmag
 Version: 1.0
*/
/* ==========================
   FORMS CPT LAYOUT FIX
   ========================== */

body.single-forms .content-area.no-sidebar-cpt{
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

/* Optional (only if title is visible) */
body.single-forms .entry-title{
    text-align: center;
}

/* Full-width hero only */
.full-hero{
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
}
/* ==========================
   HOMEPAGE HERO
   Hybrid Mag + Kadence
   ========================== */

/* Remove breadcrumb area */
body.home .hm-breadcrumb-wrap{
    display:none;
}

/* Remove all top spacing from theme wrappers */
body.home .site-content,
body.home .content-area,
body.home .hm-container,
body.home .site-main,
body.home .hm-entry-single,
body.home .entry-content{
    margin-top:0;
    padding-top:0;
}

/* Pull first Kadence section upward */
body.home .entry-content > .kb-row-layout-wrap:first-child{
    margin-top:-40px;
    padding-top:0;
}

/* Remove internal Kadence spacing */
body.home .entry-content > .kb-row-layout-wrap:first-child .kt-row-column-wrap,
body.home .entry-content > .kb-row-layout-wrap:first-child .kt-inside-inner-col{
    margin-top:0;
}

/* Blue hero spacing inside the section */
body.home .full-hero .kt-inside-inner-col{
    padding-top:70px;
    padding-bottom:60px;
}

/* Prevent heading margin collapse */
body.home .full-hero h1,
body.home .full-hero h2{
    margin-top:0;
}
