/*
Theme Name: Kadence Child
Theme URI: https://chooseyourownapp.com
Description: Child theme for chooseyourownapp.com — all site CSS lives here
Author: Ada / Liquid Box LLC
Author URI: https://liquidbox.com
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/

/* ============================================================
   CYOA Site Polish — migrated from plugin on 2026-03-14
   DO NOT edit inline CSS in the plugin — all CSS goes here
   ============================================================ */

/* Hide redundant Kadence page title banners */
.entry-hero-container-inner, .page-hero-section, .kadence-page-title,
body.page:not(.home) .entry-header, .wp-site-blocks .page .entry-header,
.site-content .page-header { display: none !important; }

/* Hide site title text + description next to logo — logo image only */
.site-branding .site-title,
.site-branding .site-description,
.site-title, p.site-title,
header .site-title, #masthead .site-title { display: none !important; }

/* ── Logo: crop whitespace padding with object-fit:cover ── */
.site-branding a.brand img,
#masthead .site-branding a.brand img,
#mobile-header .site-branding a.brand img {
    width: 220px !important;
    height: 72px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Keep branding pinned left */
#masthead .site-branding,
.site-branding { margin-left: 0 !important; padding-left: 0 !important; }

/* ── Header height ── */
#masthead .site-header-row-container-inner,
#masthead .site-header-item { padding-top: 0 !important; padding-bottom: 0 !important; }
.site-main-header-inner-wrap,
#masthead .main-header-bar { min-height: 80px !important; max-height: none !important; }

/* ── Content area breathing room below header ── */
#primary.content-area { margin-top: 80px !important; margin-bottom: 0 !important; }

/* Remove padding wrapper around page content */
.entry-content-wrap { padding: 0 !important; }
#inner-wrap, body.home #inner-wrap { padding-top: 0 !important; margin-top: 0 !important; }

/* Remove phantom page header height */
body.home .entry-header, body.home .page-header,
body.home .entry-hero, body.home .entry-hero-container,
body.page .entry-hero-container-inner { display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }

/* Kill Gutenberg block gap on homepage */
body.home .wp-site-blocks > * + * { margin-block-start: 0 !important; }
body.home .wp-site-blocks > .wp-block-group { margin-top: 0 !important; }
body.home .entry-content > * + * { margin-top: 0 !important; }

/* Feature list checkmarks */
.cyoa-feature-list { list-style: none !important; padding-left: 0 !important; }
.cyoa-feature-list li { padding: .35em 0 .35em 1.8em; position: relative; }
.cyoa-feature-list li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }

/* Nav: highlight "Request Access" */
.primary-menu a[href*="client-register"],
.nav-primary a[href*="client-register"] { color: #2563eb !important; font-weight: 600 !important; }

/* Button consistency */
.wp-block-button__link { transition: opacity .15s; }
.wp-block-button__link:hover { opacity: .88; }

/* Green CTAs site-wide */
.wp-block-button:not(.is-style-outline) .wp-block-button__link { font-weight: 700 !important; }
.wp-block-button__link[style*="background-color:#2563eb"] { background-color: #16a34a !important; }
.wp-block-button__link[style*="background-color: #2563eb"] { background-color: #16a34a !important; }

/* ── Service cards — bottom-align CTA buttons (2026-03-15) ── */
/* Make each service card column a flex column so button always anchors to bottom */
.wp-block-column:has(.wp-block-buttons) {
    display: flex !important;
    flex-direction: column !important;
}
.wp-block-column:has(.wp-block-buttons) .wp-block-buttons {
    margin-top: auto !important;
}