/*
 * GearCheckpoint RTT member frame correction.
 *
 * IMPORTANT:
 * This changes ONLY site header/footer appearance.
 * It does NOT alter Dashboard content, workspace,
 * sizing, cards, navigation structure or layout.
 */

body:is(.page-id-361,.page-id-363) {
    background: #071421;
}

/* Keep the existing header layout exactly as-is. */
body:is(.page-id-361,.page-id-363)
header,

body:is(.page-id-361,.page-id-363)
header > .wp-block-group,

body:is(.page-id-361,.page-id-363)
header .wp-block-group {
    background:
        linear-gradient(
            110deg,
            #21142f 0%,
            #101a2a 48%,
            #082b3a 100%
        ) !important;

    color:
        #ffffff !important;
}

/* Keep existing footer layout, remove white band. */
body:is(.page-id-361,.page-id-363)
footer,

body:is(.page-id-361,.page-id-363)
footer > .wp-block-group,

body:is(.page-id-361,.page-id-363)
footer .wp-block-group {
    background:
        linear-gradient(
            110deg,
            #171225 0%,
            #071f2d 100%
        ) !important;

    color:
        #ffffff !important;
}

/* Change only colors, not dimensions or positioning. */
body:is(.page-id-361,.page-id-363)
header .wp-block-site-title,

body:is(.page-id-361,.page-id-363)
header .wp-block-site-title a,

body:is(.page-id-361,.page-id-363)
header
.wp-block-navigation-item__content,

body:is(.page-id-361,.page-id-363)
footer,

body:is(.page-id-361,.page-id-363)
footer a,

body:is(.page-id-361,.page-id-363)
footer p,

body:is(.page-id-361,.page-id-363)
footer li {
    color:
        #ffffff !important;
}

/* Preserve the existing yellow Race to the Top button. */
body:is(.page-id-361,.page-id-363)
header
.wp-block-navigation-item__content[
    href*="/race-to-the-top/"
] {
    background:
        #ffb000 !important;

    color:
        #171717 !important;
}

/* Remove visible white seams only. */
body:is(.page-id-361,.page-id-363)
header {
    border-bottom:
        1px solid
        rgba(255,255,255,.08);
}

body:is(.page-id-361,.page-id-363)
footer {
    border-top:
        1px solid
        rgba(255,255,255,.08);
}

/* GC_RTT_DASHBOARD_BLUE_HEADER_V1
   Owner-approved correction.
   Header color only. No Dashboard redesign.
*/

/* One continuous RTT blue/navy header. */
body.page-id-361 header {
    background:
        linear-gradient(
            110deg,
            #0a2031 0%,
            #082b3a 100%
        ) !important;
}

/*
 * Do NOT restart the gradient inside WordPress
 * nested header groups.
 */
body.page-id-361
header > .wp-block-group,

body.page-id-361
header .wp-block-group {
    background:
        transparent !important;

    background-image:
        none !important;
}

/* Normal menu items stay transparent. */
body.page-id-361
header
.wp-block-navigation-item,

body.page-id-361
header
.wp-block-navigation-item__content {
    background-color:
        transparent !important;

    background-image:
        none !important;
}

/* Race to the Top remains the yellow active product button. */
body.page-id-361
header
.wp-block-navigation-item__content[
    href*="/race-to-the-top/"
] {
    background:
        #ffb000 !important;

    color:
        #171717 !important;
}

/* Explicitly remove the purple block around Home. */
body.page-id-361
header
.wp-block-navigation-item__content[
    href="/"
] {
    background:
        transparent !important;

    color:
        #ffffff !important;
}

