/*
Theme Name: AnthonyLehecka2025
Theme URI: 
Author: Anthony Lehecka
Author URI: 
Description: My Personal Website
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anthonylehecka2025
Tags: block-patterns, full-site-editing

/*  Smoot Scroll */

/*  Smoot Scroll */
html {
	scroll-behavior: smooth;
}

/*  Reduced motion prefs  */
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/*  Navigation Block Breakpoint. Credit: https://wpdocs.io/ */
body .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block !important;
}

body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
}

@media (min-width: 800px) {
	body .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;
		;
	}

	body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
	}
}

/* Fixes for Core Weirdnress whereby auto padding is applied that can drive you a litle bit nuts - better to add your own when and where you need it! */
.has-global-padding>.alignfull:where(:not(.has-global-padding):not(.is-layout-flex):not(.is-layout-grid))> :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]), p, h1, h2, h3, h4, h5, h6, ul, ol) {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/*  Stop core margin top on groups and others */
.wp-block-group,
.wp-block-columns,
.wp-block-cover {
	margin-block-start: 0;
}

/* Remove underlines / show on hover  */
a {
	text-decoration: none !important;
}

a:hover:not(.wp-block-site-title a, .wp-block-button__link.wp-element-button) {
	text-decoration: underline !important;
}

/* Search Button default: color */
.wp-block-search__button.wp-element-button {
	color: var(--wp--preset--color--base);
}


/* Button hover */
.wp-block-button__link {
	transition: .3s;
	display: flex;
	gap: 10px;
}

.wp-block-button__link:hover {
	opacity: .7;
}

/* ------- Hide the Page Title in the Editor - it can get anoying! ------- */
.editor-editor-canvas__post-title-wrapper.edit-post-visual-editor__post-title-wrapper.has-global-padding h1 {
	display: none;
}
