/*
 * ST NUKE v2 — maximum specificity overrides
 */

/* ---- HERO COLUMN: center everything ---- */
html body .kadence-column88_cc2eb4-60 > .kt-inside-inner-col,
html body .kb-row-layout-id88_ea9509-6a .kadence-column88_cc2eb4-60 > .kt-inside-inner-col {
    align-items: center !important;
    text-align: center !important;
    justify-content: flex-end !important;
}
html body .kadence-column88_cc2eb4-60 > .kt-inside-inner-col > * {
    text-align: center !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ---- HERO BUTTONS: center and stack ---- */
html body .kb-btns88_4e2b91-97,
html body .wp-block-kadence-advancedbtn.kb-btns88_4e2b91-97,
html body .kb-row-layout-id88_ea9509-6a .kb-btns88_4e2b91-97 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
}
html body .kb-btn88_5bf8d7-31.kb-button,
html body .wp-block-kadence-advancedbtn .kb-btn88_5bf8d7-31.kb-button,
html body .kb-row-layout-id88_ea9509-6a a.kb-btn88_5bf8d7-31 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: center !important;
}
html body .kb-row-layout-id88_ea9509-6a .kb-buttons-wrap a {
    margin-left: 0 !important;
}

/* ---- CARD FRAGMENTS: kill ::before on info box columns ---- */
html body .kadence-column88_949cb4-a9 > .kt-inside-inner-col::before,
html body .kadence-column88_949cb4-a9 > .kt-inside-inner-col:before,
html body .kb-row-layout-id88_643285-23 .kt-inside-inner-col::before,
html body .kb-row-layout-id88_643285-23 .kt-inside-inner-col:before,
html body.home .wp-block-kadence-column > .kt-inside-inner-col::before,
html body.home .wp-block-kadence-column > .kt-inside-inner-col:before {
    opacity: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    display: none !important;
}

/* ---- HERO TEXT: center headings ---- */
html body .kadence-column88_cc2eb4-60 h1,
html body .kadence-column88_cc2eb4-60 h2,
html body .kadence-column88_cc2eb4-60 p,
html body .kadence-column88_cc2eb4-60 .wp-block-kadence-advancedheading {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ---- HERO BUTTONS: absolute maximum specificity ---- */
/* Target with ID-level specificity trick */
html body #post-88 .kb-btns88_4e2b91-97,
html body #post-88 .kb-buttons-wrap.kb-btns88_4e2b91-97,
html body #post-88 .wp-block-kadence-advancedbtn.kb-btns88_4e2b91-97 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.85rem !important;
}
html body #post-88 .kb-btns88_4e2b91-97 p,
html body #post-88 .kb-btns88_4e2b91-97 > p {
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
}


/* ============================================================
   HERO CONTENT: Center the content width container
   kb-theme-content-width needs margin:0 auto to center on desktop
   ============================================================ */
.kb-row-layout-id88_ea9509-6a .kb-theme-content-width,
.kb-row-layout-id88_ea9509-6a .kt-row-column-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure the inner col also centers its content */
.kadence-column88_cc2eb4-60 {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}


/* ============================================================
   "WHAT YOU GET" SECTION: Center the left column content
   ============================================================ */
.kb-row-layout-id88_643285-23 .kadence-column88_949cb4-a9 > .kt-inside-inner-col {
    align-items: center !important;
    text-align: center !important;
}
.kb-row-layout-id88_643285-23 .kadence-column88_949cb4-a9 {
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* ============================================================
   HIDE KADENCE WP FOOTER CREDIT
   ============================================================ */
.footer-html-inner p,
.site-info .footer-html-inner,
.footer-html.inner-link-style-normal,
.site-bottom-footer-wrap .footer-widget-area,
.site-bottom-footer-wrap {
    display: none !important;
}

/* ============================================================
   FEATURE CARD ICONS: Ensure injected icons are visible
   Fix over-aggressive hiding from previous CSS
   ============================================================ */
.kt-blocks-info-box-link-wrap .st-injected-icon,
.st-injected-icon {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 50% !important;
    margin: 0 auto 1.25rem !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    background: linear-gradient(135deg, #c9a84c, #7a5c20) !important;
    box-shadow: 0 4px 16px rgba(201,168,76,0.25) !important;
    flex-shrink: 0 !important;
}
.st-injected-icon svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 26px !important;
    height: 26px !important;
}


/* ============================================================
   FIX "WHAT YOU GET" SECTION CENTERING
   The entire 2-column section needs centering
   ============================================================ */
.kb-row-layout-id88_643285-23 .kt-row-column-wrap {
    justify-content: center !important;
}
.kb-row-layout-id88_643285-23 .kadence-column88_949cb4-a9 > .kt-inside-inner-col {
    align-items: center !important;
    text-align: center !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
.kb-row-layout-id88_643285-23 .kadence-column88_949cb4-a9 h2,
.kb-row-layout-id88_643285-23 .kadence-column88_949cb4-a9 p {
    text-align: center !important;
}

/* ============================================================
   FIX FEATURE CARD ICONS
   st-injected-icon gets caught by the nuclear kill CSS
   We need to explicitly un-hide it AFTER the kill rules
   ============================================================ */

/* Step 1: Re-allow visibility for our injected icon specifically */
.kt-blocks-info-box-link-wrap > .st-injected-icon,
.kt-blocks-info-box-link-wrap .st-injected-icon {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    background: linear-gradient(135deg, #c9a84c, #7a5c20) !important;
    border-radius: 50% !important;
    margin: 0 auto 1.25rem !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 16px rgba(201,168,76,0.25) !important;
    padding: 0 !important;
    border: none !important;
    overflow: visible !important;
}
.kt-blocks-info-box-link-wrap > .st-injected-icon svg,
.kt-blocks-info-box-link-wrap .st-injected-icon svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0 !important;
}

/* Step 2: Make sure the card itself uses flex column so icon sits above text */
.kt-blocks-info-box-link-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 2rem 1.5rem !important;
}
