/**
 * Theme Name:        Harvey Shulman Theme
 * Description:       Harvey Shulman Theme (Child of 2025) - WCAG Accessible aim
 * Version:           1.0.1
 * Author:            Egret Digital
 * Author URI:        https://egret.digital/
 * Text Domain:       harvey-shulman-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;
}

/* Button hover styles */
.wp-element-button:hover, 
.wp-block-button__link:hover {
    color: #fff;
    background-color: var(--wp--preset--color--accent-1);
}

/* Menu Styles */
nav {
    a {
        padding: 0.4em 0.6em;
    }
    /* Highlight current menu item */
	.current-menu-item > a,
	a:hover,
	a:active {
		color: #111;
		background-color: #fff;
	}
	
	 /* Home link not needed on desktop */
	@media (min-width: 600px) {
	    .nav-home {
	        display: none !important;
	    }
	}

    /* Improve mobile menu styles */
    @media (max-width: 599px) {
	    .wp-block-navigation__responsive-container {
		background-color: #fffffff5 !important;
	    }
	    .wp-block-navigation__responsive-container-content {
		justify-content: center !important;
		align-items: center !important;

		ul {
		    justify-content: center !important;
		    align-items: center !important;
		}
		li {
		    font-size: var(--wp--preset--font-size--large) !important;
		}
	}
    }
}


/* Remove default margin above Footer */
footer {
    margin-block-start: 0;
}


/* Archive pages - core fix for loop images sometimes being wider than containers */
.archive .wp-block-post-featured-image {
	max-width: 100% !important;
	img {
		border-radius: 0 40px;
	}
}
/* Core fix for list items displayed as flex */
.archive .entry-content li {
	display: list-item;
}


/* Header styles */
.stripes {
    background: repeating-linear-gradient(135deg, #7A9BDB80, #7A9BDB80 10px, #7A9BDB 10px, #7A9BDB 20px);
}


/* Media Text styles */
.has-media-on-the-right > .wp-block-media-text__content {
    padding-left: 0;
}