/*
Theme Name: MailForceCharity Theme
Author: markparolisi
Author URI:
Theme URI: https://github.com/wpcomvip/mailforcecharity/
Tags: full-site-editing
Text Domain: dmgt-theme
Requires at least: 5.8
Requires PHP: 7.4
Tested up to: 5.9
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

.hide-on-desktop {
	display: none !important;
}

a:where(:not(.wp-element-button)) {
	text-decoration: none !important;
}

.wp-block-separator {
	border-top: 1px solid var(--wp--preset--color--light-grey) !important;
}

header .wp-block-navigation-item:hover a.wp-block-navigation-item__content {
	color: var(--wp--preset--color--white) !important;
	background-color: var(--wp--preset--color--dark-grey);
}

header
	.wp-block-navigation-item.current-menu-item
	a.wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--blue);
}

@media only screen and (max-width: 720px) {
	.hide-on-mobile {
		display: none !important;
	}

	.hide-on-desktop {
		display: inherit !important;
	}

	header .logo-nav-row {
		padding: 0 1rem;
	}

	header .wp-block-navigation__responsive-container-open {
		color: var(--wp--preset--color--white);
		background: var(--wp--preset--color--light-blue);
		padding: 0.5rem;
	}

	header ul.wp-block-navigation__container {
		padding: 1rem;
	}

	header .wp-block-navigation__responsive-container-close {
		padding: 2rem 1.25rem;
	}

	header .wp-block-navigation-item a.wp-block-navigation-item__content {
		padding: 1rem;
	}

	header .hide-on-desktop {
		border-top: 1px solid var(--wp--preset--color--blue);
		margin: 1rem -1rem 0 -1rem;
	}

	main.wp-block-group {
		padding: 0 1rem !important;
	}

	.wp-block-group:has(> figure.wp-block-image.alignfull) {
		margin: 0 -1rem;
	}

	body.single.single-post .wp-block-column > .wp-block-group {
		padding: 0 !important;
	}

	h1,
	h2,
	h3,
	h4,
	h5 {
		line-height: 1.3;
	}

	.main.wp-block-group {
		padding-left: var(--wp--preset--spacing--40) !important;
		padding-right: var(--wp--preset--spacing--40) !important;
	}

	footer div.wp-block-group {
		display: block;
		text-align: center;
	}

	footer figure {
		display: block;
		margin: 1rem auto !important;
	}
}
