/*
Theme Name: myFXtutor
Theme URI: https://myfxtutor.com
Author: myFXtutor
Description: The myFXtutor brand theme – Trading Made Simple. Brand colours, Noto Sans, square corners, and ready-made page sections for Home, Profile, Services, Blog and Contact Us.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myfxtutor
*/

/* Outline buttons fill on hover */
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--purple-700);
	color: var(--wp--preset--color--white);
}
/* Buttons on dark sections */
:is(.has-purple-900-background-color, .has-purple-700-background-color) .wp-block-button__link.has-white-background-color {
	border-color: var(--wp--preset--color--white);
}
:is(.has-purple-900-background-color, .has-purple-700-background-color) .wp-block-button__link.has-white-background-color:hover {
	background: var(--wp--preset--color--lavender-100) !important;
}
/* Full-width sections sit flush against each other and the footer */
.wp-site-blocks > * + *, main > .alignfull, .wp-block-post-content > .alignfull { margin-block-start: 0; }
/* Links on dark backgrounds */
.has-purple-900-background-color a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--white);
}
/* Latest posts tidy-up */
.wp-block-latest-posts.is-grid li { margin-bottom: 2rem; }
.wp-block-latest-posts__post-title { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--purple-700); }
.wp-block-latest-posts__featured-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
/* Header logo stays crisp */
.site-logo { margin: 0; }
.site-logo img { width: 200px; max-width: 50vw; height: auto; }
