/**
 * Theme Name:        Bodymobile 2025
 * Description:       Bodymobile Theme (Child of 2025)
 * Version:           1.0.1
 * Author:            Egret Digital
 * Author URI:        https://egret.digital/
 * Text Domain:       bodymobile-theme
 * Domain Path:       /assets/lang
 * Tested up to:      6.8
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Template:          twentytwentyfive
 */

/* Unset underline on links */
a:not([class]) {
	text-decoration: none;
}

/* Highlight current menu item */
nav {
	.wp-block-navigation-item__content {
		color: var(--wp--preset--color--custom-bodymobile-blue) !important;
	}
	.current-menu-item > a,
	a:hover,
	a:active {
		color: var(--wp--preset--color--vivid-cyan-blue) !important;
	}
}


/* Gravityforms styles */
#gform_2 {
    --gf-form-gap-y: 1em;
    
	label {
    	--gf-local-font-size: var(--wp--preset--font-size--medium);
    	--gf-local-font-weight: 600;
    	--gf-local-color: var(--wp--preset--color--custom-bodymobile-copy-grey);
    }
	.gform_button {
		--gf-ctrl-btn-font-size: var(--wp--preset--font-size--medium);
		--gf-ctrl-btn-bg-color-primary: var(--wp--preset--color--custom-bodymobile-blue);
	}
}

/* Header responsive on mobile - shift to transparent */
/* Footer on mobile - stop text aligning right */
@media (max-width: 781px) {
    header {
        position: absolute;
        z-index: 10;
        width: 100%;
        
        > .has-base-background-color {
            background-color: transparent !important;
        }
    }
    .header-overlap {
        padding-top: 20vw !important;
        min-height: 60vw !important;
        height: auto;
    }
    .wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
        fill: var(--wp--preset--color--custom-bodymobile-blue);
    }
    
    footer {
        .has-text-align-right {
            text-align: left;
        }
    }
}
