.site-header-wrap{display:none !important;}
.site-mobile-header-wrap{display:block !important;}

/* Hamburger off-canvas: tidy right-side drawer instead of full-width sprawl */
#mobile-drawer.popup-drawer-layout-sidepanel .drawer-inner{width:380px!important;max-width:85%!important;margin-left:auto!important;box-shadow:-6px 0 30px rgba(0,0,0,.25);}

/* Hamburger icon: bigger + brand teal */
.menu-toggle-open svg.kadence-menu-svg{width:34px!important;height:34px!important;fill:#00B4D8!important;color:#00B4D8!important;}
.menu-toggle-open svg.kadence-menu-svg path{fill:#00B4D8!important;}

/* Full-bleed landing pages: constrain body text width, keep section backgrounds full */
.content-width-fullwidth .entry-content{--wp--style--global--content-size:1080px;}
.content-width-fullwidth .entry-content .is-layout-constrained > :not(.alignfull):not(.alignwide):not(.wp-block-group__inner-container){max-width:var(--wp--style--global--content-size,1080px);margin-left:auto;margin-right:auto;}
.content-width-fullwidth .entry-content .wp-block-cover__inner-container{max-width:1080px;margin-left:auto;margin-right:auto;}

/* Constrain Gravity Forms on full-bleed pages (Review, Contact) */
.content-width-fullwidth .entry-content .gform_wrapper{max-width:820px;margin-left:auto;margin-right:auto;}

/* Prevent orphan/widow words; balanced headings site-wide */
h1,h2,h3,h4,h5,.wp-block-heading{text-wrap:balance;}
p{text-wrap:pretty;}

/* Hide the theme page-title band on all singular content (design uses in-content heroes) */
.single header.entry-header, body.page header.entry-header{display:none !important;}

/* MOBILE: scale hero/cover headings down (they use large fixed px sizes) */
@media (max-width:600px){
.wp-block-cover h1.wp-block-heading,.wp-block-cover h2.wp-block-heading{font-size:clamp(26px,8vw,36px)!important;line-height:1.18!important;}
.wp-block-cover .wp-block-cover__inner-container{padding-left:18px;padding-right:18px;}
}

/* MOBILE: logo + hamburger fit (logo was 380px, crowding out the toggle) */
@media (max-width:768px){
.site-branding img.custom-logo,.custom-logo-link img,.site-header img.custom-logo,.site-mobile-header-wrap img{max-width:240px!important;width:auto!important;height:auto!important;}
.mobile-toggle-open-container,.menu-toggle-open,.drawer-toggle{display:flex!important;visibility:visible!important;}
}

/* Sticky header so the hamburger stays visible on scroll (desktop + mobile) */
html,body{overflow-x:clip;}
#wrapper,#inner-wrap{overflow:visible!important;}
#masthead.site-header{position:-webkit-sticky!important;position:sticky!important;top:0!important;z-index:99!important;}
body.admin-bar .site-header{top:32px;}
@media (max-width:782px){body.admin-bar .site-header{top:46px;}}

/* MOBILE: keep content + form fields off the screen edges on full-bleed pages */
@media (max-width:768px){
.content-width-fullwidth .entry-content .is-layout-constrained > *{padding-left:16px;padding-right:16px;box-sizing:border-box;}
.entry-content .gform_wrapper{padding-left:16px;padding-right:16px;box-sizing:border-box;}
}

/* Topic archive hero -> match the site navy hero */
.tax-scc_topic .entry-hero,.tax-scc_topic .scc_article-archive-hero-section{background-color:#0B132B!important;}
.tax-scc_topic .entry-hero-container-inner{background-color:transparent!important;}
.tax-scc_topic .entry-hero .entry-header{padding-top:48px!important;padding-bottom:48px!important;text-align:center;}
.tax-scc_topic .archive-title{color:#ffffff!important;font-size:38px;}
.tax-scc_topic .archive-title::before{content:"Knowledge Hub topic";display:block;color:#00B4D8;font-size:13px;font-weight:700;letter-spacing:3px;text-transform:uppercase;margin-bottom:12px;}
.tax-scc_topic .taxonomy-description,.tax-scc_topic .archive-description{color:#aeb8d0!important;}
@media(max-width:600px){.tax-scc_topic .archive-title{font-size:28px;}}

/* Constrain the Jetpack Related Posts module so it does not bleed full-width on articles */
.jp-relatedposts{max-width:1080px!important;margin-left:auto!important;margin-right:auto!important;padding-left:18px;padding-right:18px;box-sizing:border-box;}

/* topic archive thumbnail ratio fix (16:9 so banners show full, no side crop) */
.tax-scc_topic .kadence-thumbnail-ratio-2-3{padding-bottom:56.25%!important}

/* founder edu badge -> match AR teal badge */
.scc-badge.edu{background:rgba(0,180,216,0.15)!important;color:#0a7fa0!important}

/* Review (16) + Contact (17): form-page content alignment — headings + form share one centred column; hero stays full-bleed */
body.page-id-16 .entry-content > :not(.wp-block-cover):not([class*="wp-block-cover"]),
body.page-id-17 .entry-content > :not(.wp-block-cover):not([class*="wp-block-cover"]){max-width:900px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px;box-sizing:border-box}

/* tighten vertical rhythm site-wide — less whitespace between top-level sections */
.entry-content > .wp-block-group{padding-top:40px!important;padding-bottom:40px!important;margin-bottom:0!important}
.entry-content > .wp-block-cover{margin-bottom:0!important}