/*
Theme Name: Fixmate
Theme URI: https://themeshaper.com/fixmate/
Author: Automattic
Author URI: https://automattic.com
Description: Fixmate is a blog theme designed for individuals focusing on users who are into a side hustle on home improvement and handyperson services.
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fixmate
Tags: education, entertainment, one-column, four-columns, right-sidebar, wide-blocks, block-patterns, block-styles, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-site-editing, post-formats, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready

/*
 * Text widows
 * https://github.com/WordPress/gutenberg/issues/55190
 */

h1, h2, h3, h4, h4, h5, h6 {
 text-wrap: balance; /* Safari fallback */
 text-wrap: pretty;
 }

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--secondary);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em;
}
.jetpack-subscription-modal {
	visibility: hidden;
	position: fixed;
	z-index: 50000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	opacity: 0;
	transition: visibility 0s, opacity 0.5s ease;
	display: flex;
	justify-content: space-evenly;
	align-content: center;
	flex-wrap: wrap;
}

.jetpack-subscription-modal.open {
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.3);
	visibility: visible;
}

.jetpack-subscription-modal__modal-content {
	text-align: center;
	background-color: #fefefe;
	width: 100%;
	max-width: 650px;
	box-sizing: border-box;
	transition: visibility 0s, opacity 0.3s linear;
	opacity: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
}

.jetpack-subscription-modal.open .jetpack-subscription-modal__modal-content {
	opacity: 1;
	top: 0;
	visibility: visible;
}

/* Hide the modal content when iframe is present */
.jetpack-subscription-modal.has-iframe .jetpack-subscription-modal__modal-content {
	background: transparent;
}

.jetpack-subscription-modal.has-iframe .jetpack-subscription-modal__modal-content-form {
	visibility: hidden;
	opacity: 0;
}

/*
 * These text-wrap properties still have limited browser
 * support, but based on feedback still adding them for when
 * they are supported.
 */
.jetpack-subscription-modal__modal-content p {
	text-wrap: pretty;
}

@media screen and (max-width: 640px) {

	.jetpack-subscription-modal__modal-content {
		width: 94%;
	}
}
