/*
Theme Name:  Kadence Child (CommandCenter)
Template:    kadence
Description: Git-tracked child theme for regreportingdesk.com. Source of
             truth: CommandCenter repo sites/rrd/kadence-child/ — edit there
             and deploy; never edit on the server.
Version:     1.0.0
*/

/* Site CSS lives here from activation onward (migrated from the WP
   "Additional CSS" customizer store, post 27, last modified 2026-03-18). */

/* Homepage framework boxes hover effect */
.wp-block-group.has-border-color:hover {
    border-color: #3a5a9c !important;
    box-shadow: 0 2px 8px rgba(26, 39, 68, 0.1);
    transition: all 0.2s ease;
}
.wp-block-group.has-border-color {
    transition: all 0.2s ease;
}

/* Ensure full-width sections */
.kb-row-layout-wrap.alignfull {
    max-width: 100vw;
    width: 100vw;
    position: relative;
    margin-left: calc(-50vw + 50%);
}

/* Latest posts styling */
.wp-block-latest-posts li {
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}
.wp-block-latest-posts__post-title {
    color: #1a2744;
    font-weight: 600;
    font-size: 18px;
}
.wp-block-latest-posts__post-date {
    color: #64748b;
    font-size: 14px;
}

/* Remove gap between header and homepage hero */
body.page-id-6 .site-main,
body.page-id-6 .entry-content-wrap,
body.page-id-6 .content-wrap,
body.page-id-6 .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.page-id-6 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.page-id-6 .entry-content > .alignfull:first-child {
    margin-top: 0 !important;
}

/* Force site title white, bold, no italic */
header .site-title,
header .site-title a,
.site-header .site-title,
.site-header .site-title a,
.site-branding .site-title,
.site-branding .site-title a,
.header-html-inner .site-title,
a.brand,
.site-title.site-title {
    color: #ffffff !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

/* Remove all gaps between header and hero */
body.page-id-6 .entry-content-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.page-id-6 .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.page-id-6 .content-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.page-id-6 .hentry {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.page-id-6 .entry-content > *:first-child {
    margin-top: 0 !important;
}
body.page-id-6 article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.page-id-6 .content-container.site-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* Hide default page title on About page */
body.page-id-8 .entry-header.page-title,
body.page-id-9 .entry-header.page-title {
    display: none;
}

/* Center footer navigation */
.site-bottom-footer-inner-wrap {
    display: flex !important;
    justify-content: center !important;
}
.site-bottom-footer-inner-wrap .site-footer-bottom-section-1:empty {
    display: none;
}
#footer-navigation .footer-menu-container > ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
